Mitsubishi Electric QJ71DN91 User Manual page 163

Melsec system q programmable controller devicenet master-slave module gx configurator-dn
Hide thumbs Also See for QJ71DN91:
Table of Contents

Advertisement

7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION
Setting parameters for master function (See Section 7.3.)
I/O communication function
1st slave node: Node No.1
2nd slave node: Node No.2
3rd slave node: Node No.4
4th slave node: Node No.3
7 - 30
(2)
Program example
Error handling program for node No.1
Input data processing program for node No.1
Error handling program for node No.2
Output data processing program
for node No.2
Error handling program for node No.4
Input data processing program for node No.4
Output data processing program
for node No.4
Error handling program for node No.3
Input data processing program for node No.3
POINT
To ensure consistency of transmit/receive data of multiple words, take a measure
such as providing a handshake area at the end of transmit/receive data to check
the data transfer.
For the program example, refer to Section 7.1 (4).
MELSEC-Q
Sets initial transmit data values.
Set I/O Communication
Request to ON.
Reads node communication status.
Writes transmit data.
Reads receive data.
Writes transmit data.
Reads receive data.
7 - 30

Advertisement

Table of Contents
loading

Table of Contents