Mitsubishi Electronics QJ71DN91 Water System User Manual


 
7 - 7 7 - 7
MELSEC-Q
7 PROGRAMMING WHEN EXECUTING THE MASTER FUNCTION
7.4 I/O Communication with Slave Nodes
This section explains an example of a sequence program that performs I/O
communication.
If GX Configurator-DN is used, the FROM and TO instructions are not required.
Parameter setting program
I/O communication
start command
Node No. 1 error handling program
Node No. 1 input data processing program
Node No. 2 error handling program
Node No. 2 output data processing program
Node No. 4 error handling program
Node No. 4 input data processing program
Node No. 4 output data processing program
Node No. 3 error handling program
Node No. 3 input data processing program
Parameter setting program
(See Section 7.3.)
Sets the initial setting value
of transmission data.
I/O communication start request
Reads each node's communication
status data.
Reads reception data.
Writes transmission data.
Reads transmission data.
Writes transmission data.
Reads transmission data.