24.01.2015 Views

PLC Programming

  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Errors<br />

Insert an instruction, at least a semicolon.<br />

4267<br />

"Function block call requires function block instance"<br />

The identifier in the functionblock call is no instance. Declare an instance of the desired functionblock<br />

or use the name of an already defined instance.<br />

4268<br />

4269<br />

4270<br />

4271<br />

4272<br />

"Expression expected"<br />

Insert an expression.<br />

"'END_CASE' expected after 'ELSE' -branch"<br />

Terminate the 'CASE' instruction after the 'ELSE' part with an 'END_CASE'.<br />

"'CASE' constant '%ld' already used"<br />

A 'CASE' selector may only be used once within a ‘CASE' instruction.<br />

"The lower border of the range is greater than the upper border."<br />

Modify the area bounds for the selectors so that the lower border is not highte than the upper border.<br />

"Exptecting parameter '' at place in call of ''!"<br />

You can edit a function call in that way, that also the parameter names are contained, not only the<br />

parameter values. But nevertheless the position (sequence) of the parameters must be the same as in<br />

the function definition.<br />

4273<br />

Parts of the 'CASE' -Range '' already used in Range ''<br />

Make sure that the areas for the selectors which are used in the CASE instruction, don’t overlap.<br />

4274<br />

"Multiple 'ELSE' branch in 'CASE' statement"<br />

A CASE instruction may not contain more than one ‚ELSE' instruction.<br />

4300<br />

"Jump requires 'BOOL' as input type"<br />

Make sure that the input for the jump respectively the RETURN instruction is a boolean expression.<br />

4301<br />

"POU '' need exactly inputs" The number of inputs does not correspond to the<br />

number of VAR_INPUT and VAR_IN_OUT variables which is given in the POU definition.<br />

4302<br />

"POU '%s' need exactly %d outputs"The number of outputs does not correspond to the number of<br />

VAR_OUTPUT variables which is given in the POU definition.<br />

10-124 CoDeSys V2.3

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

Saved successfully!

Ooh no, something went wrong!