Printed in the Federal Republic of Germany
TR-Electronic GmbH 2018, All Rights Reserved
11/12/2019
TR - ELA - BA - DGB - 0027 - 03
Page 145 of 167
6.3.5 Preset function
Danger of physical injury and damage to property due to an actual value
jump during execution of the preset adjustment function!
•
The preset adjustment function should only be executed when the
measuring system is stationary, or the resulting actual value jump must be
permitted by both the program and the application!
The measuring system can be adjusted to any position value with this function.
The preset function is controlled via bits 11
Preset mode
and 12
Execute preset
in the control
word
G1_STW
(chapter 6.3.1.6 on page 111) and acknowledged via bit 12
Preset function is
executed
in the status word
G1_ZSW
(chapter 6.3.1.7 on page 112).
In the default setting the
preset value
parameter has a value of 0. This value can be changed via
acyclic data exchange using
PNU 65000
, see chapter "Acyclic parameter access (Base Mode
Parameter Access - Local)" from page 128.
Preset mode = absolute, prevailing preset value e.g. = 0:
Set bit 11 and 12 in control word
G1_STW
to 0. The current position value is set to the value 0 with a
rising edge 0->1 of bit 12 in control word
G1_STW
.
The preset execution is acknowledged in the status word
G1_ZSW
by setting bit 12. In order to
conclude the preset execution, bit 12 must be reset again in the control word
G1_STW
. Bit 12 is then
also automatically reset in the status word
G1_ZSW
.
The internally calculated offset value is automatically permanently stored and can be read via acyclic
data exchange using
PNU 65001.08
, see chapter "Acyclic parameter access (Base Mode Parameter
Access - Local)" from page 128.
Only positive preset values are possible
Preset mode = relative, prevailing preset value e.g. = 1000, current position e.g. = 4000:
Set bit 11 to 1 and bit 12 to 0 in the control word
G1_STW
. The current position value 4000 is set to the
value 5000 with a rising edge 0->1 of bit 12 in control word
G1_STW
.
The process then continues as described above.
Positive and negative preset values are possible