28.03.2014 Views

PC Control / Profi Control 645-12M Instruction Manual pdf - Kuhnke

PC Control / Profi Control 645-12M Instruction Manual pdf - Kuhnke

PC Control / Profi Control 645-12M Instruction Manual pdf - Kuhnke

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>PC</strong> <strong>Control</strong> <strong>645</strong>-<strong>12M</strong> used as PLC<br />

4.8.2. Offset addressing<br />

It is possible to indicate an offset together with the absolute<br />

address of a local operand. The address is then made up<br />

by adding absolute address and offset.<br />

L BM00.00[BM00.01] means that the value in BM00.01<br />

(offset) is added to the address of BM00.00. The resulting<br />

new address then responds to the load command.<br />

The value of the offset should be selected in a way that excludes<br />

exceeding the corresponding operand range (max.<br />

256 addresses).<br />

Reason: Exceeding the operand range leads to reading<br />

(with read commands L, A, O...) from or writing (with assignment<br />

commands =, =N) into an operand from another<br />

range.<br />

This may lead to unintended machine functions or to program<br />

destruction.<br />

Examples<br />

L M00.00[5] is the same as L M00.05<br />

= O01.00[6] is the same as = O01.06<br />

4.8.2.1. External operands used as offset<br />

Offset addressing of external operands (PROFIBUS inputs)<br />

is not possible.<br />

Example: L O03a00.00[3]<br />

However, external byte operands can be used as variable<br />

offset.<br />

Example: L BR01.00[BI03a00.]<br />

4 - 43

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

Saved successfully!

Ooh no, something went wrong!