User guide
29 Y1-03-0202 Rev. E
13. Change IP Address and Subnet Mask Command Structure
The RLB-35MC’s IP address and subnet mask can be changed from the
factory set default values of 192.168.2.100 and 255.255.255.0, respectively,
in RLB-35MC Memory Board Software Version B and higher. The command
string is sixteen (16) bytes in length and has the same fixed command
header as the communications command string. The bytes are defined as
seen below:
yy
2
yy
2
yy
2
yy
2
AC 53 CA 35 xx
1
xx
1
Fixed Command Header
(HEX)
Operation Command
Operational Sub Command
New IP Address MSB
New IP Address 3
rd
Byte
Null Termination 0x00
xx
1
xx
1
New IP Address 2
nd
Byte
New IP Address LSB
Subnet Mask MSB
Subnet Mask 3
rd
Byte
Subnet Mask 2
nd
Byte
Subnet Mask LSB
00 00
Null
Termination
RLB-35MC Command Structure
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Byte
49 50
1)
2)
The new subnet mask with the MSB of the 4-byte mask in byte 10 and the LSB in byte 13
The new IP address with the MSB of the 4-byte address in byte 6 and the LSB in byte 9
13.1. Header
The first four (4) bytes are a fixed value header with hexadecimal
values of AC, 53, CA, 35.
13.2. Operation Command
Byte 4 is the Operation Command of ‘I’ in ACSII format.
13.3. Operation Subcommand
Byte 5 is the Operation Subcommand of ‘P’ in ASCII format.
13.4. New IP Address
Bytes 6 – 9 are the new IP address arranged so the MSB of the 4-byte
IP address is in byte 6 and the LSB is in byte 9. Below is an example
of a new IP address of 192.168.2.75:
Byte
Position
Decimal Notation
Hex Notation
6
192
0xC0
7
168
0xA8
8
2
0x02
9
75
0x4B