Mitsubishi Electronics FX3G-EEPROM-32L Home Theater Server User Manual


 
16 Display Module (FX3S-5DM)
171
FX3S Series Programmable Controllers
User's Manual - Hardware Edition
11
Built-in Analog
12
Output Wiring
13
Wiring for
Various Uses
14
Test Run,
Maintenance,
Troubleshooting
15
Other Extension
Units and
Options
16
Display Module
(FX
3S
-5DM)
17
Memory
Cassette
A
Special Devices
(M8000-, D8000-)
B
Instruction List
C
Discontinued
models
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