beautypg.com

Align current value with preset, command „z“ (5ah), N 142, Current value – Baumer N 142 User Manual

Page 14: Preset offset + offset

background image

N 142

www.baumer.com

14

4.2.8. 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 any programmed offset transmitted by command “U” will be
considered, so that after having accomplished the “Z” command the current value always equals the preset.

Note: For technical reasons there is no preset offset scaling what might result in misalignments due to rounding
operations. In this case, the current value displayed is by 1 LSB inferior or superior to the programmed preset
value.

The current value displayed is composed as follows:

Current

value

Anz

= current value

Abs

+ Preset offset + Offset

Current value

Anz

current value display and readout 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 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: 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 to preset by broadcast at all SPA´s

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. Readout any optional number sequence in the upper line of display,
command „t“ (74h)

This command is for indicating a 6-digit number sequence in the upper line of the display. The sequence is
indicated without dot respectively comma. Preceding zeroes as well as both direction arrows are suppressed.
The bottom display line still indicates the current value.
The number is displayed until any command except „t“, „u“ or „R“ is received by interface. The number will be
retained after power failure.

Example: (number sequence = 654321)

SOH Adr Cmd

Number sequence = 654321

EOT CRC

Transmission

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

04h

47h

SOH Adr Cmd

Number sequence = 654321

EOT CRC

Response

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

04h

47h