Online commands
Leuze electronic GmbH + Co. KG
BCL 308
i
96
Query the state of the switching outputs
Set the state of the switching outputs
Deactivate switching output
Command
’OA’
Description
This command may be used to query the states of the switching inputs and outputs that
are configured as a switching output and that have been set via commands. The logic
state is output, i.e., an inverted logic is taken into account (e.g., inverted logic and a
state of High corresponds to a voltage of 0 V at the switching output).
Parameter
’OA?’
Acknowledg
-
ment
’OA S1=<a>;S2=<a>’
<a>
State of the switching outputs
’0’
Low
’1’
High
’I’
Configuration as switching input
’P’
Passive configuration
Command
’OA’
Description
This command is used to set the states of the switching inputs/outputs that are config
-
ured as a switching output. The logic state is specified, i.e., an inverted logic is taken
into account (e.g., inverted logic and a state of High corresponds to a voltage of 0 V at
the switching output).
The values of the switching inputs/outputs that are not configured as switching outputs
are ignored. You may also use only a selection of the existing switching inputs/outputs
as long as these are listed in ascending order.
Parameter
’OA [S1=<a>][;S2=<a>]’
<a>
State of the switching output
’0’
Low
’1’
High
Acknowledg
-
ment
’OA=<aa>’
<aa> Status acknowledgment, unit (dimensionless)
’00’
Ok
’01’
Syntax error
’02’
Parameter error
’03’
Other error
Command
’OD’
Description
The switching outputs 1 and 2 can be deactivated with this command. The respective
port must have been configured as a switching output. The logic state is output, i.e., an
inverted logic is taken into account (e.g., inverted logic and a state of High corresponds
to a voltage of 0 V at the switching output).
Parameter
’OD<a>’
<a>
Selected switching output [1, 2], unit (dimensionless)
Acknowledg
-
ment
None