beautypg.com

2 data format, Data format – Festo Контроллер позиционирования CPX-CMAX User Manual

Page 25

background image

1. CPX terminal configuration and FHPP overview

1−5

Festo P.BE−CPX−CMA X−CONTROL−EN en 0908NH

1.2

Data format

Multi−byte values are usually interpreted by CMAX in the byte
sequence INTEL (LSB−MSB)".

INTEL (LSB−MSB) − little endian

Example

21.268.514

d

= 01Ă44Ă88Ă22

h

Byte address

0

1

2

3

Bit no.

7 6 5 4 3 2 1 0

7 6 5 4 3 2 1 0

7 6 5 4 3 2 1 0

7 6 5 4 3 2 1 0

Bin

0 0 1 0 0 0 1 0

0 1 0 0 0 1 0 0

0 1 0 0 0 1 0 0

0 0 0 0 0 0 0 1

Hex

22h

88h

44h

01h

If your control system uses another byte sequence, you must
take this into consideration accordingly, e. g. in your applica Ć
tion programs.

CPX parameter Analogue process value representation"

A few CPX nodes (e. g. CPX−F B13, FB33, FB34 and FB35) supĆ
port the global system parameter Analogue process value
representation" (system table function number 4402, bit 7):

ć

Value 0": INTEL (LSB−MSB)

ć

default

ć

Value 1": MOTOROLA (MSB−LSB)

MOTOROLA (MSB−LSB) − big endian

Example

21.268.514

d

= 01Ă44Ă88Ă22

h

Byte address

0

1

2

3

Bit no.

7 6 5 4 3 2 1 0

7 6 5 4 3 2 1 0

7 6 5 4 3 2 1 0

7 6 5 4 3 2 1 0

Bin

0 0 0 0 0 0 0 1

0 1 0 0 0 1 0 0

0 1 0 0 0 1 0 0

0 0 1 0 0 0 1 0

Hex

01h

44h

88h

22h