Online Commands For Configuration Of Switching Inputs/Outputs - Leuze electronic BCL 248i Operating Instructions Manual

Bar code reader
Table of Contents

Advertisement

Online commands
9.4

Online commands for configuration of switching inputs/outputs

Activate switching output
Command
Description
Parameter
Acknowledgment None
Query the state of the switching output
Command
Description
Parameter
Acknowledgment 'OA S1=<a>;S2=<a>'
Set the state of the switching output
Command
Description
Parameter
Acknowledgment 'OA=<aa>'
Leuze electronic GmbH + Co. KG
'OA'
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).
'OA<a>'
<a> Selected switching output 2, unit (dimensionless)
'OA'
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).
'OA?'
<a>
State of the switching output
'0'
Low
'1'
High
'I'
Configuration as switching input
'P'
Passive configuration
'OA'
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.
'OA [S1=<a>][;S2=<a>]'
<a>
State of the switching output
'0'
Low
'1'
High
<aa>
Status acknowledgment, unit (dimensionless)
'00'
Ok
'01'
Syntax error
'02'
Parameter error
'03'
Other error
BCL 248i
118

Advertisement

Table of Contents
loading

Table of Contents