Delta AS Series Programming Manual page 904

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

Example
1.
The instruction defines X0.0 as the down arrow, X0.1 as the up arrow, X0.2 as the right arrow, and X0.3 as the left
arrow. The instruction stores the setting value in D20, and the setting value must be between 0–9,999.
2.
When X1.0 is ON, the digit in the place 10
→10
→10
3
0
sequence (10
3.
If you press right arrow, the places are selected in sequence (10
for the corresponding places are connected to Y0.4–Y0.7. When the digits in the places are selected in sequence,
the LED indicators are ON in sequence.
If you press the up arrow, the digit in the place selected changes (0→1→2→...8→9→0→1). If you press the down
4.
arrow, the digit in the place selected changes (0→9→8→...1→0→9). The new digit is shown on seven-segment
display.
Y 0.4
Y0 .5
Y 0.6
Y 0.7
3
1 0
1
Y 0.0
2
Y 0.1
4
Y 0.2
8
Y 0.3
Four -digit sev en- segment display
Additional remarks
1.
If n exceeds the range, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#200B.
2.
If you declare the operand S
3.
If you declare the operand D
3
is selected. If the left arrow is pressed, the places are selected in
→10
→10
→10
1
2
3
0
).
LED indic ators
2
1
0
1 0
1 0
1 0
in ISPSoft, the data type is ARRAY [4] of BOOL.
1
in ISPSoft, the data type is ARRAY [8] of BOOLL.
2
Cha p ter 6 App l ied Ins truc tio ns
→10
→10
→10
→10
3
2
1
0
Up arr ow
X 0.1
Left arrow
X 0.3
X 0.0
Down arrow
T he four key s ar e used to select
the place and change the digit
→10
3
2
). The LED indicators
Right arr ow
X 0.2
6 - 6 2 5
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents