Displaying A Word Device Current Value As A Message; Program Example 1 (User Messages Display 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.3 Displaying a word device current value as a message

A numeric value can be displayed at the user message by combining BCD (FNC18), ASCI (FNC82), and
BMOV (FNC15) instructions.

19.23.4 Program example 1 (user messages display switching)

The following program example is for user messages that appear in accordance with the auxiliary relay M100
to M102 ON/OFF statuses.
Note that user messages do not appear when a screen other than the "top screen (time display)" is
displayed.
1. Operation
The 3 messages shown below appear in accordance with the auxiliary relay M100 to M102 ON/OFF
statuses.
When auxiliary relays are ON simultaneously, the messages appear in the No.1 --> No.2 --> No.3 order.
The following is a program example in which the system information has been assigned from D50 to D90 and
from M50 to M56.
No.1 M100 is ON
P L C S
P r o c
e
s s i
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 puls
Message No.1 display
M100
Message No.2 display
M100
M101
M100
M101
M100
M101
M102
396
No.2 M101 is ON
< S e t
n
g
u n
i t
N o w
V e r . 2 . 0
File Register Where
Saved
D1000 to D1031
D1032 to D1063
D1064 to D1095
BMOV
BMOV
Message No.3 display
M102
BMOV
→ Refer to Subsection 19.23.6 for a program example.
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.
MOV
K50
D8300
MOV
K50
D8301
D1000
D59
K32
D1032
D59
K32
D1064
D59
K32
M54
END
19 FX3U-7DM (Display Module)
19.23 User Message Display Function
No.3 M102 is ON
< 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
Sets system information (system
signal 1) at D50 to D90.
Sets system information (system
signal 2) at M50 to M56.
Sets character data at D59 to D90,
depending on conditions.
Displays character data saved at D59
to D90.

Advertisement

Table of Contents
loading

Table of Contents