478
APPENDICES APPENDIX
Appendix 7 Setting Examples
■Device writing
• Format 1 (sum check enabled), 3C frame
• Access target: QCPU of the connected station (host station)
• Command: Batch write in word units (command: 1401)
• Device: M100 to M131 (for 2 words)
1. Write values to devices.
Request message
*1 The addition result of the sum check range: 22BH + 3E0H + 1C2H = 7CDH
*2 The value of write data corresponds to the access target device as follows.
2. Receive the result.
Response message (Normal completion: No response data)
Control code Frame ID No. Access route
Station No. Network No. PC No. Self-station No.
ENQ 3C frame Host station
F90000FF00
05H 46H 39H 30H 30H 30H 30H 46H 46H 30H 30H
The subtotal of the additional value of binary data = 22BH
Request data
Command Subcommand Device code Head device number Number of device points
14010000M * 0 0 0 1 0 0 0 0 0 2
31H 34H 30H 31H 30H 30H 30H 30H 4DH 2AH 30H 30H 30H 31H 30H 30H 30H 30H 30H 32H
The subtotal of the additional value of binary data = 3E0H
Request data Sum check code
*1
Write data
*2
2347AB96C D
32H 33H 34H 37H 41H 42H 39H 36H 43H 44H
The subtotal of the additional value of binary data = 1C2H
Control
code
Frame ID No. Access route
Station No. Network No. PC No. Self-station No.
ACK 3C frame Host station
F90000FF00
06H 46H 39H 30H 30H 30H 30H 46H 46H 30H 30H
234
32H 33H 34H
7AB
37H 41H 42H
96
39H 36H
M115
2347AB96
001 0001 1010 0011 1101 0101 1100 1011 0
M100 M131 M116
0OFF
1ON
toto