background image

Contents

User’s manual - Functions  

9

PART 3

PROGRAMMING

1.

Overview .................................................................. 139

INFORMATION 

1.1

Aims of part 3 ........................................................... 139

1.2

User memory configuration....................................... 139

2.

User Program Configuration ................................. 141

2.1

Overview ................................................................... 141

2.2

System information  .................................................. 143

2.3

User program ............................................................ 147

2.3.1

Main program ........................................................ 148

2.3.2

Sub-program.......................................................... 148

2.3.3

Interrupt program .................................................. 150

2.3.4

Sub-routines .......................................................... 153

2.4

Comments................................................................. 155

3.

User Data ................................................................. 156

3.1

Overview ................................................................... 156

3.2

Registers and devices  ............................................. 159

3.3

Register data types  .................................................. 182

3.4

Index modification .................................................... 189

3.5

Digit designation  ...................................................... 193

4.

I/O Allocation........................................................... 198

4.1

Overview  .................................................................. 198

4.2

Methods of input/output allocation ........................... 199

4.3

Register and module correspondence ..................... 203

4.4

Network assignment ................................................. 206

5.

Programming Language  ....................................... 211

5.1

Overview  .................................................................. 211

5.2

Ladder diagram ........................................................ 214

5.3

SFC ........................................................................... 221

5.4

Programming precautions......................................... 236

5.5

List of instructions  .................................................... 238

INDEX  ................................................................................................. 264

Summary of Contents for Programmable Controller PROSEC T3

Page 1: ...UM TS03 E003 PROGRAMMABLE CONTROLLER PROSEC T3 USER S MANUAL FUNCTION Ver 1 4 Toshiba Corporation Contents ...

Page 2: ......

Page 3: ......

Page 4: ......

Page 5: ......

Page 6: ......

Page 7: ......

Page 8: ...O allocation 23 3 2 Input and output registers 24 3 3 Rules for I O allocation 26 3 4 Unit base address setting functions 29 4 User Program 31 4 1 User program configuration 31 4 2 System information 32 4 3 User program 33 4 4 Program execution sequence 35 5 User Data 36 5 1 User data types and functions 36 5 2 Conditions for data initialization 39 6 Programming Example 40 6 1 Sample system 40 6 2...

Page 9: ...9 3 User Program Execution Control 92 3 1 Program types 92 3 2 Main Sub programs execution control 93 3 3 Interrupt programs execution control 100 4 Peripheral Memory Support Functions 102 4 1 EEPROM support 102 4 2 IC memory card support 103 5 RAS Functions 104 5 1 Overview 104 5 2 Self diagnostics 104 5 3 Event history 108 5 4 Memory protect function 110 5 5 Power interruption detection function...

Page 10: ...race function 117 5 10 Status latch function 122 5 11 Debug support function 123 5 11 1 Force function 123 5 11 2 Online program changing function 123 5 11 3 Debug mode functions 124 5 12 System diagnostics 131 5 13 Password function 135 ...

Page 11: ... program 150 2 3 4 Sub routines 153 2 4 Comments 155 3 User Data 156 3 1 Overview 156 3 2 Registers and devices 159 3 3 Register data types 182 3 4 Index modification 189 3 5 Digit designation 193 4 I O Allocation 198 4 1 Overview 198 4 2 Methods of input output allocation 199 4 3 Register and module correspondence 203 4 4 Network assignment 206 5 Programming Language 211 5 1 Overview 211 5 2 Ladd...

Page 12: ......

Page 13: ......

Page 14: ......

Page 15: ......

Page 16: ......

Page 17: ......

Page 18: ......

Page 19: ......

Page 20: ......

Page 21: ......

Page 22: ......

Page 23: ......

Page 24: ......

Page 25: ......

Page 26: ......

Page 27: ......

Page 28: ......

Page 29: ......

Page 30: ......

Page 31: ......

Page 32: ......

Page 33: ......

Page 34: ......

Page 35: ......

Page 36: ......

Page 37: ......

Page 38: ......

Page 39: ......

Page 40: ......

Page 41: ......

Page 42: ......

Page 43: ......

Page 44: ......

Page 45: ......

Page 46: ......

Page 47: ......

Page 48: ......

Page 49: ......

Page 50: ......

Page 51: ......

Page 52: ......

Page 53: ......

Page 54: ......

Page 55: ......

Page 56: ......

Page 57: ......

Page 58: ......

Page 59: ......

Page 60: ......

Page 61: ......

Page 62: ......

Page 63: ......

Page 64: ......

Page 65: ......

Page 66: ......

Page 67: ......

Page 68: ......

Page 69: ......

Page 70: ......

Page 71: ......

Page 72: ......

Page 73: ......

Page 74: ......

Page 75: ......

Page 76: ......

Page 77: ......

Page 78: ......

Page 79: ......

Page 80: ......

Page 81: ......

Page 82: ......

Page 83: ......

Page 84: ......

Page 85: ......

Page 86: ......

Page 87: ......

Page 88: ......

Page 89: ......

Page 90: ......

Page 91: ......

Page 92: ......

Page 93: ......

Page 94: ......

Page 95: ......

Page 96: ......

Page 97: ......

Page 98: ......

Page 99: ......

Page 100: ......

Page 101: ......

Page 102: ......

Page 103: ......

Page 104: ......

Page 105: ......

Page 106: ......

Page 107: ......

Page 108: ......

Page 109: ......

Page 110: ......

Page 111: ......

Page 112: ......

Page 113: ......

Page 114: ......

Page 115: ......

Page 116: ......

Page 117: ......

Page 118: ......

Page 119: ......

Page 120: ......

Page 121: ......

Page 122: ......

Page 123: ......

Page 124: ......

Page 125: ......

Page 126: ......

Page 127: ......

Page 128: ......

Page 129: ......

Page 130: ......

Page 131: ......

Page 132: ......

Page 133: ......

Page 134: ......

Page 135: ......

Page 136: ......

Page 137: ......

Page 138: ......

Page 139: ......

Page 140: ......

Page 141: ......

Page 142: ......

Page 143: ......

Page 144: ......

Page 145: ......

Page 146: ......

Page 147: ......

Page 148: ......

Page 149: ......

Page 150: ......

Page 151: ......

Page 152: ......

Page 153: ......

Page 154: ......

Page 155: ......

Page 156: ......

Page 157: ......

Page 158: ......

Page 159: ......

Page 160: ......

Page 161: ......

Page 162: ......

Page 163: ......

Page 164: ......

Page 165: ......

Page 166: ......

Page 167: ......

Page 168: ......

Page 169: ......

Page 170: ......

Page 171: ......

Page 172: ......

Page 173: ......

Page 174: ......

Page 175: ......

Page 176: ......

Page 177: ......

Page 178: ......

Page 179: ......

Page 180: ......

Page 181: ......

Page 182: ......

Page 183: ......

Page 184: ......

Page 185: ......

Page 186: ......

Page 187: ......

Page 188: ......

Page 189: ......

Page 190: ......

Page 191: ......

Page 192: ......

Page 193: ......

Page 194: ......

Page 195: ......

Page 196: ......

Page 197: ......

Page 198: ......

Page 199: ......

Page 200: ......

Page 201: ......

Page 202: ......

Page 203: ......

Page 204: ......

Page 205: ......

Page 206: ......

Page 207: ......

Page 208: ......

Page 209: ......

Page 210: ......

Page 211: ......

Page 212: ......

Page 213: ......

Page 214: ......

Page 215: ......

Page 216: ......

Page 217: ......

Page 218: ......

Page 219: ......

Page 220: ......

Page 221: ......

Page 222: ......

Page 223: ......

Page 224: ......

Page 225: ......

Page 226: ......

Page 227: ......

Page 228: ......

Page 229: ......

Page 230: ......

Page 231: ......

Page 232: ......

Page 233: ......

Page 234: ......

Page 235: ......

Page 236: ......

Page 237: ......

Page 238: ......

Page 239: ......

Page 240: ......

Page 241: ......

Page 242: ......

Page 243: ......

Page 244: ......

Page 245: ......

Page 246: ......

Page 247: ......

Page 248: ......

Page 249: ......

Page 250: ......

Page 251: ......

Page 252: ......

Page 253: ......

Page 254: ......

Page 255: ......

Page 256: ......

Page 257: ......

Page 258: ......

Page 259: ......

Page 260: ......

Page 261: ......

Page 262: ......

Page 263: ......

Page 264: ......

Page 265: ......

Page 266: ...DEBUG mode 125 C Clock calendar function 168 Comments 141 155 Computer link parameters 144 Contant scan 84 Counter device C 158 161 Counter register C 158 161 Cyclic mode sub program 93 98 149 173 D Data initialization 75 82 Data register D 158 161 DEBUG mode 77 124 Debug command 79 80 Device 156 Diagnostics display function 131 170 Digit designation 193 Direct Input Output processing 86 Direct in...

Page 267: ...al specifications 72 H HALT operation mode switch 18 78 HALT command 18 78 HALT mode 77 HOLD mode 77 Hot restart function 113 l i designation 85 201 I O allocation 23 198 I O allocation information 32 145 198 I O allocation rule 26 203 l O disable function DEBUG mode 125 I O interrupt 100 150 I O module with interrupt function 150 I O mounting check 82 IC memory card 71 103 139 Index modification ...

Page 268: ... l O allocation 23 201 Memory capacity 143 Memory protect function 110 Mode control 76 83 Mode transition condition 78 79 80 Module type 24 199 Multitask function 92 236 N N scans execution function DEBUG mode 129 Network assignment information 206 O One time mode sub program 93 96 149 173 Online l O replacement function 115 Online program changing function 90 123 Operation modes 17 76 77 Operatio...

Page 269: ...k 236 237 Programming precautions for SFC 233 234 235 R RAM ROM switch 18 78 79 RAS function 104 Real time clock function clock calender function 168 Register 156 Register data validity check function 133 169 Register device address range 36 37 158 Register device initialization 39 75 82 Retentive memory area 39 144 RUN operation mode switch 18 78 RUN command 18 78 RUN mode 77 RUN F mode 77 Rung 3...

Page 270: ...on setting function DEBUG mode 129 Sub program 92 93 148 Sub program execution time 95 144 Sub routine 153 System comments 143 System configuration 71 System information 32 143 System initialization 74 T Timer device T 87 158 161 Timer interrupt 100 144 150 Timer interrupt interval 144 Timer register T 87 158 161 Timer update 87 Timing relay 88 167 Transition SFC 225 U Unit base address setting fu...

Page 271: ...Index 269 User program memory 31 71 141 W Wait step SFC 229 Watchdog timer check 107 ...

Page 272: ......

Reviews: