20 Gear Drive, Plymouth Ind. Park, Terryville, CT 06786
Tel: (860) 585-1254 Fax: (860) 584-1973 http://www.amci.com
53
CHAPTER 5
O
UTPUT
D
ATA
F
ORMAT
Command Word
The first word of the data transfer is the Command Word. The bit pattern in this word defines the program-
ming data in the remaining output words as well as the data that should be returned to the host controller. As
shown in the figure below, the bottom four bits of this word defines the command block.
Figure 5.1 Command Word Format
Bit 15: Transmit Bit -
The ANS1 will not act on data written to the module until this bit makes a 0
1 transi-
tion. On a 0
1 transition of the Transmit Bit, the ANS1 will decode and act upon the command
block, write the appropriate response to the input data, and set the Acknowledge Bit in the input data.
This Transmit/Acknowledge handshaking protocol is used because some hosts will send data to the
ANS1 on a periodic basis instead of only when a change is needed.
Bits 14 - 5:
The use of these bits changes based on the command block that is written to the ANS1. Generally,
these bits are used to tell the ANS1 what programming data should be used in the remaining
words of the block.
Bit 4: Clear Errors -
This bit is used to clear programming and hardware errors in the ANS1.
Bits 3 - 0: Command Block -
These bits define the data in the block. Their use is described below.
Command Block 0: Clear Errors Only
This block allows you to clear hardware errors, such as latched resolver transducer faults, and/or program-
ming errors, without taking any other action. Bits 14 through 5 in the Command Word are ignored as are the
remaining nineteen data words in the block.
Figure 5.2 Command Block 0
This chapter covers the format of the output data used to program and command
the ANS1.
EtherNet/IP
Address
Modbus
Address
Bit Number
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
1024
T
ransmit Bi
t
Use Depends on the Command Block
Clear Error
Command
Block Bits
EtherNet/IP
Address
Modbus
Address
Bit Number
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
1024
T
ransmit Bit
0
0
0
0
0
0
0
0
0
0
Clear Error
0
0
0
0
Содержание ANS1 ANYNET-I/O
Страница 1: ...MICRO CONTROLS INC ADVANCED U s e r M anual Manual 940 0A090...
Страница 6: ...Table of Contents ADVANCED MICRO CONTROLS INC 6 Notes...
Страница 26: ...Limit Switch Functionality ADVANCED MICRO CONTROLS INC 2 26 Notes...
Страница 36: ...Additional Functionality ADVANCED MICRO CONTROLS INC 3 36 Notes...
Страница 90: ...LEADERS IN ADVANCED CONTROL PRODUCTS ADVANCED MICRO CONTROLS INC...