9
PROGRAMMING
9.3 Program Examples for Use in MELSECNET/H Remote I/O Network
9.3.2 MODBUS(R) device assignment parameters
9
- 44
9
P
R
OGRAM
M
ING
10
D
E
DICA
TED
INSTRUC
TI
ONS
11
TR
O
U
BLE
S
HOOTING
A
P
P
E
NDICE
S
INDE
X
* 1 The following is a processing example for error completion.
The following is a processing example in which, from the QJ71MB91 buffer memory (address:
0C13
H
to 0C15
H
), the programmable controller CPU on the MELSECNET/H remote master station
obtains data such as an error code identified in the MODBUS
device assignment parameter
setting.
Figure 9.48 Program example for error completion of MODBUS
device assignment parameters
POINT
1. After execution of the REMFR/REMTO instruction, several scans are required
until the read/write of actual data is completed.
Completion of the REMFR/REMTO instruction can be confirmed by the
completion device of the instruction.
2. To set parameters, write the set values to the buffer memory by the REMTO
instruction, and then execute the parameter setting request after the
completion device of the REMTO instruction turns ON.
Remark
For details of the REMTO instruction and the troubleshooting for error completion
of the instruction, refer to the following manual:
Q Corresponding MELSECNET/H Network System Reference Manual
(Remote I/O network)
Processing for normal completion
Processing for error completion
Processing on completion
of REMFR instruction
Processing for
error completion
The following data are stored in the programmable controller CPU on the MELSECNET/H remote master station:
D10000: MODBUS device assignment parameter error code
D10001: Error, device type
D10002: Error, assigned group No.
R
Summary of Contents for QJ71MB91
Page 1: ......
Page 2: ......
Page 366: ...App 14 Appendix 4 External Dimensions APPENDICES Memo ...
Page 371: ......
Page 372: ......