Download Print this page

Predefined Protocol Support Function Instruction - Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

15.4

Predefined Protocol Support Function Instruction

S(P).CPRTCL
This instruction executes the communication protocol registered using the engineering tool.
Ladder diagram
(U)
FBD/LD
EN
ENO
U0
d
s
n1
n2
("S_CPRTCL", "SP_CPRTCL" enters .)
Setting data
■Descriptions, ranges, and data types
Operand
Description
*1
(U)
Dummy (Input the character string ['U0'].)
(n1)
Communication channel
(n2)
Number of protocols to be executed continuously
(s)
Head device number for storing the control data
(d)
Head device number which turns ON when the execution of
the instruction is completed and remains on for 1 scan.
If the instruction is completed with an error, (d)+1 is also
turned on.
EN
Execution condition
ENO
Execution result
*1 In the case of the ST language and the FBD/LD language, U displays as U0.
■Applicable devices
Operand
Bit
X, Y, M, L, SM,
F, B, SB, S
(U)
(n1)
(n2)
(s)
(d)
*1 T, ST, C cannot be used.
15 EXTERNAL DEVICE COMMUNICATION INSTRUCTION
836
15.4 Predefined Protocol Support Function Instruction
(n1) (n2)
(s)
(d)
Word
T, ST, C, D, W,
SD, SW, R
*1
Structured text
ENO:=S_CPRTCL(EN,U0,s,n1,n2,d);
ENO:=SP_CPRTCL(EN,U0,s,n1,n2,d);
Range
1 to 4
1 to 8
Refer to Control data
(Page 837)
Double word Indirect
U\G
Z
LC
Data type
Character string
16-bit unsigned binary
16-bit unsigned binary
Word
Bit
Bit
Bit
Constant
specification
LZ
K, H
Data type (label)
ANYSTRING_SINGLE
ANY16_U
ANY16_U
ANY16_ARRAY
(Number of elements: 18)
ANYBIT_ARRAY
(Number of elements: 2)
BOOL
BOOL
Others
E
$

Hide quick links:

Advertisement

loading