beautypg.com

Read / write measuring unit „i“ (69h) – Baumer N 150 User Manual

Page 14

background image

N 150

www.baumer.com

14

4.3.4. Read / write measuring unit „i“ (69h)

The command is utilized to read or write the measuring unit in mm or inches.

Data = 0 (30h) = mm

Data = 1 (31h) = inch


Example 1: Read parameter (setting = mm)

SOH

Adr

Cmd

EOT

CRC

Transmission

01h

20h

69h

04h

5E

SOH

Adr

Cmd

Data

EOT

CRC

Response

01h

20h

69h

30h

04h

D0h


Example 2: Change measuring unit to inch

SOH

Adr

Cmd

Data

EOT

CRC

Transmission

01h

20h

69h

31h

04h

D2

SOH

Adr

Cmd

Data

EOT

CRC

Response

01h

20h

69h

31h

04h

D2


Example 3: Write measuring unit mm into all N 150 by broadcast command (Identifier=99)

SOH

Adr

Cmd

Data

EOT

CRC

Transmission

01h

83h

69h

30h

04h

CDh

Response

Not confirmed

Important: Parameters are programmed in mm and auto-converted by N 150 into inches upon displaying the
position values.
.