
Drive PLC Developer Studio
Appendix
15-15
l DDS EN 2.3
No. Possible remedyCause
4001 Variable <Name> not declared Declare the variable locally or globally.
4010 Incompatible types: Cannot convert <Name> into <Name>. Check the required operator types and change the type of the variable that caused the error
into a permissible type, or select a different variable.
4011 Impermissible type in parameter <Parameter> of <Name>:
Cannot convert <Name> into <Name>.
The actual parameter type cannot be converted into the f ormal parameter type. Use a type
conversion or a suitable variable type.
4012 Impermissible type for input <Name> of <Name>:
Cannot convert <Name> into <Name>.
The variable <Name> is assigned a value of an impermissible type <Type2>. Change the
variable or the const ant into a variable or constant of type <Type1> or use a type conversion
or a constant with a type prefix.
4013 Impermissible type for output <Name> of <Name>:
Cannot convert <Name> into <Name>.
The variable <Name> is assigned to a value of an impermissible type <T ype2>. Change the
variable or the constant into a variable or constant with type <Type1> or use a type
conversion or a constant with a type prefix.
4014 Constant with type prefix: <Name> cannot be converted to
<Name>.
The constant type is incompatible with the prefix type. Example: S INT#255
4015 Impermissible data type <Name> for direct bit access Direct bit addressing is permitted for integer and bitstring data types only. Y ou are using a
type REAL/LREAL variable var1 in bit access <var1>.<bit> or a constant.
4016 Bit index <%d> outside the valid range for <Name>-type
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 <Name> 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 <Operator 0> or <Operator 1> or ... in front of
<Name>
Enter a correct operator at the named position.
4025 Expect := or => in front of <Name> 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 <Number> operands insufficient for <Name>. At least
<number> are required.
Check how many operands are required by t he operator <Name> and insert the missing
operands.
4033 <Number> operands too high f or <Name>. Exactly
<number> are required.
Check how many operands are required by t he operator <Name> and remove the
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
forcearuntimeerror.
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 <LabelName> is not defined Define a label named <LabelName> or change <LabelName> into a defined label.
4041 Jump label <Name> defined more than once The label <Name> is defined more than once within the organization unit.
Rename it, or remove one definition.
4042 The number of successive jump labels must be max.
<Number>
The number of jump labels per instruction is limited to <Number>.
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 <Name> does not exist in the project Define an organization unit named <Name> using the menu commands
Project
WInsert object, or change <Name> to the name of a defined organization unit.
4051 <Name> is not a function. Use a function name defined in the project or in the libraries for <Name>.
4052 <Instance name> must be a declared instance of function
block <Name>
Useatype<Name>instancedefinedintheprojectfor<Instancename>,orchangethetype
from <Instance name> to <Name>.
4053 <Name> is no valid organization unit or operator Replace <Name> with the name of an organization unit or an operator defined in the
project.
4054 Organization unit name expected as parameter of INDEXOF The specified parameter is no valid organization unit name
4060 VAR_IN_OUT parameter <Name> of <Name> requires
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.
Comentarios a estos manuales