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.

16.4.6 Accessing the Card Inputs<br />

These variables can only be accessed for read by byte, word or long word.<br />

Keyword Value Definition<br />

_IB(a,b,c) Byte<br />

_IW(a,b,c) Word<br />

_IL(a,b,c) Long word<br />

For all these keywords:<br />

- a: Rack number (0 < a < 6),<br />

- b: Card number in rack (0 < b < F),<br />

- c: Logical address in the card (0 < c < 3F).<br />

REMARK To access a particular input, it is necessary to mask the corresponding byte.<br />

16.4.7 Accessing the Card Outputs<br />

These variables can only be accessed for write by byte, word or long word.<br />

Keyword Value Definition<br />

_QB(a,b,c) Byte<br />

_QW(a,b,c) Word<br />

_QL(a,b,c) Long word<br />

For all these keywords:<br />

- a: Rack number (0 < a < 6),<br />

- b: Card number in rack (0 < b < F),<br />

- c: Logical address in the card (0 < c < 3F).<br />

REMARK To access a particular output, it is necessary to mask the corresponding byte.<br />

16.4.8 Standard Data Types<br />

The standard data types of C were redefined for greater clarity.<br />

Standard data type Definition<br />

UINT32 Unsigned variable on 4 bytes<br />

UINT16 Unsigned variable on 2 bytes<br />

UINT8 Unsigned variable on 1 byte<br />

SINT32 Signed variable on 4 bytes<br />

SINT16 Signed variable on 2 bytes<br />

SINT8 Signed variable on 1 byte (character)<br />

16 - 8 en-938846/7

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

Saved successfully!

Ooh no, something went wrong!