![Mitsubishi Electric MELSEC System Q Special Instructions Manual Download Page 289](http://html.mh-extra.com/html/mitsubishi-electric/melsec-system-q/melsec-system-q_special-instructions-manual_239154289.webp)
8 BUILT-IN I/O FUNCTION INSTRUCTION
8.2 Counter Function Dedicated Instruction
287
8
8.2
Counter Function Dedicated Instruction
Current value read
ICCNTRD1, ICCNTRD2
The following instruction can go in the dotted squares.
ICCNTRD1, ICCNTRD1P, ICCNTRD2, ICCNTRD2P
■
Executing condition
■
Argument
Processing details
This instruction stores a value at the time of instruction execution to the current value of the specified CH (refer to the
following).
Program example
• The following program stores the most recent value to the CH 1 current value (SD1880, SD1881) when M0 turns ON.
Instruction
Executing condition
ICCNTRD1
ICCNTRD2
ICCNTRD1P
ICCNTRD2P
Input/output
argument
Name
Description
Data type
Input argument
EN
Executing condition
Bit
Output argument
ENO
Execution result
Bit
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
Others
Bit
Word
Bit
Word
Instruction
CH
Device in which the current value is stored
ICCNTRD1(P)
CH1
SD1880, SD1881
ICCNTRD2(P)
CH2
SD1900, SD1901
[Structured ladder/FBD]
[ST]
ICCNTRD1( M0 );
LCPU
ST
ICCNTRD1
EN
ENO
ICCNTRD1
(EN);
ENO:=
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: ......