beautypg.com

Read / write measuring unit „i“ (69h), Read / write timeout at bus error rs485 „j“ (6ah), N 153 – Baumer N 153 User Manual

Page 20: Example 2: change measuring unit into inches, Example 2: write parameter (time = 13.5 s)

background image

N 153

www.baumer.com

20


Example 2: Write parameter (precision speed = 0.50; switch off point = 0.01)

SOH Adr Cmd

reserved

Precision speed =0.50

Switchoff point =0.01

EOT CRC

Transmission

01h 20h 68h 30h 30h 30h 30h 30h 30h 35h 30h 30h 30h 30h 31h 04h E0h

00

SOH Adr Cmd

reserved

Precision speed =0.50

Switchoff point =0.01

EOT CRC

Response

01h 20h 68h 30h 30h 30h 30h 30h 30h 35h 30h 30h 30h 30h 31h 04h E0h

4.3.7. 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 into inches

SOH

Adr

Cmd

Data

EOT

CRC

Transmisison

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 in all SPAs 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 SPA into inches upon displaying the po-
sition values.

4.3.8. Read / write timeout at bus error RS485 „j“ (6Ah)

This command is utilized to read or write the system time: timeout at bus error. Value range is within 00,1 s to
99,9 s. Tolerance: ±7% at minimum time; < 1‰ at maximum time, approx. 1% at 1.

Function: RS485 bus monitoring during motive shaft positioning operations. If there is no interface activity within
the programmed timeout the motor will stop (EMERGENCY OFF) upon occurring a bus error or in case of an
inactive control. A motor restart requires transmitting the profile (command „S“ or „V“) together with the start
signal (command „D“). Setting 0.00 s means function disabled.

Example 1: Read parameter (time= 2.5 s)

SOH Adr Cmd EOT CRC

Transmission

01h 20h 6Ah 04h 58h

SOH Adr Cmd

Time =2.5 s

EOT CRC

Response

01h 20h 6Ah 30h 32h 35h

04h C5h


Example 2: Write parameter (time = 13.5 s)

SOH Adr Cmd

Loop =13.5 s

EOT CRC

Transmission

01h 20h 6Ah 31h 33h 35h

04h C9h

SOH Adr Cmd

Loop =13.5 s

EOT CRC

Response

01h 20h 6Ah 31h 33h 35h

04h C9h