Definitions:
Reactions:
Remedy:
Program Continuation:
Channel %1 block %2 initialization of %3 not allowed
%1 = Channel number %2 = Block number, label %3 = Source string
Frame type variables cannot be initialized in the definition. Example: DEF FRAME LOCFRAME = CTRANS(X,200)
Equally, no default values can be programmed for axes in the program run during field initialization via SET.
A REDEF instruction with PRLOC is only permitted for setting data, but not for machine data or variables.
- Correction block
- Interface signals are set.
- Alarm display.
IPerform initialization in separate block in the execution part of the program: DEF FRAME LOCFRAME LOCFRAME = CTRANS(X,200)
When using for axis variables:
Replace DEF AXIS AXIS_VAR [10] AXIS_VAR [5] = SET (X, , Y) by: DEF AXIS AXIS_VAR [10] AXIS_VAR [5] = X AXIS_VAR [7] = Y
If REDEF ... INIRE, INIPO, INICF, PRLOC changes the behavior of a GUD, LUD etc., then the machine data $MN_DEFAULT_VALUES_MEM_MASK must equal 1.
Clear alarm with NC START or RESET key and continue the program.
© Siemens AG 2005 All Rights Reserved