Drive plc developer studio, Appendix, Show/hide bookmarks – Lenze DDS v2.3 User Manual
Page 325

Drive PLC Developer Studio
Appendix
15-15
l
DDS EN 2.3
No.
Possible remedy
Cause
4001
Variable
Declare the variable locally or globally.
4010
Incompatible types: Cannot convert
into a permissible type, or select a different variable.
4011
Impermissible type in parameter
Cannot convert
The actual parameter type cannot be converted into the formal parameter type. Use a type
conversion or a suitable variable type.
4012
Impermissible type for input
Cannot convert
The variable
variable or the constant into a variable or constant of type
or a constant with a type prefix.
4013
Impermissible type for output
Cannot convert
The variable
variable or the constant into a variable or constant with type
conversion or a constant with a type prefix.
4014
Constant with type prefix:
The constant type is incompatible with the prefix type. Example: SINT#255
4015
Impermissible data type
Direct bit addressing is permitted for integer and bitstring data types only. You are using a
type REAL/LREAL variable var1 in bit access
4016
Bit index <%d> outside the valid range for
variables
You are attempting access to a bit that is not defined for the variable’s data type.
4017
MOD is not defined for REAL
The operator MOD can be used for integer and bitstring data types only.
4020
ST, STN, S, R operands must be write-access variables
Replace the first operand with a variable with write access.
4021
No write access to
Replace the variable with one with write access.
4022
Operand expected
Add an operand behind the existing command.
4023
Number expected after ”+” or ”-”.
Enter a number.
4024
Expect
Enter a correct operator at the named position.
4025
Expect := or => in front of
Enter one of the two operators at the named position.
4026
BITADR expects a bit address or a variable at a bit address
Use a correct bit address (for example %IX0.1).
4027
Integer or symbolic constant expected
Insert an integer or the identifier of a correct constant.
4028
INI operator requires a function block instance or a
structure variable
Check the type of the variable to which you apply the INI operator.
4029
Internested calls of the same function are not possible.
In non-reentrant automation systems and in simulation mode, a function call must not
contain a call for itself as parameter.
Example: fun1(a,fun1(b,c,d),e);Use an intermediate variable.
4030
No constants and expressions are allowed as ADR operands Replace the constant or the expression with a variable or a direct address.
4031
The address operator is not permitted on bits !
Use BITADR.
BITADR returns no physical memory address.
4032
Check how many operands are required by the operator
operands.
4033
Check how many operands are required by the operator
superfluous operands.
4034
Division by 0
You are using a division by 0 in a constant expression. If necessary, use a value-0 variable to
force a runtime error.
4035
ADR must not be applied on VAR CONSTANT if Replace
constants is active.
No address access is possible to constants for which the direct values are used. If required,
deactivate the option Substitute constants in the project options, category Compilation
options.
4040
Jump label
Define a label named
4041
Jump label
The label
Rename it, or remove one definition.
4042
The number of successive jump labels must be max.
The number of jump labels per instruction is limited to
Insert a dummy instruction.
4043
Incorrect label format:
A label must be an identifier that may be followed by a
colon.
The name used for the label is either no valid identifier, or the colon is missing in the
definition.
4050
Organization unit
Define an organization unit named
Project
W
Insert object, or change
4051
Use a function name defined in the project or in the libraries for
4052
block
Use a type
from
4053
Replace
project.
4054
Organization unit name expected as parameter of INDEXOF
The specified parameter is no valid organization unit name
4060
VAR_IN_OUT parameter
write-accessible variable as input.
Write-accessible variables must be transferred to VAR_IN_OUT parameters as these can be
modified within the organization unit.
Show/Hide Bookmarks