Initialize of measurement, Measurement cycle – Baumer BA_DSRT_22DJ Benutzerhandbuch

Seite 60

Advertising
background image

Manual_CANopen_StrainLink_EN_V3_05.doc

60/65

Baumer

22.07.11/dam

Frauenfeld, Switzerland

8.2 Read process value with SDO (16 and 24bit)

Initialize of measurement:

1. Set data type (object 21’12h)

24-Bit

71’30h => 16 bit process value

81’30h => 24 bit process value

2. Request unit (object 61’31h)

24-Bit

FA’01’01’00h => µ

ε

or µm/m

FA’01’01’00h => µ

ε

or µm/m

3. Request decimal digits (object 61’32h)

24-Bit

02h => 2 decimal digits => Divide with 10

2

02h => 2 decimal digits => Divide with 10

2

Measurement cycle:

Object 71’30h, strain

Object 81’30h, strain

01’2Ch => 300

Dez

Shift with decimal digits: 300 / 10

2

= 3.00

Add unit: 3.00 => 3.00µ

ε

01’38’80h => 80’000

Dez

Shift with decimal digits: 80'000 / 10

2

= 800

Add unit: 800 => 800µ

ε

Object 71’30h, compression

Object 81’30h, compression

FE’D4h => 1111’1110’1101’0100b

Shift with decimal digits: -300 / 10

2

= -3.00

Add unit: -3.00 => -3.00 µ

ε

FE’C7’80h => 1111’1110’1100’0111’1000’0000b

Shift with decimal digits: -80'000 / 10

2

= -800

Add unit: -800 => -800µ

ε

16-Bit

16-Bit

16-Bit

16-Bit

16-Bit

24-Bit

24-Bit

- 0000’0001’0010’1011b

- 0000’0001’0010’1100b

= -300

Dez

inv.

+1

- 0000’0001’0011’1000’0111’1111b

- 0000’0001’0011’1000’1000’0000b

= -80’000

Dez

inv.

+1

Advertising