Specifications for Leuze end devices
Leuze electronic
MA 258
i
97
TNT
35/7-2
4
V
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 corresponding 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 the bar
code contents, NoRead, device version, etc., back to the gateway. The answer is not eval-
uated 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 neces-
sary, 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
Notice!
The data frame is specified via the switch position.Only the data mode and the baud rate
can also be set via the "Configuration assembly"/ EDS file.
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.
Default parameter
Standard
Baud rate
9600
Data mode
8N1
Handshake
no
Protocol
framing protocol without acknowledgment
Frame
<Data>
Data Mode
transparent