Mitsubishi Electric QJ71MT91 User Manual page 207

Modbus/tcp interface module
Table of Contents

Advertisement

9
PROGRAMMING
Program for parameter setting and automatic communication function: Refer to (b) in this section.
9 - 41
(6) Program example
(a) Interlock program example for remote master station and
remote I/O station
Provide interlocks depending on the link status of the remote master station
(local station) and remote I/O station (other station).
The following example shows communication program interlocks using the
link status (SB47, SB49) of the remote master station and the link status
(SW70 bit 0, SW74 bit 0, SW78 bit 0) of the remote I/O station (station No.
1).
Set the following value in the timer constant K.
Baton pass status
(T0, T2)
Cyclic transmission status
Parameter communication status
(T1, T3, T4)
Reason: To prevent control from stopping even if the network detects an
instantaneous error due to a cable problem, noise or other condition.
Note that " × 4" and " × 3" represent standard values.
POINT
For details of the interlock program for the remote master station and remote I/O
station of MLESECNET/H, refer to the "Q Corresponding MELSECNET/H Network
System Reference Manual (Remote I/O Network)".
MELSEC-Q
SB47: Baton pass status(host)
SB49: Host data link status
SW70: Baton pass status of
each station
SW74: Cyclic transmission status
of each station
SW78: Parameter communication
status of each station
SB20: Module status
(Sequence scan time × 4) or more
(Sequence scan time × 3) or more
9 - 41

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec q series

Table of Contents