| Out Coil |
Topic: CL167
|
An Out instruction turns ON its associated Bit Memory when the status of the rung is true. The Out instruction turns OFF its associated Bit Memory when the status of the rung is false. An Out instruction is capable of turning ON and OFF more than one Bit Memory Address at the same time.
Using a CLICK Ethernet (C0-1x CPU) or CLICK Plus (C2-0x CPU) the Out instruction also has the option to Toggle the associated Bit Memory. Toggle inverts the state of the Bit Memory each time the rung makes a OFF-to-ON transition.
Select which CPU family you are using:
CLICK Ethernet (C0-1x CPU) or CLICK Plus (C2-0x CPU)
1Bit Memory Address 1: Choose a Bit Memory Address to associate with the Out instruction. Either type the Bit Memory Address directly in the address field or use the Browse Button
to open the Address Picker.
2 Bit Memory Address 2: The Out instruction permits a consecutive range of bit memory addresses to change state simultaneously. Choose a Bit Memory Address 2 to identify the end of the range of Bit Memory Addresses or leave this field blank if you only want one output to respond to this instruction.
|
|
Note: Use this feature with care since it is permitted to reuse Bit Memory Addresses within the range specified. |
|
3One Shot: Choose One Shot to cause the Bit Memory Address to turn ON for one scan only or leave unchecked to allow the Bit Memory Address to be processed during each scan. If selected, the
One Shot Icon
will appear adjacent to the Coil in the Ladder Editor.
4 Immediate: Choose Immediate if you want this bit processed asynchronously in relation to the scan. This feature is only available for actual Y outputs. This option is grayed out until a Y address is chosen. The Immediate Icon
will appear adjacent to the Coil in the Ladder Editor.
Example Program 1: Default (No option)
In the following example, when input status bit X001 is ON, the Out instruction turns ON output status bit Y001 immediately. However, the CLICK PLC updates the physical output point (Y001 is the 1st output point on the CPU module) at the end of each scan. Please refer to the timing diagram to see the difference.
Timing Diagram
Example Program 2: One Shot
In the following example, when input status bit X001 is ON, the Out instruction turns ON output status bit Y001 for one scan. Please refer to the timing diagram to see the difference.
Timing Diagram
Example Program 3: Immediate (Available only for the Y memory type)
In the following example, when input status bit X001 is ON, the Out instruction turns ON both the output status bit Y001 and the physical output point (Y001is the 1st output point on the CPU module) immediately. Please refer to the timing diagram to see the difference.
Timing Diagram
1Bit Memory Address 1: Choose a Bit Memory Address to associate with the Out instruction. Either type the Bit Memory Address directly in the address field or use the Browse Button
to open the Address Picker.
2 Bit Memory Address 2: The Out instruction permits a consecutive range of bit memory addresses to change state simultaneously. Choose a Bit Memory Address 2 to identify the end of the range of Bit Memory Addresses or leave this field blank if you only want one output to respond to this instruction. Not available if Toggle is enabled.
|
|
Note: Use this feature with care since it is permitted to reuse Bit Memory Addresses within the range specified. |
|
3One Shot: Choose One Shot to cause the Bit Memory Address to turn ON for one scan only or leave unchecked to allow the Bit Memory Address to be processed during each scan. If selected, the
One Shot Icon
will appear adjacent to the Coil in the Ladder Editor. Not available if Toggle is enabled.
4 Toggle: Choose Toggle if you want this bit to invert the state with each OFF-to-ON transition of the rung. The Bit Memory state is retained when the rung is false. Only a single Bit Memory address is supported with Toggle. The Toggle Icon
will appear adjacent to the Coil in the Ladder Editor.
5 Immediate: Choose Immediate if you want this bit processed asynchronously in relation to the scan. This feature is only available for actual Y outputs. This option is grayed out until a Y address is chosen. The Immediate Icon
will appear adjacent to the Coil in the Ladder Editor.
Example Program 1: Default (No option)
In the following example, when input status bit X001 is ON, the Out instruction turns ON output status bit Y001 immediately. However, the CLICK PLC updates the physical output point (Y001 is the 1st output point on the CPU module) at the end of each scan. Please refer to the timing diagram to see the difference.
Timing Diagram
Example Program 2: One Shot
In the following example, when input status bit X001 is ON, the Out instruction turns ON output status bit Y001 for one scan. Please refer to the timing diagram to see the difference.
Timing Diagram
Example Program 3: Immediate (Available only for the Y memory type)
In the following example, when input status bit X001 is ON, the Out instruction turns ON both the output status bit Y001 and the physical output point Y001 immediately. Please refer to the timing diagram to see the difference.
Timing Diagram
Example Program 4: Toggle
In the following example, when input status bit X001 is ON, the Out instruction inverts both the output status bit Y001 and the physical output point (Y001 is the 1st output point on the CPU module) at the end of each scan. Please refer to the timing diagram to see the difference.
Flasher Out Coil
Debounce Out Coil
Timed Out Coil
Set Coil
Reset Coil