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.

3.7.4 Card Configuration Variables<br />

3.7.4.1 Card Identifier %Qrc3E.W<br />

This field indicates the type of card the user expects to find in the location of rack r and card slot c. It must be<br />

programmed in an %INI task.<br />

It is used to check whether the card/rack configuration of an application is correct. The check is made by comparing<br />

this identifier with the values read in %Irc3E.W.<br />

REMARK If there is a difference between the specified configuration %Qrc3E.W and the actual<br />

configuration %Irc3E.W, the general I/O card configuration error bit %R97F.1<br />

(DEFCONF) is set, the inputs and outputs are no longer refreshed and the watchdog<br />

is reset.<br />

%Qrc3E.W is initialised with 0x700. This value indicates that the card is not configured. In this case, the monitor<br />

processes the card only if it is present in the rack.<br />

Example<br />

%Q123E.W == Contains the identifier of the card expected in slot 2 of rack 1.<br />

3.7.4.2 Logical/Geographic Address Option %Qrc3D.B<br />

This option is used to choose the physical card associated with variables %Irc and %Qrc. This facilitates management<br />

of physical changes of the system since it is not necessary to change the input/output variables in the programme.<br />

If byte %Qrc3D.B == r’c’, the physical card associated with variables %Irc and %Qrc is card c’ of rack r’.<br />

%Qrc3D.B must be initialised with r’c’ in task %INI since the system only reads %Qrc3D.B on return from %INI.<br />

When r’ does not indicate a configured rack or c’ does not indicate a configured card (ERROR_CONFIG_SBCE error),<br />

the general I/O card configuration error bit %R97F.1 (DEFCONF) is set, the inputs and outputs are no longer refreshed<br />

and the watchdog is reset.<br />

As the geographic identification of the bus is carried out before task %INI, the user can use word %Irc3E.W (card<br />

identifier) in this task. If the logical addressing option (%Qrc3D.B) is used, the identifier read on the bus is moved<br />

accordingly in the input/output table.<br />

Example<br />

In the basic configuration, there is a 32I/24O card in slot 7 of the main rack.<br />

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

32I/24O card in rack 0, slot 7<br />

For this card, the user programme is written with variables %I07xx.x and %Q07xx.x.

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

Saved successfully!

Ooh no, something went wrong!