6 Application example: Modbus TCP
6.4 Parameterization of modules
XI/ON: XNE-GWBR-2ETH-MB
10/2011 MN05002008Z-EN
www.eaton.com
131
Example B:
Module 9:
Changing the baudrate from 500000 bps to 71000 bps.
The parameter of the module (9th slot in the station) can be accessed via registers 0×B120 to
0×B13F.
The module shows the following parameter data structure (4 bytes of parameters in total):
Default: Byte 0: 0×00, Byte 1: 0×00; Byte 2: 0×01; Byte 3: 0×19
→
Register 0×0120 = 0000; Register 0×0121 = 1901
Table 68:
Module
parameters
XN-1SSI
A
Default-
settings
Byte
Bit
Parameter name
Value, meaning
0
4 to 0
reserved
5
Encoder data cable test
0 = activate
A
– ZERO test of data cable.
0 = deactivate
– After the last valid bit, a ZERO test of
the data cable is not carried out.
7,6
reserved
1
3 to 0
Number of invalid bits (LSB)
0000 to 1111:
Number of invalid bits on the LSB side of
the position value supplied by the SSI
encoder. The meaningful word width of
the position value transferred to the
module bus master is as follows:
SSI_FRAME_LEN -INVALID_BITS_MSB
-
INVALID_ BITS_LSB.
The invalid bits on the LSB side are
removed by shifting the position value to
the right, starting with the LSB.(Default 0
bit = 0×0). INVALID_BITS_MSB
+INVALID_BITS_LSB must always be
less than SSI_FRAME_LEN.
6 to 4
Number of invalid bits (MSB)
000 to 111:
Number of invalid bits on the MSB side
of the position value supplied by the SSI
encoder. The meaningful word width of
the position value transferred to the
module bus master is as follows:
SSI_FRAME_LEN -INVALID_BITS_MSB
-INVALID_BITS_LSB.
The invalid bits on the MSB side are
zeroed by masking the position value.
INVALID_BI
INVALID_BITS_LSB must always be less
than SSI_FRAME_LEN.
Default: 0 = 0hex
7
reserved