03.01.2013 Views

Toshiba PROSEC T1-16S PLC User's Manual - CTi Automation

Toshiba PROSEC T1-16S PLC User's Manual - CTi Automation

Toshiba PROSEC T1-16S PLC User's Manual - CTi Automation

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.

6. Programming Information<br />

6.1 Devices and registers<br />

74 <strong>T1</strong>-<strong>16S</strong> User’s <strong>Manual</strong><br />

6F3B0253<br />

The <strong>T1</strong>-<strong>16S</strong> program consists of bit-based instructions that handle ON/OFF<br />

information, such as contact and coil instructions, and register-based (16-bit)<br />

instructions, such as those for data transfer and arithmetic operations.<br />

Devices are used to store the ON/OFF information of contacts and coils, and registers<br />

are used to store 16-bit data.<br />

Devices are divided into six types:<br />

X External input devices<br />

Y External output devices<br />

R Auxiliary relay devices<br />

S Special devices<br />

T. Timer devices<br />

C. Counter devices<br />

Registers are divided into eight types:<br />

XW External input registers<br />

YW External output registers<br />

RW Auxiliary relay registers<br />

SW Special registers<br />

T Timer registers<br />

C Counter registers<br />

D Data registers<br />

I, J, K Index registers<br />

Device and register numbers<br />

X devices share the same memory area as XW registers. Device X004, for example,<br />

represents the number 4 bit in the XW00 register.<br />

Bit position / Number<br />

(MSB) (LSB)<br />

F E D C B A 9 8 7 6 5 4 3 2 1 0<br />

XW00 1<br />

X004<br />

Thus, "X004 is ON" means that bit number 4 of XW00 is 1.<br />

Y, R, and S devices work in a similar manner.<br />

<strong>CTi</strong> <strong>Automation</strong> - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net

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

Saved successfully!

Ooh no, something went wrong!