EasyManua.ls Logo

Vigor VS Series - Page 357

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...
351
1
2
M
3
FNC
280
D H S C T
S1
m
S2
D
n
X Y M S
D.b R.b
KnX KnY
KnM KnS
T C
D,R
V,Z
UnG
K,H
E
" $"
n
S1
D
m
S2
DHSCT D0 K6 C235 Y4 K3
X20
S1
1m16
When D is assigned to Y, only Y0~Y7 have instant response ability
1n16
S2= C235~C255
m
S2
D
n
S2
D
n
D2
H05
D5
H02
D8
H06
D11
H03
D14
H04
D17
H00
D9162
0
1
2
3
4
5
Comparison Table
S1
(D1,D0)
K100
(D4,D3)
K200
(D7,D6)
K300
(D10,D9)
K400
(D13,D12)
K500
(D16,D15)
K600
m
Y4
Y5
Y6
Table Counter at
D9162
0 1
2
3
5
4
M9162
100
200
300
500
600
400
Present Value of
C235
D9162
M9162
Operand
Devices
Software High Speed Counter Table
Compare
S1 : the head register ID of the comparison table
m : the number of data sets to be compared
S2 : the ID of the designated Software High Speed Counter
D : the head ID of output components for the comparison
results
n : the number of output components for the comparison
results
S1
m
D
n
S2
This instruction uses a comparison table which is headed by the and continuously occupies × 3 registers,
then takes the present value of the designated Software High Speed Counter to compare to that table,
furthermore the comparison result presents through the headed continuously components. Both the
values comparison and result outputting at this instruction are operated by the interruption of system.
Data Set to be
Compared
Output
Appointer
Table Counter
When X20 = “ON”, this instruction starts operation. The present value of C235 SHSC assigned by will
st
compare with the content value of the 1 data set (D1, D0) in the comparison table. If the input makes those
st
values equal, the content value of the 1 output appointer (D2) in the comparison table will be instantly output
through the Y4~Y6 (assigned by and ), also it increases the value in the table counter D9162 by 1
nd
(become 1 from 0). After that, the present value of C235 will compare with the content value of the 2 data set
nd
(D4, D3) in the table. When the values are equal, the content value of the 2 output appointer (D5) in the table will
be instantly output through the Y4~Y6, also it increases the value in the table counter D9162 by 1 (become 2 from
1). The comparison action is continuous, until the value of the last data set in the table is equal to the present
value of C235. That causes the operation completion ag M9162 for one Scan Time and the D9162 will be reset to
st
0, furthermore the comparison operation should start over again from the 1 data set.
When the X20 turns from “ON” to “OFF”, this instruction stops and the content value of D9162 will be reset to 0 but
the result status which has output previously will still remain.
This instruction is a 32-bit instruction. Therefore, be sure to input DHSCT in the program.
This instruction can only be used once in the program.
The related special devices are summarized below: ( : Means read only.)
Description
Relay ID No.
Register ID No.
Description
To indicate the completion of HSCT instruction.
The number of count is activated at the table of HSCT instruction.

Table of Contents