Program Example1 - Mitsubishi Electric MELSEQ FX3S Series User Manual

Hide thumbs Also See for MELSEQ FX3S Series:
Table of Contents

Advertisement

FX
Series Programmable Controllers
3S
User's Manual - Hardware Edition
Rule in the special device monitor
• When a device number not existing in the program is specified while a timer (T) or counter (C) is monitored
in the specified device monitor function, the following operations occur.
In the example below, T0, T10 and T30 are specified in the OUT instruction.
Operation 1: Displays T10 if T1 to T9 is specified.
Operation 2: Displays T30 if T11 to T29 is specified.
Operation 3: Displays T30 if T31 or more is specified.
• When the OUT instruction for any timer (T) or counter (C) does not exist in the program while a timer (T) or
counter (C) is monitored in the specified device monitor function, a horizontal dotted line is displayed.
A horizontal dotted line is displayed also for timers and counters used as operands of applied instructions.

16.9.2 Program example1

In this program example, the device type to be displayed on the specified device monitor screen is set to
"timer (T)". Sets the device No. to "T20".
System information is assigned from D130 to D134.
M8002
Display
command input
K10
T0
K10
T10
K10
T30
Operation
FNC 12
K130
D8158
MOV
FNC 12
K5
D130
MOV
FNC 12
K20
D131
MOV
16.9 Specified Device Monitor Function
Description
Displays the next device number larger than the specified device
number.
Displays T30 if the device range is exceeded.
A horizontal dotted line
is displayed.
System information (system No.1)
is set at D130 to D134.
Sets the device type to "Timer".
Sets the device No. to "T20".
16 Display Module (FX3S-5DM)
169
11
12
13
14
15
16
17
A
B
C

Advertisement

Table of Contents
loading

Table of Contents