Topic: DMD0060 CLOSE - Close Device |
|
|
|
The Close Device (CLOSE) instruction is used to close a previously opened Device or Device Reference. This instruction is used in conjunction with Open Device (OPENDEV) instructions that dynamically use a Device Reference to one or more hard devices. It is also used on a hard device, like a TCP device, where closing the Device performs an operation, like terminating a TCP connection.
|
|
Parameters:Note: Use the F9 key (Element Browser) or Down-Arrow key (Auto-Complete) at any time to see a complete list of the memory locations that are valid in the current field of the instruction.
Device - designates which of the configured Devices, or which Device Reference to close.
No devices
available - indicates there is no device that is appropriate for
this instruction. Select one of the following to create the required device:
On Success: - designates one of the following two options if the Close Device (CLOSE) operation is successful:
On Error: - designates one of
the following two options if the Close Device (CLOSE) operation is unsuccessful:
|
|
|
|
Status Display:The red triangle in the upper left corner indicates this is a Fully Asynchronous instruction.
The gray triangle at the right end of this input leg indicates the input is edge-triggered, |
|
|
|
See Also:
|
|
|
|
Related Topics:
|
|
|
|
Rung Example:
|
|
|