164
BCL 558
i
Leuze electronic
11.1.3
’Online’ commands for configuration of switching inputs/outputs
Activate switching output
Query the state of the switching outputs
Command
’OA’
Description
The switching outputs 1 - 4 can be activated 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 0V at the switching output).
Parameter
’OA<a>’
<a>
Selected switching output [1..4], unit [dimensionless]
Acknowledgment
None
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 0V at the switching output).
Parameter
’OA?’
Acknowledgment
’OA S1=<a>;S2=<a>[;S3=<a>][;S4=<a>]’
<a>
State of the switching outputs
’0’
Low
’1’
High
’I’
Configuration as switching input
’P’
Passive configuration