beautypg.com

Rlb-35mc command structure – ACR&Artex Float-Free 406 Memory Capsule User Manual

Page 33

background image

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

F

ix

e

d

C

o

m

m

a

n

d

H

e

a

d

e

r

(H

E

X

)

O

p

e

ra

ti

o

n

C

o

m

m

a

n

d

O

p

e

ra

ti

o

n

a

l

S

u

b

C

o

m

m

a

n

d

N

e

w

I

P

A

d

d

re

s

s

M

S

B

N

e

w

I

P

A

d

d

re

s

s

3

rd

B

y

te

Null Termination 0x00

xx

1

xx

1

N

e

w

I

P

A

d

d

re

s

s

2

n

d

B

y

te

N

e

w

I

P

A

d

d

re

s

s

L

S

B

S

u

b

n

e

t

M

a

s

k

M

S

B

S

u

b

n

e

t

M

a

s

k

3

rd

B

y

te

S

u

b

n

e

t

M

a

s

k

2

n

d

B

y

te

S

u

b

n

e

t

M

a

s

k

L

S

B

00

00

N

u

ll

T

e

rm

in

a

ti

o

n

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