Align current value with preset, command „z“ (5ah), Readout parameter tool number, command „t“ (74h), N 141 – Baumer N 141 User Manual
Page 10: Current value, Preset offset + offset
N 141
www.baumer.com
10
4.2.7. Align current value with preset, command „Z“ (5Ah)
The Z command is for setting the current value to any optional position. The required position value is
transmitted to the SPA. The SPA will calculate a so-called “preset offset” -value relating to the true absolute
sensor position. When calculating the preset offset the already programmed offset transmitted by command “U”
will be considered, so that after having accomplished the “Z” command the current value always equals the
preset.
The current value displayed is composed as follows:
Current
value
Anz
= current value
Abs
+ Preset offset + Offset
Current value
Anz
current value displayed and read out by interface
Current value
Abs
internal absolute current value.
Preset offset
Offset generated by command „Z“.
Offset
Additional offset defined by command „U“. This function however must be enabled in
command bit parameter ‚a’ (61h), otherwise offset = 0.
Example 1: Readout current 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: : Align actual value with 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: Align actual value with preset at 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.8. Readout parameter tool number, command „t“ (74h)
This command is for displaying a 6-digit tool number in the upper line of the display. The tool number is
indicated without dot respectively comma. Preceding zeroes as well as both direction arrows are suppressed.
The bottom line still indicates the current value.
The number is shown on the display until any command except „t“, „u“, „R“ or “T” is received by interface. The
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