EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Executing the Protocols Registered for the Predefined Protocol Support Function

Mitsubishi Electric MELSEC iQ-R Series
2110 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
20 SERIAL COMMUNICATION INSTRUCTIONS
20.2 Executing the Protocols Registered for the Predefined Protocol Support Function
1677
20
20.2 Executing the Protocols Registered for the
Predefined Protocol Support Function
G(P).CPRTCL
These instructions execute the protocols or special protocols that have been written to the flash ROM by using the
communication protocol support function of the engineering tool.
Execution condition
Setting data
Description, range, data type
*1 When specifying setting data by using a label, define an array to secure enough operation area and specify an element of the array
label.
Ladder ST
ENO:=G_CPRTCL(EN,U,n1,n2,s,d);
ENO:=GP_CPRTCL(EN,U,n1,n2,s,d);
FBD/LD
Instruction Execution condition
G.CPRTCL
GP.CPRTCL
Operand Description Range Data type Data type (label)
(U) Start I/O number (first three digits in four-digit hexadecimal
representation) of a module
00H to FEH 16-bit unsigned binary ANY16
(n1) Channel to communicate with the external device
1: Channel 1 (CH1 side)
2: Channel 2 (CH2 side)
1, 2 16-bit unsigned binary ANY16
(n2) Number of protocols to be executed consecutively (1 to 8) 1 to 8 16-bit unsigned binary ANY16
(s) Start device where control data is stored Refer to the control data. Device name ANY16
*1
(d) Device that turns on for one scan upon completion of the
instruction
When the instruction completes with an error, (d)+1 also
turns on.
Bit ANYBIT_ARRAY
(Number of elements: 2)
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)
(U) (n1) (n2) (s) (d)
EN ENO
U
n1
d
n2
s

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals