Leuze electronic GmbH + Co. KG
MA 238
i
60
16
Specifications for Leuze end devices
Serial interface and Command mode
The corresponding Leuze end device can be selected while configuring the fieldbus gateway (see
chapter 9 "Configuration").
The exact specifications for the individual Leuze end devices can be found in the following sections and in
the device description.
The corresponding serial command is sent to the Leuze end device in Command mode. To send the corre
-
sponding command to the RS 232 device after activating the Command mode in byte 0 (control bit 0.0),
set the corresponding bit in byte 2.
The Leuze end device also responds to most commands by sending data, such as bar code content,
NoRead, device version, etc., back to the gateway. The answer is not evaluated by the gateway, but is
instead passed on to the PLC.
For the BPS 8, BPS 300i and hand-held scanners, a number of specific features are to be noted.
16.1 Standard setting, KONTURflex (S4 switch position 0)
This switch position can be used with almost all devices, since a data frame is transmitted along with it if
necessary. A 00h in the data range of the control is interpreted as the end of a telegram/invalid, however.
The distance between two successive telegrams (without frame) must be more than 20ms in this switch
position, since there is otherwise no clear separation between them. If necessary, the settings have to be
adjusted on the device.
Leuze measuring sensors with RS 232 interface (such as a KONTURflex Quattro RS) do not necessarily
use a telegram frame, which is why these are also operated in switch position 0.
Specifications for the serial interface
KONTURflex specifications
Settings on the MA 238
i
• EtherCAT address is freely selectable
• Device selection switch at position "0"
EtherCAT settings
• Module selection:
Dependent on number of beams used, but at least "8 bytes In"
• User parameters:
"Transparent Mode", "Use software settings", baud rate 38400, "8 Data Bits", "No parity", "2 stop
bits"
NOTE
Please note that Leuze only assumes liability for the function of Leuze products. When using
third-party devices, Leuze does not assume liability for the function of third-party devices!
Standard Parameter
Standard
Baud rate
9600
Data mode
8N1
Handshake
No
Protocol
Framing protocol without acknowledgment
Frame
<Data>
Data Mode
Transparent
NOTE
The data frame is specified via the switch position.
In the factory setting, the S4 switch position is 0. Resetting the settings to these is possible in S4
switch position F. The procedure for doing this is described in Chapter 16.13.