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

Page 613

Advertising
background image

L-force | PLC Designer

Compiler Errors and Warnings



DMS 3.2 EN 02/2011 TD29

611

4072

"Inconsistent use of an action identifier in FB type ('<name>') and instance
('<name>')."

You have defined two actions of a function block fb: e.g. a1 and a2, but in the call of
one of the actions in the FBD you are using a type (string within the box, e.g. fb.a1
different to that used in the instance-name (e.g. inst.a2, above box). Correct the name
correspondingly into the name of the desired action.

4100

"'^' needs a pointer type"

You are trying to dereference a variable which is not declared as a pointer.

4110

"'[<index>]' needs array variable"

[<index>] is used for a variable which is not declared as an array with ARRAY OF.

4111

"Index expression of an array must be of type 'INT'"

Use an expression of the correct type or a type conversion.

4112

"Too many indexes for array"

Check the number of indices (1, 2, or 3), for which the array is declared and remove the
surplus.

4113

"Too few indexes for array"

Check the number of indices (1, 2, or 3), for which the array is declared and add the
missing ones.

4114

"One of the constant indizes is not within the array range"

Make sure that the used indices are within the bounds of the array.

Advertising