ICRCNT1, ICRCNT2
8.2.8
ICRCNT instruction
ICRCNT1
ICRCNT2
Structured ladder
ICRCNT1
EN
ENO
Input argument
EN:
Output argument
ENO:
d:
Function
This instruction measures a rotation speed of the specified CH (refer to the following) according
to the settings such as the rotation speed measurement unit time setting.
• ICRCNT1: CH1
• ICRCNT2: CH2
The measured value is stored to
at the rising pulse of the ICRCNT instruction execution command, and ends at the falling pulse.
Program Example
The following program stores the rotation speed measurement of CH 1 to D100 and D101 while
M0 is ON.
[Structured ladder]
[ST]
ICRCNT1(M0, D100);
8.2 Counter Function Dedicated Instruction
8-26
8.2.8 ICRCNT instruction
ST
ENO:=
ICRCNT1
d
Executing condition
Execution result
Start number of the device that stores the measured rotation
speed
Internal device
Setting
data
Bit
Word
−
d
at the ICRCNT instruction execution. The measurement starts
d
instructions.
ICRCNT1
ICRCNT2
(EN, d);
:Bit
:Bit
:ANY32
J
\
R, ZR
U
Bit
Word
−
ICRCNT1, ICRCNT2
L CPU
indicates any of the following
Zn
Constant
\G
−
Others