6F3B0253
Basic Hardware and Function 11
Contents
5. Operatin g System Overview ......................................................... 63
5.1 Operation modes ................................................................................ 64
5.2 About the built-in EEPROM ................................................................ 66
5.3 Scanning ............................................................................................. 69
6. Programming Information ............................................................. 73
6.1 Devices and registers ......................................................................... 74
6.2 Index modification ............................................................................... 86
6.3 Real-time clock/calendar .................................................................... 88
6.4 I/O allocation ....................................................................................... 89
6.5 T1-16S memory mode setting.............................................................. 91
6.6 User program configuration ................................................................ 92
6.6.1 Main program .................................................................................. 94
6.6.2 Sub-program #1 .............................................................................. 95
6.6.3 Timer interrupt program .................................................................. 95
6.6.4 I/O interrupt programs ..................................................................... 96
6.6.5 Subroutines .................................................................................... 97
6.7 Programming language ...................................................................... 98
6.8 Program execution sequence ............................................................ 99
6.9 On-line debug support functions ........................................................ 100
6.10 Password protection ........................................................................... 103
7. Instructions ...................................................................................... 105
7.1 List of instructions .............................................................................. 106
7.2 Instruction specifications .................................................................... 116
8. Special I/ O Funct i o n s .................................................................... 255
8.1 Special I/O function overview ............................................................. 256
8.2 Variable input filter constant .............................................................. 260
8.3 High speed counter ............................................................................ 261
8.3.1 Single phase up-counter ................................................................. 262
8.3.2 Single phase speed-counter ............................................................ 263
8.3.3 Quadrature bi-pulse counter ............................................................ 265
8.4 Interrupt input function ........................................................................ 268
8.5 Analog setting function ....................................................................... 270
8.6 Pulse output function .......................................................................... 271
8.7 PWM output function .......................................................................... 273
9. Maintenance and Checks .............................................................. 275
9.1 Precautions during operation ............................................................. 276
9.2 Daily checks ........................................................................................ 277
9.3 Periodic checks ................................................................................... 278
9.4 Maintenance parts............................................................................... 279
9.5 Battery ................................................................................................. 280