beautypg.com

Read / write motor system times „k“ (6bh), Read / write specific parameter „x“ (78h), N 143 – Baumer N 143 User Manual

Page 23: Example 1: read parameter (loop = 1.0 s), Example 2: write parameter (loop = 2.0 s), Example 2: write new delay time

background image

N 143

www.baumer.com

23

4.3.9. Read / write motor system times „k“ (6Bh)

This command reads or writes the individual motor system times within the range of 00.1 s to 99.9 s.
Tolerance: ±7% at minimum time; < 1‰ at maximum time, approx. 1% at 1 s.
The following 3 parameters are available:

Loop:

Waiting time at turning point during loop operation.

Trailing error: Timeout for motor signal, if shaft remains idle after the motor start signal
Clamping:

Timeout reply between enabled/active clamping or braking action

prior to motor start signal / after motor stop signal.

Example 1: Read parameter (loop = 1.0 s)

SOH Adr Cmd EOT CRC

Transmission

01h 20h 6Bh 04h 5Ah

SOH Adr Cmd

Schleife=1,0 s

reserved

reserved

EOT CRC

Response

01h 20h 6Bh 30h 31h 30h 30h 30h 30h 30h 30h 30h

04h D9h


Example 2: Write parameter (loop = 2.0 s)

SOH Adr Cmd

loop=2.0 s

reserved

reserved

EOT CRC

Transmission

01h 20h 6Bh 30h 32h 30h 30h 30h 30h 30h 30h 30h

04h DAh

SOH Adr Cmd

loop=2.0 s

reserved

reserved

EOT CRC

Response

01h 20h 6Bh 30h 32h 30h 30h 30h 30h 30h 30h 30h

04h DAh


4.3.10. Read / write specific parameter „x“ (78h)

The specific parameter „x“ comprises several sub-parameters which permit alteration of originally permanent
parameters to adapt them to a new situation. The following sub-parameter is available:

D (44h) = delaytime for minimized timeout reply of the serial interface


Sub parameter: Delaytime „D“ (44h)
This parameter defines the minimum delay time (timeout) elapsed between the last bit received and the first bit
of the response transmitted. Delay time is in steps of 0.1 ms from 00.0 ... 60.0 ms. Default is 4.5 ms.

Example 1: Read current delay time

SOH Adr Cmd Sub EOT CRC

Transmission

01h 20h 78h 44h 04h 7Ch

SOH Adr Cmd Sub

Delaytime = 4.5

EOT CRC

Response

01h 20h 78h 44h 30h 30h 34h 35h

04h BBh


Example 2: Write new delay time

SOH Adr Cmd Sub

Delaytime = 15.0

EOT CRC

Transmission

01h 20h 78h 44h 30h 31h 35h 30h

04h BDh

SOH Adr Cmd Sub

Delaytime = 15.0

EOT CRC

Response

01h 20h 78h 44h 30h 31h 35h 30h

04h BDh


Please not that the true delaytime might be prolonged. It depends on the required processing time as well as on
internal software cycles. Tolerance is approx. 8 ms.