24
© SICK AG · Germany · All rights reserved · Subject to change without notice
8011984/YSZ3/2016-02-04
Chapter
3
Configuration
Online help
LMS400 laser measurement sensor
3.9.1
Host interface
The host interface allows the configuration of the LMS400 as well as the output of
measured values. The interface parameters are freely configurable. The factory setting for
the host interface is as follows:
RS
232
9600 Baud
8 data bits
1 stop bit
no parity
With the aid of the fields and selection fields on the device page define the parameters for
the host interface so that they match the interface in the application connected.
How to configure the host interface:
Note
The parameters for the host interface can only be configured using SOPAS ET if the PC is
connected via the aux interface or the Ethernet interface. If the PC is connected using the
host interface, the parameters described below are hidden.
3.9.2
Ethernet interface
The Ethernet interface has a data transmission rate of 10 MBaud (10Base
T). The interface
is a TCP/IP peer to peer interface. Only half duplex is supported. Please ensure that the
interface of your application is set to half duplex. The factory setting for the Ethernet
interface is as follows:
IP
ADDRESS
: 192.168.0.1
TCP/IP
PORT
: 2111
S
UBNET
MASK
: 255.255.255.0
Recommendation
To check the availability of the LMS400, at the command prompt on the PC enter
ping
IP
address
, e.g.
ping 192.168.0.1
.
How to configure the Ethernet interface:
Open in the P
ROJECT
TREE
, LMS400-XX00, P
ARAMETER
, I
NTERFACE
the device page S
ERIAL
.
In the S
ERIAL
HOST
INTERFACE
area select in the B
AUD
RATE
selection field a baudrate
between 1200 and 115200 B
AUD
.
With the aid of the S
TOP
BITS
selection field define whether the interface uses one or two
stop bits.
With the aid of the D
ATA
/
PARITY
BITS
selection field define the relationship between data
and parity bits.
In the H
ARDWARE
selection field (depending on the hardware used) select RS
232 or
RS
422/RS
485.
In the B
LOCK
CHECK
selection field define whether the block check byte is sent and if yes,
whether it is sent before or after the stop character.
Define the start and stop characters for sending and receiving messages over the host
interface. In this way, for example, you can use two stop bytes (e.g. to end messages
with CR/LF).
For this purpose click the C
HANGE
button and, in the window that opens, select the
character (if only one stop character is to be used, then select NUL for the second
character).