4 - 32 4 - 32
4 ST PROGRAM EXPRESSIONS
4.5 Comment
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 *)
Summary of Contents for MELSEC L series
Page 1: ...Programming Manual Structured Text ...
Page 2: ......
Page 73: ...4 33 4 33 4 ST PROGRAM EXPRESSIONS MEMO ...
Page 297: ......