Rotation Speed Measurement - Mitsubishi Electric MELSEC-L Special Instructions Manual

Melsec-q/l structured programming manual
Hide thumbs Also See for MELSEC-L:
Table of Contents

Advertisement

Rotation speed measurement

ICRCNT1, ICRCNT2
LCPU
Structured ladder/FBD
ICRCNT1
EN
ENO
d
The following instruction can go in the dotted squares.
ICRCNT1, ICRCNT2
■Executing condition
Instruction
ICRCNT1
ICRCNT2
■Argument
Input/output
Name
argument
Input argument
EN
Output argument
ENO
d
Setting
Internal device
data
Bit
Word
(d)
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.
[Structured ladder/FBD]
[ST]
ICRCNT1( M0 , D100 );
ST
ENO:=
(EN, d);
ICRCNT1
Executing condition
Description
Executing condition
Execution result
Start number of the device that stores the
measured rotation speed
R, ZR
J\
Bit
Word
Data type
Bit
Bit
ANY32
U\G
Zn
Constant
8 BUILT-IN I/O FUNCTION INSTRUCTION
8.2 Counter Function Dedicated Instruction
8
Others
295

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q

Table of Contents