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

Create successful ePaper yourself

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

4.5.5 Order of Evaluation of the Expressions<br />

Literal Elements of Ladder Language<br />

In an expression, the highest priority operations are executed before the lower priority operations.<br />

Operations with the same priority are executed from left to right.<br />

Brackets are used to modify the order of evaluation of the expressions by forcing evaluation of the expression in<br />

brackets first.<br />

4.5.6 Immediate Integers<br />

Immediate integers are limited to 32 bits.<br />

The system considers integers to be signed. Bit 31 is the sign bit.<br />

An immediate integer must be between:<br />

Type Value<br />

Negative hexadecimal integer from -2147483648 to -1<br />

Negative hexadecimal integer from 0x80000000 to 0xFFFFFFFF<br />

Positive decimal integer from 0 to 2147483647<br />

Positive hexadecimal integer from 0x0 to 0x7FFFFFFF<br />

4.5.7 Propagation of Variables - Format of Internal Calculations<br />

The system considers all variables to be signed.<br />

Byte Variables<br />

Bit 7 is the sign bit. -128

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

Saved successfully!

Ooh no, something went wrong!