Introduction
A coil is an LD element which transfers the status of the horizontal link on the left side, unchanged, to the horizontal link on the right side. The status is saved in the respective Boolean actual parameter. Coils normally follow contacts or FFBs, (functions and function blocks), but they can also be followed by contacts.
Selecting coils
Selecting coils:
Coil type |
Description |
Call via menu command |
Call via symbol |
Call via keyboard |
Cursor symbol |
---|---|---|---|---|---|
Coil |
With coils, the status of the left link is copied to the relevant Boolean actual parameter and the right link. |
or
or from the shortcut menu |
F5 |
||
Negated coils |
With negated coils, the status of the left link is copied onto the right link. The inverted status of the left link is copied to the relevant Boolean actual parameter. If the left link is 0, the right link is also 0 and the respective Boolean actual parameter is 1. |
or
or from the shortcut menu |
Shift+F5 |
||
Positive transition-sensing coil |
With coils for detection of positive transitions, the status of the left link is copied to the right link. The relevant Boolean actual parameter is 1 for a program cycle, if a transition from 0 to 1 is made on the left link. Also see the Edge recognition in the user guide. |
or
or from the shortcut menu |
- |
||
Negative transition-sensing coil |
With coils for detection of negative transitions, the status of the left link is copied to the right link. The relevant Boolean actual parameter is 1 for a program cycle, if a transition from 1 to 0 is made on the left link. Also see the Edge recognition in the user guide. |
or
or from the shortcut menu |
- |
||
Set coil |
With set coils, the status of the left link is copied onto the right link. The relevant Boolean actual parameter is set to 1 if the left link has the status 1, otherwise it remains unchanged. The relevant Boolean actual parameter can be reset through the reset coil. |
or
or from the shortcut menu |
Alt+F5 |
||
Reset coil |
With reset coils, the status of the left link is copied onto the right link. The relevant Boolean actual parameter is set to 0 if the left link has the status 1, otherwise it remains unchanged. The relevant Boolean actual parameter can be set through the set coil. |
or
or from the shortcut menu |
Shift + Alt + F5 |
||
Halt coil |
With halt coils, if the status of the left link is 1, the program execution is stopped immediately. (With halt coils the status of the left link is not copied to the right link.) |
or
or from the shortcut menu |
- |
||
Call coil |
With call coils, the status of the left link is copied to the right link. If the status of the left link is 1, the corresponding subroutine is called. Subroutine calls are expansions to IEC 61131-3 and must be explicitly enabled via the dialog box, in the tab by selecting the check box. |
or
or from the shortcut menu |
F4 |