8 BUILT-IN I/O FUNCTION INSTRUCTION
8.2 Counter Function Dedicated Instruction
291
8
Latch counter value read
ICLTHRD1, ICLTHRD2
The following instruction can go in the dotted squares.
ICLTHRD1, ICLTHRD1P, ICLTHRD2, ICLTHRD2P
■
Executing condition
■
Argument
Processing details
This instruction stores a latch count value n of the specified CH (refer to the following) to (d).
• ICLTHRD1(P): CH1
• ICLTHRD2(P): CH2
Program example
• The following program stores the latch count value 1 of CH 1 to D100 and D101 when M0 turns ON.
Instruction
Executing condition
ICLTHRD1
ICLTHRD2
ICLTHRD1P
ICLTHRD2P
Input/output
argument
Name
Description
Data type
Input argument
EN
Executing condition
Bit
n
Latch count value (1,2)
ANY16
Output argument
ENO
Execution result
Bit
d
Start number of the device in which the latch count
value is stored
ANY32
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
Others
Bit
Word
Bit
Word
n
(d)
[Structured ladder/FBD]
[ST]
ICLTHRD1( M0 , 1 , D100 );
LCPU
ST
ICLTHRD1
EN
ENO
n
ICLTHRD1
(EN, n, d);
ENO:=
d
Structured ladder/FBD
Содержание MELSEC System Q
Страница 1: ...MELSEC Q L Structured Programming Manual Special Instructions ...
Страница 2: ......
Страница 307: ...10 SFC CONTROL INSTRUCTION 10 2 SFC Transition Condition Comment Read 305 10 MEMO ...
Страница 309: ...I 307 MEMO ...
Страница 315: ......