EasyManua.ls Logo

Vigor VS Series - Page 189

Vigor VS Series
484 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
183
FNC
54
1
2
M
3
○○○○
D H S C R
S1
S2
D
X Y M S
D.b R.b
KnX KnY
KnM KnS
T C
D,R
V,Z
UnG
K,H
E
" $"
S1
D
S2
S1 : the set value of comparison
S2 : the ID No. of the software high speed counter
to be used
D: the destination will be reset by the compare result
The DHSCR instruction is used to give an immediate reset output that is by way of a Software High Speed Counter
(SHSC).
When X20=“ON” and the present value of C235 changes from 199 to 200 or from 201 to 200, the status of Y0
becomes “OFF” and immediately sent it to the external output point, then the Y0 will remain its “OFF” status.
K100
DHSCR K200 C235 C235
C235
M9000
200
100
The Counter Self-Reset
DHSCR K200 C235 Y0
X20
D
S1 S2
Operand
Devices
Software High Speed Counter Reset
S2 = C235~C255
If D designates to Y, should use Y0~Y7
D can also designate to a Software High Speed Counter but the D and S2 must use the same SHSC
Note
When the counted present value of C235 = 200, the
C235 will be reset immediately (its present value will be
reset to “0” and the output contact will become “OFF”).
S2
D
When the and of the DHSCR instruction are
designated to a same Software High Speed Counter,
the counter will perform the action of Self-Reset if its
input makes the present value equal to the .
The present
value of C235
The output
contact of C235
This instruction is a 32-bit instruction; the DHSCR should be always entered when uses this instruction.
There is no limitation on the number of using times about the DHSCS, DHSCR and DHSZ instructions, while
the DHSCT can only be used once in the program. However, the total of these instructions performed at the
same time should not exceed “8”.
Both the Software High Speed Counter and the DHSCS, DHSCR, DHSZ, DHSCT instructions are only
performed to compare when there is an external signal to the input of the counter. The compare action shall
not be performed if the present value of Software High Speed Counter is changed by a transferring
instructions, because there is no counter input signals. Thus, there is not have the compare action, of course
not has the compare result.
S1

Table of Contents