7 APPLICATION INSTRUCTION
7.14 Pulse related instruction
511
7
• The table below shows the related devices.
• The table below shows the related device update timing.
• The maximum input frequency of turning the inputs ON and OFF is shown below:
• When the DSPD instruction is used, the UP/DOWN pulse input, preset input and enable input operate in accordance with
the contents set by the parameters of the high-speed counter.
• When the measurement time is changed while the DSPD instruction is executed, the changed time is applied every time
the measurement time ends.
• When the DSPD instruction is started, the high-speed counter and pulse density measurement are started simultaneously.
When the DSPD instruction is stopped, only the pulse density measurement is stopped and the high-speed counter is not
stopped.
• When the current value of the high-speed counter is overwritten, a preset input is executed, or the high-speed counter is
reset by the DHCMOV instruction while the SPD instruction is executed, the operation continues, but the pulse density
cannot be measured normally.
• When the DSPD instruction is used, pulses per unit time which exceeds the ring length of the high-speed counter cannot be
input.
Function CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
Monitor in operation SM4500 SM4501 SM4502 SM4503 SM4504 SM4505 SM4506 SM4507
High-speed counter pulse
density
SD4507,
SD4506
SD4537,
SD4536
SD4567,
SD4566
SD4597,
SD4596
SD4627,
SD4626
SD4657,
SD4656
SD4687,
SD4686
SD4717,
SD4716
Measurement unit time SD4517,
SD4516
SD4547,
SD4546
SD4577,
SD4576
SD4607,
SD4606
SD4637,
SD4636
SD4667,
SD4666
SD4697,
SD4696
SD4727,
SD4726
Function R/W Update timing Clear
Monitor in operation R • When the DSPD instruction is executed
• When the DHIOEN instruction is executed
• Power-on
• Reset
High-speed counter pulse density R • When the measurement time is finished • Power-on
• Reset
Measurement unit time R/W • When the DSPD instruction is executed • Power-on
• Reset
FX5U-32M CPU module
Used input number Maximum input frequency
X0 to X5 200 kHz
X6, X7 10 kHz
FX5U-64M/FX5U-80M CPU module
Used input number Maximum input frequency
X0 to X7 200 kHz
X10 to X17 10 kHz
A
A
A
A
PE
A
A
A
A
PE
P
E
PE
PE
PE
PE
B
B
B
B
B
B
B
B
CH1
CH2
CH3
CH4
CH5
CH6
CH7
CH8
X0 X1 X2 X3 X4 X5 X6 X7 X10 X11 X12 X13 X14 X15 X16 X17
General-purpose input assignment of the 2-phase 2-input counter
A: A phase pulse input, B: B phase pulse input, P: Preset input (reset), E: Enable input (start)
If one of X1, X3, X5, X7, X11, X13, X15, X17 is specified as a device, an error occurs.