beautypg.com

Fairbanks X SERIES PR 5410 Process Indicator User Manual

Page 115

background image

Section 4: Commissioning

10/08 115

51207 Revision 1

4.12.6 Function 8: Diagnosis


Command

Device

address

Function

number

Sub-

function

Any value

CRC 16

1 byte

1 byte

2 bytes

2 bytes

2 bytes

Range

1...127

8

0


This function is intended for testing the communication.
Only sub-function 0 is supported.
The received command is sent as a reply.

Command

Device

address

Function

number

Sub-

function

Value of the

command

CRC 16

1 byte

1 byte

2 bytes

2 bytes

2 bytes


4.12.7 Function 15: Writing n Successive Bits


Command

Device

address

Function

number

Address

of the 1st

bit

Number

of bits

Number

of bytes

Value of

bits

CRC 16

1 byte

1 byte

2 bytes

2 bytes

1 byte

n bytes

2 bytes

Range

0...127

15

0...127

8,16, 24

1,2,3...

/

\


1st byte

2nd

byte

3rd byte

- - - - - - - - - - -

Last byte

8th ...

1st

bit

last bit


The bit address must always be the 1st bit of a byte. The number of bits to be read must not be
smaller than 8 and must be a multiple of 8. The address plus the number of bits must not exceed
128.

Example of function 15

Command

1

15

0

64

0

8

1

3

CRC CRC

Reply

1

15

0

64

0

8

CRC CRC


The individual bytes are shown.