
5. FUNCTIONAL INSTRUCTIONS
B–61863E/15
PMC SEQUENCE PROGRAM
274
The parameters and message data used by this functional instruction are
as follows.
Parameter
SUB49
Message
data
Message
data
Message
data
1
2
3
Message data 2 is displayed on the CRT screen
RAM
address
7
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
6543210
Display request
Display state
R200
R201
R202
R203
Message
data
n
Two bytes of R200 and R201, the address specified in the message control address and
that address plus +1, (display request), are required to specify a message to be displayed.
Even if the number of message data items is small, two bytes are always required. 0 is set to
unnecessary data. 0 is set automatically when the CNC is powered on.
Two bytes of R202 and R203, the specified address plus +2 and the same address plus +3,
(displayed state), show the message displayed on the CRT screen.
When there is more than one display request, only a prescribed number of message are
displayed on the CRT screen. Actually displayed messages are known by the displayed
state. The displayed state is set automatically in the two bytes of the displayed state and can
be referred to by the sequence program. Those bytes must not be written in.
Total sum of data of message data
Number of data of one message item
Message control address
(Specify a message to be displayed, using an address of RAM in the internal relay area is
taken to here, R200 is taken.)
R200
One DISP functional instruction requires the four consecutive bytes
following the address specified in the above message control address
in order to check the display request and displayed status.
When messages are displayed or cleared, message data 1 to n (n x
16) and display–request bits correspond to each other as shown in
Fig.5.43.7.
To display and clear a message data item, set the corresponding bit
to 1 and 0, respectively, and the control condition ACT to 1.
If the sequence program checks messages displayed on the screen,
message data 1 to n and display–request bits correspond to each other
as shown in Fig.5.43.7.
Message data for which 1 is set among the 16 displayed status bits,
is the message data currently being displayed.
5.43.7
Parameters and
Message Data