Data saving, Transmitting and reading negative values – Baumer N 152 User Manual
Page 7
N 152
www.baumer.com
7
3.6. Data saving
Specific parameters are saved in EEPROM (1.000.000 writing cycles). Data saving is via interface upon every
parameter transmission to SPA.
Important:
There should not be a cyclic transmission of these parameters to SPA but only if necessary, for example in case
of parameter alteration. The relevant parameters saved in EEPROM are listed in the charts in chapter
“Command explanations” or “Overview on commands”.
3.7. Transmitting and reading negative values
The minus sign (2DHex) is always transmitted by digit 6 of the data field.
Example: Taking for granted a negative target of –1,5 and a programmed resolution of 1/10, the transmitted
value is –00015.
3.8. Transmitting and reading position values (decimal point)
Position values as for example target (command „S“), offset (command „U“) or end positions (command “g”) are
generally transmitted and read without decimal point. Visualization in the display corresponds to the format in the
data field of the interface command.
Thus, the transmission format depends on the resolution (see command „a“).
Example 1: resolution = 1/100; target = 278.50; actual value = 1.00 Display
SOH Adr Cmd Profile no=17
Target = 278.50
EOT CRC
01h 20h 53h 31h
37h
30h 32h 37h 38h 35h
30h
04h
29h
Example 2: resolution = 1/10; target = 278.5; actual value = 1.0
SOH Adr Cmd Profile no=17
Target = 278.5
EOT CRC
01h 20h 53h 31h
37h
30h 30h 32h 37h 38h
35h
04h
29h
2 7 8.5 0
1.0 0
2 7 8.5
1.0