Set current value as preset „z“ (5ah), Indicate tool number „t“ (74h), N 143 – Baumer N 143 User Manual

Page 14: Actual value, Preset offset + offset current value

Advertising
background image

N 143

14 www.baumer.com

4.2.8. Set current value as preset „Z“ (5Ah)

Command “Z” sets the current value at any optional position. The required position value is transmitted to the
SPA which will calculate a so-called “preset offset” related to the true absolute encoder position. Any offset
which is set and transmitted by command “U” will be considered in the calculation, so that after execution of
command “Z” the current value is ever the preset.
The actual value in the display is composed as follows:

actual

value

displz

= actual value

abs

+ preset offset + Offset

Current value

displ

actual value in the display which is read out via interface

Current value

abs

internal absolute current value

Preset offset

offset calculated by command „Z“.

Offset

Additional offset which may be set by command „U“. Firstly, the functionality must be en-
abled in command bit parameter ‚a’ (61h), otherwise the offset is 0.


Example 1: Read out the currently active preset

SOH Adr Cmd EOT CRC

Transmission

01h 20h 5Ah 04h 38h

SOH Adr Cmd

preset = 2,50

EOT CRC

Response

01h 20h 5Ah 30h 30h 30h 32h 35h 30h

04h

27h


Example 2: Set current value as preset (preset = 17.25)

SOH Adr Cmd

preset = 17,25

EOT CRC

Transmission

01h 20h 5Ah 30h 30h 31h 37h 32h 35h

04h

09h

SOH Adr Cmd

preset = 17,25

EOT CRC

Response

01h 20h 5Ah 30h 30h 31h 37h 32h 35h

04h

09h


Example 3: Set current value as preset in all SPAs by broadcast command

SOH Adr Cmd

preset = 17,25

EOT CRC

Transmission

01h 83h 5Ah 30h 30h 31h 37h 32h 35h

04h AAh

Response

Not confirmed

4.2.9. Indicate tool number „t“ (74h)

The command writes a 6-digit tool number in the upper line of the display. The number is indicated without dot
respectively comma. Leading zeros as well as both direction arrows are suppressed. The lower line of the dis-
play still indicates the true current value.
The tool number will be displayed until any command except „t“, „u“ or „R“ is received via interface. The tool
number will be retained after power failure.

Example: (tool number = 654321)

SOH Adr Cmd

Tool number = 654321

EOT CRC

Transmission

01h 20h 74h 36h 35h 34h 33h 32h 31h

04h

47h

SOH Adr Cmd

Tool number = 654321

EOT CRC

Response

01h 20h 74h 36h 35h 34h 33h 32h 31h

04h

47h


Advertising