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.

Objects > Coil

or

Edit > New > Coil

or

Coils > Coil 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.

Objects > Negated Coil

or

Edit > New > Negated Coil

or

Coils > Negated Coil 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.

Objects > Positive transition-sensing coil

or

Edit > New > Positive transition-sensing coil

or

Coils > Positive transition-sensing coil 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.

Objects > Negative transition-sensing coil

or

Edit > New > Negative transition-sensing coil

or

Coils > Negative transition-sensing coil 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.

Objects > Set Coil

or

Edit > New > Set Coil

or

Coils > Set Coil 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.

Objects > Reset Coil

or

Edit > New > Reset Coil

or

Coils > Reset Coil 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.)

Objects > Halt coil

or

Edit > New > Halt coil

or

Coils > Halt coil 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 Tools > Project Settings dialog box, in the Program > Languages > Common tab by selecting the Allow subroutines check box.

Objects > Call Coil

or

Edit > New > Call Coil

or

Coils > Call Coil from the shortcut menu

F4