Labels
Statement - Destination of a Jump instruction.
Remarks
Labels are used as a destination of a jump instruction in FDB, LD or IL language. Labels and jumps cannot be used in structured ST language. A label must be represented by a unique name, followed by a colon (":"). In FBD language, labels can be inserted anywhere in the diagram, and are connected to nothing. In LD language, a label must identify a rung, and is shown on the left side of the rung.
ST Language
Not available.
FBD Language
In this example the TON block will not be called if bEnable is TRUE:
|
|
LD Language
In this example the second rung will be skipped if IN1 is TRUE:
|
|
Labels |
IEC 61131-3 Automation platform > Programming - Reference guide > Basic Operations > Labels |
Created with the Personal Edition of HelpNDoc: Easily create EBooks