Pre-Defined Protocol Communication - Mitsubishi Electric MELSEC-L Special Instructions Manual

Melsec-q/l structured programming manual
Hide thumbs Also See for MELSEC-L:
Table of Contents

Advertisement

Pre-defined protocol communication

G(P)_CPRTCL
Serial
Structured ladder/FBD
G_CPRTCL
EN
ENO
d
Un*
n1
n2
s
The following instruction can go in the dotted squares.
G_CPRTCL, GP_CPRTCL
■Executing condition
Instruction
G_CPRTCL
GP_CPRTCL
■Argument
Input/output
Name
argument
Input argument
EN
Un*
n1
n2
s
Output argument
ENO
d
Setting
Internal device
*1
data
Bit
Word
n1
n2
(s)
(d)
*1 Local devices and file registers per program cannot be used as setting data.
Processing details
This instruction executes the protocols and functional protocols written to the flash ROM by pre-defined protocol support
function.
ST
ENO:=
(EN, Un*, n1, n2, s, d);
G_CPRTCL
Executing condition
Description
Executing condition
Start I/O number of the module
(00 to FE: Higher two digits when expressing the I/
O number in three digits)
Channel to communicate with other devices
1: Channel 1 (CH1 side)
2: Channel 2 (CH2 side)
Number of consecutive protocol executions (1 to 8)
Start number of the device in which control data are
stored
Execution result
Variable that turns ON upon completion of the
instruction
d[1] also turns ON at the time of error completion.
R, ZR
J\
Bit
Data type
ANY16
ANY16
ANY16
ANY16
Array of ANY16 [0..17]
Bit
Array of bit [0..1]
U\G
Zn
Word
5 MODULE DEDICATED INSTRUCTION
5.3 Serial Communication Instruction
Constant
Others
K, H
95
5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q

Table of Contents