25 HIGH-SPEED INPUT/OUTPUT FUNCTION
25.1 High-speed Counter Function
285
25
Special relays/special registers capable of high-speed transfers
with the HCMOV/DHCMOV instruction
The table below shows the devices that can read and write the latest value with the HCMOV/DHCMOV instruction from
special relays and special registers related to the high-speed counters. When special relays and special registers are
specified for (s) and (d) of instructions other than the HCMOV/DHCMOV instruction, the operation is the same as one
compatible with the MOV/DMOV instruction.
• Transfer is not possible between an SM supporting high-speed transfer and an SD supporting high-speed transfer.
• When the device supporting high-speed transfer is set as the transfer source (s) by the DHCMOV instruction while the high-
speed input/output function is stopped, the previous value before stop is read out. However, if the function is not executed
even once, the initial value is read out.
Special relays for individual channels
: High-speed transfer capable (special relay is immediately updated)
: Normal transfer capable (special relay is updated in END processing)
: Transfer not possible (read-only)
*1 In a program with interruption priority 1, the HCMOV/DHCMOV instruction specified with a device for the high-speed pulse input/output
module cannot be executed.
Special relay Function Compatible with HCMOV/
DHCMOV instruction
Compatible with MOV/
DMOV instruction
(s) (d) (s) (d)
SM4500 to
SM4515
High-speed counter operating
SM4516 to
SM4531
High-speed counter pulse density/rotational speed being
measured
SM4532 to
SM4547
High-speed counter overflow
*1
SM4548 to
SM4563
High-speed counter underflow
*1
SM4564 to
SM4579
High-speed counter count direction monitor
*1
SM4580 to
SM4595
High-speed counter (1-phase 1-input S/W) count direction
switch
*1
SM4596 to
SM4611
High-speed counter preset input logic
SM4612 to
SM4627
High-speed counter preset input comparison
SM4628 to
SM4643
High-speed counter enable input logic
SM4644 to
SM4659
High-speed counter ring length setting