24.01.2015 Views

PLC Programming

  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix J: Compiler Errors and Warnings<br />

4035<br />

"ADR must not be applied on 'VAR CONSTANT' if 'replaced constants' is activated"<br />

An address access on constants for which the direct values are used, is not possible. If applicable,<br />

deactivate the option ‚Replace Constants’ in ‚Project’ ‚Options’ ‚Build’.<br />

4040<br />

"Label '' is not defined"<br />

Define a label with the name or change the name to that of a defined<br />

label.<br />

4041<br />

4042<br />

4043<br />

4050<br />

4051<br />

4052<br />

"Duplicate definition of label ''"<br />

The label '< Name>' is multiple defined in the POU. Rename the label or remove one of the definitions.<br />

"No more than labels in sequence are allowed"<br />

The number of jump labels is limited to ''. Insert a dummy instruction.<br />

"Format of label invalid. A label must be a name optionally followed by a colon."The label name is not<br />

valid or the colon is missing in the definition.<br />

"POU '%s' is not defined"<br />

Define a POU with the name '' using the command ‘Project’ ‘Add Object’ or change<br />

'' to the name of a defined POU.<br />

"'%s' is no function"<br />

Use instead of a function name which is defined in the project or in the libraries.<br />

"'' must be a declared instance of FB ''"<br />

Use an instance of data type '' which is defined in the project or change the type of to ''.<br />

4053<br />

"'' is no valid box or operator"<br />

Replace '' by the name of a POU or an operator defined in the project.<br />

4054<br />

"POU name expected as parameter of 'INDEXOF'"<br />

The given paramter is not a valid POU name.<br />

4060<br />

"'VAR_IN_OUT' parameter '' of '' needs variable with write access as input"<br />

To VAR_IN_OUT parameters variables with write access have to be handed over, because a<br />

VAR_IN_OUT can be modified within the POU.<br />

CoDeSys V2.3 10-119

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!