Delta AH500 Programming Manual page 553

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

API
Instruction code
1703
ARWS
Device X
Y
M
S
1
S
2
D
1
D
2
n
Symbol:
Explanation:
1.
If the instruction is executed, S
S
+2 is defined as the right arrow, and S
1
stored in D
, and it should be within the range between 0 and 9,999.
1
2.
The operand S
occupies four consecutive bit devices.
1
3.
S
is for system use only. Please do not alter the value in it.
2
4.
The operand D
occupies eight consecutive bit devices.
2
5.
When the conditional contact is not enabled, the eight bit devices starting from the bit device
specified by D
keep OFF.
2
6.
The operand n should be within the range between 0 and 3. Please refer to the additional
remark on the instruction SEGL for more information.
7.
When the on-line editing is used, please reset the conditional contact to initialize the
instruction.
Example:
1.
If the instruction is executed, X0.0 is defined as the down arrow, X0.1 is defined as the up
arrow, X0.2 is defined as the right arrow, and X0.3 is defined as the left arrow. The setting
value is stored in D20, and it should be within the range between 0 and 9,999.
2.
When X1.0 is ON, the digit in the place 10
are selected in sequence (10
3.
If the right arrow is pressed, the places are selected in sequence
→10
→10
→10
3
2
1
(10
connected to Y0.4~Y0.7. When the digits in the places are selected in sequence, the LED
indicators are ON in sequence.
4.
If the up arrow is pressed, the digit in the place selected changes (0→1→2→...8→9→0→1). If
the down arrow is pressed, the digit in the place selected changes (0→9→8→...1→0→9). The
new digit is shown on seven-segment display.
Operand
S, D
, D
1
S
T
C
HC
D
Pulse instruction 16-bit instruction (9 steps) 32-bit instruction
: Initial input device
S
1
: For system use only
S
2
: Device in which the setting value is stored
D
1
: Initial output device
D
2
n : Positive/Negative logic
is defined as the down arrow, S
1
+3 is defined as the left arrow. The setting value is
1
3
→10
→10
→10
3
0
1
→10
→10
0
3
2
). The LED indicators with the corresponding places are
Ch a pt er 6 Ap p l i ed I ns t r uc t i ons
, n
2
L
SM SR
E
-
AH500
+1 is defined as the up arrow,
1
is selected. If the left arrow is pressed, the places
→10
→10
2
3
0
).
Function
Arrow keys
PR
K
16# "$"
DF
-
Bit
Word
Word
Bit
Word
6 - 3 8 5

Advertisement

Table of Contents
loading

Table of Contents