Introduction
In addition to the objects defined in IEC 61131-3, there are several other blocks for executing ST instructions and ST expressions and for simple compare operations. These blocks are only available in the LD programming language.
Objects
The following objects are available:
Designation |
Representation |
Description |
---|---|---|
Operate block |
When the status of the left link is 1, the ST instruction in the block is executed. All ST instructions are allowed except the control instructions:
For operate blocks, the state of the left link is passed to the right link (regardless of the result of the ST instruction). A block can contain up to 4096 characters. If not all characters can be displayed then the beginning of the character sequence will be followed by suspension points (...). An operate block takes up 1 line and 4 columns. Example: ![]() In the example, |
|
Horizontal Matching Block |
Horizontal compare blocks used
to execute a compare expression ( A compare block performs an AND of its left In-pin and the result of its compare condition and assigns the result of this AND unconditionally to its right Out-pin. For example, if the state of the left link is 1 and the result of the comparison is 1, the state of the right link is 1. A horizontal matching block can contain up to 4096 characters. If not all characters can be displayed then the beginning of the character sequence will be followed by suspension points (...). A horizontal matching block takes up 1 line and 2 columns. Example: ![]() In the example, |