Mitsubishi Electronics FX0S ユーザーズマニュアル
FX Series Programmable Controlers
Applied Instructions 5
5-87
5.8.6
ARWS (FNC 75)
Operation:
This instruction displays the contents of a single
data device D
data device D
1
on a set of 4 digit, seven segment
displays. The data within D
1
is ac tually in a
standard decimal format but is automatically converted to BCD for display on the seven
segment units. Each digit of the displayed number can be selected and edited. The editing
procedure directly changes the value of the device specified as D
segment units. Each digit of the displayed number can be selected and edited. The editing
procedure directly changes the value of the device specified as D
1
.
Points to note:
a) The data stored in destination device D
1
can have a
value from the range 0 to 9,999 (decimal), i.e. 4 digit
data. Each digits data value, can be incremented (S
data. Each digits data value, can be incremented (S
+1
)
or decremented (S
+0
) by pressing the associated control
keys. The edited numbers automatically ‘wrap-around’
from 9 - 0 - 1 and 1 -0 - 9. The digit data is displayed by
the lower 4 devices from D
from 9 - 0 - 1 and 1 -0 - 9. The digit data is displayed by
the lower 4 devices from D
2
, i.e. D
2+0
to D
2+3
.
b) On initial activation of the ARWS instruction,
the digit in the numeric position 10
3
is currently
s e l e c t e d . E a c h d i g i t p o s i t i o n c a n b e
sequentially ‘cursored through’ by moving to
the left (S
sequentially ‘cursored through’ by moving to
the left (S
+2
) or to the right (S
+3
). When the last
d i g i t i s r e a c h e d , t h e A RW S i n s t r u c t i o n
a u to m a ti ca l ly w r a p s th e c u r s o r p o s i ti o n
a u to m a ti ca l ly w r a p s th e c u r s o r p o s i ti o n
around, i.e. after position 10
3
, position 10
0
is
s e l e c t e d a n d v i c e - v e r s a . E a c h d i g i t i s
physically selected by a different ‘strobe’
output.
physically selected by a different ‘strobe’
output.
c) To aid the user of an operation panel controlled with the ARWS instruction, additional lamps
could be wired in parallel with the strobe outputs for each digit. This would indicate which
digit was currently selected for editing.
digit was currently selected for editing.
d) The parameter n has the same function as parameter n of the SEGL instruction - please
seepage5-86, ‘Selectingthecorrectvalueforoperand n‘. Note: as the ARWS instruction only
controls one set of displays only values of 0 to 3 are valid for n.
controls one set of displays only values of 0 to 3 are valid for n.
e) The ARWS instruction can be used ONCE. This instruction should only be used on
transistor output PLC’s.
Mnemonic
Function
Operands
Program steps
S
D
1
D
2
n
ARWS
FNC 75
(Arrow
switch)
FNC 75
(Arrow
switch)
Creates a user
defined, (4 key)
numeric data
entry panel
defined, (4 key)
numeric data
entry panel
X, Y, M, S
Note:
uses 4
consecu-
tive
devices
Note:
uses 4
consecu-
tive
devices
T, C, D, V, Z
Note: data
is stored in
a decimal
format
Note: data
is stored in
a decimal
format
Y
Note:
uses 8
consecu-
tive
devices
Note:
uses 8
consecu-
tive
devices
K, H
Note:
n= 0 to 3,
n= 0 to 3,
ARWS:
9 steps
9 steps
FX
0(S)
FX
0N
FX FX
(2C)
FX
2N(C)
FX
(2C)
FX
FX
2N(C)
FX
0N
FX
0(s)
PULSE-P
FX
(2C)
FX
FX
2N(C)
FX
0N
FX
0(s)
16 BIT OPERATION
FX
FX
0N
FX
0(s)
FX
(2C)
FX
2N(C)
32 BIT OPERATION
X0
D 0
Y 0
[ D2 ]
K 0
ARWS
[ D1 ]
X 10
[ S ]
[ n ]
X10
X11
X12
X13
Cursor
left (S
left (S
+3
)
Cursor
right (S
right (S
+2
)
Increase digit value (S
+1
)
Decrease digit value (S
+0
)
10
10
10
10
3
0
1
2
Y0
Y1
Y2
Y3
1
2
4
8
2
4
8
Y4
Y5
Y6
Y7
Additional
indicator lamps
-see point c.
indicator lamps
-see point c.
Digit
position
position