6F3B0253

6. Programming Information

Special devices and registers (S/SW)

The special devices (S) and special registers (SW) are used for special purposes. See list below.

Device/

Name

 

Function

register

 

 

 

S000

 

0: Initialization

4: HOLD mode

S001

T1/T1S operation mode

1: HALT mode

6: ERROR mode

S002

 

2: RUN mode

 

S003

 

3: RUN-F mode

 

S004

CPU error (down)

ON at error state (related to SW01)

S005

I/O error (down)

ON at error state (related to SW02)

S006

Program error (down)

ON at error state (related to SW03)

S007

EEPROM alarm (alarm)

ON when EEPROM write exceeds 100,000 times

S008

Fixed-time scan time-over

ON when actual scan time is longer than the setting

 

(alarm)

time as fixed-time scan

 

S009

Reserved

 

S00A

Clock/calendar error

ON when clock/calendar data is illegal

 

(alarm)

 

 

S00B

Reserved

 

S00C

Reserved

 

S00D

TL-F10 error (alarm)

ON when TOSLINE-F10 transmission error occurs

S00E

Reserved

 

S00F

Retentive data invalid

ON when retentive data in RAM are invalid

 

(alarm)

 

 

NOTE

(1) These devices are set by the T1-16S operating system. These devices

 

 

are read only for user.

(2)Devices marked as (down) are set in the ERROR mode. Therefore these devices cannot be used in the user program.

(3)Devices marked as (alarm) are set in the normal operation mode. These devices can be used in the user program.

Basic Hardware and Function 79

Page 81
Image 81
Toshiba 6F3B0253 user manual Special devices and registers S/SW