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 />

1504<br />

"’’ (‘’): Statement may not be executed due to the evaluation of the logical<br />

expression"<br />

Eventually not all branches of the logic expression will be executed.<br />

Example:<br />

IF a AND funct(TRUE) THEN ....<br />

If a has is FALSE then funct will not be called.<br />

1505<br />

"Side effect in ''! Branch is probably not executed !"<br />

The first input of the POU is FALSE, for this reason the side branch, which may come in at the second<br />

input, will not be executed.<br />

1506<br />

1600<br />

1700<br />

1800<br />

1801<br />

"Variable '%s' has the same name as a local action. The action will not be called!"<br />

Rename the variable or the action.<br />

"Open DB unclear (generated code may be erroneous)."<br />

The original Siemens program does not tell, which POU is openend.<br />

"Eingang nicht verbunden."<br />

An input box is used in CFC which has no assignment. For this no code will be generated.<br />

"(element #): Invalid watchexpression '%s'"<br />

The visualization element contains an expression which cannot be monitored. Check variable name<br />

and placeholder replacements.<br />

"' (number): No Input on Expression '' possible"<br />

In the configuration of the visualization object at field input a composed expression is used. Replace<br />

this by a single variable.<br />

1802<br />

"(Element number): Bitmap '%s' was not found"<br />

Make sure, that an external bitmap-file is available in that path which is defined in the visualization<br />

configuration dialog.<br />

1900<br />

1901<br />

"POU '' (main routine) is not available in the library"<br />

The Start-POU (z.B. <strong>PLC</strong>_PRG) will not be available, when the project is used as library.<br />

"Access Variables and Variable Configurations are not saved in a library!"<br />

Access variables and variable configuration are not stored in the library.<br />

CoDeSys V2.3 10-101

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

Saved successfully!

Ooh no, something went wrong!