L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual
Page 617

L-force | PLC Designer
Compiler Errors and Warnings
DMS 3.2 EN 02/2011 TD29
615
4256
"'NOT' requires 'BOOL' operand"
Make sure that the condition following the ‘NOT’ is a boolean expression.
4257
"Variable of 'FOR' statement must be of type 'INT'"
Make sure that the counter variable is of an integer or bitstring data type (e.g. DINT,
DWORD).
4258
"Expression in 'FOR' statement is no variable with write access"
Replace the counter variable by a variable with write access.
4259
"Start value in 'FOR' statement is no variable with write access"
The start value in the ‚FOR' instruction must be compatible to the type of the counter
variable.
4260
"End value of 'FOR' statement must be of type 'INT'"
The end value in the ‚FOR' instruction must be compatible to the type of the counter
variable.
4261
"Increment value of 'FOR' statement must be of type 'INT'"
The incremental value in the ‚FOR' instruction must be compatible to the type of the
counter variable.
4262
"'EXIT' outside a loop"
Use 'EXIT' only within 'FOR', 'WHILE' or 'UNTIL' instructions.