Mitsubishi Electronics FX2C Home Theater Server User Manual


 
FX Series Programmable Controlers Applied Instructions 5
5-87
5.8.6 ARWS (FNC 75)
Operation:
This instruction displa
y
s the contents of a sin
g
le
data device D
1
on a set of 4 di
g
it, seven se
g
ment
displa
y
s. The data within D
1
is actuall
y
in a
standard decimal format but is automaticall
y
converted to BCD for displa
y
on the seven
se
g
ment units. Each di
g
it of the displa
y
ed number can be selected and edited. The editin
g
procedure directl
y
chan
g
es 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 ran
g
e 0 to 9,999 (decimal), i.e. 4 di
g
it
data. Each di
g
its data value, can be incremented (S
+1
)
or decremented (S
+0
) b
y
pressin
g
the associated control
ke
y
s. The edited numbers automaticall
y
‘wrap-around’
from 9 - 0 - 1 and 1 -0 - 9. The di
g
it data is displa
y
ed b
y
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 di
g
it in the numeric position 10
3
is currentl
y
selected. Each di
g
it position can be
sequentiall
y
‘cursored throu
g
h’ b
y
movin
g
to
the left (S
+2
) or to the ri
g
ht (S
+3
). When the last
di
g
it is reached, the ARWS instruction
automaticall
y
wraps the cursor position
around, i.e. after position 10
3
, position 10
0
is
selected and vice-versa. Each di
g
it is
ph
y
sicall
y
selected b
y
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 di
g
it. This would indicate which
di
g
it was currentl
y
selected for editin
g
.
d) The parameter n has the same function as parameter n of the SEGL instruction - please
seepa
g
e5-86, ‘Selectin
g
thecorrectvalueforoperand n‘. Note: as the ARWS instruction onl
y
controls one set of displa
y
s onl
y
values of 0 to 3 are valid for n.
e) The ARWS instruction can be used
ONCE
. This instruction should onl
y
be used on
transistor output PLC’s.
Mnemonic Function
Operands
Program steps
S
D
1
D
2
n
ARWS
FNC 75
(Arrow
switch)
Creates a user
defined, (4 ke
y
)
numeric data
entr
y
panel
X, Y, M, S
Note:
uses 4
consecu-
tive
devices
T, C, D, V, Z
Note: data
is stored in
a decimal
format
Y
Note:
uses 8
consecu-
tive
devices
K, H
Note:
n= 0 to 3,
ARWS:
9 steps
X0
D 0 Y 0
[ D2 ]
K 0
ARWS
[ D1 ]
X 10
[ S ]
[ n ]
X10
X11
X12X13
Cursor
left (S
+3
)
Cursor
right (S
+2
)
Increase digit value (S
+1
)
Decrease digit value (S
+0
)
10101010
3012
Y0
Y1
Y2
Y3
1
2
4
8
Y4
Y5
Y6
Y7
Additional
indicator lamps
-see point c.
Digit
position