7.3.9
Communication via Ethernet
Setting the TCP/IP interface
The device is automatically detected via an Ethernet network (broadcast mode). To
assign a fixed IP address to the device, set the IP address and subnet mask. In
addition, the packet size can be set in a range of values from 1,500 to 9,000. If there
is a DHCP server on the network, select DHCP-sClient. The device thus automatically
receives the IP configuration.
Configuration with commands
Command
IPCN
Example
Input
Action
IPCN 0 192 168
170 2 255 255
255 0 1600
Turns off the DHCP client. Sets IP address, subnet mask, and packet
size.
IPCN 1
Selects DHCP-sClient. The device thus automatically receives the IP
configuration.
IPCN ?
Returns the current communication settings.
7.3.10
Communication via RS-422 and RS-232
Setting the RS422 and RS232 interface
For the RS-422 and RS-232 interfaces, the transmission rate and the hardware hand‐
shaking can be set.
Configuration with commands
Command
BDR
Example
Input
Action
BDR 115200 1
Selects the baud rate (115200) and enables the hardware handshake.
BDR ?
Returns the current communication settings via the RS4222/RS232
interface.
7.3.11
Setting up the encoder counter
Setting the encoder counters
The encoder counters of the encoder channels can be set and queried.
Pulse counting mode
If a single encoder signal (
A
X
,
B
X
or
SYNC-IN
) is selected as the source of the counter
signal, the counter is in pulse counting mode.
The counter increments with both the positive and negative pulse edges. Bit 0 of the
counter value reflects the status of the input. If the input signal is logically LOW, the
counter reading is always odd. If the signal is logically HIGH, the counter reading is
always even. The status of the input can be monitored in this way.
7
COMMISSIONING
40
O P E R A T I N G I N S T R U C T I O N S | OD7000
8027188//2022-05-25 | SICK
Subject to change without notice