Mitsubishi Electronics MELSEC Q series MELSEC L series Home Theater Server User Manual


 
8.2 Counter Function Dedicated Instruction
8.2.9 ICPLSRD instruction
8-27
8
BUILT-IN I/O FUNCTION
INSTRUCTION
ICPLSRD1, ICPLSRD2
ICPLSRD1, ICPLSRD2
8.2.9 ICPLSRD instruction
ICPLSRD1, ICPLSRD2
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/FBD]
[ST]
ICPLSRD1(M0, D100);
ICPLSRD1(P)
ICPLSRD2(P)
P: Executing condition
:
indicates any of the following
instructions.
ICPLSRD1 ICPLSRD1P
ICPLSRD2 ICPLSRD2P
Input argument
EN:
Executing condition :Bit
Output argument
ENO:
Execution result Bit
d:
Start number of the device that stores the measured pulse
value
:ANY32
Setting
data
Internal device
R, ZR
J\
U\G
Zn Constant Others
Bit Word Bit Word

LCPU
ST
ICPLSRD1
EN ENO
ICPLSRD1
(EN, d);ENO:=
d
Structured ladder/FBD
d
d