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

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

Advertising
background image

N 143

22 www.baumer.com

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

The command reads or writes the measuring unit in mm or inches.

Data = 0 (30h) = mm

Data = 1 (31h) = inch


Example 1: Read parameter (= 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 (address=99)

SOH

Adr

Cmd

Data

EOT

CRC

Transmission

01h

83h

69h

30h

04h

CDh

Response

not confirmed

Important:
Parameters are entered in mm and auto-converted into inches by the SPA upon displaying the position values.

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

This command reads or writes the system time: Timeout reply 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 s.

Functionality: RS485 bus monitoring during motive shaft positioning operations. If there is no interface activity
within the programmed timeout the motor will stop (EMERGENCY OFF) in case of bus error or inactive master.
Motor restart requires transmission of the profile (command „S“ or „V“) including 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

Advertising