Mitsubishi Electric QJ71MB91 User Manual page 273

Modbus interface module
Table of Contents

Advertisement

9
PROGRAMMING
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.
Figure 9.48 Program example for error completion of MODBUS device assignment parameters
POINT
Remark
* 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
to 0C15
), the programmable controller CPU on the MELSECNET/H remote master station
H
H
obtains data such as an error code identified in the MODBUS device assignment parameter
setting.
Processing for
error completion
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.
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)
9.3 Program Examples for Use in MELSECNET/H Remote I/O Network
9.3.2 MODBUS device assignment parameters
A process upon normal completion
A process upon abnormal end
Processing on completion
of REMFR instruction
9
- 44
9
10
11

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sw1d5c-qmbu-e

Table of Contents