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.

3.7.1 Structure of Read Variables %Irc<br />

The block of %Irc read variables (for cards 0 to C) is divided into two parts:<br />

- card diagnostic part,<br />

- card image part.<br />

3.7.1.1 Card Diagnostic Part<br />

This part includes the diagnostic variables read by the user.<br />

These variables are located at the high logical addresses (%Irc3F, %Irc3E, etc.).<br />

The structure is the same for all types of cards.<br />

3.7.1.2 Input Image Part<br />

This part contains the images of the card inputs. The input images are located at the low logical addresses (%Irc00,<br />

%Irc01, etc.). The structure depends on the type of card.<br />

3.7.2 Structure of Write Variables %Qrc<br />

The block of %Qrc write variables (for cards 0 to C) is divided into two parts:<br />

- the card configuration part,<br />

- the card image part.<br />

3.7.2.1 Card Configuration Part<br />

This part includes the configuration variables written by the user.<br />

These variables are located at the high logical addresses (%Qrc3F, %Qrc3E, etc.).<br />

The configuration of the I/O cards must be programmed in initialisation task %INI.<br />

The monitor will read the configuration at the end of the %INI task. Future configuration changes are therefore ignored<br />

by the monitor.<br />

The structure is the same for all types of cards.<br />

3.7.2.2 Output Image Part<br />

This part includes the images of the card outputs.<br />

The output images are located at the low logical addresses (%Qrc00, %Qrc01, etc.).<br />

The structure depends on the card type. Refer to the following sections for the structure of each card.<br />

3.7.3 Card Diagnostic Variables<br />

3.7.3.1 Card Identifier %Irc3E.W<br />

This word is written by the machine processor after interrogating the card.<br />

%Irc3E.W == 0x700 indicates the card is not present.<br />

Example:<br />

%I123E.W Contains the identifier of card 2 of rack 1.<br />

3 - 10 en-938846/6

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

Saved successfully!

Ooh no, something went wrong!