Program Example3 (When Monitoring Non-Consecutive Timers Using Operation Keys) - Mitsubishi Electric MELSEC-F FX3G Series User Manual

Hide thumbs Also See for MELSEC-F FX3G Series:
Table of Contents

Advertisement

FX
Series Programmable Controllers
3G
User's Manual - Hardware Edition

19.14.5 Program example3 (when monitoring non-consecutive timers using operation keys)

In this program example, the device type to be displayed on the specified device monitor screen is set to
"timer (T)". The operation keys [+] and [-] in the display module are available to scroll device numbers T1, T5,
T10 and T20 during monitoring.
In this program example, system information is assigned from D50 to D54 and from M50 to M64.
M8002
Initial pulse
"+" button ON
M56
"-" button ON
M55
=
K4
=
K-1
M8000
RUN monitor
Specified device
monitor screen
displayed
M55
M59
Specified device
monitor screen
displayed
M56
M59
Z0
Z0
System information (system No.1) is
MOV
K50
D8300
set at D50 to D54.
System information (system No.2) is
MOV
K50
D8301
set at M50 to M64.
Sets the device type to "Timer".
MOV
K5
D50
RST
Z0
Resets the index register.
MOV
K1
D100
MOV
K5
D101
Transfers the timer device numbers
to D100 to D103.
MOV
K10
D102
MOV
K20
D103
INCP
Z0
The timer number is scrolled using
the [+] or [-] button while the
specified device monitor screen is
displayed.
DECP
Z0
MOV
K0
Z0
The device number is specified
within the allowable range.
MOV
K3
Z0
The device number to be
MOV D100Z0 D51
displayed is specified.
END
19 Display Module (FX3G-5DM)
19.14 Specified Device Monitor Function
343
11
12
13
14
15
16
17
18
19
20

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents