FX Series Programmable Controlers Applied Instructions 5
5-74
5.6.5 HSCR (FNC 54)
Operation:
The HSCR, compares the current value of the
selected high speed counter (S
2)againsta
selected value (S
1). When the counters current
value changes to a value equal to S
1, the device
specified as the destination (D) is reset. In the example above, Y10 would be reset only when
C255’s value stepped from 199 to 200 or from 201 to 200. If the current value of C255 was
forced to equal 200 by test techniques, output Y10 would NOT reset.
For further, general points, about using high speed counter functions, please see the
subsection ‘Points to note’ under the HSCS (FNC 53). Relevant points are; a, b, and c.
Please also reference the note about the number of high speed instructions allowable.
Mnemonic Function
Operands
Program steps
S
1 S2 D
HSCR
FNC 54
(High speed
counter
reset)
Resets the
selected output
when the
specified high
speed counter
equals the test
value
K, H,
KnX, KnY,
KnM, KnS,
T, C, D, V, Z
C
Note:
C=C235to
C255, or
available high
speed
counters
Y, M, S
C
Note:
If C, use same
counter as S
2
DHSCR:
13 steps
FX
1S
FX
1N
FX
2N
FX
2NC
PULSE-P
16 BIT OPERATION
32 BIT OPERATION
M8000
C255 Y10
[ S1 ] [ S2 ]
K200
[ D ]
DHSCR