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.

Errors<br />

4024<br />

4025<br />

4026<br />

4027<br />

4028<br />

4029<br />

4030<br />

4031<br />

4032<br />

4033<br />

4034<br />

"Expecting or or ... before ''"<br />

Enter a valid operand at the named position.<br />

"Expecting ':=' or '=>' before ''"<br />

Enter one of the both operators at the named position.<br />

"'BITADR' expects a bit address or a variable on a bit address"Use a valid bit address (e.g. %IX0.1).<br />

"Integer number or symbolic constant expected"<br />

Enter a integer number or the identifier of a valid constant.<br />

"'INI' operator needs function block instance or data unit type instance"<br />

Check the data type of the variable, for which the INI operator is used.<br />

"Nested calls of the same function are not possible."<br />

At not reentrant target systems and in simulation mode a function call may not contain a call of itself<br />

as a parameter.<br />

Example: fun1(a,fun1(b,c,d),e);<br />

Use a intermediate table.<br />

"Expressions and constants are not allowed as operands of 'ADR'"<br />

Replace the constant or the expression by a variable or a direct address.<br />

"'ADR' is not allowed on bits! Use 'BITADR' instead."<br />

Use BITADR. Please Note:<br />

The BITADR function does not return a physical memory address.<br />

"’’ operands are too few for ''. At least ‘’ are needed"<br />

Check how many operands the named operator requires and add the missing operands.<br />

"’’ operands are too many for ''. At least ‘’ are needed"<br />

Check how many operands the named operator requires and remove the surplus operands.<br />

"Division by 0"<br />

You are using a division by 0 in a constant expression. If you want to provocate a runtime error, use –<br />

if applicable - a variable with the value 0.<br />

10-118 CoDeSys V2.3

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

Saved successfully!

Ooh no, something went wrong!