7 Application Instructions API 50-99
D V P - P L C A P P L I C AT I O N M A N U A L
7-19
3.
In this mode,
-
S
1
: start device in the comparison table.
S
1
can only designate data register D and can be modified by E and
F. Once this mode is enabled,
S
1
will not be changed even the E and F has been changed.
-
S
2
: number of group data to be compared.
S
2
can only designate K1 ~ K255 or H1 ~ HFF and can be
modified by E and F. Once this mode is enabled,
S
2
cannot be changed. If
S
2
is not within its range, error
code 01EA (hex) will display and the instruction will not be executed.
-
S
: No. of high speed counter (designated as C241 ~ C254).
-
D
: Designated mode (can only be M1150)
4.
The No. of start register designated in
S
1
and the number of rows (groups) designated in
S
2
construct a
comparison table. Please enter the set values in every register in the table before executing the instruction.
5.
When the present value in the counter C251 designated in
S
equals the set values in D1 and D0, the Y output
designated by D2 will be reset to Off (D3 = K0) or On (D3 = K1) and be kept.
Output Y will be processed as an
interruption. No. of Y output pointss are in decimal (range: 0 ~ 255). If the No. falls without the range,
SET/RESET will not be enabled when the comparison reaches its target.
6.
When this mode is enabled, PLC will first acquire the set values in D0 and D1 as the target value for the first
comparison section. At the same time, the index value displayed in D1150 will be 0, indicating that PLC
performs the comparison based on the group 0 data.
7.
When the group 0 data in the table have been compared, PLC will first execute the Y output set in group 0 data
and determine if the comparison reaches the target number of groups. If the comparison reaches the target,
M1151 will be On; if the comparison has not reached the final group, the content in D1150 will plus 1 and
continue the comprison for the next group.
8.
M1151 is the flag for the completion of one execution of the table, can be Off by the user. Or when the next
comparion cycle takes place and the group 0 data has been compared, PLC will automatically reset the flag.
9.
When the drive contact of the instruction X10 goes Off, the execution of the instruction will be interrupted and
the content in D1150 (table counting register) will be reset to 0. However, the On/Off status of all outputs will be
remained.
10. When the instruction is being executed, all set values in the comparison table will be regarded as valid values
only when the scan arrives at END instruction for the first time.
11. This mode can only be used once in the program.
12. This mode can only be used on the hardware high speed counters C241 ~ C254.
13. When in this mode, the frequency of the input counting pulses cannot exceed 50KHz or the neighboring two
groups of comparative values cannot differ by 1; otherwise there will not be enough time for the PLC to react
and result in errors.
X10
DHSZ
D0
K4
C251
M1150
Содержание DVP-PLC
Страница 1: ...PLC PLC...
Страница 28: ...1 Basic Principles of PLC Ladder Diagram DVP PLC Application Manual 1 24 MEMO...
Страница 192: ...4 Step Ladder Instructions DVP PLC Application Manual 4 22 MEMO...
Страница 250: ...6 Application Instructions API 00 49 DVP PLC Application Manual 6 38 X0 DIV D0 D10 D20 D0 D10 K4Y0 DIV...
Страница 270: ...6 Application Instructions API 00 49 DVP PLC Application Manual 6 58 RST M0 X0 RST T0 RST Y0 FMOV K0 D10 K5...
Страница 337: ...7 Application Instructions API 50 99 DVP PLC APPLICATION MANUAL 7 53 X10 STMR T10 K50 Y0 Y3 X10 Y1 Y2 5 sec 5 sec...
Страница 458: ...8 Application Instructions API 100 149 DVP PLC Application Manual 8 56 or relay itself See 2 3 for more information...
Страница 472: ...8 Application Instructions API 100 149 DVP PLC Application Manual 8 70 MEMO...
Страница 574: ...9 Application Instructions API 150 199 DVP PLC Application Manual 9 102 MEMO...