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

L-force | PLC Designer
Compiler Errors and Warnings
606
DMS 3.2 EN 02/2011 TD29
4014
"Typed literal: Cannot convert '<name>' to '<name>'"
The type of the constant is not compatible with the type of the prefix.
Example: SINT#255
4015
"Data type ‘<name>' illegal for direct bit access"
Direct bit addressing is only allowed for Integer- and Bitstring datatypes and not at all
for direct variables. You are using a variable var1 of type Typ REAL/LREAL or a constant
in bit access <var1>.<bit>, or you are trying a bit access on a direct variable.
4016
"Bit index '<number>' out of range for variable of type '<name>'"
You are trying to access a bit which is not defined for the data type of the variable.
4017
"'MOD' is not defined for 'REAL'"
The operator MOD can only be used for integer and bitstring data types.
4020
"Variable with write access or direct address required for 'ST', 'STN', 'S', 'R'"
Replace the first operand by a variable with write access.
4021
"No write access to variable '<name>' allowed"
Replace the variable by a variable with write access.
4022
"Operand expected"
Add an operand behind the command.
4023
"Number expected after '+' or '-'"
Enter a digit.