Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 1046

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Processing details
• When executed, the S(P).ZCOM instruction temporarily stops sequence program processing by the CPU module and
perform refresh processing for the module specified by (J/U).
ZCOM
0
(1)
(1) Refresh processing
• The following is applicable when refresh processing of the CC-Link IE Controller Network module or MELSECNET/H
module (network between programmable controllers) is performed.
• When the scan time of the sequence program of the host station is longer than that of another station, the S(P).ZCOM instruction is used to ensure the import
of data from the other station.
[When the S(P).ZCOM instruction is not used]
Program
0
(on the control station)
Link scan
Program
0
(on the normal station)
• When the link scan time is longer than the sequence program scan time, using the S(P).ZCOM instruction will not make data communication faster.
Program
0
ZCOM
Link scan
Precautions
• The S(P).ZCOM instruction can be used as many times as needed in the program. Note, however, that the scan time of the
program is extended by the refresh time.
• Interrupts are enabled during execution of the S(P).ZCOM instruction. If refresh data is used by an interrupt program, data
separation may occur.
Operation error
Error code
Description
(SD0)
2800H
The specified start I/O number is out of the range, 0 to FFH.
2801H
No module exists at the position specified by the start I/O number.
2804H
The network number set to (J) is out of the range, 1 to 239.
2820H
The specified network number is not connected to the host station.
• The S(P).ZCOM instruction cannot be used in the interrupt program.
• To communicate only with external devices, use the COM(P) instruction.
7 APPLICATION INSTRUCTIONS
1044
7.27 Module Access Instructions
ZCOM
END
(1)
(1)
END
0
END
0
END
END
0
END
0
END 0
ZCOM
END
ZCOM
END
(1)
(1)
[When the S(P).ZCOM instruction is used]
Program
(on the control station)
Link scan
Program
(on the normal station)
END
0 ZCOM
0 ZCOM
0
END
0
END
0
END
0
ZCOM
ZCOM
END
0
END
END
0
ZCOM

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents