beautypg.com

Fairbanks X SERIES PR 5410 Process Indicator User Manual

Page 114

background image

Section 4: Commissioning

10/08 114

51207 Revision 1

4.12.4 Function 5: Writing a Bit


Command

Device

address

Function

number

Address

of the bit

Value of

the bit

Always 0

CRC 16

1 byte

1 byte

2 bytes

1 byte

1 byte

2 bytes

Range

0...127

5

0...127

0 or 255

0


Reply

Device

address

Function

number

Address

of the bit

Value of

the bit

Always 0

CRC 16

1 byte

1 byte

2 bytes

1 byte

1 byte

2 bytes


If the address of the bit is out of the permissible range (0...127), an error message is sent as a reply.

Example of function 5 for setting bit 113 (taring)

Command

1

5

0

113

255

0

CRC

CRC

Reply

1

5

0

113

255

0

CRC

CRC


The individual bytes are shown.

4.12.5 Function 6: Writing a Word


Command

Device

address

Function

number

Word

address

Value of

the word

CRC 16

1 byte

1 byte

2 bytes

2 bytes

2 bytes

Range

0...127

6

0...63


Reply

Device

address

Function

number

Word

address

Value of

the word

CRC 16

1 byte

1 byte

2 bytes

2 bytes

2 bytes


If the address is out of the permissible range (0...63), an error message is sent as a reply.