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

Drive PLC Developer Studio
Appendix
15-16
l
DDS EN 2.3
No.
Possible remedy
Cause
4061
VAR_IN_OUT parameter
assigned.
Write-accessible variables must be assigned to VAR_IN_OUT parameters as these can be
modified within the organization unit.
4062
No external access to VAR_IN_OUT parameter
VAR_IN_OUT parameters must only be written or read within the organization unit (reference
transfer).
4063
VAR_IN_OUT parameter
assigned bit addresses.
A bit address is no valid physical address.
Transfer a variable or a direct non-bit address.
4064
VAR_IN_OUT must not be overwritten in local action call !
Delete the assignment of the VAR_IN_OUT variables for the local action call.
4070
Too deeply nested expression in organization unit.
Reduce the nesting depth by distributing the expression across several expressions with the
help of assignments to intermediate variables.
4071
Network too large
Divide the network into several networks.
4100
^ requires a pointer type
You are attempting to dereference a variable that has not been declared as POINTER TO.
4110
[
You are using [
4111
The expression in the index of an array must have an
INT-type result.
Use an expression of the respective type, or a type conversion.
4112
Too many array indices
Check the number of indices (1, 2, or 3) for which the array has been declared, and remove
the superfluous indices.
4113
Insufficient array indices
Check the number of indices (1, 2, or 3) for which the array has been declared, and add the
missing indices.
4114
Constant index outside array boundaries
Ensure that the applied indices range within the array boundaries.
4120
A ”
.
” must be preceded by a structure variable.
The identifier to the left of the period must be a STRUCT or FUNCTION_BLOCK-type variable
or the name of a FUNCTION or a PROGRAM.
4121
The component
4122
block.
Check the input variables of the called function block, and change
variables.
4200
LD expected
Add at least one LD instruction in the editor window of the IL organization unit or behind the
jump label.
4201
IL operator expected
Every IL instruction must start with an operator or a jump label.
4202
Unexpected end of the subexpression
Insert the right parenthesis.
4203
The specified operator is not permitted within an IL subexpression.
(impermissible are: JMP, RET, CAL, LDN, LD, TIME)
4204
Right parenthesis without left parenthesis.
Insert left parenthesis, or delete right parenthesis.
4205
No comma permitted after )
Remove the comma behind the right parenthesis.
4206
No jump labels in subexpressions.
Move the jump label outside the subexpression.
4207
N modifier requires a BOOL, BYTE, WORD or DWORD-type
operand.
The N modifier requires a data type for which a Boolean negation can be performed.
4208
The expression in front of a conditional command must
return a BOOL-type result
Ensure that the expression returns a Boolean result, or use a type conversion.
4209
Function names are not allowed here.
Replace the function call with a variable or constant.
4210
CAL, CALC and CALN require a function block instance as
an operand
Declare an instance of the function block to be called.
4211
Comments in IL at the end of the line only.
Move the comment to the end of the line or into a separate line.
4212
Accumulator invalid before conditional instruction
The accumulator content is not defined.
This is the case after instructions that do not return any result (CAL, for example).
4213
S and R require a BOOL-type operand
Use a Boolean variable at this position.
4250
No correct start for an ST instruction
The line does not start with a correct ST instruction.
4251
Function
More parameters were specified than were declared in the function definition.
4252
Function
Fewer parameters were specified than were declared in the function definition.
4253
IF and ELSIF require a Boolean expression as condition
Ensure that the condition following an IF and ELSIF is a Boolean expression.
4254
WHILE requires a Boolean expression as condition
Ensure that the condition following a WHILE is a Boolean expression.
4255
UNTIL requires a Boolean expression as condition
Ensure that the condition following an UNTIL is a Boolean expression.
4256
NOT requires a Boolean operand.
Ensure that the condition following a NOT is a Boolean expression.
4257
The counter of the FOR instruction must be INT-type
Ensure that the counter variable is an integer or bitstring data type (DINT, DWORD, for
example).
4258
The counter in the FOR instruction is no write-accessible
variable
Replace the counter variable with a write-accessible variable.
4259
The start value of the FOR instruction must be INT-type.
The start value of the FOR instruction must be compatible with the counter variable type.
4260
The end value of the FOR instruction must be INT-type.
The end value of the FOR instruction must be compatible with the counter variable type.
4261
The incrementation value of the FOR instruction must be
INT-type.
The incrementation value of the FOR instruction must be compatible with the counter
variable type.
4262
EXIT is permitted only within a loop.
Use EXIT only within FOR, WHILE or UNTIL instructions.
4263
Number, ELSE or END_CASE expected
Only a number or an ELSE instruction, or the end instruction END_CASE, can be specified
within a CASE.
Show/Hide Bookmarks