15.07.2013 Views

Automatic control function programming manual ladder language

Automatic control function programming manual ladder language

Automatic control function programming manual ladder language

SHOW MORE
SHOW LESS

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

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

4.4.2 Literal Entities Authorised in the Action Area of a Ladder<br />

Language element Includes Remark<br />

Variable % .0 to .7 Example: %V3.0<br />

<br />

<br />

[]<br />

<br />

goto() Jump to label (internal in module)<br />

without possible return<br />

call() Jump to label (internal in module)<br />

with return<br />

return([]) Return to calling module or<br />

call()<br />

4.4.3 Grammar of the Literal Elements<br />

Language element Includes Remark<br />

()<br />

<br />

or ()<br />

or ({,}6<br />

)<br />

Example: printf(....)<br />

{<br />

}n For determination of n, see Sec. 4.5.<br />

[]<br />

<br />

or <br />

or ()<br />

{}9 base ten<br />

or 0x{}7 base sixteen<br />

0, 1, 2, 3, 4, 5, 6, 7, 8 or 9<br />

, a, b, c, d, e, f, A, B, C, D, E or F<br />

Variable %.B or .W or .L or .& Example: %V3.L<br />

== Equal<br />

!= Unequal<br />

>= Greater than or equal<br />

(signed comparison)<br />

Greater (signed comparison)<br />

< Less (signed comparison)<br />

- Negation of the operand that follows<br />

~ inversion bit by bit of the operand<br />

that follows<br />

4 - 4 en-938846/5

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

Saved successfully!

Ooh no, something went wrong!