Mitsubishi QJ71C24N User Manual page 225

Melsec-q series
Hide thumbs Also See for QJ71C24N:
Table of Contents

Advertisement

8 DATA COMMUNICATION USING THE PRE-DEFINED PROTOCOL
Device
X20
CPRTCL instruction execution command
D300
Inverter Station Number designation device
Execution result storing device for the
D10
Execution protocol number designation
D12
M0
CPRTCL
Predefined
execution
protocol
command
ready
8 - 20
(d) Executing the protocols (program example)
Create a program with the dedicated instruction (CPRTCL instruction) using
GX Developer.
Switch the CPU module to RUN, and execute the registered protocol by the
dedicated instruction (CPRTCL instruction).
The following table shows the devices to be used.
I/O signal of QJ71C24N
Predefined protocol ready: X1D
Devices used in program example
Purpose
CPRTCL instruction
device
Completion device
Receive data are stored to the receive data storage area (D200 to D203)
that is set to the receive packet.
Device
Status display device at
M1
M101
Normal completion flag
M102
Error completion flag
D100
Error code storing device
MELSEC-Q
Purpose
completion
Stores set values in the
Send data storage area.
Protocol No.1 is specified.
Protocol is executed.
Communicated at CH2.
Normal completion flag
ON
Error completion flag ON
Error code is stored.
8 - 20

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qj71c24n-r2Qj71c24n-r4Qj71c24Qj71c24-r2

Table of Contents