Справочник Пользователя для Mitsubishi Electronics FX3S-5DM

Скачать
Страница из 216
16 Display Module (FX3S-5DM)
171
FX
3S
 Series Programmable Controllers
User's Manual - Hardware Edition
11
Bui
lt-
in Anal
og
12
O
utpu
t Wi
ring
13
Wiri
ng for
Va
rious U
ses
14
Te
st R
un,
M
ain
tenanc
e,
Troub
le
shooting
15
Oth
er Ex
tensi
on
U
nit
s and
Opti
ons
16
Displ
ay
 Modul
(FX
3S
-5
D
M
)
17
Me
m
ory
C
ass
ette
A
Spec
ial D
evices 
(M
8000-,
 D8000-)
B
Instruc
tion Li
st
C
Di
sc
onti
nued
model
s
16.9 Specified Device Monitor Function
16.9.4 Program example3 (when monitoring non-consecutive timers using operation 
buttons)
In this program example, the device type to be displayed on the specified device monitor screen is set to
"timer (T)". The operation buttons [+] and [-] in the display module are available to scroll device numbers T1,
T5, T10 and T20 during monitoring.
System information is assigned from D130 to D134 and from M400 to M414.
Timers having nonconsecutive 
device numbers are used as 
shown in this program.
FNC 12
MOV
K130
D8158
FNC 12
MOV
K400
D8159
Transfers the timer device 
numbers to D140 to D143.
M8002
Resets the index register (Z0).
FNC 12
MOV
K5
D130
RST
Z0
FNC224
LD=
K4
Z0
FNC224
LD=
K-1
Z0
FNC 12
MOV
K0
Z0
T20
T10
K200
K250
FNC 12
MOV
K3
Z0
System information (system No.1) 
is set at D130 to D134.
Sets the device type to "Timer".
System information (system No.2) 
is set at M400 to M414.
When the [+] button is pressed, M406 
storing the system information turns ON.
The INC instruction increases 
the current value of Z0 by "1".
The device number is specified 
within the allowable range.
T 5
T 1
K150
K100
FNC 12
MOV
K1
D140
FNC 12
MOV
K5
D141
FNC 12
MOV
K20
D143
FNC 12
MOV
K10
D142
FNC 40
ZRST
M400
M414
M400 to M414 storing the system 
information are reset.
FNC 24
INC
Z0
FNC 25
DEC
Z0
FNC 12
MOV
D140Z0
D131
M406
M405
M8000
When the [-] button is pressed, M405 
storing the system information turns ON.
The DEC instruction decreases 
the current value of Z0 by "1".
The device number to be 
displayed is specified.
M406
M405