8-4
IM 34M6H33-01E
1st Edition : July 1.2004-00
Writing to Contact Outputs of Slaves
To output to slave contacts, use a WRITE instruction (Special Module Write). Data is
written in (16-bit) word units.
Special Module Write
WRITE
s sl n2
k
s
: First device number storing data to be written to slave contact outputs.
sl
: Slot number where F3LA01-0N is installed.
n2
: First data position number for writing ( n2=103 - 118)
k
: Transfer size in words (number of word (16-bit) units to be transferred)
The table below shows the mapping between slave addresses and contact output data.
Table 8.3 Contact Output Data
Bit Number
Data
Position
Number
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Slave 3A
Slave 2A
Slave 1A
–
103
3 2 1 0 3 2 1 0 3 2 1 0 3 2 1 0
Slave 7A
Slave 6A
Slave 5A
Slave 4A
104
3 2 1 0 3 2 1 0 3 2 1 0 3 2 1
0
Slave 11A
Slave 10A
Slave 9A
Slave 8A
105
3 2 1 0 3 2 1 0 3 2 1 0 3 2 1 0
Slave 15A
Slave 14A
Slave 13A
Slave 12A
106
3 2 1 0 3 2 1 0 3 2 1 0 3 2 1 0
Slave 19A
Slave 18A
Slave 17A
Slave 16A
107
3 2 1 0 3 2 1 0 3 2 1 0 3 2 1 0
Slave 23A
Slave 22A
Slave 21A
Slave 20A
108
3 2 1 0 3 2 1 0 3 2 1 0 3 2 1 0
Slave 27A
Slave 26A
Slave 25A
Slave 24A
109
3 2 1 0 3 2 1 0 3 2 1 0 3 2 1 0
Slave 31A
Slave 30A
Slave 29A
Slave 28A
110
3 2 1 0 3 2 1 0 3 2 1 0 3 2 1 0
Slave 3B
Slave 2B
Slave 1B
–
111
3 2 1 0 3 2 1 0 3 2 1 0 3 2 1 0
Slave 7B
Slave 6B
Slave 5B
Slave 4B
112
3 2 1 0 3 2 1 0 3 2 1 0 3 2 1 0
Slave 11B
Slave 10B
Slave 9B
Slave 8B
113
3 2 1 0 3 2 1 0 3 2 1 0 3 2 1 0
Slave 15B
Slave 14B
Slave 13B
Slave 12B
114
3 2 1 0 3 2 1 0 3 2 1 0 3 2 1 0
Slave 19B
Slave 18B
Slave 17B
Slave 16B
115
3 2 1 0 3 2 1 0 3 2 1 0 3 2 1 0
Slave 23B
Slave 22B
Slave 21B
Slave 20B
116
3 2 1 0 3 2 1 0 3 2 1 0 3 2 1 0
Slave 27B
Slave 26B
Slave 25B
Slave 24B
117
3 2 1 0 3 2 1 0 3 2 1 0 3 2 1 0
Slave 31B
Slave 30B
Slave 29B
Slave 28B
118
3 2 1 0 3 2 1 0 3 2 1 0 3 2 1 0
Note: I/O number for output 3 cannot be used for a V2.1-compatible slave because output 3 is used by the system for
selecting Slave B. (any data written to output 3 is ignored).
TIP
- Data in the above table maps to slaves with addresses 1A-31A and 1B-31B. A '—' character
indicates no mapping to any slave.
- Each bit position in the above table maps to a contact output with I/O number between 0 and 3 on a
slave. A bit is 1 if its corresponding contact output is to be turned on and 0 if its corresponding
contact output is to be turned off.
- Up to 4 contact outputs (4 bits) are represented for each V2.0 slave. Up to 3 contact outputs (3 bits)
are represented for each V2.1 slave.
Содержание FA-M3 Vitesse
Страница 2: ......
Страница 26: ...Blank Page...
Страница 38: ...Blank Page...
Страница 44: ...Blank Page...
Страница 54: ...Blank Page...
Страница 62: ...Blank Page...
Страница 64: ...Blank Page...
Страница 70: ...Blank Page...
Страница 72: ...Blank Page...
Страница 74: ...Index 2 IM 34M6H33 01E 1st Edition July 1 2004 00 Blank Page...
Страница 76: ...Blank Page...