Online commands
Leuze electronic GmbH + Co. KG
BCL 248i
118
9.4
Online commands for configuration of switching inputs/outputs
Activate switching output
Command
’OA’
Description
Switching output SWO2 can be activated with this command. The logic state is output,
i.e., an inverted logic is taken into account (e.g., inverted logic and a state of High cor-
responds to a voltage of 0 V at the switching output).
Parameter
’OA<a>’
<a> Selected switching output 2, unit (dimensionless)
Acknowledgment None
Query the state of the switching output
Command
’OA’
Description
The states of the switching output set by means of commands can be queried with this
command. 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 out-
put).
Parameter
’OA?’
Acknowledgment ’OA S1=<a>;S2=<a>’
<a>
State of the switching output
’0’
Low
’1’
High
’I’
Configuration as switching input
’P’
Passive configuration
Set the state of the switching output
Command
’OA’
Description
The state of switching output SWO2 can be set with this command. 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). You may also use only a
selection of the existing switching inputs/outputs as long as these are listed in ascend-
ing order.
Parameter
’OA [S1=<a>][;S2=<a>]’
<a>
State of the switching output
’0’
Low
’1’
High
Acknowledgment ’OA=<aa>’
<aa>
Status acknowledgment, unit (dimensionless)
’00’
Ok
’01’
Syntax error
’02’
Parameter error
’03’
Other error