Справочник Пользователя для Mitsubishi Electronics A8GT-J61BT15

Скачать
Страница из 72
4 - 22                                                                                                                                                       4 - 22
MELSEC-GOT
4   MONITORING SPECIFICATION
4.6.5  Random write command
(1)   Random write command
This is a command to write remote register data to several different GOT internal
devices.
(2)   Command format
Transfer Direction
Addresses
Write data
RWwm (Higher byte)
5: Random write setting
RWwm (Lower byte)
When the occupied points are 2 stations
1 to 3 :Points to be written to the GOT internal device
When the occupied points are 4 stations
1 to 7 :Points to be written to the GOT internal device
RWwm + 1
0 to 1023 : GOT internal device numbers to be
written
RWwm + 2
Stores the data to be written to the GOT internal device
described above
RWwm + 3 to RWwn + E
Stores the data to be written and GOT internal device
numbers for the setting points like mentioned above.
Master station 
 GOT
RWwn + F
———
GOT 
 Master station
RWrn to RWrn + F
———
(3)   Communication overview
When writing remote register data to the GOT internal device GD100, 200, and
300 (3points)
0503
H
RWw0
1)
2)
0064
H
1234
H
00C8
H
RWw1
RWw2
RWw3
1234
H
GD100
0E54
H
GD300
TO
2)
GOT internal device
GD200
0E54
H
RWr4
012C
H
RWr5
0066
H
RWr6
0066
H
0503
H
RWw0
0064
H
1234
H
00C8
H
RWw1
RWw2
RWw3
0E54
H
RWr4
012C
H
RWr5
0066
H
RWr6
PLC CPU
Master station
remote register
GOT
remote register
1) Store the random write command data in the master station's remote register
(RWw).
2) Turn on the GOT request flag, and store the command data in the GOT
remote register (RWw). Store the write data in GD100, 200, and 300.
(Command execution)
The GOT complete flag turns on when the command processing is complete.