Address setting with coding switches and KS2000
One of the ways to set the TCP/IP address is via the two hexadecimal address coding switches.
Only the last byte is changed. The other values are read directly from table 100 of the box. They can only be adapted with the configuration software KS2000. Before switching on, the rotary coding switch x10 must have a value not equal 0xF.
To change the IP address it is necessary to reset the write protection in the KS2000. Once the address has been changed, the coupler has to be reset.
Register |
High byte |
Low byte |
---|---|---|
0 |
IP byte 2 |
IP byte 1 |
1 |
Not used |
IP byte 3 |
IP byte |
Default value (hex) |
Default value (dec) |
---|---|---|
1 |
0xAC |
172dec |
2 |
0x10 |
16dec |
3 |
0x12 |
18dec |
4 |
(rotary coding switch) |
(0 to 223dec) |
Example
Switch |
x16 |
x1 | |
Valence |
16 |
1 | |
In this example |
Switch settings |
0 |
4 |
Value |
0 |
4dec | |
IP address |
172.16.18.4 |