Mitsubishi Electronics C6 Home Safety Product User Manual


 
Appendix 3. PLC Development Environment using GPPQ
3.6 PLC-Related Data Development Procedure
- 453 -
(2) Description Method
The message data is described as text data by the following description format.
Setting area
Message area (alarm messages)
Page break code
End code
Message area (PLC switches)
Message area (comments)
Comment
Message area (operator messages)
;$, A, 32, 200
;$, 0, 40, 200
;$, P, 14, 32
;$, M, 60, 20
NOPLF
;A, 0, 0, Emergency stop
;A, 11, 1, Spindle alarm
:
:
NOPLF
:
:
NOPLF
:
:
NOPLF
;0, 1, 9000, MELDAS 600LADDER Ver1.0
;0, 20, 9000, BND-400W000-A0
:
:
NOPLF
;P, 1, Program restart
;P, 2, Automatic power OFF
:
:
NOPLF
;M, 1, 0, [Spindle]
;M, 1, 0, [Standby 1]
:
:
END
;# ladder ver1.0 '97.08.01
(a) Comment
Comments having a semicolon (;) at the head of the line, in a different format than described in
"(1) Description format", are regarded as comments. These comments are handled as comment
data in the GPPQ also, but are erased during the transfer to the C64 controller. An error will
occur when descriptions not having a semicolon at the head of the line are converted into
GPPQ data.
(b) Setting area
Each message is set here. This area must be described before the message area of the
relevant message. That setting will be ignored if it is described during the relevant message or
after description.
(c) Message area
Each message is grouped into similar messages and described. There is no description order in
the respective messages, but the latter description is validated if there are descriptions with the
same factors (index No., etc.).
(d) Page break code
A page break code is described at one or more places approx. every 20 lines in the setting area
and message area. The message data may skip if there is no page break code.
(e) End code
An end code is described at the end of the description. Description after the end code are
ignored.
An error will result during data conversion to the GPPQ if there is no end code.