Mitsubishi Electric QJ71MB91 User Manual page 272

Modbus interface module
Table of Contents

Advertisement

9
PROGRAMMING
Setting
Module
Intelligent function
module switch
command
READY
setting change
status
Figure 9.47 MODBUS device assignment parameter setting program example when mounted to MELSECNET/H remote I/O station
9
- 43
9.3 Program Examples for Use in MELSECNET/H Remote I/O Network
9.3.2 MODBUS device assignment parameters
(b) Program example for MODBUS device assignment parameter setting
The program example is shown below.
A process upon normal completion
A process upon abnormal end
Initialize the MODBUS device assignment
parameter setting area.
Device code (009D
)
H
Head device number
(0100
)
H
Head coil number (0)
Assignment points
(512 points)
Device code (00A8
)
H
Head device number (3500)
Head input register number
(3499)
Assignment points
(5500 points)
Device code (F000
)
H
Head device number
(5500
)
H
Head holding register
number (0)
Assignment points
(1024 points)
Write the set values into the buffer memory of the
QJ71MB91 using the REMTO instruction.
Turn on MODBUS device assignment parameter
setting request when the REMTO instruction is
normally completed.
Error completion of REMTO instruction
MODBUS device assignment parameter setting
request, normally completed
MODBUS device assignment parameter setting
request, error completed
*1
Coil
assignment1
Input
register
assignment1
holding
register
assignment1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sw1d5c-qmbu-e

Table of Contents