Leuze electronic GmbH + Co. KG
MA 238
i
52
12.6 Setting the read parameters on the Leuze device
Commissioning the Leuze device
To commission a read station, you must prepare the Leuze device on the MA 238
i
for its reading task.
Communication with the Leuze device occurs via the service interface.
To do this, connect the Leuze device to the MA 238
i
.
Depending on the Leuze device, this occurs either via a interconnection cable (accessory no.:
KB 031
-
1000) or directly on the MA 238
i
. The service connector and corresponding switches can be
accessed with the housing cover open.
Select the "DEV" service switch position.
Connect the service interface; call up the terminal program
Connect your PC to the service connector via the RS 232 cable.
On the PC, call up a terminal program (e.g., BCL-Config) and check whether the interface (COM 1 or
COM 2) to which you have connected the MA 238
i
is set to the following Leuze standard setting:
9600 baud, 8 data bits, no parity, 1 stop bit and STX, data, CR, LF.
You can download the config. tool from www.leuze.com for BCL, RFID, etc.
In order to communicate with the connected Leuze device, the STX, data, CR, LF framing must be set on
the PC terminal program, as the Leuze device is preconfigured ex works for this frame character.
STX (02h):
Prefix 1
CR (0Dh):
Postfix 1
LF (0Ah):
Postfix 2
Operation
Switch the MA 238
i
to switch position "RUN" (operation).
The Leuze device is now connected to the fieldbus. Activation of the Leuze device can now occur via the
switching input on the MA 238
i
, via the process data word Out bit 1 (bit 0.2) or by transmitting a "+"
command to the Leuze device (see chapter 16 "Specifications for Leuze end devices"). For further infor
-
mation on the fieldbus transmission protocol, see see chapter 10 "Telegram".
Reading out information in Service mode
Set the service switch of the gateway to switch position "MA" (gateway).
Send a "v" command to call up all service information of the MA 238
i
.
An overview of the available commands and information can be found in chapter "Reading out information
12.6.1 Specific feature for the use of hand-held scanners (bar code and 2D devices, combi devices with RFID)
All hand-held scanners and mobile combi devices available in the Leuze product line can be used with the
corresponding connection cable.
When using the MA 238
i
, the voltage supply of the hand-held scanner (4.75 … 5.25VDC/at 1A) can be
connected to the interface by means of a cable via the 9-pin Sub-D connector (voltage on PIN 9). The
corresponding cable is to be selected for the respective hand-held scanner and ordered separately. The
9-pin Sub-D cable (KB JST-HS-300, part no. 50113397) is connected to this cable, which is connected to
the MA 238
i
. This cable must also be ordered separately.
In this example, triggering occurs by means of a trigger button on the hand-held scanner.
NOTE
For further information on connecting and using the service interface, see chapter 9 "Configura
NOTE
A description of the device configuration and the required codes can be found in the respective
documentation at www.leuze.com. Cable-connected hand-held scanners on the MA 238
i