January 2012 6.16 The Control Loop 851
Actual-to-nominal
value transfer
During actual-to-nominal value transfer, the current position is saved as the
nominal position value. This becomes necessary, for example, if the axis has
been moved when the position control loop is open.
There are two ways to turn the actual position into the nominal position:
Place the request for actual-to-nominal value transfer in the Manual and
Electronic Handwheel operating modes in PP_AxValueActToNominal and
check the elimination of the following error in NN_AxCorrectingLagError.
To transfer the actual position in all operating modes, use Module 9145.
Module 9145 Actual-to-nominal value transfer
Module 9145 is used for an actual-to-nominal value transfer for the axes
entered.
Constraints:
The module functions only in the cyclic PLC program.
An actual-to-nominal value transfer is possible only if the MANUALplus 620
is not active (NN_ChnControlInOperation=0) or if an M/S/T/T2/G strobe is
pending. Actual-to-nominal value transfer can always be performed for axes
that are not in an interpolation context.
Call:
PS B/W/D/K <>Axes bit-encoded>
(Bit 0 represents logic axis 0, etc.)
CM 9145
Error recognition:
PLC operand / Description Ty p e
PP_AxValueActToNominal
Actual-to-nominal value transfer
(Request to eliminate following error)
0: Request to eliminate following error
1: No request to eliminate following error
M
NN_AxCorrectingLagError
Following error eliminated
0: Following error is not eliminated
1: Following error is eliminated
M
Marker Value Meaning
NN_GenApiModule
Error
0 Actual-to-nominal value transfer performed
1 Error code in NN_GenApiModuleErrorCode
NN_GenApiModule
ErrorCode
2 Invalid axis number
21 Missing M/S/T/T2/G strobe in
NN_ChnControlInOperation=1
24 Module was called in a spawn or submit job