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.

A configuration change requires moving the card from rack 0, slot 7 to extension rack 1, slot 1.<br />

To avoid having to change the user programme, programme %INI as follows:<br />

%Q073D.B = 0x11<br />

%Q073E.W = 0x1500 (32I/24O card identifier)<br />

REMARK The card identifier must be programmed.<br />

This means that:<br />

- 0x07xx is the logical address<br />

- 0x11xx is the geographic address (physical @).<br />

3.7.4.3 Card Priority %Qrc3C.B<br />

Variables<br />

32I/24O card moved to rack 1, slot 1<br />

Must be programmed in the %INI task. This byte sets the card priority. It is used to associate a card with a systematic<br />

task %TS0, %TS1 to %TS4 or %TS5.<br />

This makes it possible to decrease the systematic processing performed each RTC.<br />

Byte value Processing frequency<br />

0 The card is processed once each RTC<br />

1 The card is processed every 5 RTCs in phase with %TS1<br />

2 The card is processed every 5 RTCs in phase with %TS2<br />

3 The card is processed every 5 RTCs in phase with %TS3<br />

4 The card is processed every 5 RTCs in phase with %TS4<br />

5 The card is processed every 5 RTCs in system task %TS5<br />

The inputs of cards with priority i = 1, 2, 3, 4 are read before the call to %TSi.<br />

The outputs of cards with priority i = 1, 2, 3, 4 are written at the end of %TSi.<br />

If the priority byte is not between 0 and 5, the card is not periodically refreshed by the monitor. It can however be<br />

accessed by explicit read and write <strong>function</strong>s (see Sec. 10.2, read_i(...)<strong>function</strong> and 10.3, write_q(...)<strong>function</strong>).<br />

The system initialises the priority byte with the default value of 0.<br />

en-938846/6 3 - 13<br />

3

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

Saved successfully!

Ooh no, something went wrong!