Programming Industrial Control Systems Using IEC 1131-3, Revised Edition

3.5: Comments

3.5 Comments

Various length comments from short to multi-line can be inserted in any of the IEC languages. With the exception of Instruction List language where there are some restrictions, comments can be placed wherever it is acceptable to insert one or more spaces. [2] Comments are framed by the characters (* .*).

Examples are:

             (* Activate Pump *)             (**********************************)             (* Main turbine interlock logic *)             (**********************************)

[2]Comments nested within comments will be regarded as an error

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Programmable Logic Controllers (PLC)
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.