Comment - Mitsubishi Electric MELSEC Q Series Programming Manual

Structured text
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

4 ST PROGRAM EXPRESSIONS

4.5 Comment

4 - 32
In an ST program, comments can be input. An area enclosed by "(*" and "*)" is
handled as a comment. If a comment is placed within a comment, an error will occur.
[Description example]
Example 1: (* The pump is activated. *)
Example 2: (************************************)
Example 3: (* After the switch is input, the motor is operated. *)
Example 4: (* Flag_A = TRUE control start (* Flag_B = TRUE control stop *)
[Error example]
Example 5: (* Flag_A = TRUE control start *) Flag_A = FALSE control stop *)
Example 6: (* START (* Processing stop *) Restart End *)
4 - 32

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents