
High
−
level Instructions
3
−
563
A maximum of approx. 174.7 ms can be measured in 1us unit.
A maximum of approx. 49.7 days can be measured in 1ms unit.
Period measurement data
When measurement starts,
−
1 is set.
When measurement limit is exceeded,
−
1 is set.
Precautions during programming
The same channel cannot be specified at the same time with other high
−
speed counter control instructions
<F165(CAM0), F166(HC1S), F167(HC1R)>.
An exclusive control is implemented by the high
−
speed counter control flags (R9110 to R9115).
Once the instruction is executed, the pulse measurement function will be effective until the control is cleared
with F0(MV) S, DT90052 instruction.
The number of channels that the instruction can be executed simultaneously is two.
F178 instruction cannot be executed if the high
−
speed counter function is not used.
Do not execute this instruction in the normal program and the interrupt program at the same time.
FP0R
High
−
speed counter
channel No.
Control flag
Elapsed value area
Target value area
ch0
R9110
DT90300 to DT90301
DT90302 to DT90303
ch1
R9111
DT90304 to DT90305
DT90306 to DT90307
ch2
R9112
DT90308 to DT90309
DT90310 to DT90311
ch3
R9113
DT90312 to DT90313
DT90314 to DT90315
ch4
R9114
DT90316 to DT90317
DT90318 to DT90319
ch5
R9115
DT90320 to DT90321
DT90322 to DT90323
Example of input pulse measurement setting
[Condition]
(1) Set the channel number to 0 and the number of moving average to 5. Specify the pulse period
measurement in 1us unit.
(2) Set the counting period to 10ms.
F0 MV , H 150,
DT100
R9013
F178 PLSM, DT100, DT101, DT200
R3
Specification of high
−
speed counter channel 0,
No. of moving average: 5 times, specification of pulse period measurement (in 1us unit)
Period of counting the number of pulses
Start of input pulse measurement
F0 MV , K 10,
DT101
Execution of program
When the internal relay R3 is ON, the operation is performed as follows.
When pulses are input with a freuqency at 10kHz.
DT200 to DT201
No. of pulses (Moving average value)
→
100 pulses
Calculates the number of input pulses every 10ms,
and
calculates the average of the past 5 times with a
period of counting.
DT202 to DT203
Pulse period in 1us unit
→
100
μ
s
(The value is k100.)
DT204 to DT205
Pulse period in 1ms unit
→
Becomes 0 ms.
Note: The final numbers of actual measured values may vary due to measurement error.
FP0R
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Summary of Contents for FP-E
Page 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 2: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 24: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 1333: ...5 245 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...