8 BUILT-IN I/O FUNCTION INSTRUCTION
8.2 Counter Function Dedicated Instruction
295
8
Rotation speed measurement
ICRCNT1, ICRCNT2
The following instruction can go in the dotted squares.
ICRCNT1, ICRCNT2
■
Executing condition
■
Argument
Processing details
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 (d) at the ICRCNT instruction execution. The measurement starts 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 value of CH 1 to D100 and D101 while M0 is ON.
Instruction
Executing condition
ICRCNT1
ICRCNT2
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 rotation speed
ANY32
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
Others
Bit
Word
Bit
Word
(d)
[Structured ladder/FBD]
[ST]
ICRCNT1( M0 , D100 );
LCPU
ST
ICRCNT1
EN
ENO
ICRCNT1
(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: ......