Program Example 2 ([+] / [-] Buttons Of User Messages Switching) - Mitsubishi FX3U SERIES User Manual

Hide thumbs Also See for FX3U SERIES:
Table of Contents

Advertisement

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

19.23.5 Program example 2 ([+] / [-] buttons of user messages switching)

The following is a program example in which the [+] / [-] buttons are used to switch the displayed user message.
Note that user messages do not appear when a screen other than the "top screen (time display)" is displayed.
1. Operation
The No.1 message shown below appears when auxiliary relay M100 switches on, and the [+] / [-] buttons can
be used at that time to switch to the other messages as shown below.
The system information is assigned from D50 to D90 and from M50 to M56.
No.1
P L C S
P r o c
e
s s i
n
V e r . 2 . 0
2. Character data
User message data to be displayed is created in GX Developer, and is assigned to the file registers shown below.
Message No.
1
2
3
3. Program
M8002
Initial pulse
M100
M100
"User
message
displayed" flag [+] button ON
M100
M56
"User
message
displayed" flag [-] button ON
M100
M56
M60
M61
M62
No.2
< S e t
+
g
u n
i t
N o w
-
File Register Where Saved
D1000 to D1031
D1032 to D1063
D1064 to D1095
M53
SFTL
M60
M61
M63
M52
SFTR
M58
M59
BMOV
BMOV
BMOV
t i n g
u
p >
+
w
a r
m
i
n
g
u p
-
→ Refer to Subsection 19.23.7 for character data input.
Sets system information (system
MOV
K50
D8300
signal 1) at D50 to D90.
Sets system information (system
MOV
K50
D8301
signal 2) at M50 to M56.
M54
User message display command.
Initializes the user message selection
ZRST
M58
M63
flag.
Sets the user message initial screen.
SET
M60
M61
K3
K1
RST
M60
SET
M60
User message selection flag control in
accordance with [+] / [-] button
RST
M63
operation.
M59
K4
K1
SET
M62
RST
M59
D1000
D59
K32
D1032
D59
K32
Sets user message data at D59 to
D90.
D1064
D59
K32
END
19 FX3U-7DM (Display Module)
19.23 User Message Display Function
No.3
< O p e
r a
t
i
n g
>
P r o
c
e s
s
0
5
D r i
l
l i
n
g
h
o
l e s
397
11
12
13
14
15
16
17
18
19
20

Advertisement

Table of Contents
loading

Table of Contents