296
8 BUILT-IN I/O FUNCTION INSTRUCTION
8.2 Counter Function Dedicated Instruction
Pulse measurement read
ICPLSRD1, ICPLSRD2
The following instruction can go in the dotted squares.
ICPLSRD1, ICPLSRD1P, ICPLSRD2, ICPLSRD2P
■
Executing condition
■
Argument
Processing details
This instruction stores a measured pulse value of the specified CH (refer to the following) to (d).
• 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.
Instruction
Executing condition
ICPLSRD1
ICPLSRD2
ICPLSRD1P
ICPLSRD2P
Input/output
argument
Name
Description
Data type
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
(d)
[Structured ladder/FBD]
[ST]
ICPLSRD1( M0 , D100 );
LCPU
ST
ICPLSRD1
EN
ENO
ICPLSRD1
(EN, d);
ENO:=
d
Structured ladder/FBD
Summary of Contents for MELSEC System Q
Page 1: ...MELSEC Q L Structured Programming Manual Special Instructions ...
Page 2: ......
Page 307: ...10 SFC CONTROL INSTRUCTION 10 2 SFC Transition Condition Comment Read 305 10 MEMO ...
Page 309: ...I 307 MEMO ...
Page 315: ......