12.1.3 Online commands for configuring the switching inputs/outputs
Activate switching output
Command
Description
Parameter
Acknowledg-
ment
Query the state of the switching outputs
Command
Description
Parameter
Acknowledg-
ment
Leuze electronic
The switching outputs 1 and 2 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).
'OA<a>'
<a>
Selected switching output [1, 2], unit (dimensionless)
None
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 corre-
sponds to a voltage of 0V at the switching output).
'OA?'
'OA S1=<a>;S2=<a>'
<a>
State of the switching outputs
'0'
Low
'1'
High
'I'
Configuration as switching input
'P'
Passive configuration
BCL 338i
Online commands
'OA'
'OA'
163