8.2.9
ICPLSRD instruction
ICPLSRD1(P)
ICPLSRD2(P)
Structured ladder
ICPLSRD1
EN
ENO
d
Input argument
EN:
Executing condition
Output argument
ENO:
Execution result
d:
Start number of the device that stores the measured pulse
value
Setting
data
d
Function
This instruction stores a measured pulse value of the specified CH (refer to the following) to
• ICPLSRD1(P): CH1
• ICPLSRD2(P): CH2
Program Example
The following program stores the measured pulse value of CH 1 to D100 and D101 when M0
turns ON.
[Structured ladder]
[ST]
ICPLSRD1(M0, D100);
ST
ENO:=
(EN, d);
ICPLSRD1
Internal device
R, ZR
Bit
Word
Bit
−
8.2 Counter Function Dedicated Instruction
ICPLSRD1, ICPLSRD2
ICPLSRD1, ICPLSRD2
P: Executing condition
indicates any of the following
instructions.
ICPLSRD1
ICPLSRD1P
ICPLSRD2
ICPLSRD2P
:Bit
Bit
:ANY32
J
\
Zn
U
\G
Word
−
8.2.9 ICPLSRD instruction
8
L CPU
:
Constant
Others
−
.
d
8-27