Set actual value as preset „z“ (5ah) – Baumer N 150 User Manual
Page 9

N 150
www.baumer.com
9
4.2.6. Set actual value as preset „Z“ (5Ah)
Command “Z” is utilized to set the actual value at any optional value. The required position value is transmitted
to SPA. The SPA will calculate a so-called “preset offset” value relating to the true absolute encoder position.
When calculating the preset offset, any programmed offset transmitted by command “U” will be considered, so
that after having accomplished command “Z” the current value always equals the preset.
Note: When altering the resolution (see command „a“) from 1/100 to 1/10 or vice-versa, any already assigned
preset must be assigned anew. The internally calculated offset is available in the resolution previously
programmed.
The indicated actual value is composed as follows:
actual
value
Anz
= actual value
Abs
+ preset offset + offset
Actual value
Anz
indicated actual value for readout by interface
Actual value
Abs
internal absolute actual value.
Preset offset
offset generated by command „Z“.
Offset
supplementary offset defined by command „U“. This function however must be enabled in
command bit parameter ‚a’ (61h), otherwise applies offset = 0.
Example 1: Readout presently 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 actual value as preset value (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 actual 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.7. Indicate optional column of figures in upper line „t“ (74h)
This command is utilized to indicate a 5-digit number in the upper line of the display. The numerical column is
indicated less dot respectively comma. Preceding zeroes as well as both arrows are suppressed. The bottom
line still indicates the actual value.
The numerals are indicated in the display until any command except „t“, „u“ or „R“ is received by interface. The
number will be retained after power failure.
Example: (column of figures = 054321)
SOH
Adr
Cmd
Column of figures = 054321
EOT
CRC
Transmission
01h
20h
74h
30h
35h
34h
33h
32h
31h
04h
C6h
SOH
Adr
Cmd
Column of figures = 054321
EOT
CRC
Response
01h
20h
74h
30h
35h
34h
33h
32h
31h
04h
C6h