Endura 1
Endura 1
B&R 2003
USER'S MANUAL
4. MODULE ADDRESSING
Contents 3
4 Contents
6. B&R 2003 TIMING
7. GENERAL ACCESSORIES
8. STANDARDS AND
CERTIFICATIONS
B. ERROR MESSAGES
CAN BUS CONTROLLER
INDEX
Contents 5
6 Contents
CHAPTER 1 - GENERAL INFORMATION
1 Introduction .............................................................................................................................................. 27
1.1 General Information ........................................................................................................................ 27
2 B&R 2003 Control System ....................................................................................................................... 30
2.1 Modular Structure ........................................................................................................................... 30
2.2 I/O Bus ............................................................................................................................................ 30
2.3 Supply Voltage ................................................................................................................................ 31
2.4 Terminal Blocks ............................................................................................................................... 31
2.5 Program Memory Modules ............................................................................................................. 31
2.5.1 2003 PCC CPU ................................................................................................................... 31
2.5.2 Remote Slaves .................................................................................................................... 31
2.5.3 CAN Slaves ......................................................................................................................... 31
3 B&R 2003 Expansion ............................................................................................................................... 32
3.1 Remote I/O Bus ............................................................................................................................... 32
3.1.1 Remote Master ................................................................................................................... 32
3.1.2 Remote Slave ...................................................................................................................... 32
3.2 CAN Field Bus ................................................................................................................................. 33
3.2.1 CAN Master ........................................................................................................................ 33
3.2.2 CAN Slave ........................................................................................................................... 33
4 combination possibilities .......................................................................................................................... 34
4.1 Remote I/O Bus ............................................................................................................................... 34
4.2 CAN Field Bus ................................................................................................................................. 34
Contents 7
3 Module Slot Rules ..................................................................................................................................... 53
3.1 Physical Module Slots ..................................................................................................................... 53
3.2 Logical Module Slots ....................................................................................................................... 53
3.4 Configuration Examples .................................................................................................................. 54
3.3 Modules that use logical or analog Module Slots .......................................................................... 54
4 Power Output Table .................................................................................................................................. 56
4.1 Example 1 ....................................................................................................................................... 56
4.2 Example 2 ....................................................................................................................................... 57
4.3 Example 3 ....................................................................................................................................... 58
5 Remote I/O Bus ........................................................................................................................................ 59
5.1 Remote Master ................................................................................................................................ 59
5.2 Remote Slave .................................................................................................................................. 59
5.3 Cabling ............................................................................................................................................ 59
5.3.1 Cabling Diagram ................................................................................................................. 59
5.3.2 Bus Cable ........................................................................................................................... 60
5.3.3 Connecting Bus Cable - Station ....................................................................................... 60
5.3.4 Terminating Resistance ...................................................................................................... 61
5.3.5 Resistor Diagram ................................................................................................................ 61
5.3.6 Remote Bus Plug ................................................................................................................ 61
5.4 Distances ......................................................................................................................................... 62
5.5 PROFIBUS ....................................................................................................................................... 62
5.6 RS485 Network ............................................................................................................................... 62
6 CAN Field Bus .......................................................................................................................................... 63
6.1 Characteristics of the CAN Bus ....................................................................................................... 63
6.2 Bus Lengths and Cable Type .......................................................................................................... 63
6.3 Cabling ............................................................................................................................................ 66
6.3.1 Connecting Bus Cable - Station ....................................................................................... 66
6.3.2 CAN Signals according to CiA/CAL ................................................................................... 66
6.3.3 Branch Lines ....................................................................................................................... 66
6.3.4 Terminating Resistor .......................................................................................................... 67
7 Grounding and Shielding Measures ........................................................................................................ 68
7.1 Grounding the Mounting Rail .......................................................................................................... 68
7.2 Grounding the B&R SYSTEM 2003 Unit ........................................................................................ 69
7.3 Cable Shielding ............................................................................................................................... 70
7.4 Using D-Type Plugs ........................................................................................................................ 70
8 External Protective Circuit ........................................................................................................................ 71
9 Installation Guidelines .............................................................................................................................. 71
10 Storage and Storage Temperatures ....................................................................................................... 71
11 Temperature during Operation, Humidity .............................................................................................. 72
8 Contents
CHAPTER 3 - B&R 2003 MODULES
1 Module Overview B&R 2003 .................................................................................................................... 75
1.1 Sorted Alphabetically according to Module ID ............................................................................... 75
1.2 Sorted according to Group ............................................................................................................. 77
2 Module Racks ........................................................................................................................................... 80
2.1 General Information ........................................................................................................................ 80
2.2 Technical Data ................................................................................................................................. 81
2.2.1 Module Racks with Two Side Sections (7BP7xx.0) ........................................................... 81
2.2.2 Module Racks with One Side Section (7BP70x.1) ............................................................. 82
2.3 Mounting ......................................................................................................................................... 82
3 Bus Controller Modules ............................................................................................................................ 83
3.1 CAN Bus Controller ......................................................................................................................... 83
3.2 Remote I/O Bus Controller .............................................................................................................. 83
3.3 Overview .......................................................................................................................................... 83
3.4 EX270 .............................................................................................................................................. 84
3.4.1 General Information ............................................................................................................ 84
3.4.2 Technical Data .................................................................................................................... 84
3.4.3 Status Display ..................................................................................................................... 85
3.4.4 Connections ....................................................................................................................... 86
3.4.5 Connection Examples ........................................................................................................ 87
3.4.6 Node Number, Start Baudrate ............................................................................................ 88
3.4.7 Automatic Baudrate Recognition ....................................................................................... 89
3.5 EX470 / EX770 ................................................................................................................................ 90
3.5.1 Technical Data .................................................................................................................... 90
3.5.2 Status Display ..................................................................................................................... 91
3.5.3 Power Supply ..................................................................................................................... 92
3.5.4 Interface Pin Assignments .................................................................................................. 93
3.5.5 Wiring .................................................................................................................................. 94
3.5.6 Node Number, Baudrate .................................................................................................... 94
3.6 EX477 / EX777 ................................................................................................................................ 95
3.6.1 Technical Data .................................................................................................................... 95
3.6.2 Status Display ..................................................................................................................... 96
3.6.3 Power Supply ..................................................................................................................... 97
3.6.4 Remote Address ................................................................................................................. 97
3.6.5 Interface Pin Assignments .................................................................................................. 97
3.6.6 Wiring .................................................................................................................................. 98
3.6.7 Repeater or Fibre Optic Connection .................................................................................. 98
4 CPUs ......................................................................................................................................................... 99
4.1 General Information ........................................................................................................................ 99
4.2 RS232 Interface ............................................................................................................................... 99
4.3 CAN Interface .................................................................................................................................. 99
4.4 Local I/O Expansion using B&R 2003 Modules .............................................................................. 99
4.5 Local I/O on the CPU (4 slots) ........................................................................................................ 99
4.6 Application Examples ................................................................................................................... 100
4.7 Programming ................................................................................................................................ 100
4.8 Backup Battery .............................................................................................................................. 100
Contents 9
4.9 Programming the FlashPROM ...................................................................................................... 100
4.10 Legend Sheets ............................................................................................................................ 100
4.11 Overview ...................................................................................................................................... 101
4.12 CP430, CP470, CP474, CP770, CP774 ...................................................................................... 102
4.12.1 Order Data ...................................................................................................................... 102
4.12.2 Technical Data ................................................................................................................ 102
4.12.3 Status Display ................................................................................................................. 104
4.12.4 Power Supply ................................................................................................................. 104
4.12.5 Interfaces ........................................................................................................................ 105
4.12.6 CAN Bus ......................................................................................................................... 105
4.12.7 RS232 Interface .............................................................................................................. 106
4.12.8 MODE Switch ................................................................................................................. 106
4.12.9 Programming System Flash ........................................................................................... 107
4.12.10 CP Interface .................................................................................................................. 108
4.12.11 Legend Sheets ............................................................................................................. 109
4.12.12 Data/Real-time Clock Buffering .................................................................................... 110
4.12.13 System Variable SYS2003 ............................................................................................ 110
4.12.14 Exchanging the Battery ................................................................................................ 111
4.13 CP476 .......................................................................................................................................... 114
4.13.1 General Information ........................................................................................................ 114
4.13.2 Technical Data ................................................................................................................ 115
4.13.3 Status Display ................................................................................................................. 117
4.13.4 Power Supply ................................................................................................................. 117
4.13.5 Interfaces ........................................................................................................................ 118
4.13.6 CAN Bus ......................................................................................................................... 118
4.13.7 RS232 Interface .............................................................................................................. 119
4.13.8 CAN Node Number Switch ............................................................................................. 119
4.13.9 Programming System Flash ........................................................................................... 120
4.13.10 CP Interface .................................................................................................................. 121
4.13.11 Legend Sheets ............................................................................................................. 122
4.13.12 Data/Real-time Clock Buffering .................................................................................... 123
4.13.13 System Variable SYS2003 ............................................................................................ 123
4.13.14 Exchanging the Battery ................................................................................................ 124
5 Program Memory Modules ..................................................................................................................... 127
5.1 Overview ........................................................................................................................................ 127
5.2 ME770 ........................................................................................................................................... 128
5.2.1 General Information .......................................................................................................... 128
5.2.2 Technical Data .................................................................................................................. 128
6 Analog Interface (AF) Module ................................................................................................................. 129
6.1 General Information ...................................................................................................................... 129
6.2 Overview ........................................................................................................................................ 129
6.3 Screw-in Modules .......................................................................................................................... 130
6.4 AF101 ............................................................................................................................................ 131
6.4.1 Technical Data .................................................................................................................. 131
6.4.2 Status LEDs ...................................................................................................................... 132
6.4.3 Legend Sheets ................................................................................................................. 132
6.4.4 Accessing the Screw-in Modules ..................................................................................... 132
6.4.5 Commands - AF101 ......................................................................................................... 133
6.4.6 Program Example ............................................................................................................. 135
10 Contents
7 Digital Input Modules .............................................................................................................................. 138
7.1 General Information ...................................................................................................................... 138
7.2 Input Filter ..................................................................................................................................... 138
7.3 Screw-in Module Overview ........................................................................................................... 139
7.4 I/O Module Overview ..................................................................................................................... 139
7.5 Programming ................................................................................................................................ 139
7.6 DI135 ............................................................................................................................................. 140
7.6.1 Technical Data .................................................................................................................. 140
7.6.2 Four Digital High Speed Inputs ....................................................................................... 142
7.6.3 24 V Incremental Encoder / Encoder Signal Evaluation .................................................. 142
7.6.4 Event Counter ................................................................................................................... 142
7.6.5 Comparator ...................................................................................................................... 143
7.6.6 Input/Output Diagram ....................................................................................................... 144
7.6.7 Connections ..................................................................................................................... 145
7.6.8 Connection Examples ...................................................................................................... 145
7.6.9 Variable Declaration for Incremental Encoder Operation ................................................ 147
7.6.10 Variable Declaration for Event Counter Operation ......................................................... 154
7.7 DI435 ............................................................................................................................................. 159
7.7.1 Technical Data .................................................................................................................. 159
7.7.2 Status LEDs ...................................................................................................................... 160
7.7.3 Input Circuit Diagram ....................................................................................................... 160
7.7.4 Legend Sheets ................................................................................................................. 160
7.7.5 Sink/Source Wiring ........................................................................................................... 161
7.7.6 Variable Declaration ......................................................................................................... 162
7.7.7 Access Using CAN IDs ..................................................................................................... 163
7.7.8 Module Status ................................................................................................................... 163
7.8 DI439.7 .......................................................................................................................................... 164
7.8.1 Technical Data .................................................................................................................. 164
7.8.2 General Information .......................................................................................................... 165
7.8.3 Status LEDs ...................................................................................................................... 166
7.8.4 Input Circuit Diagram ....................................................................................................... 166
7.8.5 Legend Sheets ................................................................................................................. 166
7.8.6 Sink/Source Wiring ........................................................................................................... 167
7.8.7 Variable Declaration ......................................................................................................... 168
7.8.8 Access Using CAN IDs ..................................................................................................... 169
7.8.9 Module Status ................................................................................................................... 169
7.9 DI439.72 ........................................................................................................................................ 170
7.9.1 Technical Data .................................................................................................................. 170
7.9.2 General Information .......................................................................................................... 171
7.9.3 Status LEDs ...................................................................................................................... 172
7.9.4 Input Circuit Diagram ....................................................................................................... 172
7.9.5 Legend Sheets ................................................................................................................. 173
7.9.6 Pin Assignment Group 1 (Y1) ........................................................................................... 173
7.9.7 Pin Assignment Group 2 (Y2) ........................................................................................... 174
7.9.8 Sink/Source Wiring ........................................................................................................... 174
7.9.9 Variable Declaration ......................................................................................................... 175
7.9.10 Access using CAN Identifiers ......................................................................................... 176
7.9.11 Module Status ................................................................................................................. 177
Contents 11
7.10 DI645 ........................................................................................................................................... 178
7.10.1 Technical Data ................................................................................................................ 178
7.10.2 Status LEDs .................................................................................................................... 179
7.10.3 Input Circuit Diagram ..................................................................................................... 179
7.10.4 Legend Sheets ............................................................................................................... 179
7.10.5 Connections ................................................................................................................... 180
7.10.6 Variable Declaration ....................................................................................................... 180
7.10.7 Access Using CAN IDs ................................................................................................... 181
7.10.8 Module Status ................................................................................................................. 182
8 Digital Output Modules ........................................................................................................................... 183
8.1 General Information ...................................................................................................................... 183
8.2 Protective Circuit ........................................................................................................................... 183
8.3 Screw-in Module Overview ........................................................................................................... 183
8.4 I/O Module Overview ..................................................................................................................... 184
8.5 Programming ................................................................................................................................ 184
8.6 DO135 ........................................................................................................................................... 185
8.6.1 Technical Data .................................................................................................................. 185
8.6.2 General Information .......................................................................................................... 186
8.6.3 Operating Modes .............................................................................................................. 187
8.6.4 Special Functions ............................................................................................................. 187
8.6.5 Output Circuit Diagram .................................................................................................... 188
8.6.6 Connections ..................................................................................................................... 189
8.6.7 Connection Example ........................................................................................................ 189
8.6.8 Variable Declaration ......................................................................................................... 190
8.6.9 Access Using CAN IDs ..................................................................................................... 191
8.6.10 Description of Data and Configuration Words ............................................................... 192
8.7 DO164 ........................................................................................................................................... 197
8.7.1 General Information .......................................................................................................... 197
8.7.2 Technical Data .................................................................................................................. 197
8.7.3 Output Circuit Diagram .................................................................................................... 199
8.7.4 Connections ..................................................................................................................... 200
8.7.5 Connection Examples ...................................................................................................... 200
8.7.6 Controllable Phase Angle ................................................................................................. 202
8.7.7 Variable Declaration ......................................................................................................... 206
8.7.8 Access Using CAN IDs ..................................................................................................... 206
8.7.9 Description of Data and Configuration Words ................................................................. 208
8.8 DO435 ........................................................................................................................................... 211
8.8.1 Technical Data .................................................................................................................. 211
8.8.2 Technical Data for the Inputs ........................................................................................... 212
8.8.3 Status LEDs ...................................................................................................................... 213
8.8.4 Input/Output Diagram ....................................................................................................... 213
8.8.5 Legend Sheets ................................................................................................................. 213
8.8.6 Connections ..................................................................................................................... 214
8.8.7 Switching Inductive Loads ............................................................................................... 215
8.8.8 Variable Declaration ......................................................................................................... 216
8.8.9 Access Using CAN IDs ..................................................................................................... 217
8.8.10 Module Status ................................................................................................................. 218
12 Contents
8.9 DO720 ........................................................................................................................................... 219
8.9.1 Technical Data .................................................................................................................. 219
8.9.2 Status LEDs ...................................................................................................................... 220
8.9.3 Output Circuit Diagram .................................................................................................... 220
8.9.4 Legend Sheets ................................................................................................................. 220
8.9.5 Connections ..................................................................................................................... 221
8.9.6 Variable Declaration ......................................................................................................... 221
8.9.7 Access Using CAN IDs ..................................................................................................... 222
8.9.8 Module Status ................................................................................................................... 223
8.10 DO721 ......................................................................................................................................... 224
8.10.1 Technical Data ................................................................................................................ 224
8.10.2 Status LEDs .................................................................................................................... 225
8.10.3 Output Circuit Diagram .................................................................................................. 225
8.10.4 Legend Sheets ............................................................................................................... 225
8.10.5 Connection ..................................................................................................................... 226
8.10.6 Variable Declaration ....................................................................................................... 226
8.10.7 Access Using CAN IDs ................................................................................................... 227
8.10.8 Module Status ................................................................................................................. 227
8.11 DO722 ......................................................................................................................................... 228
8.11.1 Technical Data ................................................................................................................ 228
8.11.2 Status LEDs .................................................................................................................... 229
8.11.3 Output Circuit Diagram .................................................................................................. 229
8.11.4 Legend Sheets ............................................................................................................... 229
8.11.5 Connection ..................................................................................................................... 230
8.11.6 Variable Declaration ....................................................................................................... 230
8.11.7 Access Using CAN IDs ................................................................................................... 231
8.11.8 Module Status ................................................................................................................. 231
9 Digital Mixed Modules ............................................................................................................................ 232
9.1 General Information ...................................................................................................................... 232
9.2 Overview ........................................................................................................................................ 232
9.3 Programming ................................................................................................................................ 232
9.4 DM435 ........................................................................................................................................... 233
9.4.1 Technical Data .................................................................................................................. 233
9.4.2 Status LEDs ...................................................................................................................... 234
9.4.3 Input Circuit Diagram ....................................................................................................... 234
9.4.4 Output Circuit Diagram .................................................................................................... 235
9.4.5 Legend Sheets ................................................................................................................. 235
9.4.6 Connections ..................................................................................................................... 236
9.4.7 Variable Declaration ......................................................................................................... 238
9.4.8 Access Using CAN IDs ..................................................................................................... 239
9.4.9 Module Status ................................................................................................................... 240
9.5 DM438 ........................................................................................................................................... 241
9.5.1 Technical Data .................................................................................................................. 241
9.5.2 Status LEDs ...................................................................................................................... 242
9.5.3 Input Circuit Diagram ....................................................................................................... 242
9.5.4 Output Circuit Diagram .................................................................................................... 243
9.5.5 Legend Sheets ................................................................................................................. 243
Contents 13
9.5.6 Output Pin Assignments (Y1) ........................................................................................... 243
9.5.7 Pin Assignments for Inputs (Y2) ....................................................................................... 244
9.5.8 Input Wiring ...................................................................................................................... 244
9.5.9 Output Wiring ................................................................................................................... 245
9.5.10 Variable Declaration ....................................................................................................... 246
9.5.11 Access using CAN Identifiers ......................................................................................... 247
9.5.12 Module Status ................................................................................................................. 248
9.6 DM465 ........................................................................................................................................... 249
9.6.1 Technical Data .................................................................................................................. 249
9.6.2 Status LEDs ...................................................................................................................... 250
9.6.3 Input Circuit Diagram ....................................................................................................... 252
9.6.4 Output Circuit Diagram .................................................................................................... 252
9.6.5 Legend Sheets ................................................................................................................. 252
9.6.6 Connections ..................................................................................................................... 253
9.6.7 Three Line Connection ..................................................................................................... 255
9.6.8 Variable Declaration ......................................................................................................... 256
9.6.9 Access using CAN Identifiers ........................................................................................... 257
9.6.10 Module Status ................................................................................................................. 258
10 Analog Input Modules .......................................................................................................................... 259
10.1 General Information .................................................................................................................... 259
10.2 Overview ...................................................................................................................................... 259
10.3 Programming .............................................................................................................................. 259
10.4 AI261 ........................................................................................................................................... 260
10.4.1 Technical Data ................................................................................................................ 260
10.4.2 General Information ........................................................................................................ 262
10.4.3 Effective Resolution of the Measurement Range in Bits ................................................ 262
10.4.4 Transient Behavior as Load Changes ............................................................................ 263
10.4.5 Input Circuit Diagram ..................................................................................................... 264
10.4.6 Connection ..................................................................................................................... 264
10.4.7 6-Line Strain Gauge Cells ............................................................................................... 266
10.4.8 Variable Declaration ....................................................................................................... 268
10.4.9 Access using CAN Identifiers ......................................................................................... 268
10.4.10 Terms ............................................................................................................................ 269
10.4.11 Description of Data and Configuration Words ............................................................. 270
10.4.12 AI261 Start-up ............................................................................................................... 273
10.4.13 Standardization ............................................................................................................ 273
10.4.14 Taring ............................................................................................................................ 275
10.5 AI294 ........................................................................................................................................... 277
10.5.1 Technical Data ................................................................................................................ 277
10.5.2 General Information ........................................................................................................ 279
10.5.3 Special Functions ........................................................................................................... 279
10.5.4 Input Circuit Diagram ..................................................................................................... 279
10.5.5 Connection ..................................................................................................................... 280
10.5.6 Variable Declaration ....................................................................................................... 281
10.5.7 Access using CAN Identifiers ......................................................................................... 282
10.5.8 Description of Data and Configuration Words ............................................................... 282
14 Contents
10.6 AI351 ........................................................................................................................................... 285
10.6.1 Technical Data ................................................................................................................ 285
10.6.2 Input Circuit Diagram ..................................................................................................... 286
10.6.3 Connections ................................................................................................................... 287
10.6.4 Connection Examples .................................................................................................... 287
10.6.5 Variable Declaration ....................................................................................................... 289
10.6.6 Access Using CAN IDs ................................................................................................... 289
10.6.7 Description of Data and Configuration Words ............................................................... 290
10.7 AI354 ........................................................................................................................................... 293
10.7.1 Technical Data ................................................................................................................ 293
10.7.2 Input Circuit Diagram ..................................................................................................... 294
10.7.3 Connections ................................................................................................................... 294
10.7.4 Connection Example ...................................................................................................... 295
10.7.5 Variable Declaration ....................................................................................................... 295
10.7.6 Access Using CAN IDs ................................................................................................... 296
10.7.7 Description of Data and Configuration Words ............................................................... 296
10.8 AI774 ........................................................................................................................................... 299
10.8.1 Technical Data ................................................................................................................ 299
10.8.2 Input Circuit Diagram ..................................................................................................... 300
10.8.3 Connections ................................................................................................................... 300
10.8.4 Connection Example ...................................................................................................... 301
10.8.5 Variable Declaration ....................................................................................................... 301
10.8.6 Access using CAN Identifiers ......................................................................................... 302
10.8.7 Description of Data and Configuration Words ............................................................... 302
11 Analog Output Modules ....................................................................................................................... 305
11.1 General Information .................................................................................................................... 305
11.2 Overview ...................................................................................................................................... 305
11.3 Programming .............................................................................................................................. 305
11.4 AO352 ......................................................................................................................................... 306
11.4.1 Technical Data ................................................................................................................ 306
11.4.2 Output Circuit Diagram .................................................................................................. 307
11.4.3 Connections ................................................................................................................... 308
11.4.4 Connection Example ...................................................................................................... 308
11.4.5 Variable Declaration ....................................................................................................... 309
11.4.6 Access Using CAN IDs ................................................................................................... 310
11.4.7 Description of Data and Configuration Words ............................................................... 310
12 Temperature Modules .......................................................................................................................... 312
12.1 General Information .................................................................................................................... 312
12.2 Overview ...................................................................................................................................... 312
12.3 Programming .............................................................................................................................. 312
12.4 AT324 .......................................................................................................................................... 313
12.4.1 General Information ........................................................................................................ 313
12.4.2 Technical Data ................................................................................................................ 313
12.4.3 Input Circuit Diagram ..................................................................................................... 315
12.4.4 Connections ................................................................................................................... 316
12.4.5 Connection Example ...................................................................................................... 316
12.4.6 Variable Declaration ....................................................................................................... 316
12.4.7 Access using CAN Identifiers ......................................................................................... 317
12.4.8 Description of Data and Configuration Words ............................................................... 318
Contents 15
12.5 AT352 .......................................................................................................................................... 320
12.5.1 Technical Data ................................................................................................................ 320
12.5.2 Input Circuit Diagram ..................................................................................................... 321
12.5.3 Connections ................................................................................................................... 322
12.5.4 Connection Examples .................................................................................................... 322
12.5.5 Variable Declaration ....................................................................................................... 323
12.5.6 Access Using CAN IDs ................................................................................................... 324
12.5.7 Description of Data and Configuration Words ............................................................... 324
12.6 AT664 .......................................................................................................................................... 326
12.6.1 Technical Data ................................................................................................................ 326
12.6.2 General Information ........................................................................................................ 327
12.6.3 Operating Modes ............................................................................................................ 327
12.6.4 Special Functions ........................................................................................................... 327
12.6.5 Input Circuit Diagram ..................................................................................................... 328
12.6.6 Connections ................................................................................................................... 328
12.6.7 Connection Example ...................................................................................................... 329
12.6.8 Variable Declaration ....................................................................................................... 329
12.6.9 Access Using CAN IDs ................................................................................................... 330
12.6.10 Description of Data and Configuration Words ............................................................. 331
13 Other Modules ...................................................................................................................................... 333
13.1 General Information .................................................................................................................... 333
13.2 Combination Modules ................................................................................................................. 333
13.3 B&R 2003 Expansions for the CP476 ......................................................................................... 333
13.4 CM211 ......................................................................................................................................... 334
13.4.1 Technical Data ................................................................................................................ 334
13.4.2 Status LEDs .................................................................................................................... 338
13.4.3 Input Circuit Diagram ..................................................................................................... 338
13.4.4 Output Circuit Diagram .................................................................................................. 339
13.4.5 Supply Voltage Monitoring ............................................................................................. 339
13.4.6 Module Design ............................................................................................................... 340
13.4.7 Counter Configuration Possibilities ................................................................................ 341
13.4.8 Timing ............................................................................................................................. 342
13.4.9 Legend Sheets ............................................................................................................... 344
13.4.10 Connections ................................................................................................................. 345
13.4.11 Connection Example Analog Inputs ............................................................................ 346
13.4.12 Connection Example Analog Outputs .......................................................................... 347
13.4.13 Connection Example Incremental Encoder Operation ................................................ 348
13.4.14 Connection Example Event Counter Operation ........................................................... 349
13.4.15 Connection Example Period Measurement ................................................................. 349
13.4.16 Connection Example Gate Measurement .................................................................... 351
13.4.17 Connection Example Digital Outputs ........................................................................... 353
13.4.18 Variable Declaration for the Analog Inputs ................................................................... 353
13.4.19 Variable Declaration for the Analog Outputs ................................................................ 356
13.4.20 Variable Declaration for Incremental Encoder Operation ............................................ 357
13.4.21 Variable Declaration for Event Counter Operation ....................................................... 371
13.4.22 Variable Declaration for Gate and Period Measurement .............................................. 376
13.4.23 Variable Declaration for Digital Inputs/Outputs ............................................................ 381
16 Contents
13.5 CM411 ......................................................................................................................................... 384
13.5.1 Technical Data ................................................................................................................ 384
13.5.2 Status LEDs .................................................................................................................... 386
13.5.3 Input Circuit Diagram ..................................................................................................... 387
13.5.4 Output Circuit Diagram .................................................................................................. 387
13.5.5 Supply Voltage Monitoring ............................................................................................. 388
13.5.6 Module Design ............................................................................................................... 388
13.5.7 Timing ............................................................................................................................. 389
13.5.8 Legend Sheets ............................................................................................................... 391
13.5.9 Connections ................................................................................................................... 391
13.5.10 Connection Example Analog Inputs ............................................................................ 392
13.5.11 Connection Example Analog Outputs .......................................................................... 392
13.5.12 Connection Example Incremental Encoder Operation ................................................ 393
13.5.13 Connection Example Event Counter Operation ........................................................... 393
13.5.14 Connection Example Digital Outputs ........................................................................... 394
13.5.15 Variable Declaration for the Analog Inputs ................................................................... 394
13.5.16 Variable Declaration for the Analog Outputs ................................................................ 396
13.5.17 Variable Declaration for Incremental Encoder Operation ............................................ 398
13.5.18 Variable Declaration for Event Counter Operation ....................................................... 402
13.5.19 Variable Declaration for the Digital Outputs ................................................................. 406
13.6 ME010 ......................................................................................................................................... 408
13.6.1 Technical Data ................................................................................................................ 408
13.6.2 General Information ........................................................................................................ 409
13.6.3 Status LEDs .................................................................................................................... 409
13.6.4 PCMCIA Interface ........................................................................................................... 410
13.7 ME020 ......................................................................................................................................... 411
13.7.1 Technical Data ................................................................................................................ 411
13.7.2 General Information ........................................................................................................ 412
13.7.3 Status LEDs .................................................................................................................... 412
13.7.4 PCMCIA Interface ........................................................................................................... 413
13.7.5 Interface Module Inserts ................................................................................................. 414
13.7.6 Operation of Interface Module Inserts ............................................................................ 414
14 Communication Modules ..................................................................................................................... 415
14.1 Overview ...................................................................................................................................... 415
14.2 IF311 / IF321 ............................................................................................................................... 416
14.2.1 Technical Data ................................................................................................................ 416
14.2.2 Pin Assignments IF311 ................................................................................................... 417
14.2.3 Pin Assignments IF321 ................................................................................................... 417
14.2.4 Bus Termination Resistance IF321 ................................................................................. 417
14.3 IF361 ........................................................................................................................................... 418
14.3.1 Technical Data ................................................................................................................ 418
14.3.2 Pin Assignments ............................................................................................................. 419
14.4 IF371 ........................................................................................................................................... 420
14.4.1 Technical Data ................................................................................................................ 420
14.4.2 Pin Assignments ............................................................................................................. 421
Contents 17
15 Counter and Positioning Modules ........................................................................................................ 422
15.1 Overview ...................................................................................................................................... 422
15.2 NC161 ......................................................................................................................................... 423
15.2.1 Technical Data ................................................................................................................ 423
15.2.2 General Information ........................................................................................................ 424
15.2.3 Operating Modes ............................................................................................................ 424
15.2.4 Special Functions ........................................................................................................... 424
15.2.5 Encoder Connection ...................................................................................................... 425
15.2.6 Terminal Blocks .............................................................................................................. 426
15.2.7 Variable Declaration for Incremental Encoder Operation .............................................. 427
15.2.8 Variable Declaration for Absolute Encoder Operation ................................................... 435
15.2.9 Incremental Encoder Operation ..................................................................................... 440
15.2.10 Absolute Encoder Operation ........................................................................................ 448
16 Accessories .......................................................................................................................................... 450
16.1 Overview ...................................................................................................................................... 450
16.2 AC010 / AC020 ............................................................................................................................ 451
16.2.1 Technical Data ................................................................................................................ 451
16.2.2 General Information ........................................................................................................ 451
16.3 AC011 .......................................................................................................................................... 452
16.3.1 Technical Data ................................................................................................................ 452
16.3.2 General Information ........................................................................................................ 452
16.3.3 Connection Example ...................................................................................................... 453
16.4 TB710 .......................................................................................................................................... 454
16.4.1 Order Data ...................................................................................................................... 454
16.4.2 Technical Data ................................................................................................................ 454
16.5 TB712 .......................................................................................................................................... 455
16.5.1 Order Data ...................................................................................................................... 455
16.5.2 Technical Data ................................................................................................................ 455
16.6 TB718 .......................................................................................................................................... 456
16.6.1 Order Data ...................................................................................................................... 456
16.6.2 Technical Data ................................................................................................................ 456
16.7 TB722 .......................................................................................................................................... 457
16.7.1 Order Data ...................................................................................................................... 457
16.7.2 Technical Data ................................................................................................................ 457
16.8 TB733 .......................................................................................................................................... 458
16.8.1 Order Data ...................................................................................................................... 458
16.8.2 Technical Data ................................................................................................................ 458
16.9 TB736 .......................................................................................................................................... 459
16.9.1 Order Data ...................................................................................................................... 459
16.9.2 Technical Data ................................................................................................................ 459
16.10 TB754 ........................................................................................................................................ 460
16.10.1 Order Data .................................................................................................................... 460
16.10.2 Technical Data .............................................................................................................. 460
16.11 TB772 ........................................................................................................................................ 461
16.11.1 Order Data .................................................................................................................... 461
16.11.2 Technical Data .............................................................................................................. 461
17 Manuals ................................................................................................................................................ 462
17.1 Overview ...................................................................................................................................... 462
18 Contents
CHAPTER 4 - MODULE ADDRESSING
1 Memory Area for a Screw-in Module ...................................................................................................... 465
1.1 Structure ........................................................................................................................................ 465
1.2 Data Words .................................................................................................................................... 465
1.3 Configuration Words ..................................................................................................................... 465
2 Variable Declaration in PG2000 .............................................................................................................. 466
3 Variable Declaration with 2003 PCC CPU .............................................................................................. 467
3.1 General Information ...................................................................................................................... 467
3.2 Module Assignments ..................................................................................................................... 468
3.3 Task Overview ............................................................................................................................... 469
3.4 I/O Library ...................................................................................................................................... 469
3.5 AF101 ............................................................................................................................................ 469
3.5.1 INIT-SP .............................................................................................................................. 469
3.5.2 Cyclic Program ................................................................................................................. 471
3.5.3 Variable Declaration ......................................................................................................... 472
3.5.4 AT664 on CP Interface ..................................................................................................... 473
3.5.5 AT664 on AF101 ............................................................................................................... 474
3.5.6 AI351 ................................................................................................................................. 475
3.5.7 AO352 ............................................................................................................................... 476
3.6 DM435 ........................................................................................................................................... 477
3.6.1 Variable Declaration ......................................................................................................... 477
3.6.2 I/O Type ............................................................................................................................ 477
3.7 DO435 ........................................................................................................................................... 478
3.7.1 Variable Declaration ......................................................................................................... 478
3.7.2 I/O Type ............................................................................................................................ 478
4 Variable Declaration with Remote I/O Slave ........................................................................................... 479
4.1 General Information ...................................................................................................................... 479
4.2 Module Assignments ..................................................................................................................... 479
4.3 Task Overview ............................................................................................................................... 480
4.4 Remote I/O Library ........................................................................................................................ 480
4.5 AF101 ............................................................................................................................................ 481
4.5.1 Variable Declaration ......................................................................................................... 481
4.5.2 AT664 ............................................................................................................................... 481
4.5.3 AI351 ................................................................................................................................. 483
4.5.4 AO352 ............................................................................................................................... 484
4.6 DM435 ........................................................................................................................................... 484
4.6.1 Variable Declaration ......................................................................................................... 484
4.6.2 I/O Type ............................................................................................................................ 485
4.7 DO435 ........................................................................................................................................... 486
4.7.1 Variable Declaration ......................................................................................................... 486
4.7.2 I/O Type ............................................................................................................................ 487
5 Variable Declaration with CAN Slave ...................................................................................................... 488
5.1 General Information ...................................................................................................................... 488
5.2 Module Assignments ..................................................................................................................... 489
5.3 Task Overview ............................................................................................................................... 490
5.4 CANIO Library ............................................................................................................................... 490
Contents 19
5.5 System Configuration ................................................................................................................... 490
5.6 Error Evaluation ............................................................................................................................. 491
5.7 AF101 ............................................................................................................................................ 492
5.7.1 INIT-SP .............................................................................................................................. 492
5.7.2 Cyclic Program ................................................................................................................. 493
5.7.3 Variable Declaration ......................................................................................................... 493
5.7.4 Data Type ......................................................................................................................... 494
5.7.5 AT664 ............................................................................................................................... 494
5.7.6 AI351 ................................................................................................................................. 495
5.7.7 AO352 ............................................................................................................................... 495
5.8 DM435 ........................................................................................................................................... 496
5.8.1 Variable Declaration ......................................................................................................... 496
5.8.2 I/O Type ............................................................................................................................ 496
5.9 DO435 ........................................................................................................................................... 497
5.9.1 Variable Declaration ......................................................................................................... 497
5.9.2 I/O Type ............................................................................................................................ 497
6 CAN ID Access ....................................................................................................................................... 498
6.1 General Information ...................................................................................................................... 498
6.2 Module Assignments ..................................................................................................................... 498
6.3 Task Overview ............................................................................................................................... 499
6.4 Libraries ......................................................................................................................................... 499
6.5 System Modules ............................................................................................................................ 499
6.6 Demo Task .................................................................................................................................... 500
6.6.1 INIT-SP .............................................................................................................................. 500
6.6.2 Cyclic Program ................................................................................................................. 501
6.6.3 Cantab .............................................................................................................................. 504
20 Contents
2.2.8 Inhibit Time for an Alarm Object ....................................................................................... 520
2.2.9 Behavior of Outputs during Operation ............................................................................. 520
2.2.10 Idle Time for Outputs ...................................................................................................... 520
2.2.11 Output Mask for Digital Outputs ..................................................................................... 520
2.2.12 Behavior of the Inputs during Operation ........................................................................ 521
2.2.13 Change Mask "Digital Inputs" ......................................................................................... 521
2.2.14 Cycle Time for Inputs ..................................................................................................... 521
2.2.15 Idle Time for Inputs ......................................................................................................... 521
2.2.16 Inhibit Time for Inputs ..................................................................................................... 522
2.2.17 Transmission Trigger Type for Analog Inputs ................................................................ 522
2.2.18 Value Corresponding to Trigger Type for Analog Inputs ............................................... 522
2.2.19 Parameter Value for Screw-in Modules .......................................................................... 522
2.2.20 Module Code Digital I/O Modules .................................................................................. 522
2.2.21 Module Code for Screw-in Modules ............................................................................... 523
2.2.22 Module Name "BRCIOxx" ............................................................................................... 523
2.2.23 Priority Groups ............................................................................................................... 523
2.2.24 Identifier Directory .......................................................................................................... 523
3 Commands - CAN-Bus Controller .......................................................................................................... 524
3.1 General Structure of the Commands ............................................................................................ 524
3.1.1 Command Request .......................................................................................................... 524
3.1.2 Command Response ....................................................................................................... 525
3.2 Command Codes and Parameters ............................................................................................... 526
3.2.1 Read Slave or Module Status ........................................................................................... 526
3.2.2 Read Number of Modules or Module Code ..................................................................... 526
3.2.3 Reading Output ................................................................................................................ 527
3.2.4 Read Input ........................................................................................................................ 528
3.2.5 Set Output Masks for a Module ........................................................................................ 529
3.2.6 Set Change Mask for a Module ........................................................................................ 530
3.2.7 Set Trigger Type for Analog Input Channel ..................................................................... 530
3.2.8 Set Change Value Corresponding to Trigger Type ......................................................... 530
3.2.9 Write Value to Configuration Word ................................................................................... 531
3.2.10 Read Operating Parameters ........................................................................................... 532
3.2.11 Write Operating Parameters ........................................................................................... 534
3.2.12 Activate Operating Parameters ...................................................................................... 535
3.2.13 Transfer Operating Parameters to Configuration Memory (EX270 internal) .................. 535
3.2.14 Delete Configuration Memory (EX270 internal) ............................................................ 536
3.2.15 Test if Configuration Memory is Available ...................................................................... 536
3.2.16 Read Operating System Version .................................................................................... 536
3.2.17 Restart Slave ................................................................................................................... 536
3.2.18 Set Node Number ........................................................................................................... 537
4 Start Behavior ......................................................................................................................................... 538
4.1 Initialization and Network Class Recognition ............................................................................... 538
4.2 Without NMT Master (class 0) ....................................................................................................... 540
4.3 With NMT Master (class 1 or 2) ..................................................................................................... 541
4.4 DBT Master .................................................................................................................................... 543
5 Fixed Allocation of the CAN Idendifier ................................................................................................... 545
5.1 Packed Mode ................................................................................................................................ 545
5.2 Unpacked Mode ............................................................................................................................ 546
Contents 21
5.3 Packed and Unpacked Mode ....................................................................................................... 546
5.3.1 Examples .......................................................................................................................... 547
6 Allocating the CAN Identifier using DBT Master ..................................................................................... 552
6.1 Packed Mode ................................................................................................................................ 552
6.2 Unpacked Mode ............................................................................................................................ 553
6.2.1 Examples .......................................................................................................................... 554
7 Monitoring Functions .............................................................................................................................. 557
7.1 Voltage Monitoring Bus Controller ................................................................................................ 557
7.2 I/O Module Voltage Monitoring ..................................................................................................... 557
7.3 Life Guarding ................................................................................................................................. 557
7.4 Idle Time Monitoring ..................................................................................................................... 557
7.5 Output Monitoring ......................................................................................................................... 558
7.6 Watchdog ...................................................................................................................................... 558
8 Note ........................................................................................................................................................ 559
CHAPTER 6 - TIMING
1 B&R 2003 System Timing ....................................................................................................................... 563
2 2003 PCC Timing ................................................................................................................................... 564
2.1 Cycles to be Considered .............................................................................................................. 564
2.1.1 Internal Bus Cycle ............................................................................................................ 566
2.1.2 I/O AF Cycle ...................................................................................................................... 567
2.1.3 I/O CP Interface Cycle for CP476 ..................................................................................... 568
2.1.4 Selecting the Task Class ................................................................................................. 568
2.1.5 I/O CPU Load ................................................................................................................... 569
2.1.6 Worst Case Reaction Time ............................................................................................... 569
2.2 Access Procedure ......................................................................................................................... 570
2.2.1 Cyclic Access ................................................................................................................... 570
2.3 Calculation Examples .................................................................................................................... 571
3 Remote I/O Node Timing ........................................................................................................................ 578
3.1 Times to be Considered ................................................................................................................ 578
3.1.1 Access Time ..................................................................................................................... 578
3.1.2 Module Reaction Time ...................................................................................................... 578
3.1.3 Bus Time ........................................................................................................................... 578
3.2 Access Time .................................................................................................................................. 579
3.3 Module Reaction Time .................................................................................................................. 579
3.3.1 Hardware Dependant Internal I/O Bus Cycle ................................................................... 579
3.3.2 Module Reaction Time Calculation .................................................................................. 579
3.3.3 Digital Module Reaction Time .......................................................................................... 580
3.3.4 Analog Module Reaction Time ......................................................................................... 580
3.4 Hardware Guidelines ..................................................................................................................... 581
3.5 Calculation Examples for Module Reaction Time ......................................................................... 581
3.5.1 Calculating Module Reaction Times ................................................................................. 583
22 Contents
4 CAN Node Timing ................................................................................................................................... 584
4.1 Times to be Considered ................................................................................................................ 584
4.1.1 Access Time ..................................................................................................................... 584
4.1.2 Module Reaction Time ...................................................................................................... 584
4.1.3 Bus Time ........................................................................................................................... 584
4.2 Access Time .................................................................................................................................. 585
4.3 Module Reaction Time .................................................................................................................. 585
4.3.1 CAN Object Evaluation ..................................................................................................... 585
4.3.2 Hardware Dependant Internal Bus Cycle ......................................................................... 585
4.3.3 Module Reaction Time Calculation .................................................................................. 586
4.3.4 Digital Module Reaction Time .......................................................................................... 586
4.3.5 Analog Module Reaction Time ......................................................................................... 587
4.4 Hardware Guidelines ..................................................................................................................... 587
4.5 Inhibit Times .................................................................................................................................. 588
4.5.1 Digital Inputs ..................................................................................................................... 588
4.5.2 Analog Inputs ................................................................................................................... 588
4.6 Determine the Inhibit Times .......................................................................................................... 589
4.6.1 Required Time .................................................................................................................. 589
4.6.2 Local Acquisition Time ..................................................................................................... 589
4.6.3 Maximum Bus Load Desired ............................................................................................ 590
4.6.4 Setting the the Inhibit Time ............................................................................................... 590
4.7 Calculation Examples for Module Reaction Time ......................................................................... 592
4.7.1 Example 1 ......................................................................................................................... 592
4.7.2 Example 2 ......................................................................................................................... 592
4.7.3 Example 3 ......................................................................................................................... 592
4.7.4 Example 4 ......................................................................................................................... 593
4.7.5 Example 5 ......................................................................................................................... 596
4.8 Bus Time ....................................................................................................................................... 598
4.8.1 Baudrate ........................................................................................................................... 598
4.8.2 Number of CAN Objects ................................................................................................... 598
4.8.3 Example ............................................................................................................................ 599
Contents 23
1.5 AC913 Bus Adapter, CAN 2x ....................................................................................................... 607
1.5.1 Order Data ....................................................................................................................... 607
1.5.2 General Information ......................................................................................................... 607
1.6 AC916 Bus Termination, RS485 Active ........................................................................................ 608
1.6.1 Order Data ....................................................................................................................... 608
1.6.2 General Information ......................................................................................................... 608
1.7 RS485 Bus Connector .................................................................................................................. 609
1.7.1 Order Data ....................................................................................................................... 609
1.7.2 General Information ......................................................................................................... 609
1.8 AC911 Bus Connector, CAN ........................................................................................................ 610
1.8.1 Order Data ....................................................................................................................... 610
1.8.2 Technical Data ................................................................................................................. 610
1.8.3 General Information ......................................................................................................... 610
1.9 INT1 Interface Converter .............................................................................................................. 611
1.9.1 Order Data ....................................................................................................................... 611
1.9.2 General Information ......................................................................................................... 611
1.9.3 Supply .............................................................................................................................. 611
INDEX
Index .......................................................................................................................................................... 641
Model Number Index ................................................................................................................................. 648
24 Contents
General Information
Chapter 1
CHAPTER 1
GENERAL INFORMATION
General Information 25
26 Chapter 1
1 INTRODUCTION
General Information
1.1 GENERAL INFORMATION
Chapter 1
The B&R SYSTEM 2000 controller generation is an automation system which sets new standards for
performance, functionality and operational security. The B&R 2003, B&R 2005 and B&R 2010 systems
cover the entire application range, from simple logic controllers to complex decentralized automation
systems.
The systems have different structures, expandability, modularity and CPU performance. These systems are
very closely related and therefore meet the fundamental requirements for complete centralized and
decentralized compatibility for the programmer.
General Information 27
B&R SYSTEMS 2003 Characteristics
Hardware:
• Hardware modularity
• Network capable
• Communication interfaces to HMI
• PCC and industrial computer functionality
• EMC according to IEC 61131-2
• Secure I/O bus protocol
• Remote I/O points
• Bit or word processing in a single cycle
• All terminals for 2 or 3 line connection available directly on the module
• No extra terminals needed
Software:
The core of the PCC consists of powerful standard computer components. The processors are supported by
RISC processors which allow fast processing of I/O signals.
Most CPUs use a modular interface concept. Various bus or network systems can be integrated in the B&R
SYSTEM 2003 efficiently using plug-in interface modules.
The computer core uses components which provide the functionality of an industrial PCC. Bit, byte and word
access is possible in a single cycle which increases speed when combining PCC links and industrial computer
functionality.
System Interface
The system interface is the sum of all I/O modules, i.e. the interface between PCC and the machine/system
being controlled. All B&R SYSTEMS 2003 I/O modules are protected from external disturbances using
suitable EMC measures (IEC 61131-2 standard).
Length and structure of the I/O bus can be adjusted according to the requirements of the machine/system.
That means the connection points for I/O signals do not have to be in the same location as the PCC CPU. Using
remote I/O bus segments (Remote I/O, CAN I/O) allows the optimal structure to be created for the respective
application. I/O modules are installed on the machine/system where they are needed. Cabling to the core of
the PCC is reduced to a two conductor or fibre optic cable.
28 Chapter 1
Network Capability
General Information
Network capability and the possibility to communicate with systems from other manufacturers have become
a must for all industrial controllers. The B&R 2000 PCC family meets many of these requirements using system-
Chapter 1
wide and multi-system communication possibilities.
Software Concept
Special attention was given to simple operation and programming. Standard PLC programs run cyclically, i.e.
the program is repeated in a loop. To increase efficiency, the B&R SYSTEM 2000 also offers the possibility
to use various tasks with different cycle times. In this way, critical program sections (e.g. reaction to trigger
signals) can be processed faster than the evaluation of slower events (e.g. polling keys).
Programming
The CPU is programmed using the programming system PG2000 or Automation Studio. Several program-
ming languages are available:
PL2000 High Level Language (structured) IEC 1131 Ladder Diagram (LAD)
General Information 29
2 B&R 2003 CONTROL SYSTEM
2.1 MODULAR STRUCTURE
Back wall of
Controller and I/O modules are hung in the module switching cabinet
rack and screwed to a threaded strip which is in- Module
Module rack
serted in the aluminum frame. The electrical connec-
tion between the modules is achieved by pushing the
modules together (integrated plug and socket con-
nection in the modules).
Characteristics:
• Compact Structure
• Industrial standard bus technology
• Integrated terminals
- 2 or 3 line connections
- No extra terminals needed
30 Chapter 1
2.3 SUPPLY VOLTAGE
General Information
The supply voltage for the B&R 2003 control system is provided by a power supply integrated in the
controller.
Chapter 1
2.4 TERMINAL BLOCKS
The pin assignments for the individual modules can be found in this manual (Chapter "B&R 2003 Modules").
The construction of the terminal blocks has the following advantages for the PCC user:
• Terminal blocks are easy to remove using two ejection levers on the module or directly on the terminal
blocks.
• Most terminal blocks are available with screw clamps and also with cage clamps.
When using a B&R 2003 CPU, application programs and the operating system are stored in the CPU.
When used as a remote I/O slave, the application programs are stored in the remote master (e.g. EX150). The
operating system is programmed in the remote I/O bus controller.
When used as a CAN slave, the application programs are stored in the CAN master (e.g. XP152). The
operating system is programmed in the CAN bus controller. Configuration data can be placed in configuration
memory (inserted from the front).
The CAN bus controller EX270 is equipped with an internal S-EEPROM. Operating system parameters can
be stored in this S-EEPROM.
General Information 31
3 B&R 2003 EXPANSION
Expansion can take place in two ways:
• Remote I/O Bus
• CAN Field Bus
Main rack
3.1.1 Remote Master
System and I/O modules
The remote master is a B&R SYSTEM 2005, B&R
SYSTEM 2010 or B&R SYSTEM 2000 Logic Scan-
Local expansion
ner.
I/O modules
Cabling
Max. 1200 m (without repeater)
Transfer Distance
(without repeater) I/O modules
DC OK
EX477 DO435 DO435
32 Chapter 1
3.2 CAN FIELD BUS
CAN Bus Master
General Information
Up to 32 B&R SYSTEM 2003 CAN slaves can be CP474
connected to a CAN master. When using ME770
Chapter 1
2003
The CAN master is a B&R SYSTEM 2003, B&R CAN Bus Slave
EX470
SYSTEM 2005, B&R SYSTEM 2010 or B&R SYS-
TEM 2000 Logic Scanner. 2003
INPUT N# INPUT N#
N# 24 VDC 24 VDC
6 mA 6 mA
0 0 OUTPUT OUTPUT
E 2 E 2 24 VDC 24 VDC
C 4 C 4 1 A 100% 1 A 100%
A 8 6 8 6
A 2 A 50% S# 2 A 50% S#
OK 1 2 3 4 5 6 7 8 OK 1 2 3 4 5 6 7 8
U U
STATUS
EX470 DC OK DO435 DO435
2003
INPUT N# INPUT N#
N#
Cabling
24 VDC 24 VDC
6 mA 6 mA
0 0 OUTPUT OUTPUT
E 2 E 2 24 VDC 24 VDC
C 4 C 4 1 A 100% 1 A 100%
A 8 6 A
8 6 2 A 50% S# 2 A 50% S#
OK 1 2 3 4 5 6 7 8 OK 1 2 3 4 5 6 7 8
U U
STATUS
EX470 DC OK DO435 DO435
2003
INPUT N# INPUT N#
N# 24 VDC 24 VDC
6 mA 6 mA
0 0 OUTPUT OUTPUT
E 2 E 2 24 VDC 24 VDC
C 4 C 4 1 A 100% 1 A 100%
A 8 6 A
8 6 2 A 50% S# 2 A 50% S#
OK 1 2 3 4 5 6 7 8 OK 1 2 3 4 5 6 7 8
STATUS U U
Transfer Distance
EX470 DC OK DO435 DO435
Supply: + 24 VDC
General Information 33
4 COMBINATION POSSIBILITIES
4.1 REMOTE I/O BUS
Up to 32 B&R SYSTEM 2003 CAN slaves can be connected to a CAN master (B&R SYSTEM 2005, B&R
SYSTEM 2010 or B&R SYSTEM 2000 Logic Scanner). When using ME770 configuration memory or the
internal S-EEPROM on the EX270 bus controller, up to 63 B&R SYSTEM 2003 CAN slaves can be connected.
34 Chapter 1
Project Planning
and Installation
Chapter 2
CHAPTER 2
PROJECT PLANNING
AND INSTALLATION
Dimensions [mm]
Project Planning
and Installation
Chapter 2
Height 115
Height
Width
7BP7xx.0 M x 76.5 + 8.5
7BP70x.1 M x 76.5 +4.5
Depth 70
To mount the PCC, you need a mounting rail which conforms to the standard IEC 50022. This mounting rail
is to be attached conductively to the back wall of the switching cabinet.
1
35
7.5
Module racks for the B&R SYSTEM 2003 are aluminum frames which are available in different widths. Module
racks with one or two side sections are used depending on the controller.
Width
2 side sections
115 mm
Screws for installation
Threaded strip
23 mm
Angled GND
1 aluminum frame connector
1.3.2 Dimensions
All module racks are 115 mm high. Side sections and mounting screws must be included in the width of the
module racks.
BP702.1 2 157.5 1)
BP702 2 161.5 2)
BP703 3 238 2)
BP704 4 314.5 2)
BP705 5 391 2)
BP706 6 467.5 2)
BP707 7 544 2)
BP708 8 620.5 2)
BP709 9 697 2)
BP710 10 773.5 2)
1)
Includes 4.5 mm for one side section and mounting screws. These module racks are e.g. used together with the EX270 CAN bus
controller.
2)
Includes 8.5 mm for two side sections and mounting screws.
38 Chapter 2
1.4 MODULES
• Controller
• CPUs
• I/O Modules
• Screw-in Modules (ScrM)
The technical data indicates which group the respective modules belong to.
Project Planning
and Installation
Chapter 2
Controller, CPU and I/O modules are hung in the module rack and screwed to a threaded strip which is inserted
in the aluminum frame. The electrical connection between the modules is made using a 9 pin D-type plug and
socket (simply push the modules together).
The risks surrounding typical ribbon cable, and inserting a module into the wrong slot no longer exist.
Screw-in modules (ScrM) are installed on the adapter module or on the CP interface. Up to four screw-in
modules can be installed on each adapter module or CP interface.
Controller and I/O modules are only available in single widths. CPUs are available in single or double widths.
The EX270 CAN Bus Controller is an exception. It is not hung in the module rack, instead it is screwed to the
left side of the module rack.
Single width
76.5 mm 70 mm
INPUT N#
24 VDC
6 mA
OUTPUT
24 VDC
1 A 100%
2 A 50% S#
OK 1 2 3 4 5 6 7 8
115 mm
DO435
Labeling field
The CPUs CP474, CP476 and CP774 are double width modules. The depth remains the same as for other
modules.
153
2003
CP N# CAN RS232
INTERFACE
0
E 2
C C 4
S# A 8 6
MODE
1 2 3 4
ERR RUN
Supply: + 24 VDC
Labeling field
20 68
115
N#
STATUS
EX270
40 Chapter 2
1.4.2 Screw-in Module Dimensions
18 64
N#
S#
1
ANALOG
INPUT
Project Planning
and Installation
Chapter 2
85
AI351
31
Note the to the following dimensions for horizontal installation in a switching cabinet or housing.
30
Width + 22 mm
2003
INPUT N#
INPUT N#
N# 24 VDC 24 VDC
6 mA 6 mA
E
0
2 E
0
2
OUTPUT OUTPUT
24 VDC 24 VDC
C 4 C 4 1 A 100% 1 A 100%
A 8 6 A8 6 2 A 50% S# 2 A 50% S#
OK 1 2 3 4 5 6 7 8 OK 1 2 3 4 5 6 7 8
STATUS U U
h
CAN CAN / ID
Supply: + 24 VDC
35
Width
There must be at least 30 mm free space above the modules. The cooling vents are not allowed to be covered.
Underneath B&R SYSTEM 2003, 35mm space is to be left free for the input, output and supply cables.
Standard Installation
If the controller is hung in the module racks, 22 mm must be added to the width listed in section "Module Racks"
(column "7BP7xx.0").
The CAN Bus Controller EX270 is used together with the module racks having model numbers 7BP70x.1. The
EX270 is screwed onto the module rack instead of the left side section.
31 mm is to be added to the width listed in section "Module Rack" (column "7BP70x.1").
42 Chapter 2
1.5.2 Vertical Installation
Note the to the following dimensions for vertical installation in a switching cabinet or housing.
30 b 35
Project Planning
and Installation
Screw hole
Chapter 2
Height + 22 mm
Height
Screw hole
At least 30mm space must be left free on the left side of the module. The cooling vents are not allowed to be
covered.
On the right hand side of the B&R SYSTEM 2003, 35mm space is to be left free for the input and output cables.
The CPU is held in place by two screws to stop it slipping. Before the module rack can be screwed in place,
the threaded strips must be pushed in and the left side section and screws for the right side section must be
pre-mounted.
The modules must be arranged so that the controller is on the lower end of the module rack.
If the controller is hung in the module racks, 22 mm must be added to the width listed in section "Module Racks"
(column "7BP7xx.0") when calculating the height.
The CAN Bus Controller EX270 is used together with the module racks having model numbers 7BP70x.1. The
EX270 is screwed onto the module rack instead of the left side section.
To calculate the height, 31 mm is to be added to the width listed in section "Module Rack" (column "7BP70x.1").
44 Chapter 2
2 INSTALLATION
Project Planning
and Installation
3) Installing the entire unit
Chapter 2
2.1 MODULES
In order to install and fasten the modules on the module rack, you first need to push in the threaded strip
and attach the left hand side section (see following diagram).
• If the threaded strip has not been pre-installed, push it into the aluminum frame:
• Attach the left hand section to the aluminum frame using two screws. This side section serves as a
stop for the first module.
• Place the modules on the module rack (the side section which has already been installed, is not shown
in the diagram):
Threaded strip
Screws
A B
46 Chapter 2
• Push the first module until it reaches the side section.
2003
N#
0 0
E 2 E 2
C 4 C 4
A 6 A 6
8 8
STATUS
EX470 DC OK
Project Planning
and Installation
CAN CAN / ID
Chapter 2
Supply: + 24 VDC
• Each module is fastened to the threaded strip using two screws. The angled ground connector should
also be mounted on the power supply and connected to the module rack.
• The other modules are installed as described above, pushed to the left and fastened with screws.
2003
INPUT N#
24 VDC
N# 6 mA
OUTPUT
0 0 24 VDC
E 2 E 2
C 4 C 4 1 A 100%
A 6 A 6 2 A 50% S#
8 8
OK 1 2 3 4 5 6 7 8
U
STATUS
DO435
EX470 DC OK
CAN CAN / ID
Supply: + 24 VDC
IN
Make sure that the modules are pushed together properly so that there is a perfect connection
between the modules.
• After you have installed and fastened all the modules on the module rack, install the right hand side
section.
Carry out the following steps to mount the module rack on the mounting rail:
• Place the module rack in the desired position on the mounting rail
48 Chapter 2
2.3 TERMINAL BLOCKS
Single row terminal blocks are used to connect the I/O modules. These terminal blocks are ejected using
two levers. Pressing the ejection lever (using a screw driver) causes the terminal block to be pushed out of
the pin block so it can then be easily taken out. They are available with screw clamps and also with cage
clamps.
Project Planning
and Installation
Chapter 2
Screw clamps Cage clamps
Daisy Chaining
The horizontal arrangement of the terminals allows the supply voltage to be daisy chained:
03
B&R 20
INPUT INPUT
N# 24 VDC N# 24 VDC N#
5 mA 5 mA
OUTPUT OUTPUT
24 VDC 24 VDC
1 A 100 % 1 A 100 %
2 A 50 % S# 2 A 50 % S#
OK 1 2 3 4 5 6 7 8 OK 1 2 3 4 5 6 7 8
STATUS U U
CAN CAN / ID
Supply:
+ 24 VDC
- -
+
+
This diagram shows an example of how supply lines can be daisy chained.
Daisy chaining is only possible if all modules use the same voltage. Additionally, the maximum current load
for the connector is not allowed to be exceeded.
The connections for all the inputs and outputs are arranged one on top of the other. This makes things a lot
clearer, and enables you to find the correct cable for the corresponding channel easily. Possible exceptions
are listed in the module description. INPUT
24 VDC N#
5 mA
OUTPUT
24 VDC
1 A 100 %
2 A 50 % S#
OK 1 2 3 4 5 6 7 8
U
DO435
50 Chapter 2
2.4 SCREW-IN MODULES
The screw-in modules are delivered in a specially made box. The box has two functions:
The controller is often not available while a system is being cabled, e.g. it is still being used by the programmer
Project Planning
and Installation
to complete the control program.
Chapter 2
The electrician connects the cable to terminal blocks and D-type connectors which will be plugged onto
the controller when it is installed. However, the screw-in modules AI261, AI294 and NC161 do not have to
be cabled directly.
In order to protect the screw-in modules from dust and mechanical damage until the controller is installed,
these modules are to be placed in the box again after it is wired.
Í Fold the box in the corner with the pre-made fold lines. This prevents the box from falling off.
Fold in corner
Top view:
Not folded
Folded
52 Chapter 2
3 MODULE SLOT RULES
3.1 PHYSICAL MODULE SLOTS
A physical module slot corresponds to the actual space required for a module. 2003 modules can be single
width (= one module slot) or double width (= two module slots), for example like the CP474.
Module racks are available in different lengths for the B&R SYSTEM 2003. The palette ranges from one module
slot to a maximum of 10 module slots (= module addresses or slots in the hardware view in Automation
Studio).
Project Planning
and Installation
3.2 LOGICAL MODULE SLOTS
Chapter 2
Some modules require more than one logical module slot. That means the number of physical module slots
required is different than the number of logical modules slots required.
The maximum number of logical module slots depends on the controller. The controller also determines how
many module slots are available for analog modules (see section Modules that use Logical or Analog Module
Slots).
Various controller are limited as to the maximum number of analog module slots and also as to the module
slots for analog modules. Both conditions must be met.
CP476 16 4 18
EX270 4 2 12
Attention: A module slot does not correspond to the module address, it only refers to the actual space
required on the module rack.
The following table contains an overview of the modules that use more than two logical module slots or that
use an analog module slot.
If a module uses two logical module slots and one of these slots is an analog module slot, it is always the first
one. The number of logical module slots corresponds to the module addresses used (= slots in the hardware
view in Automation Studio).
DI439 2 --- 1
DM465 2 --- 1
CM211 2 1 1
CM411 2 2 1
Example 1
1 2 3
0 1 2 3 4
54 Chapter 2
Example 2
1 2
CM211 CM211
Incorrect
EX270
Configuration
Project Planning
and Installation
Chapter 2
Logical Module Assignments (module addresses):
0 1 2 3 4
Module slot 3 is not allowed to be used for analog modules on the EX270!
An output table can be created quickly and clearly using the table found in Chapter 3 "B&R 2003 Modules"
in section "Module Overview". The column labeled "Power" contains values for the power provided by a module
or required by a module.
4.1 EXAMPLE 1
+8.8
-1.5
-0.2
-0.5
-1.2
-0.4
DI435
Number of Modules
DM435
1
3
1
1
1
1
DM435
DM435
Power [W]
12.6
0.5
0.2
0.5
1.2
0.4
AT664
Module
DM435
AO352
CP474
AT664
DI435
AI354
AO352
CP474 / AI354
56 Chapter 2
4.2 EXAMPLE 2
57
Chapter 2
Project Planning
and Installation
Chapter 2 58
CP474 / AI774
AI774
AI774
AI774
AF101 / AI774
AI774
AI774
DI435
AF101
CP474
Module
AI774
AI774
AF101 / AI774
AI774
AI774
0,4
0,3
0,2
AI774
12,6
Power [W]
AF101 / AI774
AI774
AI774
AI774
AF101 / AI774
AI774
4
4
1
20
AI774
AI774
DI435
Number of Modules
DI435
-8
-1.2
-0.8
+2.6
+12.6
Total Power [W]
DI435
DI435
B&R SYSTEM 2003 with maximum configuration for analog signals.
4.3 EXAMPLE 3
5 REMOTE I/O BUS
The remote I/O bus allows remote I/O modules to be connected to a remote master. The distance without
a repeater can be up to 1200 m. Up to 31 slaves can be connected to a remote master without using a
repeater.
The remote master is a B&R SYSTEM 2005, B&R SYSTEM 2010 or B&R SYSTEM 2000 Logic Scanner.
Project Planning
and Installation
Chapter 2
5.2 REMOTE SLAVE
A remote I/O bus controller EX477 or EX777 is required to add a B&R SYSTEM 2003 as slave in a remote
I/O network.
5.3 CABLING
Bus cable
Max. distance
depends on transfer rate
The remote master and slave modules are connected using a two conductor cable and must conform to the
following specifications.
Both ends of the two conductor cable must be equipped with terminating resistors.
The two wires of the bus cable are connected to the individual stations as follows:
8 3 8 3 8 3 8 3 8 3
DATA
DATA
60 Chapter 2
5.3.4 Terminating Resistance
The remote bus is equipped with terminating resistors at both ends. B&R can provide remote bus connectors
0G1000.00-090 complete with integrated terminating resistors. Terminating resistors can be turned on or
off.
Project Planning
and Installation
5 4 3 2 1
Chapter 2
9 8 7 6
Switch for
terminating resistor
OFF
ON
N2 P2 N1P1
DATA Stress releif
DATA
Bus lines
DATA
DATA
The maximum distance of a remote system depends on the rate of communication transfer:
1200 100
1000 181
400 500
200 1000
100 2000
5.5 PROFIBUS
The cabling described for the remote I/O bus (bus cable, terminating resistors) is also used for PROFIBUS.
The PROFIBUS network modules available from B&R are NW150 for the B&R SYSTEM 2005 and NW100
for the B&R SYSTEM 2010.
The cabling described for the remote I/O bus (bus cable, terminating resistors) is also used for a RS485
network.
62 Chapter 2
6 CAN FIELD BUS
6.1 CHARACTERISTICS OF THE CAN BUS
• Low costs
• High noise immunity through differential signals
• Bus structure
• Open system
• Fast data transfer for small data packages (up to 8 bytes)
Project Planning
and Installation
• Error detection by means of CRC (Cyclic Redundancy Check) and frame testing -> Hamming
Chapter 2
Distance 6
• Predictable transmission time for high priority messages (real time behavior)
• Easy use
The type of cable used depends largely on the required bus length and the number of nodes. The bus length
is mainly determined by the bit rate.
The table on the next page includes values for the maximum bus length depending on the transfer speed
and the Synchronization Jump Width (SJW). Permitted oscillator tolerances are given in the fourth column.
The synchronization jump width (SJW) is the factor that determines the range over which the CPU can be
synchronized. The bigger the SJW, the shorter the maximum bus length.
500 0 1) 67 0.121
1 56 0.242
2 33 0.363
3 10 0.485
1 192 0.242
2 147 0.363
3 101 0.485
1 465 0.242
2 374 0.363
3 283 0.485
1 601 0.242
2 488 0.363
3 374 0.485
50 0 1) 1397 2) 0.121
1 1284 2) 0.242
2 1056 2) 0.363
3 829 0.485
20 0 1) 3613 2) 0.121
1 3329 2) 0.242
2 2761 2) 0.363
3 2193 2) 0.485
10 0 1) 7306 2) 0.121
1 6738 2) 0.242
2 5602 2) 0.363
3 4456 2) 0.485
1)
B&R default settings
2)
For CiA (CAN in Automation) the maximum Bus length is 1000 m.
64 Chapter 2
Relationship between the number of nodes and bus length for certain cable types using B&R default settings:
64
Project Planning
60
and Installation
Chapter 2
50
40 500 kBaud
125 kBaud
(Belden, Lapp)
Number (Belden)
of nodes 30
250 kBaud 125 kBaud
20 (Belden, Lapp) (Lapp)
10
0 50 100 150 200 250 300 350 400 450 500 550 600
Bus length [m]
Manufacturer Baudrate Bus Length Baudrate Bus Length Baudrate Bus Length
A 4 conductor twisted pair cable should be used for the bus cable.
3 7 2 3 72 3 7 2 3 7 2 3 72
CAN_L
CAN_H
CAN_GND
(CAN_V+)
CAN_SHLD CAN_SHLD
(CAN_SHLD) Shield
All CAN interfaces from B&R are supplied internally, therefore CAN_V+ does not have to be connected in
CAN networks which do not contain devices from other manufacturers.
Branch lines should be avoided if possible. However, it is possible to connect nodes to the bus with a branch
line as long as the distance is less than 30cm.
66 Chapter 2
6.3.4 Terminating Resistor
CAN networks are cabled using a bus structure. Both ends of the bus are equipped with terminating resistors.
5 4 3 2 1
9 8 7 6
Project Planning
and Installation
Chapter 2
120 Ω
The terminating resistor is already integrated in the CAN bus plug 7AC911.9 available from B&R. The
terminating resistor can be turned on or off.
Cable clamps
for bus line
L H G
OFF
Switch for L H G
9 pin D-type socket
terminating resistor
ON
L H G Stress releif
CAN_G
CAN_H Bus lines
CAN_L
Generally this kind of interference can not be avoided. However, if suitable grounding, shielding and other
protective measures are taken, the negative influence of the devices can be considerably reduced. These
protective measures include switching cabinet grounding, module grounding, cable shield grounding,
protective circuits on electromagnetic switching elements and correct use of cables (choosing the proper
cable cross section and type)
• Protective grounding
• Dissipation of electromagnetic disturbances
In the B&R SYSTEM 2003 system, the dissipation of electromagnet disturbances and protective grounding
are carried out by the aluminum frame (module rack) and the mounting rail.
For the purpose of grounding, it is necessary to provide a good conductive connection between the mounting
rail and the metal back wall. The mounting rail is to be connected conductively to the back wall every 10cm.
This is achieved by inserting a contact washer with the fastening screw:
Metal Metal
back wall back wall
For lacquered or coated back walls, an adequate connection is only guaranteed if the screw is threaded
into the back wall. If this is not the case, a contact washer must be must be placed between the fastening
nut and the base plate.
The switching cabinet back wall must be connected with GND ( )
68 Chapter 2
7.2 GROUNDING THE B&R SYSTEM 2003 UNIT
The CPU or bus controller module must be directly connected to the aluminum frame using an angled metal
connector.
a) The angled metal connector is fastened to the GND terminal on the module:
Supply:
+ 24 VDC
- -
+
+
Project Planning
and Installation
Chapter 2
Aluminum frame
Angled GND
connector
b) Connect the angled metal connector with the aluminum frame (module rack) using the pre-installed
screw and threaded strip:
GND clamp
Threaded strip
in aluminum frame
Angled GND
connector
c) A cable with sufficient cross-section must be connected to the GND terminal for protective grounding
in order to compensate for differences in potential.
The following connections are made with shielded cables (possible exceptions are listed in the respective
module descriptions):
• Analog I/O
• Interface Cable
• Encoder Cable
The cable shield is to be grounded at both ends. The shields are grounded directly to the module housing
on the B&R SYSTEM 2003 side.
If any differences in potential exist between the B&R SYSTEM 2003 and connected elements, transient current
flows over the cable shield (often causes the cable to get warm) and the following steps should be taken:
The cable shield is to be separated and bridged with a high quality capacitor (ceramic or foil capacitors
of at least 47nF with a low impedance at high frequencies).
Cable shield
connected with cable
clamp and housing
aaaaaaa
bbbbbbb
bbbbbbb
aaaaaaa
aaaaaaa
bbbbbbb
aaaaaaa
bbbbbbb
aaaaaaa
bbbbbbb
aaaaaaa
bbbbbbb
The shield is connected directly to the plug housing. Connecting the shield by twisting it then attaching
it considerably reduces the shielding effect, and should therefore be avoided.
If metallic screw clamps are not available, the cable shield can be externally grounded with a grounding
clamp (see cable shield grounding).
70 Chapter 2
8 EXTERNAL PROTECTIVE CIRCUIT
An external protective circuit is necessary for relay output modules. It can be installed either on the switching
load, or between the terminal block and the load. Most manufacturers of solenoid operated valves and
contactors offer suitable protective circuit devices for the respective elements.
Project Planning
and Installation
• Inverse Diode: Can only be used for D.C.
Chapter 2
• Diode/Z diode combination: Can only be used for D.C. This type of protective circuit allows shorter
switch-off times.
9 INSTALLATION GUIDELINES
• The B&R SYSTEM 2003 can be installed both vertically and horizontally. Please observe the
installation guidelines in the "Installation Dimensions" section.
• The maximum environmental temperature during operation refers to the air temperature underneath
the module (air inlet).
• Enough distance must be left between devices which cause high electromagnetic interference (e.g.
frequency converters, transformers, motor regulators etc.) and the B&R SYSTEM 2003.The distance
between the devices and the B&R SYSTEM 2003 should be as large as possible. If possible they
should be shielded using an isolation sheet (VACOPERM 7 metal).
Inserting/Removing Modules
• Module may not be inserted or removed when the PCC is turned on unless otherwise stated for that
particular module.
• Unplug cabled connectors before modules are removed.
• Power connections are not allowed to be inserted or removed with voltage applied (remove power).
72 Chapter 2
CHAPTER 3
B&R 2003 MODULES
The power supplied by CPUs, Remote I/O and CAN bus controllers is shown with a "+" sign. The power
required by a module is shown with a "-" sign. Add the positive and negative power values to calculate the
power balance. The sum is not allowed to be less than zero.
B&R ID Code
Page
ID Description Power Model No.
AC010 5 bus covers 7AC010.9 451
AC011 5 stress relief attachment including mounting material 7AC011.9 452
Chapter 3
AI261 1 Input used to evaluate a full-bridge strain gauge, 24 bit resolution $20 -0.6 W 7AI261.7 260
AI294 4 inputs for potentiometer displacement gauge, 13 bit resolution $22 -0.5 W 7AI294.7 277
AI351 1 input ±10 V or 0 - 20 mA, 12 bit resolution + sign U: $02 U/I: -0.3 W 7AI351.70 285
Pot.: $02 Pot.: -0.7 W
I: $03
AI354 4 inputs ±10 V, 12 bit resolution + sign $04 -0.5 W 7AI354.70 293
AI774 4 inputs 0 20 mA, 12 bit resolution $06 -0.4 W 7AI774.70 299
AO352 2 outputs ±10 V / 0 - 20 mA $0E -1.2 W 7AO352.70 306
AT324 4 inputs for temperature sensors (PT100 / PT1000 / KTY10-6 / KTY84-130) $3E -0.1 W 7AT324.70 313
AT352 2 inputs for PT100 sensors (3-line) $1A -0.4 W 7AT352.70 320
AT664 4 inputs for thermocouples $0C -0.4 W 7AT664.70 326
BP701.1 Module rack, for 1 module, incl. right side section 7BP701.1 80
BP702 Module rack, for 2 modules 7BP702.0 80
BP702.1 Module rack, for 2 modules, incl. right side section 7BP702.1 80
BP703 Module rack, for 3 modules 7BP703.0 80
BP704 Module rack, for 4 modules 7BP704.0 80
BP705 Module rack, for 5 modules 7BP705.0 80
BP706 Module rack, for 6 modules 7BP706.0 80
BP707 Module rack, for 7 modules 7BP707.0 80
BP708 Module rack, for 8 modules 7BP708.0 80
BP709 Module rack, for 9 modules 7BP709.0 80
BP710 Module rack, for 10 modules 7BP710.0 80
CM211 8 digital inputs, 24 VDC, 20 kHz, one or two channel counter, incremental encoder, $C3 -1.5 W 7CM211.7 334
8 digital outputs, 24 VDC, 0.5 A, comparator function,
2 analog inputs ±10 V or 0 - 20 mA, 12 bit resolution,
2 analog outputs ±10 V, 12 bit resolution
CM411 3 digital inputs, 24 VDC, 50 kHz, one or two channel counter, incremental encoder, $C2 -2.4 W 7CM411.70-1 384
2 digital outputs, 24 VDC, 0.5 A, comparator function,
3 analog inputs ±10 V, 16 bit resolution,
3 analog outputs ±10 V, 16 bit resolution
1)
CP430 CPU, 24 VDC, 100 KByte SRAM, 256 KByte FlashPROM +7 W 7CP430.60-1 102
CP470 CPU, 24 VDC, 100 KByte SRAM, 256 KByte FlashPROM +14 W 1)
7CP470.60-1 102
1)
CP474 CPU, 24 VDC, CP Interface, 100 KByte SRAM, 512 KByte FlashPROM +12.6 W 7CP474.60-1 102
CP476 CPU, 24 VDC, CP Interface, 750 KByte SRAM, 1.5 MByte FlashPROM +12.5 W 1)
7CP476.60-1 114
1)
CP770 CPU, 100 - 240 VAC, 100 KByte SRAM, 256 KByte FlashPROM +14 W 7CP770.60-1 102
CP774 CPU, 100 - 240 VAC, CP Interface, 100 KByte SRAM, 512 KByte FlashPROM +12.6 W 1)
7CP774.60-1 102
1)
Integrated power supply for simple PANELWARE controllers, e.g. P120
Page
ID Description Power Model No.
DI135 4 inputs, 24 VDC, event counter/incremental encoder operation, 1 comparator output, 24 VDC $12 -0.4 W 7DI135.70 140
DI435 8 inputs, 24 VDC, input delay 1 ms $E1 -0.2 W 7DI435.7 159
DI439.7 16 inputs, 24 VDC, input delay 1 ms, termnal block connection $ED -0.4 W 7DI439.7 164
DI439.72 16 inputs, 24 VDC, input delay 1 ms, D-type connection $E9 -0.4 W 7DI439.72 170
DI645 8 inputs, 100 - 240 VAC, input delay 50 ms $E5 -0.2 W 7DI645.7 178
DM435 8 digital inputs, 24 VDC, input delay 1 ms, $E3 -0.5 W 7DM435.7 233
8 digital outputs, 24 VDC, 0.5 A, terminal block connection
DM438 8 digital inputs, 24 VDC, input delay 1 ms, $E7 -0.5 W 7DM438.72 241
8 digital outputs, 24 VDC, 0.5 A
DM465 16 digital inputs, 24 VDC, input delay 1 ms, $F7 -1.1 W 7DM465.7 249
16 digital outputs, 24 VDC, 0.5 A
DO135 4 FET outputs, 12 - 24 VDC, 0.1 A, 100 kHz $14 -0.2 W 7DO135.70 185
DO164 4 FET outputs (4 triac couplers), 48 - 125 VAC, 50 mA, zero voltage input $3C -0.6 W 7DO164.70 197
DO435 8 channels, each channel can be declared either as output or input $EB -0.5 W 7DO435.7 211
Max. 8 FET outputs, 24 VDC, 2 A, max. 8 inputs, 24 VDC, inputs delay 1 ms
DO720 8 relay outputs, 240 VAC / 30 VDC, 2 A $E2 -1.4 W 7DO720.7 219
DO721 4 relay outputs, 240 VAC / 24 VDC, 4 A $E6 -1.4 W 7DO721.7 224
DO722 8 relay outputs, 240 VAC / 24 VDC, 2.5 A $F2 -1.4 W 7DO722.7 228
EX270 CAN bus controller, 24 VDC supply +4 W 7EX270.50-1 84
EX470 CAN bus controller, 24 VDC supply +14 W 1)
7EX470.50-1 90
EX477 Remote I/O bus controller, 24 VDC supply +14 W 7EX477.50-2 95
EX770 CAN bus controller, 100 - 240 VAC supply +14 W 2)
7EX770.50-1 90
EX777 Remote I/O bus controller, 100 - 240 VAC supply +14 W 7EX777.50-1 95
IF311 Interface module with RS232 interface $18 7IF311.7 416
without PW operator panel -0.5 W
with PW operator panel P120 / P121 -1.6 W
IF321 Interface module with RS485/RS422 interface $16 -1.4 W 7IF321.7 416
IF361 Interface module with RS485 interface (PROFIBUS-DP slave) $25 -2.6 W 7IF361.70-1 418
IF371 Interface module with CAN interface $24 -2.5 W 7IF371.70-1 420
ME010 2003 expansion for the CP476, 1 PCMCIA slot $00 -0.35 W 7ME010.9 408
ME020 2003 expansion for CP476, 1 PCMCIA slot, $02 -0.7 W 7ME020.9 411
1 slot for interface module inserts
ME770 Configuration memory for CAN bus controller -0.1 W 7ME770.5 128
NC161 Encoder module, input frequency 100 kHz, incremental or absolute, 32 bit resolution $10 -0.3 W 7NC161.7 423
-I enc * 5.4 V
TB710 Single row terminal block, 10 pin, screw clamps 7TB710.9 454
TB710 Single row terminal block, 10 pin, cage clamps 7TB710.91 454
TB710 30 single row terminal blocks, 10 pin, screw clamps 7TB710:90-01 454
TB710 30 single row terminal blocks, 10 pin, cage clamps 7TB710:91-01 454
TB712 Single row terminal block, 12 pin, screw clamps 7TB712.9 455
TB712 Single row terminal block, 12 pin, cage clamps 7TB712.91 455
TB712 20 single row terminal blocks, 12 pin, screw clamps 7TB712:90-02 455
TB712 20 single row terminal blocks, 12 pin, cage clamps 7TB712:91-02 455
TB718 Single row terminal block, 18 pin, screw clamps 7TB718.9 456
TB718 Single row terminal block, 18 pin, cage clamps 7TB718.91 456
TB718 20 single row terminal blocks, 18 pin, screw clamps 7TB718:90-02 456
TB718 20 single row terminal blocks, 18 pin, cage clamps 7TB718:91-02 456
TB722 2-row terminal block, 22 pin, screw clamps 7TB722.9 457
TB722 2-row terminal block, 22 pin, cage clamps 7TB722.91 457
TB733 3-row terminal block, 33 pin, screw clamps 7TB733.9 458
TB733 3-row terminal block, 33 pin, cage clamps 7TB733.91 458
TB736 2-row terminal block, 36 pin, screw clamps 7TB736.9 459
TB736 2-row terminal block, 36 pin, cage clamps 7TB736.91 459
1)
EX470 with revision 30.xx or higher
2)
EX770 with revision 10.xx or higher
Page
ID Description Power Model No.
TB754 3-row terminal block, 54 pin, screw clamps 7TB754.9 460
TB754 3-row terminal block, 54 pin, cage clamps 7TB754.91 460
TB772 4-row terminal block, 72 pin, cage clamps 7TB772.91 461
B&R ID Code
Page
ID Description Power Model No.
Module Racks
BP701.1 Module rack, for 1 module, incl. right side section 7BP701.1 80
BP702 Module rack, for 2 modules 7BP702.0 80
Chapter 3
BP704 Module rack, for 4 modules 7BP704.0 80
BP705 Module rack, for 5 modules 7BP705.0 80
BP706 Module rack, for 6 modules 7BP706.0 80
BP707 Module rack, for 7 modules 7BP707.0 80
BP708 Module rack, for 8 modules 7BP708.0 80
BP709 Module rack, for 9 modules 7BP709.0 80
BP710 Module rack, for 10 modules 7BP710.0 80
Bus Controller Modules
EX270 CAN bus controller, 24 VDC supply +4 W 7EX270.50-1 84
1)
EX470 CAN bus controller, 24 VDC supply +14 W 7EX470.50-1 90
EX477 Remote I/O bus controller, 24 VDC supply +14 W 7EX477.50-2 95
EX770 CAN bus controller, 100 - 240 VAC supply +14 W 2)
7EX770.50-1 90
EX777 Remote I/O bus controller, 100 - 240 VAC supply +14 W 7EX777.50-1 95
CPUs
CP430 CPU, 24 VDC, 100 KByte SRAM, 256 KByte FlashPROM +7 W 3)
7CP430.60-1 102
3)
CP470 CPU, 24 VDC, 100 KByte SRAM, 256 KByte FlashPROM +14 W 7CP470.60-1 102
CP474 CPU, 24 VDC, CP Interface, 100 KByte SRAM, 512 KByte FlashPROM +12.6 W 3)
7CP474.60-1 102
CP476 CPU, 24 VDC, CP Interface, 750 KByte SRAM, 1.5 MByte FlashPROM +12.5 W 3)
7CP476.60-1 114
3)
CP770 CPU, 100 - 240 VAC, 100 KByte SRAM, 256 KByte FlashPROM +14 W 7CP770.60-1 102
CP774 CPU, 100 - 240 VAC, CP Interface, 100 KByte SRAM, 512 KByte FlashPROM +12.6 W 3)
7CP774.60-1 102
Program Memory Modules
ME770 Configuration memory for CAN bus controller -0.1 W 7ME770.5 128
Analog Interface (AF) Module
AF101 Adapter module AF101 $C0 -0.3 W 7AF101.7 131
Digital Input Modules
DI135 4 inputs, 24 VDC, event counter/incremental encoder operation, 1 comparator output, 24 VDC $12 -0.4 W 7DI135.70 140
DI435 8 inputs, 24 VDC, input delay 1 ms $E1 -0.2 W 7DI435.7 159
DI439.7 16 inputs, 24 VDC, input delay 1 ms, termnal block connection $ED -0.4 W 7DI439.7 164
DI439.72 16 inputs, 24 VDC, input delay 1 ms, D-type connection $E9 -0.4 W 7DI439.72 170
DI645 8 inputs, 100 - 240 VAC, input delay 50 ms $E5 -0.2 W 7DI645.7 178
1)
EX470 with revision 30.xx or higher
2)
EX770 with revision 10.xx or higher
3)
Integrated power supply for simple PANELWARE controllers, e.g. P120
Page
ID Description Power Model No.
Digital Output Modules
DO135 4 FET outputs, 12 - 24 VDC, 0.1 A, 100 kHz $14 -0.2 W 7DO135.70 185
DO164 4 FET outputs (4 triac couplers), 48 - 125 VAC, 50 mA, zero voltage input $3C -0.6 W 7DO164.70 197
DO435 8 channels, each channel can be declared either as output or input $EB -0.5 W 7DO435.7 211
Max. 8 FET outputs, 24 VDC, 2 A, max. 8 inputs, 24 VDC, inputs delay 1 ms
DO720 8 relay outputs, 240 VAC / 30 VDC, 2 A $E2 -1.4 W 7DO720.7 219
DO721 4 relay outputs, 240 VAC / 24 VDC, 4 A $E6 -1.4 W 7DO721.7 224
DO722 8 relay outputs, 240 VAC / 24 VDC, 2.5 A $F2 -1.4 W 7DO722.7 228
Digital Mixed Modules
DM435 8 digital inputs, 24 VDC, input delay 1 ms, $E3 -0.5 W 7DM435.7 233
8 digital outputs, 24 VDC, 0.5 A, terminal block connection
DM438 8 digital inputs, 24 VDC, input delay 1 ms, $E7 -0.5 W 7DM438.72 241
8 digital outputs, 24 VDC, 0.5 A
DM465 16 digital inputs, 24 VDC, input delay 1 ms, $F7 -1.1 W 7DM465.7 249
16 digital outputs, 24 VDC, 0.5 A
Analog Input Modules
AI261 1 Input used to evaluate a full-bridge strain gauge, 24 bit resolution $20 -0.6 W 7AI261.7 260
AI294 4 inputs for potentiometer displacement gauge, 13 bit resolution $22 -0.5 W 7AI294.7 277
AI351 1 input ±10 V or 0 - 20 mA, 12 bit resolution + sign U: $02 U/I: -0.3 W 7AI351.70 285
Pot.: $02 Pot.: -0.7 W
I: $03
AI354 4 inputs ±10 V, 12 bit resolution + sign $04 -0.5 W 7AI354.70 293
AI774 4 inputs 0 20 mA, 12 bit resolution $06 -0.4 W 7AI774.70 299
Analog Output Modules
AO352 2 outputs ±10 V / 0 - 20 mA $0E -1.2 W 7AO352.70 306
Temperature Modules
AT324 4 inputs for temperature sensors (PT100 / PT1000 / KTY10-6 / KTY84-130) $3E -0.1 W 7AT324.70 313
AT352 2 inputs for PT100 sensors (3-line) $1A -0.4 W 7AT352.70 320
AT664 4 inputs for thermocouples $0C -0.4 W 7AT664.70 326
Other Modules
CM211 8 digital inputs, 24 VDC, 20 kHz, one or two channel counter, incremental encoder, $C3 -1.5 W 7CM211.7 334
8 digital outputs, 24 VDC, 0.5 A, comparator function,
2 analog inputs ±10 V or 0 - 20 mA, 12 bit resolution,
2 analog outputs ±10 V, 12 bit resolution
CM411 3 digital inputs, 24 VDC, 50 kHz, one or two channel counter, incremental encoder, $C2 -2.4 W 7CM411.70-1 384
2 digital outputs, 24 VDC, 0.5 A, comparator function,
3 analog inputs ±10 V, 16 bit resolution,
3 analog outputs ±10 V, 16 bit resolution
ME010 2003 expansion for the CP476, 1 PCMCIA slot $00 -0.35 W 7ME010.9 408
ME020 2003 expansion for CP476, 1 PCMCIA slot, $02 -0.7 W 7ME020.9 411
1 slot for interface module inserts
Communication Modules
IF311 Interface module with RS232 interface $18 7IF311.7 416
without PW operator panel -0.5 W
with PW operator panel P120 / P121 -1.6 W
IF321 Interface module with RS485/RS422 interface $16 -1.4 W 7IF321.7 416
IF361 Interface module with RS485 interface (PROFIBUS-DP slave) $25 -2.6 W 7IF361.70-1 418
IF371 Interface module with CAN interface $24 -2.5 W 7IF371.70-1 420
Counter and Positioning Modules
NC161 Encoder module, input frequency 100 kHz, incremental or absolute, 32 bit resolution $10 -0.3 W 7NC161.7 423
-I enc * 5.4 V
Page
ID Description Power Model No.
Accessories
AC010 5 bus covers 7AC010.9 451
AC011 5 stress relief attachments including mounting material 7AC011.9 452
AC020 1 bus cover 7AC020.9 451
TB710 Single row terminal block, 10 pin, screw clamps 7TB710.9 454
TB710 Single row terminal block, 10 pin, cage clamps 7TB710.91 454
TB710 30 single row terminal blocks, 10 pin, screw clamps 7TB710:90-01 454
TB710 30 single row terminal blocks, 10 pin, cage clamps 7TB710:91-01 454
TB712 Single row terminal block, 12 pin, screw clamps 7TB712.9 455
TB712 Single row terminal block, 12 pin, cage clamps 7TB712.91 455
TB712 20 single row terminal blocks, 12 pin, screw clamps 7TB712:90-02 455
TB712 20 single row terminal blocks, 12 pin, cage clamps 7TB712:91-02 455
TB718 Single row terminal block, 18 pin, screw clamps 7TB718.9 456
TB718 Single row terminal block, 18 pin, cage clamps 7TB718.91 456
TB718 20 single row terminal blocks, 18 pin, screw clamps 7TB718:90-02 456
TB718 20 single row terminal blocks, 18 pin, cage clamps 7TB718:91-02 456
Chapter 3
TB733 3-row terminal block, 33 pin, screw clamps 7TB733.9 458
TB733 3-row terminal block, 33 pin, cage clamps 7TB733.91 458
TB736 2-row terminal block, 36 pin, screw clamps 7TB736.9 459
TB736 2-row terminal block, 36 pin, cage clamps 7TB736.91 459
TB754 3-row terminal block, 54 pin, screw clamps 7TB754.9 460
TB754 3-row terminal block, 54 pin, cage clamps 7TB754.91 460
TB772 4-row terminal block, 72 pin, cage clamps 7TB772.91 461
Manuals
B&R 2003 Users Manual, German MASYS22003-0 462
B&R 2003 Users Manual, English MASYS22003-E 462
The module racks for the B&R SYSTEM 2003 are aluminum frames. They are installed on mounting rail.
Controller and I/O modules are hung in the module rack and screwed to a threaded strip which is inserted
in the aluminum frame. The electrical connection between the modules is achieved by pushing the modules
together (integrated plug and socket connection in the modules).
We recommend always using the smallest possible module rack. If module slots do remain free, fitting a bus
cover on the first free slot is recommended. In this way, the last module can be protected from damage.
The module address is determined by the controller and the module slot. The CP interface is accessed using
module address 0.
1 2 3 4 5 6 7 8 9 10 Module slot
BP701
BP702
BP703
BP704
BP705
BP706
BP707
BP708
BP709
BP710
Chapter 3
Module ID BP702 BP703 BP704
Short Description 2003 Module Racks 2003 Module Racks 2003 module racks
for 2 modules for 3 modules for 4 modules
Material Aluminum
Fastening the Modules Hang modules in the rack and screw into place (threaded strips in frame)
Mounting the Module Rack Integrated mounting mechanics (standard mounting rail)
Dimensions [mm]
Height 115 115 115
Width 1) 161.5 238, 314.5
Depth 23 23 23
1)
Includes 8.5 mm for two side sections and mounting screws.
Short Description 2003 Module Racks 2003 Module Racks 2003 module racks
for 5 modules for 6 modules for 7 modules
Fastening the Modules Hang modules in the rack and screw into place (threaded strips in frame)
Mounting the Module Rack Integrated mounting mechanics (standard mounting rail)
Dimensions [mm]
Height 115 115 115
Width 1) 391, 467.5 544
Depth 23 23 23
1)
Includes 8.5 mm for two side sections and mounting screws.
Short Description 2003 Module Racks 2003 Module Racks 2003 module racks
for 8 modules for 9 modules for 10 modules
Material Aluminum
Fastening the Modules Hang modules in the rack and screw into place (threaded strips in frame)
Mounting the Module Rack Integrated mounting mechanics (standard mounting rail)
Dimensions [mm]
Height 115 115 115
Width 1) 620.5 697,773.5
Depth 23 23 23
1)
Includes 8.5 mm for two side sections and mounting screws.
These module racks are e.g. used together with the EX270 CAN bus controller.
Material Aluminum
Fastening the Modules Hang modules in the rack and screw into place (threaded strips in frame)
Mounting the Module Rack Integrated mounting mechanics (standard mounting rail)
Dimensions [mm]
Height 115 115
Width 1) 81 157,5
Depth 23 23
1)
Includes 4.5 mm for one side section and mounting screws.
2.3 MOUNTING
Mounting the module racks is described in Chapter 2, "Project Planning and Installation".
A CAN bus controller takes over the communication with a PCC, PLC or other CAN capable devices.
A remote I/O bus controller takes over communication between a B&R remote master (B&R SYSTEM 2005,
B&R SYSTEM 2010 or B&R SYSTEM 2000 Logic Scanner) and the B&R 2003 I/O system.
3.3 OVERVIEW
Module Description
EX270 2003 CAN bus controller, 24 VDC, 4 W supply, 1 CAN interface, electrically isolated, network capable,
Order terminal block TB712 separately!
EX470 2003 CAN bus controller, 24 VDC, 14.5 W supply, 2 CAN interfaces, electrically isolated, network capable
EX477 2003 remote I/O bus controller, 24 VDC, 14 W supply, 1 electrically isolated RS485 interface for connection to remote I/O
bus
EX770 2003 CAN bus controller, 100-240 VAC, 14.5 W supply, 2 CAN interfaces, electrically isolated, network capable
EX777 2003 remote I/O bus controller, 100-240 VAC, 14 W supply, 1 electrically isolated RS485 interface for connection to remote
I/O bus
The CAN bus controller EX270 is not hung in the module rack, instead it is screwed on the module rack instead
of the left side plate.
Module ID EX270
General Information
Module width 20 mm
Installation The controller is screwed onto the module rack instead of the left side plate
Peripheral
84 EX270 Chapter 3
Module ID EX270
Power Supply
Input Voltage
Minimum 18 VDC
Nominal 24 VDC
Maximum 30 VDC
Voltage Monitoring The power supply is only activated starting with an input voltage of approx. +15 V.
Therefore the status LED DC-OK is not required.
Chapter 3
LED Meaning
STATUS (2 color)
Green blinking during the boot Boot phase (initialization and connection to the CAN network).
phase
If an error occurs during this phase, the green LED stops blinking.
The error is indicated by periodic blinking of the red LED. In this case, a
hardware reset (switch off/on) is required.
The amount of pulses periodically output provides information about the cause
of the error:
Green blinking with double pulse The controller indicates when time monitoring responds and updates the digital
and analog outputs.
If a CAN object does not appear within the defined time (default: 640 ms), the
effected outputs are reset and the green LED begins to blink (double pulse).
After the first valid object arrives, the current values are immediately accepted.
The green LED only returns to normal operation after a time delay of 30 s. The
time delay is used to identify intermittent problems with the outputs. These
problems are otherwise very difficult to recognize.
STATUS (2 color)
Orange Faulty outputs. However, the CAN bus controller is still in network operation.
1)
Orange blinking Voltage alarm on a module
Orange blinking with double The total power for the module exceeds the power supply on the EX270.
pulse
The basic load on the digital and analog modules is calculated once when
booting. If a digital module is found which is not entered in the module list for
the operating system, there is generally no power monitoring.
If the power calculation was successful, the analog modules are continually
monitored during operation. One screw-in module is tested per second.
The node number was changed during operation. The new node number setting
is ignored; the node continues to function.
1)
No longer evaluated by all digital mixed modules starting with Rev. D0.
3.4.4 Connections
The voltage supply and the CAN interface connections are made using a 12 pin terminal block.
The electrically isolated CAN interface is available twice on the plug. The individual CAN connections are linked
with each other which allows a node to be easily connected to a CAN network (see section "Connection
Examples").
For more information on wiring CAN field bus systems, see chapter 2, "Project Planning and Installation",
section "CAN Field Bus".
The Bus controller EX270 is already equipped with a bus termination resistor. To activate it, a jumper must
be placed between pin 1 and pin 2.
Pin Assignment
1 Bridge for termination resistor
2 Bridge for termination resistor
1
1
3 CAN_H
2
3
4 CAN_GND
4
5 CAN_L
5
6 7
6 Shield
8
7 CAN_H
9 10 11 12
8 CAN_GND
12
9 CAN_L
10 Shield
TB712
11 Supply +24 VDC
12 Supply GND
86 EX270 Chapter 3
3.4.5 Connection Examples
1
2
CAN_H
3
CAN_GND
4
CAN_L
5
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa
Shield
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
6
CAN_H
7
CAN_GND
8
CAN_L
9 10 11 12
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Shield
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
+
Supply +24 VDC
= Supply GND
-
Chapter 3
Termination resistor
active Termination resistor
1
Termination resistor
2
CAN_H
3
CAN_GND
4
CAN_L
5
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
Shield
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
6
7
8
9 10 11 12
The node number and start baudrate are set with the two number switches on the CAN bus controller:
Start baudrate, see section "Automatic Baudrate Recognition".
SW1
SW0
4 0 S-EEPROM S-EEPROM
4 1 ... F 1 ... 15 125
8 0 S-EEPROM S-EEPROM
8 1 ... F 1 ... 15 20
9 0 ... F 16 ... 31 20
A 0 ... F 32 ... 47 20
B 0 ... F 48 ... 63 20
C 0 S-EEPROM S-EEPROM
C 1 ... F 1 ... 15 500
If node number 0 is selected using number switch, the CAN bus controller uses the operating parameters
from the internal S-EEPROM.
The S-EEPROM is programmed using the CAN Library for PG2000 and the CAN Configurator. The operating
parameters are explained in chapter 5, "CAN Bus Controller Functions", section "Operating Parameters".
88 EX270 Chapter 3
3.4.7 Automatic Baudrate Recognition
After booting, the bus controller EX270 goes into "Listen Only" Mode. That means the controller behaves
passively on the bus and only listens.
The EX270 tries to receive valid objects. If an error occurs when receiving, the controller switches to the next
baudrate from the search table.
If no objects are received, all baudrates are tested cyclically. This procedure is repeated until valid objects
are received.
Start Baudrate
The bus controller begins the search with this baudrate. The start baudrate can be defined in three different
ways:
The controller tests the baudrate according to this table. Beginning with the start baudrate, the baudrate
is switched to the next lower value.
At the end of the table, the controller starts searching from the beginning again.
Baudrate
1000 kBaud
500 kBaud
250 kBaud
125 kBaud
50 kBaud
20 kBaud
10 kBaud
EX470 EX770
General Information
Short Description 2003 CAN bus controller, 24 VDC, 2003 CAN bus controller, 100-240 VAC,
14.5 W supply, 2 CAN interfaces 14.5 W supply, 2 CAN interfaces,
electrical isolation, network capable electrical isolation, network capable
Module slot 1
Peripheral
Standard
Communication Interfaces
Power Supply
Input Voltage
Minimum 18 VDC 85 VAC
Nominal 24 VDC 100 - 240 VAC
Maximum 30 VDC 264 VAC
Input Voltage Frequency 47 - 63 Hz
1)
EX470 with revision 30.xx or higher
2)
EX770 with revision 10.xx or higher
LED Meaning
Chapter 3
Red Reset (Hold)
Green blinking during the boot Boot phase (initialization and connection to the CAN network).
phase
If an error occurs during this phase, the green LED stops blinking.
The error is indicated by periodic blinking of the red LED. In this case, a
hardware reset (switch off/on) is required.
The amount of pulses periodically output provides information about the cause
of the error:
Green blinking with double pulse Starting with rev. xx.24, the controller indicates when time monitoring responds
and updates the digital and analog outputs.
If a CAN object does not appear within the defined time (default: 640 ms), the
effected outputs are reset and the green LED begins to blink (double pulse).
After the first valid object arrives, the current values are immediately accepted.
The green LED only returns to normal operation after a time delay of 30 s. The
time delay is used to identify intermittent problems with the outputs. These
problems are otherwise very difficult to recognize.
Orange Faulty outputs. However, the CAN bus controller is still in network operation.
1)
Orange blinking Voltage alarm on a module
1)
No longer evaluated by all digital mixed modules starting with Rev. E0.
STATUS (2 color)
Orange blinking with double The total power for the module exceeds the power supply on the bus controller.
pulse
The basic load on the digital and analog modules is calculated once when
booting. If a digital module is found which is not entered in the module list for
the operating system, there is generally no power monitoring.
If the power calculation was successful, the analog modules are continually
monitored during operation. One screw-in module is tested per second.
The node number was changed during operation. The new node number setting
is ignored; the node continues to function.
DC OK (orange)
Not lit All outputs are reset and the entire bus node reinitialized
The CAN bus controller is available in two variants. The major difference between the two variants is the supply
voltage. The power connecter pin assignments are printed on the modules:
EX470 EX770
Both + pins are connected and both − pins are Both N pins are connected and both L pins are
connected internally connected internally
IF1 IF2
1 5
Chapter 3
6 9
9 6
5 1
Both interfaces are electrically isolated. The CAN assignment for both interfaces are identical. The individual
CAN connections for both interfaces are connected with each other. Therefore both interfaces can be used
to connect nodes in a CAN network.
However, it is recommended that you use the T-connector AC911 (see Chapter 7 "Accessories") for coupling
to a CAN network. On one hand, this has the advantage that the CAN/ID interface remains free for expansion
purposes (configuration memory area). On the other hand, a node can also be easily separated from the
power supply, without interrupting the network. Also, a terminal resistance is integrated into the T-connector
for the bus termination, which can be switched on or off.
For more information on wiring CAN field bus systems, see chapter 2, "Project Planning and Installation",
section "CAN Field Bus".
The node number and baudrate are set with the two number switches on the CAN bus controller:
SW1 SW0
4 0 ME770 ME770
4 1 ... F 1 ... 15 125
8 0 ME770 ME770
8 1 ... F 1 ... 15 20
9 0 ... F 16 ... 31 20
A 0 ... F 32 ... 47 20
B 0 ... F 48 ... 63 20
C 0 ME770 ME770
If node number 0 is selected using number switch, the CAN bus controller uses the operating parameters
from the configuration memory ME770. If no configuration memory is available, the CAN bus controller
remains inactive, i.e. it is not initialized.
The configuration memory is programmed using the CAN Library for PG2000 and the CAN Configurator.
The operating parameters are explained in chapter 5, "CAN Bus Controller Functions", section "Operating
Parameters".
General Information
Short Description 2003 remote I/O bus controller, 24 VDC, 2003 remote I/O bus controller, 100-240 VAC,
14 W supply, 1 electrically isolated 14 W supply, 1 electrically isolated
RS485 interface for connection RS485 interface for connection
to remote I/O bus to remote I/O bus
Module slot 1
Peripheral
Standard
Communication Interface
Power Supply
Input Voltage
Minimum 18 VDC 85 VAC
Nominal 24 VDC 100 - 240 VAC
Maximum 30 VDC 264 VAC
LED Meaning
STATUS (green)
The initialization and connection to the Remote I/O network is complete, data is
being exchanged with the master
Not lit (if DC OK is lit) The connection to the Remote I/O network is complete, but data is not being
exchanged with the master
DC OK (orange)
Not lit All outputs are reset and the entire bus node reinitialized
The remote I/O bus controller is available in two different versions depending exclusively on their supply
voltage. The power connecter pin assignments are printed on the modules:
EX477 EX777
Both + pins are connected and both − pins are Both N pins are connected and both L pins are
connected internally connected internally
Chapter 3
The address of the remote slave station is set using number switches. Addresses in the range from 1 to 98
are allowed. However, a maximum of 31 remote slaves can be connected to a remote master (without
repeater).
Pin Assignment
1 Shield Shield connection (housing)
2 --- Reserved
9 pin D-type socket
3 DATA Data
5
9 4 CNTRL Transmit Enable (control line)
5 GND Electrically isolated supply
6 +5 V / 50 mA Electrically isolated supply
6 (e.g. for bus termination)
1
7 --- Reserved
8 DATA\ Data\
9 CNTRL\ Transmit Enable\
B&R recommends using bus connector 0G1000.00-090 when connecting to a remote I/O network. It is
available as T-connector and already has the correct termination resistor (can be switched on-/off).
Wiring remote I/O networks is described in Chapter 2 "Project Planning and Installation", section "Remote
I/O Bus".
The control signal CNTRL ("Transmit Enable") is output by the bus controller and serves to directionally control
a repeater or a fibre optic connection. It is a 5 V differential signal:
0 1 Receive (default)
1 0 Transmit
The CPU is operated on the far left of the module rack. The modules has status LEDs and connection plugs
for an RS232 and a CAN interface.
The CPUs CP474/CP476/CP774 are equipped with four slots for screw-in modules. The required screw-in
modules are inserted into the CP interface and screwed firmly into place.
The RS232 interface is primarily intended for programming the CPU. It can also be used as a general interface
(e.g. P121 visualization, printer, bar code reader, etc.).
Chapter 3
2003 components and a CAN bus controller, e.g. EX470.
The CPUs CP474/CP476/CP774 are equipped with four slots for screw-in modules. The following screw-in
modules can be inserted:
4.7 PROGRAMMING
The CPU is programmed using the programming system PG2000 or Automation Studio. Several
programming languages are available:
PL2000 High Level Language (structured IEC 1131 Ladder Diagram (LAD)
text)
Data buffering and nonvolatile operation of the real-time clock are guaranteed by the lithium battery provided.
Programming and deleting the built-in FlashPROM memory takes place using the programming system.
A legend sheet can be slid into the front of the CPUs CP474/CP476/CP774 from above. These sheets can
be used for labelling the screw in modules.
Module Description
CP430 2003 CPU, 100 KB SRAM, 256 KB FlashPROM, 24 VDC, 7 W supply, 1 RS232 interface,
1 CAN interface, CAN: electrically isolated, network capable, max. 64 digital / 32 analog I/O points
CP470 2003 CPU, 100 KB SRAM, 256 KB FlashPROM, 24 VDC, 14 W supply, 1 RS232 interface,
1 CAN interface, CAN: electrically isolated, network capable, max. 128 digital / 64 analog I/O points
CP474 2003 CPU, 100 KB SRAM, 512 KB FlashPROM, 24 VDC, 12.6 W supply, 1 RS232 interface,
1 CAN interface, CAN: electrically isolated, network capable, 4 slots for screw-in modules,
max. 208 digital / 80 analog I/O points
CP476 2003 CPU, 750 KB SRAM, 1.5 MB FlashPROM, 24 VDC, 12.5 W supply, 1 RS232 interface,
1 CAN interface, CAN: electrically isolated, network capable, 4 slots for screw-in modules,
system bus for expansion modules, max. 272 digital / 80 analog I/O points
CP770 2003 CPU, 100 KB SRAM, 256 KB FlashPROM, 100-240 VAC, 14 W supply, 1 RS232 interface,
1 CAN interface, CAN: electrically isolated, network capable, max. 128 digital / 64 analog I/O points
CP774 2003 CPU, 100 KB SRAM, 512 KB FlashPROM, 100-240 VAC, 12.6 W supply, 1 RS232 interface,
1 CAN interface, CAN: electrically isolated, network capable, 4 slots for screw-in modules,
max. 208 digital / 80 analog I/O points
7CP430.60-1 2003 CPU, 100 KB SRAM, 256 KB FlashPROM, 24 VDC, 7 W supply, 1 RS232 interface,
1 CAN interface, CAN: electrically isolated, network capable, max. 64 digital / 32 analog I/O points
7CP470.60-1 2003 CPU, 100 KB SRAM, 256 KB FlashPROM, 24 VDC, 14 W supply, 1 RS232 interface,
1 CAN interface, CAN: electrically isolated, network capable, max. 128 digital / 64 analog I/O points
7CP474.60-1 2003 CPU, 100 KB SRAM, 512 KB FlashPROM, 24 VDC, 12.6 W supply, 1 RS232 interface,
1 CAN interface, CAN: electrically isolated, network capable, 4 slots for screw-in modules,
max. 208 digital / 80 analog I/O points
7CP770.60-1 2003 CPU, 100 KB SRAM, 256 KB FlashPROM, 100-240 VAC, 14 W supply, 1 RS232 interface,
1 CAN interface, CAN: electrically isolated, network capable, max. 128 digital / 64 analog I/O points
7CP774.60-1 2003 CPU, 100 KB SRAM, 512 KB FlashPROM, 100-240 VAC, 12.6 W supply, 1 RS232 interface,
1 CAN interface, CAN: electrically isolated, network capable, 4 slots for screw-in modules,
max. 208 digital / 80 analog I/O points
General Information
Module Type B&R 2003 CPU B&R 2003 CPU B&R 2003 CPU
Module Width B&R 2003 single width B&R 2003 single width B&R 2003 double width
Processor Section
Command Cycle Time Average value with 70 % bit and 30 % analog processing
Standard Memory
User RAM 100 KByte SRAM 100 KByte SRAM 100 KByte SRAM
System PROM 256 KByte FlashPROM 256 KByte FlashPROM 512 KByte FlashPROM
User PROM 256 KByte FlashPROM 256 KByte FlashPROM 512 KByte FlashPROM
Data Buffering
Backup Battery Lithium battery 3 V / 950 mAh
Buffer Current
Typical 1.6 µA 1.6 µA 2.2 µA
Maximum 60 µA 60 µA 110 µA
HW Watchdog Yes
Voltage Monitoring The internal supply is monitored for overvoltage and undervoltage
Peripheral
Chapter 3
I/O Bus Interface 9 pin D-type socket
Standard Communication
Interfaces
Input Voltage
Minimum 18 VDC 18 VDC 85 VAC
Nominal 24 VDC 24 VDC 100 - 240 VAC
Maximum 30 VDC 30 VDC 264 VAC
Input Voltage Frequency --- --- 47 - 63 Hz
1)
Integrated power supply on pin 4 of the RS232 interface for simple PANELWARE controllers, e.g. P120.
LED Meaning
1, 2, 3, 4 These LEDs show the operating state of the respective screw-in module.
Blinking quickly Screw-in module is new or has been exchanged with another module type
The CPUs are either supplied with 24 VDC or with 100 to 240 VAC. The pin assignments are printed on
the module.
Both + pins are connected and both − pins are Both N pins are connected and both L pins are
connected internally connected internally
CAN RS232
The electrically isolated standard field bus interface is used for the following tasks:
Chapter 3
• Remote I-O expansion using B&R 2003 components and a CAN bus controller
It is recommended that you use the T-connector AC911 (see Chapter 7 "General Accessories") when
coupling to a CAN network. A terminal resistance is integrated into the T-connector for the bus termination,
which can be switched on or off.
For more information on wiring CAN field bus systems, see chapter 2, "Project Planning and Installation",
section "CAN Field Bus".
Pin Assignment
1 n. c.
2 CAN_L
9 pin D-type plug
3 CAN_GND
1
6 4 n. c.
5 n. c.
6 res.
9
5 7 CAN_H
8 n. c.
9 n. c.
This non-electrically isolated interface is primarily intended for programming the CPU. The RS232 interface
can also be used as a general interface (e.g. P121 visualization, printer, bar code reader, etc.).
Pin Assignment
1 n. c. Reserved
9 pin D-type plug 2 RXD Receive Signal
1 3 TXD Transmit Signal
6
4 +5 VDC / max. 500 mA Panel Supply
5 GND Ground
6 n. c. Reserved
9
5 7 RTS Request To Send
8 CTS Clear To Send
9 n. c. Reserved
The operating mode is set with the MODE switch. The switch setting can be evaluated by the application
program at any time. If the switch position is changed during operation, a warning can be generated. The
operating system only interprets the switch position when switched on.
1-8 Freely available for use in an application (e.g. CAN node number)
9-E Reserved for B&R expansions – these settings are not allowed to be used!
F Diagnose mode
General Information
The CPUs are delivered with an operating system. The operating system can be updated using the
programming system.
Automation Studio Support: See Automation Studio Help starting with V 1.40
When updating the operating system, the following procedure must be followed:
1) Establish online connection between programming device (PC or Industrial PC) and the CPU.
2) Start PG2000 programming system.
Chapter 3
4) A dialog box is shown where you can set the transfer rate (baudrate) for the update procedure and
the PC interface used for the online connection (e.g. 57600 Baud, COM1).
5) Another dialog box is opened when you select [ OK ].
6) The operating system version can be selected in this dialog box. After closing this dialog box by selecting
[ Yes ], the system ROM is deleted (incl. operating system). Then the selected operating system version
is transferred to the system ROM. The update progress is shown in the message line.
The operating system update is not only possible via an online connection, it is also
possible via a CAN network or a serial network (INA2000 protocol).
The CPUs CP474 and CP774 are equipped with four slots for screw-in modules. The required screw-in
modules are inserted into the CP interface and screwed firmly into place.
Chapter 3
7DI135.70 Digital IN 4 x 24 VDC, 50 kHz
Commands
A legend sheet can be slid into the front of the CPUs CP474 and CP774 from above. These sheets can be
used for labelling the screw in modules.
The battery voltage is checked cyclically. The cyclic load test of the battery does not considerably shorten
the battery life, instead it gives an early warning of weakened buffer capacity.
The status information, "Battery OK" is available from the B&R-TRAP function, "SYS_battery".
General Information
The system variable SYS2003 is a structure containing the elements "io_scan" and "io_refresh". It must be
declared in a task as PCC global.
If digital I/O variables are used in the HSTC, the system variable SYS2003 will also be
placed in the HSTC. Values in lower task classes will therefore not be consistent.
If no digital I/Os are placed in the HSTC, the SYS2003 variable will use the 10 ms
operating system clock.
Battery Data
Buffer Duration
Chapter 3
B&R recommend changing the batteries after five years of operation.
Procedure
The product design allows battery changing to be carried out with the PCC switched on of off. In some
countires, safety regulations do not allow batteries to be changed while the module is switched on.
Data stored in RAM will be lost if the battery is changed with the PCC switched off!
1) Touch the mounting rail or earth connection (not the power supply!) in order to discharge any electrostatic
charge from your body.
2) Remove the cover from the lithium battery holder using a screwdriver.
Right: Wrong:
4) Insert the new battery with correct polarity. The removal strip should be protruding from the battery holder
and the "+" side of the battery should be facing downward.
In order to be able to remove the battery again in future, the removal strip must protrude from the upper
side of the battery.
5) Now wrap the end of the removal strip over the top of the battery and insert it underneath the battery
so that it does not protrude from the battery holder.
➋
➊
Chapter 3
With the addition of the CP476, the B&R SYSTEMS 2003 now has a CPU with outstanding technical properties.
Features
• 750 KByte User SRAM
• 1.5 MByte User FlashPROM
• Additional I/O processor
• System bus for expansions
• CP Interface with four slots
• Two node number switches
The CP476 extends the CPU performance spectrum for the B&R SYSTEM 2003 in the upward direction.
Compared to the CP474, the new CPU increases performance by at least a 50 % because the clock frequency
is 50 % higher and the integration of an additional I/O processor. This reduces the interrupt load considerably
and decreases the analog update time on the left side by max. the factor 2 (screw-in modules 1 and 2 as
well as 3 and 4 are processed parallel to each other). The I/O update on the left side tales place independently
of the right side.
The CPU CP476 is equipped with a system bus for expansions. The following expansions can be connected:
• ME010 expansion module for PCMCIA memory cards
• ME020 expansion module for PCMCIA memory cards and a slot for B&R SYSTEM 2005 interface
module inserts
Two CAN node number switches guarantee that an offset no longer has to be set. The actual node number
always corresponds to the switch setting.
Module ID CP476
General Information
Chapter 3
Short Description 2003 CPU, 750 KB SRAM, 1,5 MB FlashPROM, 24 VDC, 12,5 W supply,
1 RS232, 1 CAN interface, CAN: electrical isolation, network capable,
4 slots for screw-in modules, system bus for expansion modules,
max. 272 digital / 80 analog I/O points
Processor Section
Standard Memory
User RAM 750 KByte SRAM
System PROM 512 KByte FlashPROM
User PROM 1.5 MByte FlashPROM
Data Buffering
Backup Battery Lithium Battery 3 V / 950 mAh
Buffer Current
Typical 2.2 µA
Maximum 110 µA
HW Watchdog Yes
Voltage Monitoring The internal supply is monitored for overvoltage and undervoltage
Peripheral
System Bus for Expansions (left side) PCMCIA memory card ME010
B&R SYSTEM 2005 interface module insert ME020
Power Supply
Input Voltage
Minimum 18 VDC
Nominal 24 VDC
Maximum 30 VDC
LED Meaning
1, 2, 3, 4 These LEDs show the operating state of the respective screw-in module.
Blinking quickly Screw-in module is new or has been exchanged with another module type
Chapter 3
4.13.4 Power Supply
The CPU CP476 is supplied with 24 VDC. The pin assignments are printed on the module. Both + pins are
connected and both − pins are connected internally.
CAN RS232
The electrically isolated standard field bus interface is used for the following tasks:
• Remote I-O expansion using B&R 2003 components and a CAN bus controller
It is recommended that you use the T-connector AC911 (see Chapter 7 "General Accessories") when
coupling to a CAN network. A terminal resistance is integrated into the T-connector for the bus termination,
which can be switched on or off.
For more information on wiring CAN field bus systems, see chapter 2, "Project Planning and Installation",
section "CAN Field Bus".
Pin Assignment
1 n. c.
2 CAN_L
9 pin D-type plug
3 CAN_GND
1
6 4 n. c.
5 n. c.
6 res.
9
5 7 CAN_H
8 n. c.
9 n. c.
This non-electrically isolated interface is primarily intended for programming the CPU. The RS232 interface
can also be used as a general interface (e.g. P121 visualization, printer, bar code reader, etc.).
Pin Assignment
1 n. c. Reserved
9 pin D-type plug 2 RXD Receive Signal
The CAN node number is set with the two hex switches. The switch setting can be evaluated by the application
program at any time. If the switch position is changed during operation, a warning can be generated. The
operating system only interprets the switch position when switched on.
The settings 00, FD and FF are reserved for special functions.
FF Diagnose mode
General Information
The CPUs are delivered with an operating system. The operating system can be updated using the
programming system.
Automation Studio Support: See Automation Studio Help starting with V 1.40
When updating the operating system, the following procedure must be followed:
1) Establish online connection between programming device (PC or Industrial PC) and the CPU.
2) Start PG2000 programming system.
3) In PG2000, call the function PCCSW Update (see menu item Service in the pull-down menu System).
4) A dialog box is shown where you can set the transfer rate (baudrate) for the update procedure and
the PC interface used for the online connection (e.g. 57600 Baud, COM1).
5) Another dialog box is opened when you select [ OK ].
6) The operating system version can be selected in this dialog box. After closing this dialog box by selecting
[ Yes ], the system ROM is deleted (incl. operating system). Then the selected operating system version
is transferred to the system ROM. The update progress is shown in the message line.
The operating system update is not only possible via an online connection, it is also
possible via a CAN network or a serial network (INA2000 protocol).
The CPU is equipped with four slots for screw-in modules. The required screw-in modules are inserted into
the CP interface and screwed firmly into place.
To reduce the load on the CPU, an additional I/O processor handles operation of the all I/O data points on
the CP interface and the I/O bus interface (right side).
The I/O processor handles slots 1 and 3 as well as 2 and 4 in succession (multiplex operation). That means
slots 1 and 2 as well as 3 and 4 are operated parallel to each other.
Commands
A legend sheet can be slid into the front of the CPU CP476 from above. These sheets can be used for labelling
the screw in modules.
The battery voltage is checked cyclically. The cyclic load test of the battery does not considerably shorten
the battery life, instead it gives an early warning of weakened buffer capacity.
The status information, "Battery OK" is available from the B&R-TRAP function, "SYS_battery".
General Information
The system variable SYS2003 is a structure containing the elements "io_scan" and "io_refresh". It must be
declared in a task as PCC global.
Chapter 3
If digital I/O variables are used in the HSTC, the system variable SYS2003 will also be
placed in the HSTC. Values in lower task classes will therefore not be consistent.
If no digital I/Os are placed in the HSTC, the SYS2003 variable will use the 10 ms
operating system clock.
Battery Data
Buffer Duration
Typical 2.2 µA
Maximum 110 µA
Procedure
The product design allows battery changing to be carried out with the PCC switched on of off. In some
countires, safety regulations do not allow batteries to be changed while the module is switched on.
Data stored in RAM will be lost if the battery is changed with the PCC switched off!
1) Touch the mounting rail or earth connection (not the power supply!) in order to discharge any electrostatic
charge from your body.
2) Remove the cover from the lithium battery holder using a screwdriver.
Right: Wrong:
4) Insert the new battery with correct polarity. The removal strip should be protruding from the battery holder
Chapter 3
In order to be able to remove the battery again in future, the removal strip must protrude from the upper
side of the battery.
5) Now wrap the end of the removal strip over the top of the battery and insert it underneath the battery
so that it does not protrude from the battery holder.
Ë
Ê
Lithium batteries are considered hazardous waste! Used batteries should be disposed
of accordingly.
Module Description
ME770 2003 configuration memory for CAN bus controller
All operating parameters for a node are stored in nonvolatile configuration memory. When switched on, the
node is initialized with the parameters in the configuration memory.
a) The node number set on the module corresponds to the one stored, or
b) the node number on the module die is set to 0.
Only insert or remove the configuration memory from the controller without power
applied.
Module ID ME770
Programming
ME770 Must be connected to CAN bus controller
Programmed using CAN Library for PG2000
CAN Configurator
Screw-in modules are installed either on the CP interface or on the adapter module and then screwed into
place:
6.2 OVERVIEW
Module Description
General Information
Amount
CP430, EX270 2
CP470, CP770 4
CP474, CP476, CP774
EX470, EX770
EX477, EX777
Electrical Isolation No
Mechanical Properties
Always operate the adapter module directly to the right of the CPU!
Adapter modules are only allowed to be used in the first four module slots on the B&R 2003 system.
The green status LEDs on the adapter modules indicate the operational status of each slot:
Blinking quickly Screw-in module is new or has been exchanged with another module type
The legend sheets supplied with the module are slid into the module front from the top of the module. These
sheets can be used for labelling the screw in modules.
Every module description contains a "variable declaration" section. This section outlines the method for
declaring variables in PG2000.
The channel number to be accessed is given in the VD Channel column with the data or configuration words.
When accessing configuration words using I/O function blocks, an offset value must be added to the VD
channel, according to which slot the screw-in module occupies on the AF101.
Data Word
When data is accessed using a data word, an offset does not need be added to the VD channel number,
since the slot number is given in the variable declaration.
Configuration Word
When accessing configuration words using I/O function blocks, an offset value must be added to the VD
channel, according to which slot the screw-in module occupies on the AF101.
The internal offset used to address the required configuration word, is calculated using the following formula:
Internal offset ........ Internal offset used to access the required configuration word
VD channel ............ The channel entered in the variable declaration
sl ............................ Slot number (1 - 4) of the screw-in module on the AF101
Controller
Remote Slaves No
CAN Slaves No
Command Execution
I/O function blocks are used to execute commands on the AF101. A shovel instruction must be generated
for reading configuration word 14 (VD channel 28) of a screw-in module.
The variable used to store the command response is initialized with the command word. After successful
Chapter 3
The AF101 commands Automatic mode on/off are available from revision 02.00 of the AF101 software. The
software version of the AF101 module can be determined from the last two digits of the version number shown
on the serial number label (Rev. xx.11 -> SW revision 01.10, Rev. xx.20 -> SW revision 02.00).
The variable must be initialized with 0 in order read the B&R ID code. Dont forget to enter the channel offset
for the respective slot!
Starting with software revision 02.00 of the AF101, the data word will be written by default to an automatically
generated I/O image (automatic mode). Read commands are executed by accessing this I/O image.
Special applications of screw-in modules sometimes require the automatic I/O image generation to be
switched off (e.g. for the AI261 this makes certain that the scaled value or calibrated raw value is only read
once per data output cycle).
When the I/O image generator is switched off, the commands for editing the data words are written directly
to the screw-in modules instead.
Automatic mode is not available on AF101 modules with a software revision <02.00. These modules behave
in the same way as modules with a software revision ≥02.00 where automatic mode has been switched off.
This command is only available to AF101 modules with a SW revision ≥ 02.00 (AF101 modules with SW revision
< 02.00 behave in the same way as modules with a SW revision ≥02.00 where automatic mode has been
switched off).
This command is only available to AF101 modules with a SW revision ≥02.00. Automatic mode is not available
on AF101 modules with a software revision <02.00.
In this program, the shovel instructions for the following commands are defined and executed in the INIT-
SP :
Task Overview
Before using the function blocks to handle configuration words, you must import the I/O library (starting with
V 01.60) into the project database. The function, Import Library in the File menu is provided for this purpose.
The I/O library must be entered in the GDM as a system module.
AF101
This task processes the screw-in modules on the AF101 adapter module.
The shovel instructions required for carrying out commands on the AF101 module are defined in the INIT-
SP.
Err_Ptest = 0
AF101_slot = 1
AT664_slot = 1
;#############################################################################
;## Multipler for physical shovel instructions to read ##
;## parameter word 14 for the AT664 on the AF101, Slot 1 ##
;#############################################################################
IO_struct.io_type=5 ;2003 IO
IO_struct.master_no=1 ;Master always 1
IO_struct.slave_no=0 ;Slave number always 0
IO_struct.module_adr=AF101_slot ;Module slot
IO_struct.intern_off= 32*(AT664_slot -1)+ 14 *2 ;Register no. 14 on ScrM = AT664_slot
IO_struct.mode=%00100000 ;Read, normal
IO_struct.data_len=2 ;2*Byte
IO_struct.reserve=0 ;Not used
IO_struct.data_adr=adr(AT_reg14) ;Address of the data area containing the
;image for parameter word 14
AT_reg14 = $0000 ;0 required to read the module type
if status_mp1=0 then
loop ;Carry out shovel instruction cyclically...
IO_data(1,af_ident,status_dat)
exitif status_dat <> 5559 ;...until shovelling is no longer active
endloop
endif
if status_dat=0 then
AT664_typ = AT_reg14
endif
;#############################################################################
;## Multipler for physical shovel instructions to read ##
;## parameter word 14 (=code) on the AF101 module ##
;#############################################################################
IO_struct.io_type=5 ;2003 IO
IO_struct.master_no=1 ;Master always 1
IO_struct.slave_no=0 ;Slave number always 0
IO_struct.module_adr=AF101_slot ;Module slot
IO_struct.intern_off= 14 *2 ;Register no. 14 on the AF101
IO_struct.mode=%00100000 ;Read, normal
IO_struct.data_len=2 ;2*Byte
IO_struct.reserve=0 ;Not used
IO_struct.data_adr=adr(AF_reg14) ;Address of the data area containing the
;image for parameter word 14
AF_reg14 = $8000 ;Read AF101 code
IO_mphydef(1,adr(IO_struct),adr(af_sc_buf),0,status_mp2,af_ident)
if (status_mp2=0) then
loop ;Carry out shovel instruction cyclically...
IO_data(1,af_ident,status_dat)
exitif status_dat <> 5559 ;...until shovelling is no longer active
endloop
endif
;#############################################################################
;## AF101 Switch off automatic mode ##
;#############################################################################
if (status_mp2=0) then
loop ;Carry out shovel instruction cyclically...
IO_data(1,af_ident,status_dat)
exitif status_dat <> 5559 ;...until shovelling is no longer active
endloop
Chapter 3
endif
endif
Variable Declaration
Data Type
A structure will be defined for the variable IO_struct using the data type typedef . Once the structure name
IO_struct has been entered, the structure elements can be entered in a dialog box.
Digital input modules are used to convert the binary signals for a process into the internal signal level required
for the PCC. The states of the digital inputs are shown with status LEDs. The relevant differences in
characteristics for the input modules are:
• Number of inputs
• Input voltage
• Input delay (filter)
• Special functions (e.g. counter inputs)
An input filter is available for each input. The input delay is listed in the respective technical data section.
Disturbance pulses which are shorter than input delay are suppressed by the input filter.
Input
Signal
Time
Signal after
the filter
tdelay tdelay tdelay
Time
Module DI135
Number of Inputs 4
Input Frequency
Incremental Encoder Operation 50 kHz
Event Counter Operation 100 kHz
Number of Outputs 1
Chapter 3
Input Voltage 24 VDC 24 VDC 24 VDC 100 - 240 VAC
Input Delay 1 ms 1 ms 1 ms 50 ms
7.5 PROGRAMMING
The digital inputs are accessed directly in the application program using a variable name. The relationship
between the input channel for a certain module and the variable name is defined in the variable declaration.
The declaration is made identically for each programming language using a table editor.
Module ID DI135
General Information
Inputs
Number of Inputs 4
Wiring Sink
Input Voltage
Minimum 18 VDC
Nominal 24 VDC
Maximum 30 VDC
Input Frequency
Incremental Encoder Operation 50 kHz
Event Counter 100 kHz
Switching Threshold
LOW <5 V
HIGH >15 V
Incremental Encoder
Evaluation 4-fold
Input Frequency 50 kHz
Inputs
Input 1 Channel A
Input 2 Channel B
Input 3 Reference pulse R
Input 4 Reference enable switch ENR
Event Counter
Chapter 3
Input 1 Counter 1
Input 2 Counter 2
Outputs
Number of Outputs 1
Operating Voltage
Minimum 18 VDC
Nominal 24 VDC
Maximum 30 VDC
Mechanical Characteristics
1)
Incremental encoder operation: Module status in data word 0
Event Counter Operation: Module status in data word 2
All four inputs are sent to TPU. If the module is inserted e.g. in slot 1 of the CP interface on a CP474, input
1 can be evaluated using the LTX function LTXdi0().
Performance Characteristics
Inputs 1 and 2 correspond to encoder signals A and B. The encoder signal is generally processed using
4-fold evaluation. The scan time (count generation) is less than 1 ms, but respective hardware allows an input
frequency of 50 kHz.
Position Description:
• 32 bit (Long) and status word including referencing bit (data consistency)
Local counter status monitoring with direct output control (+24 VDC/0.5 A) and a reaction time of 500 µs.
The comparator is either assigned to event counter 2 (16 Bit, Input 2) or to the position counter (encoder
operation).
High-side
switch
Us
Comparator output
1 Out
1 O (Out.)
Status
GND
2
2 (GND)
Diagnosis status
3
3 I1 (A) 0.7 - 3 µs
Signal processing
Local processor port
4
4 I2 (B) 0.7 - 3 µs
5
5 I3 (R) 0.7 - 3 µs
6
6 I4 (ENR) 0.7 - 3 µs
ENR
Pin Assignment
1 Output (comparator)
2 GND
1 3 Shield
1
2
4 Input 1 (encoder signal A)
3
4
5 5 Input 2 (encoder signal B)
6 Shield
6 7
9 Shield
12 10 +24 VDC for output or encoder
11 +24 VDC for output or encoder
TB712 12 +24 VDC for output or encoder
Chapter 3
Wiring Example Inputs/Outputs
Relay
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
Output
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
1
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
Initiator 1
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
GND
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
2
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
+ aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
Shield
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
3
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
Input 1
4
Input 2
Initiator 2
5
Shield
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
+ aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
6
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
Input 3
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
7
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
Input 4
8
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb Shield
9 10 11 12
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
0.5 A fuse (slow-blow)
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
+24 VDC
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
+ aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
+24 VDC
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
=
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
+24 VDC
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa
Supply:
+24 VDC, Protect with 0.5 A slow-blow fuse!
Relay
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
Output
1
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
GND
2
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
E aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
Shield
3
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
n A
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
c aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
A
4
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb
o B aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
B
5
d
e R bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb Shield
6
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
r aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
R
7
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
ENR
8
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb Shield
9 10 11 12
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
=
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
Supply:
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Accessing screw-in modules is also explained in the sections "AF101" and "CPU".
Chapter 3
Data Access VD Data VD Module VD R W Description
Type Type Chan.
Configuration word 4 INT32 Transp. In 8 ● Counter value at positive edge of the reference enable
switch
INT32 Transp. Out 8 ● Threshold value 1
Configuration word 6 INT32 Transp. In 12 ● Counter value at negative edge of the reference enable
switch
INT32 Transp. Out 12 ● Threshold value 2
Configuration word 8 WORD Transp. Out 16 ● Incremental encoder / comparator control
Data access takes place using data and configuration words. The following table provides an overview of
which data and configuration words are used for this module.
Configuration word 4 INT32 Transp. In 8 ● Counter value at positive edge of the reference enable
switch
B&R 2000 users have to exchange the two counter status words so that the high word
is first (Motorola format)!
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
Data cannot be packed on the DI135. Therefore one CAN object is transferred per screw-in module.
If an adapter module AF101 is equipped with a four DI135 modules, the CAN object has the following
structure:
1)
Slot CAN ID Word 1 Word 2 Word 3 Word 4
1)
CAN ID = 542 + (nd - 1) x 16 + (ma - 1) x 4 + (sl - 1)
nd ..... Node number of the CAN slave = 1
ma .... Module address of the AF101 = 1
sl ....... Slot number of the screw-in module on the AF101 (1 - 4)
B&R 2000 users have to exchange the data so that the high data is first (Motorola
format)!
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
Data word 0 includes the module status time constant for the counter value.
Bit Description
7 0 ....Referencing is in progress
1 ....Counter is referenced (reset occurs after receiving a reference
command)
Chapter 3
5 0 ....Comparator Output: No error
1 ....Comparator Output: An overload error can only be indicated
when the comparator output is set.
x x x x x x
15 8 7 0
Path/state and timing diagrams for incremental encoder operation are shown for the
NC161 encoder module. These diagrams are also valid for the DI135.
Bit 0 in Data Word 0 is always 1 when the level of the reference enable switch is 0.
Bit 0 only takes the level of the reference pulse when the level of the reference enable switch is 1.
0 0 1
1 0 1
0 1 0
1 1 1
Bit 0 in data word 0 is always 1 when the level of the reference enable switch is 0.
Bit 0 only takes the level of the inverted reference pulse when the state of the reference enable switch is 1.
0 0 1
1 0 1
0 1 1
1 1 0
After setting bit 11 in configuration word 8, the configuration words receive the latched counter value with
the first positive edge of the reference enable switch. The value is valid if bit 11 is set in data word 0.
Please refer to the timing diagram "Latching the Counter Value" in section "NC161".
Chapter 3
Threshold value 1 must always be ≤ threshold value 2 .
Threshold values are internally arranged in increasing order including sign.
After setting bit 10 in configuration word 8, the configuration words receive the latched counter value with
the first negative edge of the reference enable switch. The value is valid if bit 10 is set in data word 0.
Please refer to the timing diagram "Latching the Counter Value" in section "NC161".
Bit Description
12 - 15 0
11 0 ... Counter reading cannot be taken
1 ... Counter reading taken when the first positive edge arrives from
the reference enable switch (see configuration words 4 and 5)1)
5-9 0
4 0 ... No effect on counter
1 Counter reset (referenced)
The counter will be reset depending on the controller signal in
configuration word 14 when positive edge of bit4 arrives. Bit 4
must then be reset and set again before a new reference can
be taken.
3 0 ... Comparator off
The comparator output will be set to level defined in bit 0.
1 ... Comparator on
0 0 0 0 0 0 0 0 0 0
15 8 7 0
1)
The counter value is only taken once. Bit 10 and bit 11 must be reset for the value to be taken again. Bit 10 and bit 11 can be set again in
configuration word 8 after the corresponding bit in the module status bit has gone to 0.
Configuration word 12 contains the module status (current status unlatched). The module status is written
to data word 0.
Bit Description
0 0 0 1 0 0 1 0 x x x x x x x x
15 8 7 0
Bit Description
Chapter 3
1 ... Event counter operation
6 - 11 0
0 0 0 0 0 0 0 0 0 0 0 0
15 8 7 0
Path/state and timing diagrams for incremental encoder operation are shown for the
NC161 encoder module. These diagrams are also valid for the DI135.
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Accessing screw-in modules is also explained in the sections "AF101" and "CPU".
Data access takes place using data and configuration words. The following table provides an overview of
which data and configuration words are used for this module.
Configuration word 4 WORD Transp. In 8 ● Counter value of counter 1 at positive edge of the
reference enable switch
Configuration word 5 WORD Transp. In 10 ● Counter value of counter 2 at positive edge of the
reference enable switch
WORD Transp. Out 10 ● Threshold value 1 for counter 2
Configuration word 6 WORD Transp. In 12 ● Counter value of counter 1 at negative edge of the
reference enable switch
Configuration word 7 WORD Transp. In 14 ● Counter value of counter 2 at negative edge of the
reference enable switch
WORD Transp. Out 14 ● Threshold value 2 for counter 2
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
Data cannot be packed on the DI135. Therefore one CAN object is transferred per screw-in module.
If an adapter module AF101 is equipped with a four DI135 modules, the CAN object has the following
structure:
1)
Slot CAN ID Word 1 Word 2 Word 3 Word 4
1)
CAN ID = 542 + (nd - 1) x 16 + (ma - 1) x 4 + (sl - 1)
nd ..... Node number of the CAN slave = 1
Chapter 3
sl ....... Slot number of the screw-in module on the AF101 (1 - 4)
B&R 2000 users have to exchange the data so that the high data is first (Motorola
format)!
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
Data word 2 includes the module status time constant for both counter values.
Bit Description
x x x x x x x x
15 8 7 0
After setting bit 11 in configuration word 8, the configuration word receives the latched counter value of
counter 1 with the first positive edge of the reference enable switch. The value is valid if bit 11 is set in data
word 2.
Please refer to the timing diagram "Latching the Counter Value" in section "NC161".
After setting bit 11 in configuration word 8, the configuration word receives the latched counter value of
counter 2 with the first positive edge of the reference enable switch. The value is valid if bit 11 is set in data
word 2.
Please refer to the timing diagram "Latching the Counter Value" in section "NC161".
After setting bit 10 in configuration word 8, the configuration word receives the latched counter value of
counter 1 with the first negative edge of the reference enable switch. The value is valid if bit 10 is set in data
word 2.
Please refer to the timing diagram "Latching the Counter Value" in section "NC161".
After setting bit 10 in configuration word 8, the configuration word receives the latched counter value of
counter 2 with the first negative edge of the reference enable switch. The value is valid if bit 10 is set in data
word 2.
Please refer to the timing diagram "Latching the Counter Value" in section "NC161".
Bit Description
Chapter 3
11 0 ....Counter reading cannot be taken
1 ....Counter reading taken when the first positive edge arrives from
the reference enable switch (see configuration words 4 and 5)
6-9 0
5 0 ....No effect on counter 2
1 ....Reset counter 2 immediately
0 0 0 0 0 0 0 0 0
15 8 7 0
Configuration word 12 contains the module status (current status unlatched). The module status is written
to data word 0.
Bit Description
0 0 0 1 0 0 1 0 x x x x x x x x
15 8 7 0
Bit Description
13 - 15 0
12 0.... Encoder operation
1.... Event counter
6 - 11 0
5 0.... Normal count direction
1.... Reverse count direction
4 0
3 0.... Only count positive edges
1.... Count both edges
0-2 0
0 0 0 1 0 0 0 0 0 0 0 0 0 0
15 8 7 0
Module ID DI435
General Information
Short Description 2003 digital input module, 8 inputs 24 VDC, 1 ms, sink/source,
Order terminal blocks separately!
Amount
CP430, EX270 4
CP470, CP770 8
CP474, CP476, CP774
EX470, EX770
EX477, EX777
Static Characteristics
Number of Inputs 8
Input Voltage
Minimum 18 VDC
Nominal 24 VDC
Maximum 30 VDC
Switching Threshold
LOW <5 V
HIGH >15 V
Operating Characteristics
Mechanical Characteristics
The status-LEDs 1 - 8 (green) show the logical state of the corresponding inputs.
The LED OK (orange) indicates that the input supply voltage is present. The LED is lit for input voltages from
15 to 18 VDC.
I 1-8
Input
status
Voltage
monitoring
COM s U-OK
Diagnosis
status
COM
A legend sheet can be slid into the front of the module from above. The module circuit is shown on the back.
The inputs can be labelled on the front.
The input module DI435 can be connected either as a sink or source circuit.
Sink Connection
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Module status
The module status for CAN slaves can only be read using command codes. The command codes are
explained in Chapter 5, "CAN Bus Controller Functions", section "Command Codes and Parameters".
An example is provided in Chapter 4 "Module Addressing".
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
CAN ID Packed
1)
CAN ID Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8
1)
CAN ID = 286 + (nd - 1) x 4 nd .... Node number of the CAN slave = 1
CAN ID Unpacked
Chapter 3
1)
Module CAN ID Byte
1 286 Inputs 1 - 8
2 287 Inputs 1 - 8
3 288 Inputs 1 - 8
4 289 Inputs 1 - 8
1)
CAN ID = 286 + (nd - 1) x 4 + (ma - 1) nd ... Node number of the CAN slave = 1
ma ... Module address of digital I/O modules = 1 - 4
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
Evaluation of the module status is explained using an example in Chapter 4 "Module Addressing".
Bit Description
0 x 0 0 0 0 1
7 0
Module ID DI439.7
General Information
Short Description 2003 digital input module, 16 inputs 24 VDC, 1 ms, sink/source,
Order terminal blocks separately!
Amount 1)
CP430, EX270 2
CP470, CP770 4
EX470, EX770
EX477, EX777
CP474, CP774 6
CP476 8
Static Characteristics
Number of Inputs 16
Input Voltage
Minimum 18 VDC
Nominal 24 VDC
Maximum 30 VDC
Switching Threshold
LOW <5 V
HIGH >15 V
Operating Characteristics
Mechanical Characteristics
1)
Two logical module slots are required by the module.
The digital I/O modules are all 8 channel modules. The 16 channel module DI439 operates like two 8 channel
modules next to each other. Each DI439 therefore reduces the number of digital I/O modules needed by
Chapter 3
Module Address
Each DI439 needs two module addresses that come immediately after each other.
9 - 16 Module address + 1
Examples
Module 1 2 3 4 5 6 7 8
Addr.
Module No. Module 1 Module 2 Module 3 Module 4 Module 5 Module 5 Module 6 Module 6
I1-8 I 9 -16 I1-8 I 9 -16
Module 1 2 3 4 5 6 7 8
Addr.
Module No. Module 1 Module 2 Module 3 Module 3 Module 4 Module 4 Module 5 Module 6
I1-8 I 9 -16 I1-8 I 9 -16
The green Status LEDs arranged in two rows show the logical state of the respective input.
LEDs marked with S# correspond to the inputs of group 1 (Y1). LEDs marked with S#+1 correspond to
the inputs of group 2 (Y2).
The LED OK (orange) indicates that the input supply voltage is present. The LED is lit for input voltages from
15 to 18 VDC.
I 1-16 Input
status
Voltage
monitoring
Diagnosis
status
COM s U-OK
COM
A legend sheet can be slid into the front of the module from above. The module circuit is shown on the back.
The inputs can be labelled on the front.
The input module DI439 can be connected as either a sink or source circuit.
Sink Connection
COM 1 2 3 4 5 6 7 ...
Inputs X1
Source Connection
COM 1 2 3 4 5 6 7 ...
Inputs X1
COM s X2
GND
Next
COM X3 Module
+24 VDC
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Digital inputs 9 -16 BIT Digit. In 1 ... 8 ● Level of digital inputs 9 –16
(module address + 1)
Module status
The module status for CAN slaves can only be read using command codes. The command codes are
explained in Chapter 5, "CAN Bus Controller Functions", section "Command Codes and Parameters".
An example is provided in Chapter 4 "Module Addressing".
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
CAN ID Packed
1)
CAN ID Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8
Chapter 3
CAN ID Unpacked
289 Inputs 9 - 16
1)
CAN ID = 286 + (nd - 1) x 4 + (ma - 1) nd ... Node number of the CAN slave = 1
ma ... Module address of digital I/O modules = 1 - 4
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
Evaluation of the module status is explained using an example in Chapter 4 "Module Addressing".
Bit Description
6 Digital module = 0
0 x 0 1 1 0 1
7 0
Module ID DI439.72
General Information
Short Description 2003 digital input module, 16 inputs 24 VDC, 1 ms, sink/source,
2 electrically isolated input groups
Amount 1)
CP430, EX270 2
CP470, CP770 4
EX470, EX770
EX477, EX777
CP474, CP774 6
CP476 8
Static Characteristics
Number of Inputs
Total 16
in 2 Groups of 8
Input Voltage
Minimum 18 VDC
Nominal 24 VDC
Maximum 30 VDC
Switching Threshold
LOW <5 V
HIGH >15 V
Operating Characteristics
Electrical Isolation
Input - PCC Yes
Group - Group Yes
Mechanical Characteristics
1)
Two logical module slots are required by the module.
Chapter 3
The digital I/O modules are all 8 channel modules. The 16 channel module DI439 operates like two 8 channel
modules next to each other. Each DI439 therefore reduces the number of digital I/O modules needed by
one.
Module Address
Each DI439 needs two module addresses that come immediately after each other.
9 - 16 Module address + 1
Examples
Module 1 2 3 4 5 6 7 8
Addr.
Module No. Module 1 Module 2 Module 3 Module 4 Module 5 Module 5 Module 6 Module 6
I1-8 I 9 -16 I1-8 I 9 -16
Module 1 2 3 4 5 6 7 8
Addr.
Module No. Module 1 Module 2 Module 3 Module 3 Module 4 Module 4 Module 5 Module 6
I1-8 I 9 -16 I1-8 I 9 -16
The green Status LEDs arranged in two rows show the logical state of the respective input.
LEDs marked with S# correspond to the inputs of group 1 (Y1). LEDs marked with S#+1 correspond to
the inputs of group 2 (Y2).
The LED OK (orange) indicates that the input supply voltage is present. The LED is lit for input voltages from
15 to 18 VDC.
Group 1 - Y1
I 1-8
Input
status
Voltage
monitoring
COM 1 s U-OK
Diagnosis
status
COM 1
Group 2 - Y2
I 9-16
Input
status
Voltage
monitoring
COM 2 s U-OK
Diagnosis
status
COM 2
A legend sheet can be slid into the front of the module from above. The module circuit is shown on the back.
The inputs can be labelled on the front.
DI439
Y1 Y2
Sensor Sensor
IN1 1 IN1 1
IN2 2 9 COM1 IN2 2 9 COM2
IN3 3 24 V = IN3 3 24 V =
11 COM1s 11 COM2s
IN4 4 IN4 4
IN5 5 IN5 5
IN6 6 IN6 6
IN7 7 IN7 7
IN8 8 IN8 8
Chapter 3
5 Input 5
6 Input 6
7 Input 7
8 Input 8
10 free
11 COM 1 s Input supply Y1
12 free
13 free
14 free
15 free
3 Input 11
4 Input 12
5 Input 13
6 Input 14
7 Input 15
8 Input 16
10 free
11 COM 2 s Input supply Y2
12 free
13 free
14 free
15 free
The input module DI439 can be connected as either a sink or source circuit.
Sink Connection
For sink wiring (current consumer from the sensors point of view), the COM connection for an input group
is connected to GND and the inputs are connected to 24VDC switching sensors.
For source wiring (current supplier from the sensors point of view), the COM connection of an input group
is connected to +24VDC, and the inputs are connected to GND switching senors.
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Digital inputs 9 -16 BIT Digit. In 1 ... 8 ● Level of digital inputs 9 -16
(module address + 1)
Digital inputs 9 -16 BIT Digit. In 1 ... 8 ● Level of digital inputs 9 -16
(module address + 1)
Module status
The module status for CAN slaves can only be read using command codes. The command codes are
explained in Chapter 5, "CAN Bus Controller Functions", section "Command Codes and Parameters".
An example is provided in Chapter 4 "Module Addressing".
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
CAN ID Packed
1)
CAN ID Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8
1)
CAN ID = 286 + (nd - 1) x 4 nd .... Node number of the CAN slave = 1
289 Inputs 9 - 16
1)
CAN ID = 286 + (nd - 1) x 4 + (ma - 1) nd ... Node number of the CAN slave = 1
ma ... Module address of digital I/O modules = 1 - 4
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
Chapter 3
Bit Description
0 x 0 1 0 0 1
7 0
Module ID DI645
General Information
Short Description 2003 digital input module, 8 inputs 100-240 VAC, 50 ms,
Order terminal blocks separately!
Amount
CP430, EX270 4
CP470, CP770 8
CP474, CP476, CP774
EX470, EX770
EX477, EX777
Static Characteristics
Number of Inputs 8
Input Voltage
Minimum 85 VAC
Nominal 100 - 240 VAC
Maximum 264 VAC
Switching Threshold
LOW <40 VAC at 2 mA
HIGH >79 VAC
Input Current
100 VAC / 60 Hz Approx. 5 mA
240 VAC / 50 Hz Approx. 11 mA
Operating Characteristics
Mechanical Characteristics
The status-LEDs 1 - 8 (green) show the logical state of the corresponding inputs.
The LED OK (orange) indicates that the input supply voltage is present. The LED is lit for input voltages from
Chapter 3
7.10.3 Input Circuit Diagram
I 1-8
Input
status
Voltage
monitoring
COM
A legend sheet can be slid into the front of the module from above. The module circuit is shown on the back.
The inputs can be labelled on the front.
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Module status
The module status for CAN slaves can only be read using command codes. The command codes are
explained in Chapter 5, "CAN Bus Controller Functions", section "Command Codes and Parameters".
An example is provided in Chapter 4 "Module Addressing".
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Chapter 3
CAN ID Packed
1)
CAN ID Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8
1)
CAN ID = 286 + (nd - 1) x 4 nd .... Node number of the CAN slave = 1
CAN ID Unpacked
1)
Module CAN ID Byte
1 286 Inputs 1 - 8
2 287 Inputs 1 - 8
3 288 Inputs 1 - 8
4 289 Inputs 1 - 8
1)
CAN ID = 286 + (nd - 1) x 4 + (ma - 1) nd ... Node number of the CAN slave = 1
ma ... Module address of digital I/O modules = 1 - 4
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
Evaluation of the module status is explained using an example in Chapter 4 "Module Addressing".
Bit Description
6 Digital module = 0
5 x ....Not defined, masked out
0 x 0 0 1 0 1
7 0
Digital output modules are used to control external loads (relays, motors, solenoids). The states of the digital
outputs are indicated by status LEDs. The relevant differences in characteristics for output modules are:
• Number of Outputs
• Type (relay, transistor)
• Switching Voltage
• Continuous Current
The transistor output module DO435 has overload protection and an internal protective circuit for overload
peaks or reverse polarity. The negative anode potential allows fast switching of inductive loads without external
Chapter 3
On the relay output module DO721, each output is protected against overload by a fuse.
Number of Outputs 4 4
Switching Voltage
Minimum 11.4 VDC
Nominal 11 - 24 VDC 48 -125 VAC
Maximum 30 VDC
Switching Voltage
Minimum 18 VDC
Nominal 24 VDC 240 VAC / 30 VDC 240 VAC / 24 VDC 240 VAC / 24 VDC
Maximum 30 VDC 264 VAC / 110 VDC 264 VAC / 125 VDC 264 VAC / 125 VDC
8.5 PROGRAMMING
The digital outputs are accessed directly in the application program using a variable name. The relationship
between the output channel for a certain module and the variable name is defined in the variable declaration.
The declaration is made identically for each programming language using a table editor.
General Information
Short Description 2003 digital output module, 4 FET outputs 12 to 24 VDC, 0.1 A,
screw-in module, Order terminal block TB712 separately!
Static Characteristics
Number of Outputs 4
Design FET
Switching Voltage/Supply
Minimum 11.4 VDC
Nominal 12 - 24 VDC
Maximum 30 VDC
Protection Reverse polarity protection
Protection Characteristics
Protection
Short circuit protection Yes
Overload protection Yes
Dynamic Characteristics
Switching Delay
Typical <2 µs
Maximum 2.4 µs
Operating Characteristics
Electrical Isolation
Output - PCC No
Output - Output No
Mechanical Properties
The DO135 is a 4 channel output module. The outputs are tristate when switched on. All outputs are activated
as a group after the outputs are configured using configuration word 14.
Operating modes can be set separately for each output. The following operating modes are available:
• Normal operation
• Pulse width modulation (PWM)
• TPU operation
Normal Operation
Output are switched on/off periodically. Pulse width ratio, period duration and resolution can be set.
In TPU operation, the outputs are controlled by the TPU. If e.g. the DO135 module is inserted in the first slot
of the CP interface, the first output can be operated using the LTX function LTXdo0().
• The supply voltage is tested over a valid range. (10.5 VDC < Us < 30 VDC)
• The channels are equipped with readable power cut-off
Pin Assignment
1 Shield
2 Output 1
1 3 GND
1
2
4 Output 2
3
5 Shield
4
5
6 Shield
6 7
7 Output 3
8
8 GND
9 10 11 12
9 Output 4
12 10 Shield
11 +12 to +24 VDC
TB712 12 GND
Chapter 3
Load
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb Shield
1
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
Output 1
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
2
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa
GND
3
Output 2
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
4
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
Shield
5
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb Shield
6
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
Output 3
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
7
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
GND
8
1 A Fuse aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb Output 4
(slow-blow)
9 10 11 12
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb Shield
+ aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
+12 to +24 VDC
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
=
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
GND
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa
Supply:
12 to 24 VDC
Protect with 1 A slow-blow fuse!
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Accessing screw-in modules is also explained in the sections "AF101" and "CPU".
Data access takes place using data and configuration words. The following table provides an overview of
which data and configuration words are used for this module.
Data word 0 WORD Analog In 1 ● Switching phase counter for all channels (pulse width
modulation)
INT16 Analog Out 1 ● Output state or pulse width ratio for output 1
Data word 1 INT16 Analog Out 2 ● Output state or pulse width ratio for output 2
Data word 2 INT16 Analog Out 3 ● Output state or pulse width ratio for output 3
Data word 3 INT16 Analog Out 4 ● Output state or pulse width ratio for output 4
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
The switching phase counter can be transferred packed or unpacked in pulse width modulation operating
mode.
CAN objects can only be sent back in packed mode.
1)
CAN ID Slot 1 Slot 2 Slot 3 Slot 4
543 free
544 free
545 free
Chapter 3
nd ..... Node number of the CAN slave = 1
ma .... Module address of the AF101 = 1
1)
Slot CAN ID Word 1 Word 2 Word 3 Word 4
1)
CAN ID = 542 + (nd - 1) x 16 + (ma - 1) x 4 + (sl - 1)
nd ..... Node number of the CAN slave = 1
ma .... Module address of the AF101 = 1
sl ....... Slot number of the screw-in module on the AF101 (1 - 4)
It is not possible to pack output data with the DO135. Therefore one CAN object is transferred per screw-
in module.
If an adapter module AF101 is equipped with a four DO135 modules, the CAN object has the following
structure:
1)
Slot CAN ID Word 1 Word 2 Word 3 Word 4
1)
CAN ID = 1054 + (nd - 1) x 16 + (ma - 1) x 4 + (sl - 1)
nd ..... Node number of the CAN slave = 1
ma .... Module address of the AF101 = 1
sl ....... Slot number of the screw-in module on the AF101 (1 - 4)
B&R 2000 users have to exchange the data so that the high data is first (Motorola
format)!
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
The switching phase of all channels in the pulse width modulation mode are counted with a 16-bit switching
phase counter. The counter value can be read from data word 0.
It operates like a free running counter. This means that after reaching its highest value of 65535, the counter
resets and begins again from 0.
The switching phase the output is currently in can be determined using the counter value.
Switching Phase
In the switch-on phase (counter value is even), the output changes from OFF to ON. In the switch-off phase
(counter value is odd), the output changes from ON to OFF.
The switching time is determined by the pulse width ratio.
The output status and the pulse width ratio are defined with these data words according to the operating
mode set.
Normal Operation
Chapter 3
32767 ($7FFF) ....... 100 %
0 ($0000) ........... 0 %
Neg. Values ........... 0 %
Example
Outputs 3 and 4 use operating mode pulse width modulation. The following pulse width ratios are defined:
The period time is defined with configuration word 8. The period time depends on the factor used (see
configuration word 9).
The standard value for the factor is 4. This results in the definition of the period time in milliseconds (0 - 65535).
If the period time is set to 0, the outputs keep their value after the current period has passed (normally log 0,
only log 1 with a pulse width ratio of 100%). The period counter is then cleared and remains 0.
If the period time is changed to a value between 1 and 65535, the period counter will be stopped, cleared
and restarted with the new value after the current period of the period counter.
Example
The factor for the period time is defined with configuration word 9 (see configuration word 8).
The standard value for the factor is 4. This results in the definition of the period time in milliseconds.
The range of values lays between 1 and 256.
Larger values are limited to 256.
A typical module frequency range between 0.1Hz and 10 Hz results in the following resolution with a factor
of 4:
To double the resolution with the same effective value, the factor can be divided in half.
Chapter 3
7 0.... Supply voltage ≤30 V
1.... Supply voltage >30 V
6 0.... Supply voltage ≥10.5 V
1.... Supply voltage <10.5 V or current limitation has responded
5 0.... Half-period counter for pulse width modulation is counting
1.... Half-period counter for pulse width modulation is not counting
4 x .... Not defined, masked out
x x x x x x x x x
15 8 7 0
Bit Description
0 0 0 1 0 1 0 0 x x x x x x x x
15 8 7 0
All outputs are tristate when they are all set to operating mode "channel not active".
TPU Operation
The output state is defined with LTX functions (e.g. LTXdo0()) for outputs with this operating mode.
Bit Description
8 - 15 0
6-7 Operating mode for output 4
0.... Channel is not active
1.... Normal operation
2.... Pulse width modulation
3.... TPU operation
4-5 Operating mode for output 3
0.... Channel is not active
1.... Normal operation
2.... Pulse width modulation
3.... TPU operation
2-3 Operating mode for output 2
0.... Channel is not active
1.... Normal operation
2.... Pulse width modulation
3.... TPU operation
0-1 Operating mode for output 1
0.... Channel is not active
1.... Normal operation
2.... Pulse width modulation
3.... TPU operation
0 0 0 0 0 0 0 0
15 8 7 0
The screw-in module DO164 is equipped with four output channels. It is used to send firing pulses (triac
coupler) for phase-angle control of power triacs.
The module is installed on the adapter module or on the CP interface.
General Information
Model Number 7DO164.70
Short Description 2003 digital output module, 4 FET outputs 48 to 125 VAC, 0.05 A,
zero cross detection, screw-in module, Order terminal block TB712 separately!
Number of Inputs 1
Rated Frequency 48 to 63 Hz
Switching Threshold
Low Range <-5 V
High Range >+5 V
Electrical Isolation No
Triac Outputs
Number of Outputs 4
Type of Outputs 1)
Triac coupler,
only to control power triacs or nonparallel thyristors
Rated Frequency 48 to 63 Hz
Output Current
Continuous Current Max. 50 mA
Ignition Pulse Current Max. 0.5 A
Protection Characteristics
Dynamic Characteristics
Operating Characteristics
Electrical Isolation
Input - Output Yes
Output - Output Yes
Mechanical Characteristics
1)
Because of the very low (dV/dt)c value of the triac coupler ("Critical Rate of Rise of Commutating Voltage"), the triac output is not suitable
for use as SSR relay for direct switching of loads.
1 Output 1
2 COM1 O1
3 Output 2
4 COM2 O2 Local
Processor
Port
5 Output 3
Chapter 3
7 Output 4
8 COM4 O4
10 PE
11 N
ZERO
12 L1
Pin Assignment
1 Output 1
2 COM 1
3 Output 2
1
1
4 COM 2
2
3
5 Output 3
4
6 COM 3
5
6 7
7 Output 4
8
9 10 11 12 8 COM4
9 n. c.
10 PE: Ground
12 potential
11 N: Neutral
TB712 12 L1: Phase
Standard Connection
L1
Power Triac
Load
N
Output 1
1
COM1
2
Output 2
3
COM2
4
Output 3
5
COM3
6
Output 4
7
COM4
8
9 10 11 12
PE
N: Neutral
L1: Phase
Twisted pair lines
Wiring
L1
RS
To control triac
DO164
Rg CS
Load
Chapter 3
RC Combination
Gate Resistance
Rg Approx. 22 to 100 Ω
Because of the connection with an RC combination, the calculation for the minimum voltage when firing is
started UFS1 and therefore the calculation of the controllable phase angle changes.
UFS1 = (IGT [A] + VGT [V] / Rg [Ω]) * (22 Ω + RS [Ω]) + VGT [V] + 2 V
With the following formula, the earliest switch-on angle and the latest switch-off angle can be calculated. The
controllable phase angle is within this range.
Note: The switch-on delay for the power triacs must be shorter than 5 µs.
U
Controllable phase angle
U * √2
UFS
U FE
T FE 1/f
T FS
At the start of the firing pulse, the operating voltage must be high enough for the power triac to be fired
securely.
When firing is started, the operating voltage must be high enough for the latch current of the power triac
to be reached.
At the end of the firing pulse, the operating voltage must be high enough for the holding current of the power
triac to be reached.
The high of the two voltages U FS1 and UFS2 is selected. This voltage is used to calculate the earliest switch-on
angle.
Chapter 3
Latest switch-off angle: ϕFS
To achieve an earlier switch-on time, especially for small loads, only use the voltage UFS1 for the calculation.
In this case however, UFS2 must be greater than UFS1 and the drive pulse must be available until the voltage
UFS2 is reached.
This drive pulse duration is calculated from the time difference for these two voltages TFS2 - TFS1. The drive pulse
duration always has to be larger than the specified minimum pulse duration TDP.
Calculation Example
Entry
Operating Voltage
Voltage 48 VAC ±15 %
Frequency 50 Hz
RC Combination
RS 22 Ω
CS 100 nF
The controllable phase angle in this example is 14.39° to 173.41° or 0.8 to 9.3 ms with reference to the zero
cross signal.
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Accessing screw-in modules is also explained in the sections "AF101" and "CPU".
Data access takes place using data and configuration words. The following table provides an overview of
which data and configuration words are used for this module.
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
1)
CAN ID Slot 1 Slot 2 Slot 3 Slot 4
543 free
544 free
545 free
1)
CAN ID = 542 + (nd - 1) x 16 + (ma - 1) x 4
nd ..... Node number of the CAN slave = 1
ma .... Module address of the AF101 = 1
1)
Slot CAN ID Word 1 Word 2 Word 3 Word 4
1)
CAN ID = 542 + (nd - 1) x 16 + (ma - 1) x 4 + (sl - 1)
nd ..... Node number of the CAN slave = 1
ma .... Module address of the AF101 = 1
sl ....... Slot number of the screw-in module on the AF101 (1 - 4)
Output Data
It is not possible to pack output data with the DO164. Therefore one CAN object is transferred per screw-
in module. If an adapter module AF101 is equipped with a four DO164 modules, the CAN object has the
Chapter 3
1)
Slot CAN ID Word 1 Word 2 Word 3 Word 4
1)
CAN ID = 1054 + (nd - 1) x 16 + (ma - 1) x 4 + (sl - 1)
nd ..... Node number of the CAN slave = 1
ma .... Module address of the AF101 = 1
sl ....... Slot number of the screw-in module on the AF101 (1 - 4)
B&R 2000 users have to exchange the data so that the high data is first (Motorola
format)!
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
Bit Description
6 - 15 x .... Not defined, masked out
5 0 .... Frequency of the input voltage is in valid range during normal
operation
1 .... Frequency of the input voltage exceeds the valid range of 30 to
80 Hz during normal operation (outputs are switched off)
4 0 .... Outputs are synchronized to the frequency of the input voltage
1 .... Outputs are being synchronized to the frequency of the input
voltage (outputs are switched off)
0-3 x .... Not defined, masked out
x x x x x x x x x x x x x x
15 8 7 0
If a channel is configured as inactive, it is tristate. During normal operation, bit 0 corresponds to the output
status.
The controllable phase angle is 16.2° to 163.8°. During normal operation, the outputs are always set within
this range. This results in the following voltage curve:
U * √2
If an output is switched off during normal operation, the output remains set during the current half-wave. The
output is switched off the next time the voltage crosses zero.
U
Switch-off time
U * √2
Chapter 3
The DO164 module must be installed on the CP interface. Software operation takes place using TPU function
blocks.
Bit Description
0 0 1 1 1 1 0 0 x x x x x x x x
15 8 7 0
Bit Description
9 - 15 0
8 0 ....Zero cross-over of the input voltage is not evaluated
1 ....Zero cross-over of the input voltage is evaluated. Channel 4 is
operated as an input.
6-7 Definition of the operating mode for channel 4
0 ....Channel is not active (tristate)
1 ....Normal operation
4-5 Definition of the operating mode for channel 3
0 ....Channel is not active (tristate)
1 ....Normal operation
2-3 Definition of the operating mode for channel 2
0 ....Channel is not active (tristate)
1 ....Normal operation
0-1 Definition of the operating mode for channel 1
0 ....Channel is not active (tristate)
1 ....Normal operation
0 0 0 0 0 0 0
15 8 7 0
Module ID DO435
General Information
Amount
CP430, EX270 4
CP470, CP770 8
CP474, CP476, CP774
EX470, EX770
EX477, EX777
Outputs
Type FET
Switching Voltage/Supply
Minimum 18 VDC
Nominal 24 VDC
Maximum 30 VDC
Simultaneousness
at 1 A 100 %
at 2 A 50 % (note derating curve)
Protection
Short circuit protection Yes
Overload protection Yes
With this module, each channel can be used either as an input or output. All outputs must first be declared
as such. Each time the module is turned on, all channels are configured as inputs.
Remote Slaves ●
CAN Slaves ●
Module ID DO435
Wiring Sink
Input Voltage
Minimum 18 VDC
Nominal 24 VDC
Maximum 30 VDC
Switching Threshold
LOW <5 V
HIGH >15 V
The green/orange status LEDs 1 - 8 show the logical state of the corresponding inputs/output.
The LED U-OK (orange) indicates that the supply voltage is present. The LED is lit starting with a supply voltage
of approx. 18 VDC.
Voltage
monitoring
Diagnosis
status
+24 VDC U-OK
Output
status
O/I 1-8
A legend sheet can be slid into the front of the module from above. The module circuit is shown on the back.
The outputs/inputs can be labelled on the front.
Output Circuit
Load
Free 1 2 3 4 ...
Outputs/Inputs
+24 VDC
Next
Module
GND
Input Connections
Reference Potential
for Sensor
Free 1 2 3 4 ...
Outputs/Inputs
+24 VDC
Next
Module
GND
Transistors are suitable for switching inductive loads off quickly and safely. Inverse diodes are not necessary
on inductive loads. It should be noted that the maximum switching frequency at a given inductance is limited
by a set negative anode potential of 46 V. The maximum switching frequency decreases as the inductance
increases.
The maximum switching frequency in relation to a given inductance can be seen from the following diagram.
Derating Curve
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
After the module is turned on, all channels are configured as inputs. Output channels
must first be declared as such.
Please refer to the overview in the technical data the examples in Chapter 4 "Module
Addressing".
Module status
The module status for CAN slaves can only be read using command codes. The command codes are
explained in Chapter 5, "CAN Bus Controller Functions", section "Command Codes and Parameters".
An example is provided in Chapter 4 "Module Addressing".
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
Digital Inputs
1)
CAN ID Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8
1)
CAN ID = 286 + (nd - 1) x 4 nd .... Node number of the CAN slave = 1
Chapter 3
1 286 Inputs 1 - 8
2 287 Inputs 1 - 8
3 288 Inputs 1 - 8
4 289 Inputs 1 - 8
1)
CAN ID = 286 + (nd - 1) x 4 + (ma - 1) nd ... Node number of the CAN slave = 1
ma ... Module address of digital I/O modules = 1 - 4
Digital Outputs
All channels are declared as inputs as their default. Changing the definition to an output channel
is described in Chapter 5 "CAN Bus Controller Functions". A example of this is given in Chapter 4
"Module Addressing".
1)
CAN ID Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8
1)
Module CAN ID Byte
1 414 Outputs 1 - 8
2 415 Outputs 1 - 8
3 416 Outputs 1 - 8
4 417 Outputs 1 - 8
1)
CAN ID = 414 + (nd - 1) x 4 + (ma - 1) nd ... Node number of the CAN slave = 1
ma ... Module address of digital I/O modules = 1 - 4
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
Evaluation of the module status is explained using an example in Chapter 4 "Module Addressing".
Bit Description
0 x 0 1 0 1 1
7 0
Module ID DO720
General Information
Short Description 2003 digital output module, 8 relay outputs 240 VAC / 30 VDC, 2 A,
Order terminal blocks separately!
Amount
EX270 2
CP430 4
CP470, CP770 8
CP474, CP476, CP774
EX470, EX770
EX477, EX777
Static Characteristics
Number of Outputs 8
Switching Voltage
Nominal 240 VAC / 30 VDC
Maximum 264 VAC / 110 VDC
Dynamic Characteristics
Switching Delay
log 0 - log 1 Max. 10 ms
log 1 - log 0 Max. 10 ms
Operating Characteristics
Dielectric Strength
Contact - Contact 750 VAC / 1 min
Contact - Coil 2000 VAC / 1 min
Mechanical Characteristics
The Status LEDs 1 - 8 (orange) show the logical state of the corresponding output.
COM Relay
COM
A legend sheet can be slid into the front of the module from above. The module circuit is shown on the back.
The outputs can be labelled on the front.
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Module status
The module status for CAN slaves can only be read using command codes. The command codes are
explained in Chapter 5, "CAN Bus Controller Functions", section "Command Codes and Parameters".
An example is provided in Chapter 4 "Module Addressing".
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
CAN ID Packed
1)
CAN ID Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8
CAN ID Unpacked
1)
Module CAN ID Byte
1 414 Outputs 1 - 8
2 415 Outputs 1 - 8
3 416 Outputs 1 - 8
4 417 Outputs 1 - 8
1)
CAN ID = 414 + (nd - 1) x 4 + (ma - 1) nd ... Node number of the CAN slave = 1
ma ... Module address of digital I/O modules = 1 - 4
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
Evaluation of the module status is explained using an example in Chapter 4 "Module Addressing".
Bit Description
6 Digital module = 0
x 0 x 0 0 0 1 0
7 0
Module ID DO721
General Information
Short Description 2003 digital output module, 4 relay outputs 240 VAC / 24 VDC, 4 A
Amount
EX270 2
CP430 4
CP470, CP770 8
CP474, CP476, CP774
EX470, EX770
EX477, EX777
Static Characteristics
Switching Voltage
Nominal at 4 A 240 VAC / 24 VDC
Maximum 264 VAC / 125 VDC
Maximum Voltage Relay-Relay 460 VAC
Dynamic Characteristics
Switching Delay
log 0 - log 1 Max. 10 ms
log 1 - log 0 Max. 10 ms
Operating Characteristics
Electrical Isolation
Output - PCC Yes
Output - Output Yes
Dielectric Strength
Contact - Contact 1.4 kV with 1.2 x 50 µs pulse
Contact - PCCS, Relay - Relay 4 kV with 1.2 x 50 µs pulse
Chapter 3
8.10.2 Status LEDs
The Status LEDs 1 - 4 (orange) show the logical state of the corresponding output.
A legend sheet can be slid into the front of the module from above. The module circuit is shown on the back.
The outputs can be labelled on the front.
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Module status
The module status for CAN slaves can only be read using command codes. The command codes are
explained in Chapter 5, "CAN Bus Controller Functions", section "Command Codes and Parameters".
An example is provided in Chapter 4 "Module Addressing".
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
CAN ID Packed
1)
CAN ID Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8
CAN ID Unpacked
Chapter 3
1)
Module CAN ID Byte
1 414 Outputs 1 - 4
2 415 Outputs 1 - 4
3 416 Outputs 1 - 4
4 417 Outputs 1 - 4
1)
CAN ID = 414 + (nd - 1) x 4 + (ma - 1) nd ... Node number of the CAN slave = 1
ma ... Module address of digital I/O modules = 1 - 4
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
Evaluation of the module status is explained using an example in Chapter 4 "Module Addressing".
Bit Description
6 Digital module = 0
x 0 x 0 0 1 1 0
7 0
Module ID DO722
General Information
Short Description 2003 digital output module, 8 relay outputs 240 VAC / 24 VDC, 2.5 A
Amount
EX270 2
CP430 4
CP470, CP770 8
CP474, CP476, CP774
EX470, EX770
EX477, EX777
Static Characteristics
Switching Voltage
Nominal at 2.5 A 240 VAC / 24 VDC
Maximum 264 VAC / 125 VDC
Maximum Voltage Relay-Relay 460 VAC
Protection Characteristics
Switching Delay
log 0 - log 1 Max. 10 ms
log 1 - log 0 Max. 10 ms
Operating Characteristics
Electrical Isolation
Output - PCC Yes
Output - Output Yes
Mechanical Characteristics
Chapter 3
8.11.3 Output Circuit Diagram
A legend sheet can be slid into the front of the module from above. The module circuit is shown on the back.
The outputs can be labelled on the front.
DO722
NO
COM
Load
COM
24 VDC
NO
240 VAC
O1 O3 O5 O7
O2 O4 O6 O8
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Module status
The module status for CAN slaves can only be read using command codes. The command codes are
explained in Chapter 5, "CAN Bus Controller Functions", section "Command Codes and Parameters".
An example is provided in Chapter 4 "Module Addressing".
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
CAN ID Packed
1)
CAN ID Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8
CAN ID Unpacked
Chapter 3
1)
Module CAN ID Byte
1 414 Outputs 1 - 8
2 415 Outputs 1 - 8
3 416 Outputs 1 - 8
4 417 Outputs 1 - 8
1)
CAN ID = 414 + (nd - 1) x 4 + (ma - 1) nd ... Node number of the CAN slave = 1
ma ... Module address of digital I/O modules = 1 - 4
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
Evaluation of the module status is explained using an example in Chapter 4 "Module Addressing".
Bit Description
6 Digital module = 0
x 0 x 1 0 0 1 0
7 0
Digital mixed modules are a combination of digital input and digital output modules. The status of the digital
inputs and outputs are indicated with status LEDs.
9.2 OVERVIEW
Number of Inputs 8 8 16
Number of Outputs 8 8 16
9.3 PROGRAMMING
The digital inputs and outputs are accessed directly in the application program using a variable name. The
relationship between an input or output channel for a certain module and the variable name is defined in the
variable declaration. The declaration is made identically for each programming language using a table editor.
Module ID DM435
General Information
Short Description 2003 digital mixed module, 8 inputs 24 VDC, 1 ms, sink/source,
8 transistor outputs 24 VDC, 0.5 A, Order terminal blocks separately!
Amount
CP430, EX270 4
CP470, CP770 8
CP474, CP476, CP774
EX470, EX770
EX477, EX777
Inputs
Number of Inputs 8
Input Voltage
Minimum 18 VDC
Nominal 24 VDC
Maximum 30 VDC
Switching Threshold
LOW <5 V
HIGH >15 V
Number of Outputs 8
Switching Voltage
Minimum 18 VDC
Nominal 24 VDC
Maximum 30 VDC
Switching Delay
log 0 - log 1 Max. 450 µs
log 1 - log 0 Max. 450 µs
Mechanical Properties
The green/orange status LEDs 1 - 8 show the logical state of the corresponding inputs/output.
The LED OK (orange) indicates that the supply voltage for the inputs and outputs is present. The LED is lit
starting with a supply voltage of approx. 18 VDC.
If voltage is incorrectly placed on an output which is not set, the LED goes out.
I 1-8
Input
status
Voltage
monitoring
COM s U-OK
Diagnosis
status
COM
Voltage
monitoring
Diagnosis
U-OK status
+24 VDC
&
Temperature and
IK Monitor Output
status
O 1-8
GND
A legend sheet can be slid into the front of the module from above. The module circuit is shown on the back.
The inputs/outputs can be labelled on the front.
Reference Potential
for Sensor
Active Signal Level
of the Inputs (COM s)
1 2 3 4 ...
Reference Potential
of the Inputs (COM)
TB722:
All terminals in a terminal row
are connected internally.
Supply Voltage
for the Inputs
+24 VDC
Next Module
Reference Potential
for the Inputs
GND, 0 VDC
Reference Potential
for Sensor
Active Signal Level
for the Inputs (COM s)
1 2 3 4 ...
Reference Potential
for the Inputs (COM)
TB722:
All terminals in a terminal row
are connected internally.
Output Circuit
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Module status
The module status for CAN slaves can only be read using command codes. The command codes are
explained in Chapter 5, "CAN Bus Controller Functions", section "Command Codes and Parameters".
An example is provided in Chapter 4 "Module Addressing".
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
Digital Inputs
1)
CAN ID Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8
1)
CAN ID = 286 + (nd - 1) x 4 nd .... Node number of the CAN slave = 1
Chapter 3
2 287 Inputs 1 - 8
3 288 Inputs 1 - 8
4 289 Inputs 1 - 8
1)
CAN ID = 286 + (nd - 1) x 4 + (ma - 1) nd ... Node number of the CAN slave = 1
ma ... Module address of digital I/O modules = 1 - 4
Digital Outputs
1)
CAN ID Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8
1)
Module CAN ID Byte
1 414 Outputs 1 - 8
2 415 Outputs 1 - 8
3 416 Outputs 1 - 8
4 417 Outputs 1 - 8
1)
CAN ID = 414 + (nd - 1) x 4 + (ma - 1) nd ... Node number of the CAN slave = 1
ma ... Module address of digital I/O modules = 1 - 4
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
Evaluation of the module status is explained using an example in Chapter 4 "Module Addressing".
Bit Description
6 Digital module = 0
5 0 ....No error, the supply voltage for the digital outputs is OK
1 ....Short circuit, over-temperature or the supply voltage for the
digital outputs is not OK
0-4 Module code = $03
0 0 0 0 1 1
7 0
General Information
Short Description 2003 digital mixed module, 8 inputs 24 VDC, 1 ms, sink/source,
8 transistor outputs 24 VDC, 0.5 A
Amount
CP430, EX270 4
CP470, CP770 8
CP474, CP476, CP774
EX470, EX770
EX477, EX777
Inputs
Number of Inputs 8
Input Voltage
Minimum 18 VDC
Nominal 24 VDC
Maximum 30 VDC
Switching Threshold
LOW <5 V
HIGH >15 V
Number of Outputs 8
Switching Voltage
Minimum 18 VDC
Nominal 24 VDC
Maximum 30 VDC
Switching Delay
log 0 - log 1 Max. 450 µs
log 1 - log 0 Max. 450 µs
Mechanical Properties
The green/orange status LEDs 1 - 8 show the logical state of the corresponding inputs/output.
The LED OK (orange) indicates that the supply voltage for the inputs and outputs is present. The LED is lit
starting with a supply voltage of approx. 18 VDC.
I 1-8
Input
status
Voltage
monitoring
COM s U-OK
Diagnosis
status
COM
+24 VDC
Diagnosis
status
Umax Monitor
Temp. Monitor
Output
U Monitor status
O 1-8
I Monitor
GND
A legend sheet can be slid into the front of the module from above. The module circuit is shown on the back.
The inputs/outputs can be labelled on the front.
Chapter 3
Y1 Y2
Load Sensor
OUT1 1 IN1 1
OUT2 2 9 GND 9 COM
IN2 2
OUT3 3 24 V = IN3 3 24 V =
+ 11 OP 11 COM s
OUT4 4 IN4 4
12 OP
OUT5 5 IN5 5
13 OP
OUT6 6 14 OP IN6 6
OUT7 7 IN7 7
15 OP
OUT8 8 IN8 8
Sink Connection
For sink wiring (current consumer from the sensors point of view), the COM connection is wired to GND and
the inputs are connected to sensors that switch to 24 VDC.
For source wiring (current supplier from the sensors point of view), the COM connection is wired to +24
VDC and the inputs are connected sensors that switch to GND.
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Module status
The module status for CAN slaves can only be read using command codes. The command codes are
explained in Chapter 5, "CAN Bus Controller Functions", section "Command Codes and Parameters".
An example is provided in Chapter 4 "Module Addressing".
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
Digital Inputs
1)
CAN ID Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8
1)
CAN ID = 286 + (nd - 1) x 4 nd .... Node number of the CAN slave = 1
Chapter 3
2 287 Inputs 1 - 8
3 288 Inputs 1 - 8
4 289 Inputs 1 - 8
1)
CAN ID = 286 + (nd - 1) x 4 + (ma - 1) nd ... Node number of the CAN slave = 1
ma ... Module address of digital I/O modules = 1 - 4
Digital Outputs
1)
CAN ID Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8
1)
Module CAN ID Byte
1 414 Outputs 1 - 8
2 415 Outputs 1 - 8
3 416 Outputs 1 - 8
4 417 Outputs 1 - 8
1)
CAN ID = 414 + (nd - 1) x 4 + (ma - 1) nd ... Node number of the CAN slave = 1
ma ... Module address of digital I/O modules = 1 - 4
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
Evaluation of the module status is explained using an example in Chapter 4 "Module Addressing".
Bit Description
6 Digital module = 0
0 0 0 1 1 1
7 0
Module ID DM465
General Information
Short Description 2003 digital mixed module, 16 inputs 24 VDC, 1 ms, sink,
16 transistor outputs 24 VDC, 0.5 A, Order terminal blocks separately!
Amount 1)
CP430, EX270 2
CP470, CP770 4
EX470, EX770
EX477, EX777
CP474, CP774 6
CP476 8
Inputs
Number of Inputs 16
Wiring Sink
Input Voltage
Minimum 18 VDC
Nominal 24 VDC
Maximum 30 VDC
Switching Threshold
LOW <5 V
HIGH >15 V
Electrical Isolation
Input - PCC Yes
Input - Output No
Outputs
Number of Outputs 16
Switching Voltage
Minimum 18 VDC
Nominal 24 VDC
Maximum 30 VDC
Switching On after Overload Cutoff Automatically within seconds (depends on the module temperature)
Switching Delay
log 0 - log 1 Max. 450 µs
log 1 - log 0 Max. 450 µs
Electrical Isolation
Output - PCC Yes
Output - Input No
Mechanical Properties
1)
Two logical module slots are required by the module.
Supply Voltage
The LED OK (orange) indicates that the supply voltage for the inputs and outputs is present. The LED is lit
starting with a supply voltage of approx. 18 VDC.
If voltage is inadvertently placed on an output which is not set, the LED goes out.
Only 8 LEDs each are available for the 16 inputs and outputs.
To show all channels, they are divided into groups of eight. You can switch between the two groups using
a toggle button on the module front. Two LEDs show which channels are currently being displayed.
LED Green
Chapter 3
States of the orange LEDs
LED Orange
S#
Pulse Error on one of the outputs 1 - 8 when showing outputs 9 - 16 ("S # + 1")
S#+1
Pulse Error on one of the outputs 9 - 16 when showing outputs 1 - 8 ("S #")
I 1-16 Input
Status
Voltage
Monitoring
Diagnose
Status
INOK U-OK
COM
Voltage
Monitoring
+24 VDC
Diagnose
Status
Umax Monitor
GND
A legend sheet can be slid into the front of the module from above. The module circuit is shown on the back.
The inputs/outputs can be labelled on the front.
The supply voltage for the inputs is applied using the terminal block TB722. A separate supply voltage is
required for the inputs and outputs. The reference potential for both voltages is connected to the bottom
pin connector on the TB736.
Reference
potential
for sensor
Chapter 3
Reference potential "-"
internally connected
X2
+24 VDC
Load
1 2 3 4 5 6 7 ...
X1
X2
+24 VDC
If the digital mixed module DM465 is operated using a three line connection, the terminal block TB772 is used
as additional jumper terminal.
Sensor Actuator
1 2 3 4 5 6 7 ...
Chapter 3
Reference potential "-"
internally connected
X2 X2
+24 VDC X3 X3
for inputs
GND X4 X4
+24 VDC X5 X5
for outputs
GND X6
X6
1 2 3 4 5 6 7
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Module status
The module status for CAN slaves can only be read using command codes. The command codes are
explained in Chapter 5, "CAN Bus Controller Functions", section "Command Codes and Parameters".
An example is provided in Chapter 4 "Module Addressing".
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
Digital Inputs
The following example shows the structure of the CAN object if four DI435 and two DM 465 modules are used.
1)
CAN ID Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8
286 DI435 DI435 DI435 DI435 DM465 DM465 DM465 DM465
I1-8 I 9 - 16 I1-8 I 9 - 16
Chapter 3
A maximum of four digital I/O module can be run in unpacked mode.
The following example shows the structure of the CAN object if two DI435 and one DM465 modules are used.
1)
Module CAN ID Byte
DI435 286 Inputs 1 - 8
DI435 287 Inputs 1 - 8
288 Inputs 1 - 8
DM465
289 Inputs 9 - 16
1)
CAN ID = 286 + (nd - 1) x 4 + (ma - 1) nd ... Node number of the CAN slave = 1
ma ... Module address of digital I/O modules = 1 - 4
Digital Outputs
The following example shows the structure of the CAN object if four DO722 and two DM 465 modules are
used.
1)
CAN ID Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8
414 DO722 DO722 DO722 DO722 DM465 DM465 DM465 DM465
O1-8 O 9 - 16 O1-8 O 9 - 16
1)
CAN ID = 414 + (nd - 1) x 4 nd .... Node number of the CAN slave = 1
The following example shows the structure of the CAN object if two DO722 and one DM465 modules are
used.
1)
Module CAN ID Byte
DO722 414 Outputs 1 - 8
DO722 415 Outputs 1 - 8
416 Outputs 1 - 8
DM465
417 Outputs 9 - 16
1)
CAN ID = 414 + (nd - 1) x 4 + (ma - 1) nd ... Node number of the CAN slave = 1
ma ... Module address of digital I/O modules = 1 - 4
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
Evaluation of the module status is explained using an example in Chapter 4 "Module Addressing".
Module Status 1
Bit Description
7 0 ....No supply voltage or supply voltage too low for digital
inputs/outputs
1 ....Module voltage OK
6 Digital module = 0
5 0 ....No error, the supply voltage for digital outputs 1 – 8 is OK
1 ....Short circuit, over-temperature or the supply voltage for
digital outputs 1 – 8 is not OK
Bits 0 - 4 contain the channel number of the first faulty
output.
0-4 Module code = $17
0 1 0 1 1 1
7 0
Module Status 2
Bit Description
7 0 ....No supply voltage or supply voltage too low for digital
inputs/outputs
1 ....Module voltage OK
6 Digital module = 0
5 0 ....No error, the supply voltage for digital outputs 9 -16 is OK
1 ....Short circuit, over-temperature or the supply voltage for
digital outputs 9 -16 is not OK
Bits 0 - 4 contain the channel number of the first faulty
output.
0-4 Module code = $17
0 1 0 1 1 1
7 0
Measured values (voltages, currents) are converted into number values which can be processed in the PCC
using analog input modules.
In the PCC, analog data is always in 16 bit 2s complement regardless of the resolution. In this way, the resolution
(number of steps) of the input module does not have to be considered when creating the application program.
Each analog input module is assigned a status LED on the analog adapter module or CP interface. This LED
indicates that the input module is working.
10.2 OVERVIEW
Number of Channels 1 4
Chapter 3
Digital Converter Resolution 24 Bit 13 Bit
Number of Channels 1 4 4
10.3 PROGRAMMING
The analog data points are accessed directly in the application program using a variable name. The
relationship between the channel for a certain module and the variable name is defined in the variable
declaration. The declaration is made identically for each programming language using a table editor.
Module ID AI261
General Information
Short Description 2003 analog input module, 1 input for evaluation of full-bridge strain gauge,
24 bit, screw-in module
Static Characteristics
Number of Inputs 1
Affects of Cable Length The shielded, twisted pair cable should be as short as possible
and run separately to the sensor (isolated from load circuit) without intermediate terminals
Shielding
Module Side Using stress relief clamp on the module
Sensor Side Using HF foil capacitor 10 nF/630 V to grounded sensor housing
(use short connection lines)
Effective Converter Resolution See Table "Effective Resolution of the Measurement Range in Bits"
Chapter 3
Analog Input Measurement Error
Maximum Error at 25 °C ±55 ppm ±11 µV
Temperature Coefficient ±3 ppm/°C ±1.1 µV/°C
Maximum Error over Complete ±0.016 % ±50 µV
Temperature Range
Protection RC protection
Internal Power Consumption Max. 0.6 W
Dynamic Characteristics
Application Scan Time 4 - 100 ms
Data Output Rate on the Module 7 - 500 Hz, can be set using software
Software Filter
3 dB Cut-off Frequency 0.0395 x data output rate
64 dB Frequency (1st notch) 0.14 x data output rate
Operating Characteristics
• Force measurement
• Elasticity measurement
• Weight measurement
• Pressure measurement
• Stress measurement
• Torque measurement
The following table contains an overview of the effective resolution of the measurement range in bits. The
corresponding conversion range is given next to it.
The data output rate for the hardware lies between 50 Hz and 500 Hz. Output rates of <50 Hz can also be
set in software.
This output rate is achieved because the convertor read out at 8x the set output rate. For the calculation, eight
values are added together and then divided by eight.
To determine the effective resolution, look in the table for 8 times the set data output rate.
Example
50 Hz 7 Hz 16 Bit ±35000 16.5 Bit ±50000 17 Bit ±69000 17.5 Bit ±99000
100 Hz 12 Hz 15.5 Bit ±25000 16 Bit ±33000 16.5 Bit ±51000 17 Bit ±69000
150 Hz 18 Hz 15.5 Bit ±20000 16 Bit ±29000 16.5 Bit ±42000 17 Bit ±56000
200 Hz 25 Hz 15 Bit ±18000 15 Bit ±27000 16 Bit ±36000 16.5 Bit ±49000
400 Hz 49 Hz 14.5 Bit ±11000 15 Bit ±18000 15.5 Bit ±24000 16 Bit ±36000
The following diagram shows the transient behavior as the load changes in relation to the data output rate:
50 Hz. 5ms
120
100
200 Hz
80
Chapter 3
50 Hz
%
40
20
0
20
40
60
80
100
120
140
160
180
200
220
240
260
280
300
320
340
360
380
400
420
440
460
0
-20
ms
10.4.6 Connection
Terminal Assignments
2 + Differential input
3 -
4 ⊥ GND
6 + Differential input
7 -
8 ⊥ GND
Parallel Connection
Chapter 3
Parallel connection of two Parallel connection of three
full-bridge strain gauges full-bridge strain gauges
1
2
1 3
2
4
3
5
6
7
General Information
Precision can be improved by using strain gauge cells with feedback of the bridge voltage. The additional
sensor lines compensate for the thermal resistance of the feed lines.
AI261 modules work with 4-line strain gauge cells. The AI261 concept requires compensation in the
measurement system. This compensation eliminates all absolute uncertainty in the measurement circuit, such
as component tolerances, effective bridge voltage, or zero offset.
The measurement precision refers to the absolute (compensated) value which will only change as a result
of changes in operating temperature.
If a 6-line strain gauge cell is connected to the AI261, the line compensation no longer functions. The
measurement precision is therefore susceptible to changes in operating temperature. Long cable runs and
small cable cross-sections used between the evaluation device (AI261) and the strain gauge cell increase
the probability of errors in the measurement system.
The following example shows the discrepancy between the measured value and the actual value when the
operating temperature range lies between 25 °C and 55 °C.
Entry
Designation Value
Designation Formula
Line resistance R = 2 * l / (γ * A)
R = 2 * cable length [m] / (56 * cross-section [mm2])
Resistance change ∆R = R * 0.39 % * ∆T
∆R = R * 0.0039 * 30
Cross section [mm2] 0.25 0.14 0.25 0.22 0.34 0.5 0.5
Resistance (forward and return line) [Ω] 1.43 1.54 0.86 0.98 0.64 0.43 0.29
Temperature effects [ppm] 560 604 337 384 250 170 114
Temperature effects [%] 0.056 0.060 0.034 0.038 0.025 0.017 0.011
Deviation for measurement range 0 to 1000 kg [g] 560 604 337 384 250 170 114
Wiring
In order to reduce cable resistance, the sense lines for 6-line connection should be connected in parallel with
the supply lines.
Optimal signal quality can be obtained by using shielded, twisted pair (data) cable. The connections for the
Chapter 3
lines (output) should each use one twisted pair cable run respectively .
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Accessing screw-in modules is also explained in the sections "AF101" and "CPU".
Data access takes place using data and configuration words. The following table provides an overview of
which data and configuration words are used for this module.
Configuration word 10 WORD Transp. Out 20 ● Data output rate of the converter
Configuration word 12 WORD Transp. In 24 ● Module status
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
1)
Slot CAN ID Word 1 Word 2 Word 3 Word 4
1)
CAN ID = 542 + (nd - 1) x 16 + (ma - 1) x 4 + (sl - 1)
nd ..... Node number of the CAN slave = 1
ma .... Module address of the AF101 = 1
sl ....... Slot number of the screw-in module on the AF101 (1 - 4)
B&R 2000 users have to exchange the data so that the high data is first (Motorola
format)!
Chapter 3
10.4.10 Terms
The following terms are used to describe data and configuration words:
Term Description
Calibrated raw value Corresponds to the converter value aligned to sensor damping
Standardized value Corresponds to the calibrated raw value converted to a physical unit
Standardization line The calibrated raw value is converted to a standardized value along
this line
1st / 2nd reference point The standardizing line is calculated using these coordinates
Standardization line
Calibrated
raw value
Data words 0 and 1 contain the standardized value or the calibrated raw value from the full-bridge strain
gauge with 24 bit resolution.
Value Range
Underflow $80000001
During standardization or taring, configuration words 4 and 5 contain the calibrated raw value for the 1st
or 2nd reference point of the standardization lines determined by the module.
Configuration words 4 and 5 defines either the first or second reference point as a calibrated raw value.
Configuration words 6 and 7 defines either the first or second reference point as standardized value.
Configuration word 8 defines the command number for standardization and taring.
Bit Description
8 - 15 0
0-3 0
0 0 0 0 0 0 0 0 0 0 0 0
15 8 7 0
Configuration word 9 defines sensor damping. When output of calibrated raw values is set, the convertor
and value output are started (configuration word 14 = $x800).
Bit Description
9 0.... Wait for the first conversion after setting the damping
1.... The first conversion after setting the damping has taken place
4-7 If this bit pattern is the same as the command number defined in
configuration word 8, the command is executed.
x x x x x x
15 8 7 0
Bit Description
0 0 1 0 0 0 0 0 x x x x x x x x
15 8 7 0
Bit Description
14 - 15 0
13 0.... The standardized value or calibrated raw value from the full-
bridge strain gauge will be entered in data words 0 and 1,
according to the data output rate.
1.... The standardized value or calibrated raw value from the full-
bridge strain gauge will be entered in data words 0 and 1,
according to the data output rate.
Once the value has been read, the word will be set to invalid
($80000000). This ensures that the value is only read once per
data cycle.
Attention: When operated on the CP interface on an AF101
module with a revision ≥ 02.00, automatic mode
must be switched off on the CPU or on the AF101
module!
12 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0
15 8 7 0
An example program is available from B&R. This program explains how to use the AI261.
If you are interested in obtaining this program, contact your local sales representative.
1 14 Configure module
Through standardization, the calibrated raw value is assigned a value corresponding to the physical unit.
The conversion takes place along a standardization line.
y=k*x+d
This type of standardization is carried out if the calibrated raw values for the reference points are not already
known. This is the case when:
1 Set up conditions for the first reference point (weight, pressure, torque etc.).
2 Enter command number 1 ($0010) in configuration value 8. The converter determines the first reference point of the
standardization line.
3 Poll configuration word 12 until the acknowledgement ($xx1x) is received after approx. 1 s.
4 Read the values from configuration words 4+5. These contain the calibrated raw value of the first reference point.
5 Save the calibrated raw value. It must be entered each time the system is booted or after each reset (see
"Standardization when booting ").
7 Write the standardized value corresponding to the calibrated raw value to configuration words 6+7.
8 Enter command number 2 ($0020) in configuration word 8. The values in configuration words 4+5 and 6+7 will be taken
as the first reference point of the standardization line.
9 Poll configuration word 12 until the acknowledgement ($xx2x) is received after <100 ms.
11 Enter command number 3 ($0030) in configuration word 8. The converter determines the second reference point for the
standardization line.
12 Poll configuration word 12 until the acknowledgement ($xx3x) is received after approx. 1 s.
13 Read the values from configuration words 4+5. These contain the calibrated raw value of the second reference point.
14 Save the calibrated raw value. It must be entered each time the system is booted or after each reset (see
"Standardization when booting").
16 Write the standardized value corresponding to the calibrated raw value to configuration words 6+7.
17 Enter command number 4 ($0040) in configuration word 8. The values in configuration words 4+5 and 6+7 are used as
the second reference point of the standardization line, the standardization parameters are calculated, the conversion
procedure and value output are started.
18 Poll configuration word 12 until the acknowledgement ($xx4x) is received after <100 ms.
This type of standardization is carried out if the standardization line is already known (calibrated raw values
for the reference points are already known). Carried out during each boot procedure or after resetting the
system.
1 Write the calibrated raw value for the first reference point on the standardization line to configuration words 4+5. The
calibrated raw values for the first and second reference points are determined while establishing the standardization line.
2 Write the standardized value corresponding to the calibrated raw value in configuration words 6+7.
3 Enter command number 2 ($0020) in configuration word 8. The values in configuration words 4+5 and 6+7 are used as
the first reference point of the standardization line.
4 Poll configuration word 12 until the acknowledgement ($xx2x) is received after <100 ms.
5 Write the calibrated raw value for the second reference point of the standardization line to configuration words 4+5 .
7 Enter command number 4 ($0040) in configuration word 8. The values in configuration words 4+5 and 6+7 are used as
Chapter 3
the second reference point of the standardization line, the standardization parameters are calculated, the conversion
procedure and value output is started.
8 Poll configuration value 12 until the acknowledgement ($xx4x) is received after <100 ms.
10.4.14 Taring
Tarig is necessary if the standardization line is shifted because of the process but the slope remains the same.
During taring, the offset of the standardization line is recalculated (dnew).
Standardized
value (x2/y2)
New
standardization line
resulting from changed
(x1/y1)
process conditions
(x1New /y1)
d
dNew
Calibrated
raw value
1 Set conditions corresponding to the first reference point (weight, pressure, torque etc.).
2 Enter command number 1 ($0010) in configuration word 8. The converter determines the first reference point of the
standardization line.
3 Poll configuration word 12 until the acknowledgement ($xx1x) is received after approx. 1 s.
4 Read the value from configuration word 4+5. This contains the raw value for the first reference point.
6 Write the standardized value corresponding to the calibrated raw value to configuration words 6+7.
7 Enter command number 5 ($0050) in configuration word 8. The values in configuration words 4+5 and 6+7 are used as
the first reference point for the standardization line and the new offset value for the standardization line is calculated
without changing the gradient (dnew - see graph above). Then the conversion procedure and value output are started.
8 Poll configuration word 12 until the acknowledgement ($xx5x) is received after <100 ms.
If the process requires that taring be carried out, it must be done each time the system boots.
• For frequently changing process conditions, follow the instructions given in the table above.
• For infrequently changing process conditions, the new raw value for the lower limit point can be saved
and the procedure listed above can be started at command 5, "Write calibrated raw value in
configuration words 4+5".
Another possibility is to change the raw value for the upper limit according to the change to the lower
limit and then use the new raw value for standardization when booting.
General Information
Static Characteristics
Number of Inputs 4
Affects of Cable Length The shielded, twisted pair cable (3x1) should be as short as possible
and run separately to the sensor (isolated from load circuit) without intermediate terminals
Shielding
Module Side Using stress relief clamp on the module
Potentiometer Side Direct connection to grounded potentiometer housing
(use short connection lines)
Protection RC protection
Dynamic Characteristics
Operating Characteristics
Missing Codes Yes, because compensation and modification of the convertor resolutions
takes place using a standard format
Mechanical Properties
The AI294 is a 4 channel analog input module. It is used to evaluate potentiometer displacement gauges.
A threshold value can be defined for any channel. A bit in configuration word 12 indicates the status.
Terminal Assignments
2 P1 Slider potentiometer 1
3 P2 Slider potentiometer 2
4 ⊥ GND
6 P3 Slider potentiometer 3
7 P4 Slider potentiometer 4
8 ⊥ GND
1 1 5 5
2 3 6 7
4 4 8 8
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Accessing screw-in modules is also explained in the sections "AF101" and "CPU".
Data access takes place using data and configuration words. The following table provides an overview of
which data and configuration words are used for this module.
Chapter 3
Type Type Chan.
Configuration word 8 INT16 Transp. Out 16 ● Switching level for threshold value switch
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
Data cannot be packed on the AI294. Therefore one CAN object is transferred per screw-in module.
If an adapter module AF101 is equipped with a four AI294 modules, the CAN object has the following structure:
1)
Slot CAN ID Word 1 Word 2 Word 3 Word 4
1)
CAN ID = 542 + (nd - 1) x 16 + (ma - 1) x 4 + (sl - 1)
nd ..... Node number of the CAN slave = 1
ma .... Module address of the AF101 = 1
sl ....... Slot number of the screw-in module on the AF101 (1 - 4)
B&R 2000 users have to exchange the data so that the high data is first (Motorola
format)!
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
16 bit standardized values for the divider ratio, referring to the potentiometer supply.
Value of the switching level for the threshold value switch (16 bit, signed).
Bit Description
7 Comparator status
0.... if the value < threshold value
1.... if the value ≥ threshold value
Chapter 3
2 0.... Channel 3: No error
1.... Channel 3: Error present
x x x x x x x x
15 8 7 0
Bit Description
0 0 1 0 0 0 1 0 x x x x x x x x
15 8 7 0
Bit Description
0-7 0
0 0 0 0 0 0 0 0 0 0 0 0
15 8 7 0
General Information
Short Description 2003 Analog Input Module, 1 input, +/- 10 V or 0 to 20 mA, 12 Bit + sign,
screw-in module, Order TB712 terminal block separately!
B&R ID Code
Voltage $02
Potentiometer Operation $02
Current $03
Static Characteristics
Temperature Drift
±10 V Input ±0.014 %/°C ±125 µV/°C
0 - 20 mA Input ±0.012 %/°C ±0.4 µA/°C
Potentiometer Feed ±0.01 %/°C
Power Consumption
Current/Voltage Measurement Max. 0.3 W
Potentiometer Operation Max. 0.7 W
Dynamic Characteristics
Input Filter
Cut-off Frequency 1 kHz
Attenuation 60 dB
Operating Characteristics
Electrical Isolation
Input - PCC No
Mechanical Characteristics
1)
Polyswitch is a registered trademark of RAYCHEM.
This is a polymer PTC protective element that functions as overload and short circuit protection. If an overload or short circuit occurs, the
protective element becomes highly resistive and breaks the flow of current. In order to activate the input again, the external supply must be
turned off and the error (overload or short circuit) must be removed. After a reset time > 10 seconds, the protective element returns to the
conductive state.
Pin Assignment
1 +10 V potentiometer supply
2 + differental input
1 3 - differential input
1
2
4 GND
3
5 GND
4
5
6 7 6 -10 V potentiometer supply
7 Shield
8
8 n. c.
9 10 11 12
9 n. c.
12 10 n. c.
11 n. c.
TB712 12 n. c.
Chapter 3
The analog input module AI351 can be used for voltage and current measurement and also for potentiometer
operation. The following connection diagram shows how the module is to be wired.
Mode Switch
AI351
U I
Mode Switch
The module can be used for voltage or current measurement. The selection is made with the mode switch
on the back of the module. Place the switch in the respective position for the desired measurement:
Measurement signal
1
+ Diff. Input
2
+ - Diff. Input
3
U
4
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
5
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
- aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
6
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
Shield
7
8
9 10 11 12
Potentiometer Operation
Mode Switch
Module Wiring
- Diff. Input
3
GND
4
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
5
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb -10 V Pot Supply
6
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
-10 V
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
Shield
7
8
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Accessing screw-in modules is also explained in the sections "AF101" and "CPU".
Data access takes place using data and configuration words. The following table provides an overview of
which data and configuration words are used for this module.
Chapter 3
Type Type Chan.
Configuration word 8 INT16 Transp. Out 16 ● Switching level for threshold value switch
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
The AI351 can transfer data in packed or unpacked format. The CAN objects look like this:
CAN ID Packed
1)
CAN ID Slot 1 Slot 2 Slot 3 Slot 4
543 free
544 free
545 free
1)
CAN ID = 542 + (nd - 1) x 16 + (ma - 1) x 4
nd ..... Node number of the CAN slave = 1
ma .... Module address of the AF101 = 1
1)
Slot CAN ID Word 1 Word 2 Word 3 Word 4
1)
CAN ID = 542 + (nd - 1) x 16 + (ma - 1) x 4 + (sl - 1)
nd ..... Node number of the CAN slave = 1
ma .... Module address of the AF101 = 1
sl ....... Slot number of the screw-in module on the AF101 (1 - 4)
B&R 2000 users have to exchange the data so that the high data is first (Motorola
format)!
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
16 bit standardized value representing either voltage or current. The selection is made using a switch on
the screw-in module.
When used as a potentiometer, the voltage value is read according to the potentiometer position.
Value of the switching level for the threshold value switch (16 bit, signed).
Bit Description
7 Comparator status
0.... if the value < threshold value
1.... if the value ≥ threshold value
Chapter 3
15 8 7 0
Bit Description
8 - 15 Module code = $02....... Voltage measurement or potentiometer
operation
Module code = $03....... Current measurement
0-7 x ....Not defined, masked out
0 0 0 0 0 0 1 x x x x x x x x
15 8 7 0
Bit Description
1-7 0
0 0.... Voltage/current measurement
1.... Potentiometer operation
0 0 0 0 0 0 0 0 0 0 0 0
15 8 7 0
General Information
Short Description 2003 Analog Input Module, 4 inputs, +/- 10 V, 12 Bit + sign,
screw-in module, Order TB712 terminal block separately!
Static Characteristics
Module Type B&R 2003 screw-in module
Measurement Precision at 25 °C
Offset Max. ±2.5 mV
Gain Max. 0.1 % of final value
Linearity Error Max. 0.1 % of final value
Dynamic Characteristics
Input Filter
Cut-off Frequency 225 Hz
Attenuation 60 dB
Operating Characteristics
Electrical Isolation
Input - PCC No
Input - Input No
Mechanical Characteristics
10.7.3 Connections
Pin Assignment
1 + differential input 1
2 - differential input 1
1 3 Shield
1
2
4 + differential input 2
3
5 - differential input 2
4
5
6 Shield
6 7
7 + differential input 3
8
8 - differential input 3
9 10 11 12
9 Shield
12 10 + differential input 4
11 - differential input 4
TB712 12 Shield
Measurement signal
+ + Diff. Input 1
1
U
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
- Diff. Input 1
2
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
-
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
Shield
3
+ Diff. Input 2
4
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb - Diff. Input 2
5
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
Shield
6
7
8
9 10 11 12
10.7.5 Variable Declaration
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Accessing screw-in modules is also explained in the sections "AF101" and "CPU".
Data access takes place using data and configuration words. The following table provides an overview of
which data and configuration words are used for this module.
Configuration word 8 INT16 Transp. Out 16 ● Switching level for threshold value switch
Configuration word 12 WORD Transp. In 24 ● Module status
Configuration word 14 WORD Transp. In 28 ● Module type
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
Data cannot be packed on the AI354. Therefore one CAN object is transferred per screw-in module.
If an adapter module AF101 is equipped with a four AI354 modules, the CAN object has the following structure:
1)
Slot CAN ID Word 1 Word 2 Word 3 Word 4
1)
CAN ID = 542 + (nd - 1) x 16 + (ma - 1) x 4 + (sl - 1)
nd ..... Node number of the CAN slave = 1
ma .... Module address of the AF101 = 1
sl ....... Slot number of the screw-in module on the AF101 (1 - 4)
B&R 2000 users have to exchange the data so that the high data is first (Motorola
format)!
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
Value of the switching level for the threshold value switch (16 bit, signed).
Bit Description
7 Comparator status
0.... if the value < threshold value
1.... if the value ≥ threshold value
Chapter 3
0 0.... Channel 1: No error
1.... Channel 1: Error present
x x x x x x x x x x
15 8 7 0
Bit Description
0 0 0 0 0 1 0 0 x x x x x x x x
15 8 7 0
Bit Description
11 - 14 0
10 0.... Operation without threshold value switch
1.... Operation with threshold value switch
The time resolution of the comparator is 375 µs.
During operation with threshold value switch and TPU operation
switched on (Bit 15 = 1), the status of Bit 7 in configuration word 12
is copied to the TPU OUT line. The TPU OUT line can be operated
using LTX functions (e.g. LTXdi1()).
8-9 Selection of channels for the threshold value switch
0.... Channel 1
1.... Channel 2
2.... Channel 3
3.... Channel 4
0-7 0
0 0 0 0 0 0 0 0 0 0 0 0
15 8 7 0
General Information
Static Characteristics
Module Type B&R 2003 screw-in module
Measurement Precision at 25 °C
Offset Max. ±5 µA
Gain Max. 0.05 % of final value
Linearity Error Max. 0.05 % of final value
Dynamic Characteristics
Input Filter
Cut-off Frequency 225 Hz
Attenuation 60 dB
Operating Characteristics
Electrical Isolation
Input - PCC No
Input - Input No
Mechanical Characteristics
10.8.3 Connections
Pin Assignment
1 + differential input 1
2 - differential input 1
1 3 Shield
1
2
4 + differential input 2
3
5 - differential input 2
4
5
6 Shield
6 7
7 + differential input 3
8
8 - differential input 3
9 10 11 12
9 Shield
12 10 + differential input 4
11 - differential input 4
TB712 12 Shield
Measurement signal
+ + Diff. Input 1
1
I
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
- Diff. Input 1
2
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
-
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
Shield
3
+ Diff. Input 2
4
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb - Diff. Input 2
5
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
Shield
6
7
8
9 10 11 12
10.8.5 Variable Declaration
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Accessing screw-in modules is also explained in the sections "AF101" and "CPU".
Data access takes place using data and configuration words. The following table provides an overview of
which data and configuration words are used for this module.
Configuration word 8 INT16 Transp. Out 16 ● Switching level for threshold value switch
Configuration word 12 WORD Transp. In 24 ● Module status
Configuration word 14 WORD Transp. In 28 ● Module type
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
Data cannot be packed on the AI774. Therefore one CAN object is transferred per screw-in module.
If an adapter module AF101 is equipped with a four AI774 modules, the CAN object has the following structure:
1)
Slot CAN ID Word 1 Word 2 Word 3 Word 4
1)
CAN ID = 542 + (nd - 1) x 16 + (ma - 1) x 4 + (sl - 1)
nd ..... Node number of the CAN slave = 1
ma .... Module address of the AF101 = 1
sl ....... Slot number of the screw-in module on the AF101 (1 - 4)
B&R 2000 users have to exchange the data so that the high data is first (Motorola
format)!
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
Value of the switching level for the threshold value switch (16 bit, signed).
Bit Description
7 Comparator status
0.... if the value < threshold value
1.... if the value ≥ threshold value
Chapter 3
0 0.... Channel 1: No error
1.... Channel 1: Error present
x x x x x x x x x x
15 8 7 0
Bit Description
0 0 0 0 0 1 1 0 x x x x x x x x
15 8 7 0
Bit Description
11 - 14 0
10 0.... Operation without threshold value switch
1.... Operation with threshold value switch
The time resolution of the comparator is 375 µs.
During operation with threshold value switch and TPU operation
switched on (Bit 15 = 1), the status of Bit 7 in configuration word 12
is copied to the TPU OUT line. The TPU OUT line can be operated
using LTX functions (e.g. LTXdi1()).
8-9 Selection of channels for the threshold value switch
0.... Channel 1
1.... Channel 2
2.... Channel 3
3.... Channel 4
0-7 0
0 0 0 0 0 0 0 0 0 0 0 0
15 8 7 0
Analog output modules convert PCC internal number values into voltages or currents. The numbers to be
converted must be in 16 bit 2s complement. The conversion takes place independent of the resolution of
the output module used.
Each analog output module is assigned a status LED on the analog adapter module or CP interface. This
LED indicates that the output module is working.
11.2 OVERVIEW
Module AO352
Number of Outputs 2
Chapter 3
11.3 PROGRAMMING
The analog outputs are accessed directly in the application program using a variable name. The relationship
between the output channel for a certain module and the variable name is defined in the variable declaration.
The declaration is made identically for each programming language using a table editor.
Module ID AO352
General Information
Short Description 2003 Analog Output Module, 2 outputs, +/- 10 V or 0 -20 mA, 12 Bit,
screw-in module, Order TB712 terminal block separately!
Static Characteristics
Number of Outputs 2
Current Output
Voltage Output
Load Max. 10 mA
Operating Characteristics
Electrical Isolation
Output - PCC No
Output - Output No
Mechanical Characteristics
This is a polymer PTC protective element that functions as overload and short circuit protection. If an overload or short circuit occurs, the
protective element becomes highly resistive and breaks the flow of current. In order to activate the output again, the external supply must
be turned off and the error (overload or short circuit) must be removed. After a reset time > 10 seconds, the protective element returns to
the conductive state.
Pin Assignment
1 Output 1
2 GND
1 3 Shield
1
2
4 Output 2
3
5 GND
4
5
6 Shield
6 7
7 n. c.
8
8 n. c.
9 10 11 12
9 n. c.
12 10 n. c.
11 n. c.
TB712 12 n. c.
The analog output module AO352 has two analog outputs which may be used as either voltage or current
output. Mixed operation is also possible.
Mode Switch
AO352
1 2
U I U I
An output can be used as either voltage or current output. The selection is made with the respective mode
switch on the back of the module. Place the switch in the respective position for the desired signal:
In the following example, output 1 is operated as voltage output and output 2 as current output.
Load
Output 1
1
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
GND
2
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
Shield
3
Output 2
4
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb GND
5
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb Shield
6
7
8
Load
9 10 11 12
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Accessing screw-in modules is also explained in the sections "AF101" and "CPU".
Data access takes place using data and configuration words. The following table provides an overview of
which data and configuration words are used for this module.
Data word 2 INT16 Analog Out 3 ● Analog output value channel 3 (switching channel for
channel 1)
Data word 3 INT16 Analog Out 4 ● Analog output value channel 4 (switching channel for
channel 2)
Configuration word 12 WORD Transp. In 24 ● Module status
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
Data cannot be packed on the AO352. Therefore one CAN object is transferred per screw-in module.
If an adapter module AF101 is equipped with a four AO352 modules, the CAN object has the following
structure:
1)
Slot CAN ID Word 1 Word 2 Word 3 Word 4
1)
CAN ID = 1054 + (nd - 1) x 16 + (ma - 1) x 4 + (sl - 1)
nd ..... Node number of the CAN slave = 1
ma .... Module address of the AF101 = 1
sl ....... Slot number of the screw-in module on the AF101 (1 - 4)
B&R 2000 users have to exchange the data so that the high data is first (Motorola
format)!
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
The 16 bit standardized values for voltage or current are written to the module output channel.
These data words are only used if TPU operation is switched on (see Configuration Word 14). The module
must be operated on the CP interface.
For active change over operation, these data words are used to define the standardized 16 bit values for
voltage or current for logical channels 3 and 4. Depending on the status of the TPU-IN line, either the value
from channel 1 or 3 is written to physical channel 1 or the value from channel 2 or 4 is written to physical channel
2 of the module.
Bit Description
x x x x x x x x x x x x x x
15 8 7 0
Chapter 3
8 - 15 Module code = $0E
0 0 0 0 1 1 1 0 x x x x x x x x
15 8 7 0
Bit Description
13 - 14 0
12 Only if bit 15 = 1
0.... Normal operation
1.... Switching operation
In ^this type of operation, logical channels 1 and 3 or 2 and 4
are switched between depending on the TPU-IN line (also see
data words 2 and 3). The TPU IN line can be operated using
LTX functions (e.g. LTXdo0()).
Before switching, channels 3 and 4 must be set to a correct
value by writing to data words 2 and 3. If this does not
happen, the data from channel 1 is copied to channel 3 or the
data from channel 2 is copied to channel 4 before switching
the first time.
The data is no longer copied when the channel is switched
until the next time the PCC is turned on.
0 - 11 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0
15 8 7 0
Temperature measurement values are converted into number values which can be processed in the PCC
using temperature modules.
In the PCC, the number values are always in 16 bit 2s complement regardless of the resolution. In this way,
the resolution (number of steps) of the temperature module does not have to be considered when creating
the application program.
For temperature measurements, the temperature module returns the measured value in 0.1 ° steps. That
means a result of 750 corresponds to 75.0 °C. The data format 0.1 °C is supported by all temperature modules
as standard. Additionally, a higher resolution can also be set for some temperature modules.
Each temperature module is assigned a status LED on the analog adapter module or CP interface. This LED
indicates that the temperature module is working.
12.2 OVERVIEW
Number of Channels 4 2 4
12.3 PROGRAMMING
The analog data points are accessed directly in the application program using a variable name. The
relationship between the channel for a certain module and the variable name is defined in the variable
declaration. The declaration is made identically for each programming language using a table editor.
The screw-in module AT324 is equipped with four input channels. It is used to evaluate measured values for
PT100, PT1000, KTY10-6 and KTY84-130 temperature sensors.
The module is installed on the adapter module or on the CP interface.
General Information
Model Number 7AT324.70
Short Description 2003 Analog Input Module, 4 temperature inputs (2-line connection),
KTY10 -50 to +150 degrees C, KTY84 -40 to +300 degrees C, PT100 -200 to +850 degrees C,
PT1000 -200 to +850 degrees C, screw-in module, Order terminal block TB712 separately!
Static Characteristics
Input Type Resistance measurement using 2-line procedure with constant current feed
Number of Inputs 4
Sensor
KTY10-6 -50 °C to +150 °C
KTY84-130 -40 °C to +300 °C
PT100 -200 °C to +850 °C
PT1000 -200 °C to +850 °C
Wiring 2-line
Reference 5 kΩ ±0.1 %
Resolution in °C
KTY10-6 1 LSB = 0.01 °C
KTY84-130 1 LSB = 0.03 °C
PT100 1 LSB = 0.15 °C
PT1000 1 LSB = 0.03 °C
Resolution in Ω
at G = 1 1 LSB = 76.29395 mΩ ±0.1 %
at G = 2 1 LSB = 38.14697 mΩ ±0.1 %
Dynamic Characteristics
Input Filter
Type Lowpass 1st Order
Cut-off Frequency 150 Hz
Operating Characteristics
Electrical Isolation
Input - PCC No
Input - Input No
Mechanical Characteristics
1)
Only when measuring with a temperature sensor.
2)
Referring the measurement range.
3)
Referring the current measurement value.
200 µA
7 Channel 3
10 Channel 4
2 Channel 1
PTC
5 Channel 2
8 Channel 3
11 Channel 4
Assignment
1 + channel 1
2 - channel 1
1
1
3 Shield
2
3
4 + channel 2
4
5 - channel 2
5
6 7
6 Shield
7 + channel 3
8
9 10 11 12
8 - channel 3
9 Shield
12
10 + channel 4
11 - channel 4
TB712
12 Shield
Sensor
1
+ Channel 1
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
- Channel 1
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
2
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
Shield
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
3
+ Channel 2
4
- Channel 2
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
5
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
Shield
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
6
7
8
9 10 11 12
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Accessing screw-in modules is also explained in the sections "AF101" and "CPU".
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
Chapter 3
Data cannot be packed on the AT324. Therefore one CAN object is transferred per screw-in module. If an
adapter module AF101 is equipped with a four AT324 modules, the CAN object has the following structure:
1)
Slot CAN ID Word 1 Word 2 Word 3 Word 4
1)
CAN ID = 542 + (nd - 1) x 16 + (ma - 1) x 4 + (sl - 1)
nd ..... Node number of the CAN slave = 1
ma .... Module address of the AF101 = 1
sl ....... Slot number of the screw-in module on the AF101 (1 - 4)
B&R 2000 users have to exchange the data so that the high data is first (Motorola
format)!
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
Bit Description
12 - 15 x .... Not defined, masked out
11 0 .... Converter value 1 ready
1 .... Converter value 1 not yet ready
10 0 .... Converter value 2 ready
1 .... Converter value 2 not yet ready
9 0 .... Converter value 3 ready
1 .... Converter value 3 not yet ready
8 0 .... Converter value 4 ready
1 .... Converter value 4 not yet ready
4-7 x .... Not defined, masked out
0-3 Channel currently being converted
1 .... Channel 1
2 .... Channel 2
3 .... Channel 3
4 .... Channel 4
x x x x x x x x
15 8 7 0
Bit Description
0 0 1 1 1 1 1 0 x x x x x x x x
15 8 7 0
Bit Description
14 - 15 0
12 - 13 Select the hardware filter time
0 .... 50 Hz (default)
1 .... 60 Hz
9 - 11 Definition of the input signal for channel 4
0 .... KTY10-6
1 .... KTY84-130
2 .... PT100
3 .... PT1000
4 .... Reserved (value = $8000)
5 .... Resistance measurement 1 to 4995 Ω
6 .... Resistance measurement 1 to 2497.5 Ω
7 .... Input switched off – setting for channels not being used (value =
$8000)
6-8 Definition of the input signal for channel 3
Chapter 3
3 .... PT1000
4 .... Reserved (value = $8000)
5 .... Resistance measurement 1 to 4995 Ω
6 .... Resistance measurement 1 to 2497.5 Ω
7 .... Input switched off – setting for channels not being used (value =
$8000)
3-5 Definition of the input signal for channel 2
0 .... KTY10-6
1 .... KTY84-130
2 .... PT100
3 .... PT1000
4 .... Reserved (value = $8000)
5 .... Resistance measurement 1 to 4995 Ω
6 .... Resistance measurement 1 to 2497.5 Ω
7 .... Input switched off – setting for channels not being used (value =
$8000)
0-2 Definition of the input signal for channel 1
0 .... KTY10-6
1 .... KTY84-130
2 .... PT100
3 .... PT1000
4 .... Reserved (value = $8000)
5 .... Resistance measurement 1 to 4995 Ω
6 .... Resistance measurement 1 to 2497.5 Ω
7 .... Input switched off – setting for channels not being used (value =
$8000)
0 0
15 8 7 0
Module ID AT352
General Information
Short Description 2003 Analog Input Module, 2 inputs, PT100 (3-line connection),
-200 to +850 °C, screw-in module, Order TB712 terminal block separately!
Static Characteristics
Number of Inputs 2
Sensor
Type PT100
Connection 3-line connection
Standard IEC/EN 60751
Measurement Current 2 mA
Operating Characteristics
Electrical Isolation
Input - PCC No
Input - Input No
Mechanical Characteristics
Pin Assignment
1 + Sensor 1
2 - Sense 1
1 3 - Sensor 1
1
2
4 Shield
3
5 + Sensor 2
4
5
6 - Sense 2
6 7
7 - Sensor 2
8
8 Shield
9 10 11 12
9 - Sense 1
12 10 - Sense 2
11 n. c.
TB712 12 n. c.
3-Line Connection
+ Sensor 1
+ Sensor 1
1
- Sense 1
1
2
+ Sensor 1 - Sensor 1
3
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb
Shield
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
4
+ Sensor 2
5
- Sense 2
6
- Sense 1 - Sensor 2
7
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
2
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
Shield
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
- Sense 1 - Sensor 1
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
8
9 10 11 12
3 - Sensor 1
4
Shield
1
+ Sensor 1
2
- Sense 1
3
- Sensor 1 + Sensor 1
+ Sensor 1
1
4 - Sense 1
2
Shield
- Sensor 1
3
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb
bbbbbbbbbbbbbbb aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
5 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
Shield
4
+ Sensor 2
+ Sensor 2
5
- Sense 2
6
6 - Sensor 1 - Sensor 2
7
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
- Sense 2 bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
Shield
9 10 11 12
- Sensor 2
- Sense 2
Chapter 3
8
Shield
9
- Sense 1
10
- Sense 2
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Accessing screw-in modules is also explained in the sections "AF101" and "CPU".
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
Data cannot be packed on the AT352. Therefore one CAN object is transferred per screw-in module.
If an adapter module AF101 is equipped with a four AT352 modules, the CAN object has the following
structure:
1)
Slot CAN ID Word 1 Word 2 Word 3 Word 4
1)
CAN ID = 542 + (nd - 1) x 16 + (ma - 1) x 4 + (sl - 1)
nd ..... Node number of the CAN slave = 1
ma .... Module address of the AF101 = 1
sl ....... Slot number of the screw-in module on the AF101 (1 - 4)
B&R 2000 users have to exchange the data so that the high data is first (Motorola
format)!
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
Bit Description
x x x x x x x x x x x x
15 8 7 0
Bit Description
0 0 0 1 1 0 1 0 x x x x x x x x
15 8 7 0
Bit Description
13 - 15 0
2 - 11 0
1 Resolution of channel 2
0.... 0.1 °C (default)
1.... 0.01 °C
0 Resolution of channel 1
0.... 0.1 °C (default)
1.... 0.01 °C
0 0 0 0 0 0 0 0 0 0 0 0 0
15 8 7 0
Module ID AT664
General Information
Static Characteristics
Number of Inputs 4
Sensor Thermocouples
Measurement Range
Sensor Temperature Depending on sensor type 1)
Resolution
Sensor Temperature Output 0.1 °C / LSB
Sensor Temperature Output 0.1 °C / LSB
Raw Value Output 2 µV / LSB
Operating Characteristics
Electrical Isolation
Input - PCC No
Input - Input No
Mechanical Properties
1)
Can be configured using software.
The AT664 is a 4-channel temperature module. The module is activated by selecting a sensor type in
configuration word 14. The selected sensor type is used for all channels.
• The terminal temperature can be entered for each channel for terminal temperature compensation.
• Unnecessary channels can be switched off, thereby reducing the refresh time. The time saving per
channel depends on the hardware filter time:
50 Hz 60 ms
60 Hz 50 ms
12.6.6 Connections
Pin Assignment
1 + channel 1
2 - channel 1
1 3 Shield
1
2
4 + channel 2
3
5 - channel 2
4
5
6 Shield
6 7
7 + channel 3
8
8 - channel 3
9 10 11 12
9 Shield
12 10 + channel 4
11 - channel 4
TB712 12 Shield
Temperature sensor
+ + Channel 1
1
bbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
- Channel 1
2
aaaaaaaaaaaaaaa
bbbbbbbbbbbbbbb aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
- aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
Shield
3
+ Channel 2
4
- Channel 2
5
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
Shield
6
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
7
aaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbb
8
9 10 11 12
12.6.8 Variable Declaration
Chapter 3
• 2003 PCC CPU
• Remote I/O Bus Controller
• CAN Bus Controller
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Accessing screw-in modules is also explained in the sections "AF101" and "CPU".
Configuration word 8 INT16 Transp. In 16 ● Terminal temp. of channel 1 for external conversion
INT16 Transp. Out 16 ● Terminal temp. of channel 1 for external ref. junction
Configuration word 9 INT16 Transp. In 18 ● Terminal temp. of channel 2 for external conversion
INT16 Transp. Out 18 ● Terminal temp. of channel 2 for external ref. junction
Configuration word 10 INT16 Transp. In 20 ● Terminal temp. of channel 3 for external conversion
INT16 Transp. Out 20 ● Terminal temp. of channel 3 for external ref. junction
Configuration word 11 INT16 Transp. In 22 ● Terminal temp. of channel 4 for external conversion
INT16 Transp. Out 22 ● Terminal temp. of channel 4 for external ref. junction
Configuration word 12 WORD Transp. In 24 ● Module status
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
Data cannot be packed on the AT664. Therefore one CAN object is transferred per screw-in module.
If an adapter module AF101 is equipped with a four AT664 modules, the CAN object has the following
structure:
1)
Slot CAN ID Word 1 Word 2 Word 3 Word 4
B&R 2000 users have to exchange the data so that the high data is first (Motorola
format)!
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
The temperature value or a 16 bit standardized raw value is read depending on the sensor type selected.
Reads the terminal temperature to externally calculate the temperature from the the raw value.
The terminal temperature can be set for installation of a reference junction. Operation together with a
reference junction is only possible for all four channels.
Switching occurs as soon as one of the configuration words 8 - 11 is written to.
Switching back occurs by writing $80xx to one of the configuration words 8 - 11.
Chapter 3
Configuration word 12 contains the module status.
Bit Description
x x x x x x x x x
15 8 7 0
Bit Description
0 0 0 0 1 1 0 0 x x x x x x x x
15 8 7 0
Bit Description
14 - 15 0
12 - 13 Select the hardware filter time
0.... 50 Hz (default)
1.... 60 Hz
3-7 0
0-2 Selection of the sensor type or the value to be given for all four
channels.
0.... No conversion (default)
1.... Sensor type J
2.... Sensor type K
3.... Sensor type S
7.... Raw value without linearization and terminal temperature
compensation
(Quantization 2 µV with a theoretical measurement range of
±65 mV)
0 0 0 0 0 0 0
15 8 7 0
The group "Other Modules" includes combination modules and B&R 2003 expansions for the CP476.
The combination module is a combination of digital input and output modules, as well as analog input and
output modules. The status of the digital inputs and outputs are indicated with status LEDs.
Overview
Digital Inputs
Number of Inputs 8 3
Chapter 3
Digital Outputs
Number of Outputs 8 2
Analog Inputs
Number of Inputs 2 3
Analog Outputs
Number of Outputs 2 3
The CP476 now provides another expansion possibility on the far left of the system bus. Special expansion
modules can be installed here.
Overview
Module Description
ME020 2003 expansion for the CP476, 1 PCMCIA slot, 1 slot interface module inserts
Module ID CM211
General Information
Short Description 2003 Combination Module, 8 inputs, 24 VDC, 4 ms, sink, 3 one-channel or
2 two-channel counters or 2 incremental encoders, 20 kHz, 8 transistor outputs, 24 VDC,
0.5 A, comparator function, short-circuit protection, 2 inputs, +/- 10 V / 0-20 mA, 12 Bit,
2 outputs, +/- 10 V, 12 Bit, Order TB718 terminal blocks separately!
Amount
CP430, EX270 2
EX470, EX770
CP470, CP770 4
CP474, CP476, CP774
EX477, EX777
Electrical Isolation
Analog - PCC No
Digital - PCC No
Digital - Analog No
Analog Inputs
Number of Inputs 2
Input Signal - Nominal ±10 V / 0 - 20 mA, can be set for each channel with switch
Value Range
Voltage
+10 V $7FFF
0V $0000
-10 V $8001
Current
20 mA $7FFF
0 mA $0000
Chapter 3
Conversion Time <4 ms for both channels, the channels are converted cyclically
Non-linearity ±2 LSB
Analog Outputs
Number of Outputs 2
Value Range
+10 V $7FFF
0V $0000
-10 V $8001
Measurement Precision at 25 °C
Offset ±5.14 mV
Gain ±0.2 % 1)
Number of Inputs 8
Input Voltage
Minimum 18 VDC
Nominal 24 VDC
Maximum 30 VDC
Wiring Sink
Switching Threshold
LOW Range <5 V
HIGH Range >15 V
Delay 0 to 1
with Software Filter <4 ms (default)
without Software Filter <0.01 ms
Delay 1 to 0
with Software Filter <4 ms (default)
without Software Filter <0.01 ms
Input 5 Channel A2
Input 6 Channel B2
Input 7 Channel R2
Input 8 Reference enable switch 2
Period Measurement
Signal Form Square wave pulses
Evaluation Positive edge - Positive edge
Input Frequency 20 kHz
Counter Frequency - Internal 16 MHz, 4 MHz, 1 MHz, 250 kHz
Counter Frequency - External Max. 20 kHz
Count Size 16 Bit
Input 3 Period channel 1
Input 4 Period channel 2
Input 7 Period channel 3
Input 2 External counter frequency for channels 1 and 2
Input 5 External counter frequency for channel 3
Gate Measurement
Signal Form Square wave pulses
Evaluation Positive edge - Negative edge
Input Frequency 10 kHz
Counter Frequency - Internal 16 MHz, 4 MHz, 1 MHz, 250 kHz
Counter Frequency - External Max. 20 kHz
Count Size 16 Bit
Gate Pause 50 µs
Input 3 Gate channel 1
Input 4 Gate channel 2
Input 7 Gate channel 3
Input 2 External counter frequency for channels 1 and 2
Input 5 External counter frequency for channel 3
Comparator
Comparator Output Output 1
Reaction Time <500 µs
Evaluation
Incremental Encoder Operation Actual value comparison of the counter status of incremental encoder 1
Event Counter Operation Comparison of the counter status of counter 2 (window comparator)
Electrical Isolation
Input - Input No
Chapter 3
Rated Current Max. 0.5 A
Wiring Source
Delay 0 to 1 <1.5 ms
Delay 1 to 0 <1.5 ms
Electrical Isolation
Output - Output No
Mechanical Characteristics
1)
Referring the maximum positive limit.
2)
Referring the current measurement value.
LED Description
OK This orange LED is lit when the external supply voltage for the outputs
is within the defined range (>18 VDC).
LED 1 - 8, green Logical status of the respective digital input.
Analog Inputs
MUx AD
PTC
Converter
AI1+ +
To the
processor ports
PTC
AI2+ +
AGND
Digital Inputs
Input
Status
Ix
COM
Analog Outputs
PTC +
AO1+ D/A
-
Converter
AGND
Local
Processor Port
PTC +
AO2+
-
AGND
Chapter 3
+24 VDC
Output
Status
Temperature and
O 4-7 IK -Monitor
Diagnose
Status
&
Output
Temperature and Status
O 0-3
IK -Monitor
GND
+24 VDC
Diagnose
Voltage Status
Monitoring U-OK
GND
General Information
The design of the combination module CM211 corresponds to an adapter module AF101 with four screw-
in modules installed and a digital mixed module.
CM211 AF101 DM
= A A C C
+
I O O O
N U U U
T N N
T T
Module Addresses
Because of this special module design, the combination module CM211 requires two module addresses.
A CPU, a combination module CM211 and a digital input module DI435 are used in the example shown below.
The module address assignments are to be made as shown in the diagram.
Module Address
1+2 3
To avoid conflicts in the register, the settings listed below must be used in the variable declaration for the
module address and for the slot.
In this case, the module is accessed with module addresses 1 and 2.
CM211
AF101 DM
Counter Inputs
Section "Module Design" explains that the combination module corresponds to an adapter module AF101
with four screw-in modules and a digital mixed module. Two of the four screw-in modules are used for counter
inputs.
AF101
A A C C
I O O O
N U U U
T N N
T T
The counter inputs on the screw-in module installed in slot 3 can be configured using software. The desired
function is set by defining bits 12 and 13 in configuration word 14. One of three functions can be selected.
1 x incremental encoder 0 0
2 x event counter 1 0
2 x gate/period measurement 1 1
The counter inputs on the screw-in module installed in slot 4 can be configured using software. The desired
function is set by defining bits 12 and 13 in configuration word 14. One of three functions can be selected.
1 x incremental encoder 0 0
1 x event counter 1 0
1 x gate/period measurement 1 1
13.4.8 Timing
The following three factors must be taken into consideration for timing when a B&R 2003 CPU is used as
controller:
I/O AF cycle
All combination modules, AF modules and digital I/O modules are processed during this time. The internal
bus cycle for a CM211 is calculated as follows:
Chapter 3
36 µs ........ Time for a combination module CM211
12 ............. Number of data words for a CM211
200 µs ...... AF101 or CPx74 busy
1200 µs .... Offset
During this time, all digital data points on the combination module CM211 are updated or read in internally.
tdig_IO_AF ≤ 1 ms
During this time, all analog data points on the combination module CM211 are updated or read in internally.
Counter values .............................. tan_IO_AF ≤ 2 ms
Analog input/output values ........... tan_IO_AF ≤ 4 ms
This time determines how long the CPU requires to process the I/O data passed on by the combination module
CM211. The CPU is loaded considerably by the analog I/O data.
Task Class
A legend sheet can be slid into the front of the module from above. The module circuit is shown on the back.
The inputs/outputs can be labelled on the front.
Shield
Shield
AGND
AGND
/
DO1 . . . DO8
AO1 AO2
Shield
Shield
AGND
AGND
Load
1 18
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
X1
Tighten
ground screw
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
X2
TB718
Chapter 3
2 +24 VDC 2 GND
3 +24 VDC 3 GND
4 n.c. 4 n.c.
5 Digital input DI1 5 Digital output DO1
6 Digital input DI2 6 Digital output DO2
7 Digital input DI3 7 Digital output DO3
8 Digital input DI4 8 Digital output DO4
9 Digital input DI5 9 Digital output DO5
10 Digital input DI6 10 Digital output DO6
11 Digital input DI7 11 Digital output DO7
12 Digital input DI8 12 Digital output DO8
13 Shield 13 Shield
14 Analog input AI1 + 14 Analog output AO1 +
15 Analog input 1 GND (AGND) 15 Analog output 1 GND (AGND)
16 Shield 16 Shield
17 Analog input AI2 + 17 Analog output AO2 +
18 Analog input 2 GND (AGND) 18 Analog output 2 GND (AGND)
The combination module CM211 has two analog inputs which may be used as either voltage or current input.
Mixed operation is also possible.
Mode Switch
CM211
1 2
I U I U
An input can be used as either voltage or current input. The selection is made with the respective mode switch
on the bottom of the housing. Place the switch in the respective position for the desired signal:
U
aaa
bbb
Measurement bbb
aaa
aaa
bbb
aaa
bbb
aaa
bbb
aaa
bbb
Signal aaa
bbb
aaa
bbb
aaa
bbb
aaa
bbb
bbb
aaa
bbb
aaa
Shield
1 2
X1
13 14 15
+24 VDC
Next Module
Chapter 3
X2
GND
Next Module
Load aaa
bbb
bbb
aaa
aaa
bbb
aaa
bbb
aaa
bbb
aaa
bbb
aaa
bbb
aaa
bbb
aaa
bbb
aaa
bbb
aaa
bbb
aaa
bbb
Shield
1 2
X1
Next
+24 VDC Module
1 2
X2
13 14 15
GND
Next Module
Encoder 1 Encoder 2
A1 B1 R1 A2 B2 R2
Ref 2
Ref 1
1 2
X1
3 4 5 6 7 8 9 10 11 12
+24 VDC
Next Module
1 2 3
X2
GND
Next Module
Counter 1 Counter 2
A B
1 2
X1
X2
GND
Next
Module
The period can be measured from a signal connected to input 3, 4 or 7. The resolution is 16 bit. The frequency
of the signal to be measured can be a maximum of 20 kHz.
An internal or external counter frequency can be selected for the measurement.
The external counter frequency is connected to input 2 (for inputs 3 and 4) and 5 (for input 7).
Period Duration
Signal to be measured
Counter Frequency
Pulse counting is started by a high edge on the input and stopped by the next high edge. The count is placed
in a temporary register. The counter is started again by the same high edge.
During period measurement, the count stored last (the period) can be read by the active application
program. The value in the temporary register is only updated after at the end of the active measurement.
If a counter overflow occurs (broken line or incorrect counter frequency), the value is limited to $7FFF.
f A B
1 2
X1
3 6 7 8
+24 VDC
Next
Module
1 2 3
X2
GND
Next
Module
A signal connected to input 3, 4 or 7 can be evaluated using gate measurement. The resolution is 16 bit. The
frequency of the signal to be measured can be a maximum of 10 kHz. The signal to be measured is also called
the gate frequency. The pause between two gate measurements must be larger than 50 µs.
The external counter frequency is connected to input 2 (for inputs 3 and 4) and 5 (for input 7).
t > 50 µs
Chapter 3
Start Stop Start Stop
Counter Frequency
Pulse counting is started by a high edge on the gate and stopped by a low edge. The count is placed in
a temporary register when the low edge occurs. The counter is started again by the next high edge.
During gate measurement, the count stored last (the gate) can be read by the active application program.
The value in the temporary register is only updated after at the end of the active measurement (low edge).
If a counter overflow occurs (incorrect counter frequency), the value is limited to $7FFF.
External
Measurement Frequency Gate Channel 1 Gate Channel 2
f A B
1 2
X1
3 6 7 8
+24 VDC
Next
Module
1 2 3
X2
GND
Next
Module
Load Load
1 2
X1
+24 VDC
Next
Module
1 2
3 5 6
GND
Next
Module
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Accessing screw-in modules is also explained in the sections "AF101" and "CPU".
Data access takes place using data and configuration words. The following table provides an overview of
which data and configuration words are used for the analog inputs.
Access via CAN Identifier is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
In the example below, the combination module CM211 is accessed with module addresses 1 and 2.
Analog input data cannot be packed. Only the first object from this group of four will be created and sent.
1)
Slot CAN ID Word 1 Word 2 Word 3 Word 4
1)
CAN ID = 542 + (nd - 1) x 16 + (ma - 1) x 4 + (sl - 1)
nd ..... Node number of the CAN slave = 1
ma .... Module address = 1
sl ....... Slot number = 1
B&R 2000 users have to exchange the data so that the high data is first (Motorola
format)!
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
Bit Description
12 - 15 x .... Not defined, masked out
11 0 .... Converter values ready
1 .... Converter values not yet ready
6 - 10 x .... Not defined, masked out
5 0 .... Channel 2: Current measurement
1 .... Channel 2: Voltage measurement
Chapter 3
2-3 x .... Not defined, masked out
1 0 .... Channel 2: No error
1 .... Channel 2: Error present
0 0 .... Channel 1: No error
1 .... Channel 1: Error present
x x x x x x x x x x x
15 8 7 0
Bit Description
0 1 0 0 0 0 0 0 x x x x x x x x
15 8 7 0
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Accessing screw-in modules is also explained in the sections "AF101" and "CPU".
Data access takes place using data and configuration words. The following table provides an overview of
which data and configuration words are used for the analog outputs.
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
In the example below, the combination module CM211 is accessed with module addresses 1 and 2.
Analog output data cannot be packed. Only the second object from this group of four will be created.
1)
Slot CAN ID Word 1 Word 2 Word 3 Word 4
B&R 2000 users have to exchange the data so that the high data is first (Motorola
format)!
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
The 16 bit standardized values for voltage are written to the module output channel.
Bit Description
0 1 0 0 0 0 0 0 x x x x x x x x
15 8 7 0
Chapter 3
The variable declaration is valid for the following controllers:
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Accessing screw-in modules is also explained in the sections "AF101" and "CPU".
The module CM211 is equipped with a maximum of two incremental encoders. The incremental encoders
are distributed on slots 3 and 4.
Data access takes place using data and configuration words. The following table provides an overview of
which data and configuration words are used for the first incremental encoder.
Configuration word 4 INT32 Transp. In 8 ● Counter value with pos. edge on the reference input 1)
INT32 Transp. Out 8 ● Threshold value 1 / min. latch difference 1)
Configuration word 6 INT32 Transp. In 12 ● Counter value with neg. edge on the reference input 1)
INT32 Transp. Out 12 ● Threshold value 2 / force value 1)
1)
Starting with Rev. D0
Data access takes place using data and configuration words. The following table provides an overview of
which data and configuration words are used for the first incremental encoder.
Configuration word 4 INT32 Transp. In 8 ● Counter value with pos. edge on the reference input 1)
INT32 Transp. Out 8 ● Threshold value 1 / min. latch difference 1)
Configuration word 6 INT32 Transp. In 12 ● Counter value with neg. edge on the reference input 1)
INT32 Transp. Out 12 ● Threshold value 2 / force value 1)
1)
Starting with Rev. D0
B&R 2000 users have to exchange the two counter status words so that the high word
is first (Motorola format)!
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
In the example below, the combination module CM211 is accessed with module addresses 1 and 2.
1)
Slot CAN ID Word 1 Word 2 Word 3 Word 4
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
Data word 0 includes the module status time constant for the counter value.
Bit Description
x x x x x x
15 8 7 0
After setting bit 11 in configuration word 8, the configuration words receive the latched counter value with
the first positive edge on the reference input. The value is also valid if bit 11 is set in data word 0.
The maximum delay, from the edge on the input to the value is latched, is 50 µs.
Either threshold value 1 or the minimum latch difference is defined with configuration words 4+5.
After setting bit 10 in configuration word 8, the configuration words receive the latched counter value with
the first negative edge on the reference input. The value is also valid if bit 10 is set in data word 0.
The maximum delay, from the edge on the input to the value is latched, is 50 µs.
Either threshold value 2 (32 Bit) or the force value (32 Bit) is defined with configuration words 6+7. The
definition of the force value is possible starting with Rev. D0. The force value is defined using bit 8 in
configuration word 8.
The maximum delay, until the force value definition is accepted, is 1 ms.
Bit Description
14 - 15 0
0 0 0 0 0 0 0 0 0 0
15 8 7 0
1)
The counter value is only taken once. Bit 10 and bit 11 must be reset for the value to be taken again. Bit 10 and bit 11 can be set again in
configuration word 8 after the corresponding bit in the module status bit has gone to 0.
Bit 0 in configuration word 14 must be 0. That means, the comparator is switched off.
General Information:
The same internal interrupts or inputs are used for referencing, comparator operation and latching the
counter value. Therefore the following priority is defined:
1. Referencing
2. Comparator
3. Latching
Make sure there is a clean transition between the types of operation. That means the respective control bits
are not allowed to be activated at the same time.
Latching is started by a positive edge on bit 10 or bit 11 in configuration word 8. The current counter value
is taken as comparison value for the minimum latch difference.
If the minimum latch difference is set to 0 (default), the counter value is latched immediately when the
respective edge occurs on the reference input.
If the minimum latch difference is not set to 0, the counter value is placed in temporary memory when the
respective edge occurs on the reference input.
Configuration word 12 contains the module status (current status unlatched). The module status is written
to data word 0.
Bit Description
0 1 0 0 0 0 0 0 x x x x x x x x
15 8 7 0
Bit Description
14 - 15 0
13 0 .... Incremental encoder operation
12 0 .... Incremental encoder operation
11 0 .... No effect on count direction
1 .... Count direction inverted as compared to counter wiring
10 0 .... Number format: 32 bit with sign
1 .... Number format: 32 bit without sign - cyclic operation
In continuous operation, the internal order of the threshold
values are kept. If a counter overflow occurs, the behavior of the
comparator does not have to be changed. Comparator operation
takes place without consideration of the sign.
8-9 0 .... Incremental encoder operation with 4-fold evaluation
7 0 .... No effect on reference pulse
1 .... Reference pulse is inverted. This setting is used for encoders
with a high pulse.
6 0 .... Set counter immediately to 0. In data word 0 (module status), bit
7 is immediately set to 1 and the counter is cleared.
1 .... Counter remains functioning. In data word 0 (module status), bit
7 is immediately set to 0 (referencing required).
5 0 .... Ignore reference enable switch (referencing using reference
pulse). Setting refers to bit 4
1 .... Actively switch reference enable switch (referencing using
reference pulse and reference enable switch)
4 0 .... No effect on counter
1 .... Clear counter (reference)
3 0 .... Comparator off
Output 1 is handled as defined in the variable declaration for
digital outputs.
1 .... Comparator on
2 0 .... The comparator output is set to the level given in bit 0, if
threshold value 1 ≤ counter ≤ threshold value 2
1 .... The comparator output is set to the inverted level of bit 0, if
threshold value 1 ≤ counter ≤ threshold value 2
1 0
0 Level of the comparator output
0 0 0 0 0 0 0
15 8 7 0
Data access takes place using data and configuration words. The following table provides an overview of
which data and configuration words are used for the second incremental encoder.
Configuration word 4 INT32 Transp. In 8 ● Counter value with pos. edge on the reference input 1)
INT32 Transp. Out 8 ● Min. latch difference 1)
Configuration word 6 INT32 Transp. In 12 ● Counter value with neg. edge on the reference input 1)
Chapter 3
1)
Starting with Rev. D0
Data access takes place using data and configuration words. The following table provides an overview of
which data and configuration words are used for the second incremental encoder.
Configuration word 4 INT32 Transp. In 8 ● Counter value with pos. edge on the reference input 1)
INT32 Transp. Out 8 ● Min. latch difference 1)
Configuration word 6 INT32 Transp. In 12 ● Counter value with neg. edge on the reference input 1)
INT32 Transp. Out 12 ● Force value 1)
1)
Starting with Rev. D0
B&R 2000 users have to exchange the two counter status words so that the high word
is first (Motorola format)!
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
In the example below, the combination module CM211 is accessed with module addresses 1 and 2.
1)
Slot CAN ID Word 1 Word 2 Word 3 Word 4
1)
CAN ID = 542 + (nd - 1) x 16 + (ma - 1) x 4 + (sl - 1)
nd ..... Node number of the CAN slave = 1
ma .... Module address = 1
sl ....... Slot number = 4
B&R 2000 users have to exchange the data so that the high data is first (Motorola
format)!
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
Data word 0 includes the module status time constant for the counter value.
Bit Description
Chapter 3
5 0.... Supply voltage <18 V
1.... Supply voltage >18 V, Outputs OK
4 x .... Not defined, masked out
x x x x x x x
15 8 7 0
After setting bit 11 in configuration word 8, the configuration words receive the latched counter value with
the first positive edge on the reference input. The value is also valid if bit 11 is set in data word 0.
The maximum delay, from the edge on the input to the value is latched, is 50 µs.
Definition of the minimum latch difference (32 Bit) for latching counters. This is done using bit 8 in configuration
word 8.
After setting bit 10 in configuration word 8, the configuration words receive the latched counter value with
the first negative edge on the reference input. The value is also valid if bit 10 is set in data word 0.
The maximum delay, from the edge on the input to the value is latched, is 50 µs.
Definition of the force value (32 Bit). The force value is defined using bit 8 in configuration word 8.
The maximum delay, until the force value definition is accepted, is 1 ms.
Bit Description
14 - 15 0
0 0 0 0 0 0 0 0 0 0
15 8 7 0
1)
The counter value is only taken once. Bit 10 and bit 11 must be reset for the value to be taken again. Bit 10 and bit 11 can be set again in
configuration word 8 after the corresponding bit in the module status bit has gone to 0.
General Information:
The same internal interrupts or inputs are used for referencing and latching the counter value. Therefore the
following priority is defined:
1. Referencing
2. Latching
Make sure there is a clean transition between the types of operation. That means the respective control bits
are not allowed to be activated at the same time.
Latching is started by a positive edge on bit 10 or bit 11 in configuration word 8. The current counter value
is taken as comparison value for the minimum latch difference.
Chapter 3
If the minimum latch difference is set to 0 (default), the counter value is latched immediately when the
respective edge occurs on the reference input.
If the minimum latch difference is not set to 0, the counter value is placed in temporary memory when the
respective edge occurs on the reference input.
Configuration word 12 contains the module status (current status unlatched). The module status is written
to data word 0.
Bit Description
0 1 0 0 0 0 0 0 x x x x x x x x
15 8 7 0
Bit Description
14 - 15 0
13 0 .... Incremental encoder operation
12 0 .... Incremental encoder operation
11 0 .... No effect on count direction
1 .... Count direction inverted as compared to counter wiring
10 0
8-9 0 .... Incremental encoder operation with 4-fold evaluation
7 0 .... No effect on reference pulse
1 .... Reference pulse is inverted. This setting is used for encoders
with a high pulse.
6 0 .... Set counter immediately to 0. In data word 0 (module status), bit
7 is immediately set to 1 and the counter is cleared.
1 .... Counter remains functioning. In data word 0 (module status), bit
7 is immediately set to 0 (referencing required).
5 0 .... Ignore reference enable switch (referencing using reference
pulse). Setting refers to bit 4
1 .... Actively switch reference enable switch (referencing using
reference pulse and reference enable switch)
4 0 .... No effect on counter
1 .... Clear counter (reference)
3 0
2 0
1 0
0 0
0 0 0 0 0 0
15 8 7 0
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Accessing screw-in modules is also explained in the sections "AF101" and "CPU".
The module CM211 is equipped with a maximum of two event counters. The event counters are distributed
on slots 3 and 4.
Chapter 3
Data access takes place using data and configuration words. The following table provides an overview of
which data and configuration words are used for event counters 1 and 2.
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
In the example below, the combination module CM211 is accessed with module addresses 1 and 2.
1)
Slot CAN ID Word 1 Word 2 Word 3 Word 4
B&R 2000 users have to exchange the data so that the high data is first (Motorola
format)!
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
Data word 0 includes the module status time constant for both counter values.
Bit Description
6 - 15 x ....Not defined, masked out
5 0 ....Supply voltage <18 V
1 ....Supply voltage >18 V, Outputs OK
4 Output status of the comparator
3 Level of the encoder input for counter 1
2 Level of the encoder input for counter 2
0-1 x ....Not defined, masked out
x x x x x x x x x x x x
15 8 7 0
Chapter 3
Configuration Word 7 (write)
Bit Description
0 1 0 0 0 0 0 0 x x x x x x x x
15 8 7 0
Bit Description
14 - 15 0
13 0 ....Event counter operation
12 1 ....Event counter operation
11 0 ....No effect on counting direction
1 ....Count direction inverted as compared to counter wiring
10 0 ....Number format: 16 bit without sign
1 ....Number format: 16 bit without sign - cyclic operation
In continuous operation, the internal order of the threshold
values are kept. If a counter overflow occurs, the behavior of the
comparator does not have to be changed.
9 0
8 0 ....Counter 1 and 2: Only count positive edges
1 ....Counter 1 and 2: Count both edges
6-7 0
5 0 ....No effect on counter 2
1 ....Immediately clear counter 2
4 0 ....No effect on counter 1
1 ....Immediately clear counter 1
3 0 ....Comparator off
Output 1 is handled as defined in the variable declaration for
digital outputs.
1 ....Comparator on
2 0 ....The comparator output is set to the level given in bit 0, if
threshold value 1 ≤ counter ≤ threshold value 2
1 ....The comparator output is set to the inverted level of bit 0, if
threshold value 1 ≤ counter ≤ threshold value 2
1 0
0 Level of the comparator output
0 0 0 1 0 0 0 0
15 8 7 0
Data access takes place using data and configuration words. The following table provides an overview of
which data and configuration words are used for event counter 3.
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
In the example below, the combination module CM211 is accessed with module addresses 1 and 2.
1)
Slot CAN ID Word 1 Word 2 Word 3 Word 4
1)
CAN ID = 542 + (nd - 1) x 16 + (ma - 1) x 4 + (sl - 1)
nd ..... Node number of the CAN slave = 1
ma .... Module address = 1
sl ....... Slot number = 4
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
Data word 0 includes the module status time constant for the counter value.
Bit Description
4 - 15 x ....Not defined, masked out
3 Level of the encoder input for counter 3
0-2 x ....Not defined, masked out
x x x x x x x x x x x x x x x
15 8 7 0
Bit Description
0 1 0 0 0 0 0 0 x x x x x x x x
15 8 7 0
Bit Description
14 - 15 0
13 0 ....Event counter operation
12 1 ....Event counter operation
11 0 ....No effect on counting direction
1 ....Count direction inverted as compared to counter wiring
9 - 10 0
8 0 ....Counter 3: Only count positive edges
1 ....Counter 3: Count both edges
5-7 0
4 0 ....No effect on counter 3
1 ....Immediately clear counter 3
0-3 0
0 0 0 1 0 0 0 0 0 0 0 0 0
15 8 7 0
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Accessing screw-in modules is also explained in the sections "AF101" and "CPU".
The module CM211 is equipped with a maximum of three channels for gate and period measurement. The
channels are distributed on slots 3 and 4.
Data access takes place using data and configuration words. The following table provides an overview of
which data and configuration words are used.
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
Chapter 3
In the example below, the combination module CM211 is accessed with module addresses 1 and 2.
1)
Slot CAN ID Word 1 Word 2 Word 3 Word 4
1)
CAN ID = 542 + (nd - 1) x 16 + (ma - 1) x 4 + (sl - 1)
nd ..... Node number of the CAN slave = 1
ma .... Module address = 1
sl ....... Slot number = 3
B&R 2000 users have to exchange the data so that the high data is first (Motorola
format)!
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
Data word 0 includes the module status time constant for both counter values.
Bit Description
3 - 15 x ....Not defined, masked out
2 Level of the encoder input for gate / period 1
1 x ....Not defined, masked out
0 Level of the encoder input for gate / period 2
x x x x x x x x x x x x x x
15 8 7 0
Bit Description
0 1 0 0 0 0 0 0 x x x x x x x x
15 8 7 0
Bit Description
14 - 15 0
13 1 ....Gate / period measurement
12 1 ....Gate / period measurement
11 0 ....Channel 2: No effect on counter value
1 ....Channel 2: Set counter value to zero (retrigger)
10 0 ....Channel 1: No effect on counter value
1 ....Channel 1: Set counter value to zero (retrigger)
8-9 0
7 0 ....Channel 2: Gate measurement
1 ....Channel 2: Period measurement
4-6 Channel 2: Definition of counter frequency
0 ....16 MHz, internal
1 ....4 MHz, internal
2 ....1 MHz, internal
Chapter 3
5 ....external, both edges
3 0 ....Channel 1: Gate measurement
1 ....Channel 1: Period measurement
0-2 Channel 1: Definition of counter frequency
0 ....16 MHz, internal
1 ....4 MHz, internal
2 ....1 MHz, internal
3 ....250 kHz, internal
4 ....external, only rising edges
5 ....external, both edges
0 0 1 1 0 0
15 8 7 0
Data access takes place using data and configuration words. The following table provides an overview of
which data and configuration words are used.
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
In the example below, the combination module CM211 is accessed with module addresses 1 and 2.
1)
Slot CAN ID Word 1 Word 2 Word 3 Word 4
1)
CAN ID = 542 + (nd - 1) x 16 + (ma - 1) x 4 + (sl - 1)
nd ..... Node number of the CAN slave = 1
ma .... Module address = 1
sl ....... Slot number = 4
B&R 2000 users have to exchange the data so that the high data is first (Motorola
format)!
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
Data word 0 includes the module status time constant for the counter value.
Bit Description
1 - 15 x ....Not defined, masked out
0 Level of the encoder input for gate / period 3
x x x x x x x x x x x x x x x
15 8 7 0
Bit Description
0 1 0 0 0 0 0 0 x x x x x x x x
15 8 7 0
Bit Description
14 - 15 0
Chapter 3
11 0
10 0 ....Channel 3: No effect on counter value
1 ....Channel 3: Set counter value to zero (retrigger)
4-9 0
3 0 ....Channel 3: Gate measurement
1 ....Channel 3: Period measurement
0-2 Channel 3: Definition of counter frequency
0 ....16 MHz, internal
1 ....4 MHz, internal
2 ....1 MHz, internal
3 ....250 kHz, internal
4 ....external, only rising edges
5 ....external, both edges
0 0 1 1 0 0 0 0 0 0 0
15 8 7 0
Automation Studio Support: See Automation Studio Help starting with V 1.40
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
Digital inputs
The CM211 modules uses two module addresses. If two CM211 modules are used, only four additional digital
I/O modules can be used.
The following example shows the structure of the CAN object if two CM211 and four DI435 modules are used.
1)
CAN ID Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8
286 CM211 CM211 CM211 CM211 DI435 DI435 DI435 DI435
Not used I1-8 Not used I1-8
1)
CAN ID = 286 + (nd - 1) x 4 nd .... Node number of the CAN slave = 1
The following example shows the structure of the CAN object if one CM211 and two DI435 modules are used.
1)
Module CAN ID Byte
286 Not used
CM211
287 Inputs 1 - 8
DI435 288 Inputs 1 - 8
DI435 289 Inputs 1 - 8
1)
CAN ID = 286 + (nd - 1) x 4 + (ma - 1) nd ... Node number of the CAN slave = 1
ma ... Module address of digital I/O modules = 1 - 4
The CM211 modules uses two module addresses. If two CM211 modules are used, only four additional digital
I/O modules can be used.
The following example shows the structure of the CAN object if two CM211 and four DO722 modules are
used.
1)
CAN ID Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8
414 CM211 CM211 CM211 CM211 DO722 DO722 DO722 DO722
Not used O1-8 Not used O1-8
1)
CAN ID = 414 + (nd - 1) x 4 nd .... Node number of the CAN slave = 1
Chapter 3
1)
Module CAN ID Byte
414 Not used
CM211
415 Outputs 1 - 8
DO722 416 Outputs 1 - 8
DO722 417 Outputs 1 - 8
1)
CAN ID = 414 + (nd - 1) x 4 + (ma - 1) nd ... Node number of the CAN slave = 1
ma ... Module address of digital I/O modules = 1 - 4
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
Module status
Bit Description
5 0 ....No error
1 ....Error (short circuit, over-temperature, etc.)
0-4 Module code = $17
0 1 0 1 1 1
7 0
Module ID CM411
General Information
Amount 1)
CP430, EX270 1
CP470, CP770 2
CP474, CP476, CP774
EX470, EX770
EX477, EX777
Electrical Isolation
Analog - PCC No
Digital - PCC Yes
Digital - Analog Yes
Analog Inputs
Number of Inputs 3
Value Range
+10 V $7FFF
-10 V $8001
Number of Outputs 3
Chapter 3
Output Signal ±10 V
Load Impedance ≥1 kΩ
Digital inputs
Wiring Sink
Input Voltage
Minimum 18 VDC
Nominal 24 VDC
Maximum 30 VDC
Switching Threshold
LOW Range <5 V
HIGH Range >15 V
Comparator
Evaluation Actual value comparison of the counter value during incremental encoder operation
or of counter 2 during event counter operation (window comparator)
Comparator Output Output 1
Reaction Time <100 µs
Electrical Isolation
Input - Input No
Digital Outputs
Wiring Source
Switching Delay
log 0 - log 1 Max. 100 µs
log 1 - log 0 Max. 100 µs
Electrical Isolation
Output - Output No
Mechanical Characteristics
1)
Two logical module slots are required by the module.
2)
Referring the measurement range.
3)
Referring the current measurement value.
LED Description
OK This orange LED is lit when the external supply voltage for the outputs
is within the defined range (>18 VDC).
Analog Inputs
+15 V
AD
Converter
AI1+
+
AI1
Filter
- To the
AI1- processor ports
-15 V
AI2
3x
Chapter 3
Digital inputs
I 1-3
Input
Status
GND
Analog Outputs
Relay +
PTC Local
D/A Processor Port
AOx+ -
Converter
AOx-
Digital Outputs
+24 VDC
Output
Status
O 1-2
GND
+24 VDC
Diagnose
Voltage Status
Monitoring U-OK
GND
General Information
The design of the combination module CM411 corresponds to two AF101 adapter modules with two screw-
in modules installed.
= A A
+ D D
I O I O
N U N U
T T
Module Addresses
Because of this special module design, the combination module CM411 requires two module addresses.
A CPU, a combination module CM411 and a digital input module DI435 are used in the example shown below.
The module address assignments are to be made as shown in the diagram.
Module Address
1+2 3
To avoid conflicts in the register, the settings listed below must be used in the variable declaration for the
module address and for the slot.
In this case, the module is accessed with module addresses 1 and 2.
CM411
The following three factors must be taken into consideration for timing when a B&R 2003 CPU is used as
controller:
I/O AF cycle
I/O-AF Cycle
During this time, all data points on the combination module CM411 are updated or read in internally.
tIO_AF ≤1 ms
A legend sheet can be slid into the front of the module from above. The module circuit is shown on the back.
The inputs/outputs can be labelled on the front.
13.5.9 Connections
X1
X2
Tighten ground screw
X3
TB710
X1 X2 X3
Analog Inputs Analog Inputs Analog
1 + Input AI1 Inputs / Outputs
1 - Input AI1
2 + Input AI2 2 - Input AI2 1 Shield
3 + Input AI3 2 Shield
3 - Input AI3
Analog Outputs Analog Outputs 3 Shield
4 + Output AO1 4 Ground AO1- 4 Shield
5 + Output AO2 5 Ground AO2- 5 Shield
6 + Output AO3 6 Ground AO3- 6 Shield
Digital Inputs Digital Digital
7 Input DI1 Inputs/Outputs Inputs / Outputs
+
U
aaa
bbb
bbb
aaa
aaa
bbb
Measurement signal
aaa
bbb
aaa
bbb
aaa
bbb
aaa
bbb
aaa
bbb
aaa
bbb
aaa
bbb
bbb
aaa
bbb
aaa
1 2 3 4 5 6 ...
AI1+
AI1-
Shield
aaa
bbb
aaa
bbb
aaa
bbb
Load
aaa
bbb
aaa
bbb
aaa
bbb
aaa
bbb
aaa
bbb
aaa
bbb
aaa
bbb
aaa
bbb
aaa
bbb
1 2 3 4 5 6 ...
AO1+
AO1-
Shield
Encoder
A B
... 5 6 7 8 9 10
Ref
Chapter 3
13.5.13 Connection Example Event Counter Operation
Counter 1 Counter 2
A B
Shield Shield
... 5 6 7 8 9 10
+24 VDC
Load Load
... 5 6 7 8 9 10
+24 VDC
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Accessing screw-in modules is also explained in the sections "AF101" and "CPU".
Data access takes place using data and configuration words. The following table provides an overview of
which data and configuration words are used for the analog inputs.
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
In the example below, the combination module CM411 is accessed with module addresses 1 and 2.
Analog input data cannot be packed. Only the first object from this group of four will be created and sent.
1)
Slot CAN ID Word 1 Word 2 Word 3 Word 4
1)
CAN ID = 542 + (nd - 1) x 16 + (ma - 1) x 4 + (sl - 1)
nd ..... Node number of the CAN slave = 1
Chapter 3
sl ....... Slot number = 1
B&R 2000 users have to exchange the data so that the high data is first (Motorola
format)!
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
Bit Description
12 - 15 x .... Not defined, masked out
11 0 .... Converter values ready
1 .... Converter values not yet ready
3 - 10 x .... Not defined, masked out
2 0 .... Channel 3: No error
1 .... Channel 3: Error present
1 0 .... Channel 2: No error
1 .... Channel 2: Error present
0 0 .... Channel 1: No error
1 .... Channel 1: Error present
x x x x x x x x x x x x
15 8 7 0
Bit Description
0 0 1 1 0 0 1 0 x x x x x x x x
15 8 7 0
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Accessing screw-in modules is also explained in the sections "AF101" and "CPU".
Data access takes place using data and configuration words. The following table provides an overview of
which data and configuration words are used for the analog outputs.
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
In the example below, the combination module CM411 is accessed with module addresses 1 and 2.
Analog output data cannot be packed. Only the second object from this group of four will be created.
1)
Slot CAN ID Word 1 Word 2 Word 3 Word 4
Chapter 3
sl ....... Slot number = 2
B&R 2000 users have to exchange the data so that the high data is first (Motorola
format)!
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
The 16 bit standardized values for voltage are written to the module output channel.
Bit Description
0 0 1 1 0 1 0 0 x x x x x x x x
15 8 7 0
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Accessing screw-in modules is also explained in the sections "AF101" and "CPU".
Data access takes place using data and configuration words. The following table provides an overview of
which data and configuration words are used for the digital inputs in incremental encoder operation.
Data access takes place using data and configuration words. The following table provides an overview of
which data and configuration words are used for the digital inputs in incremental encoder operation.
B&R 2000 users have to exchange the two counter status words so that the high word
is first (Motorola format)!
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
In the example below, the combination module CM411 is accessed with module addresses 1 and 2.
Digital input data cannot be packed. Only the first object from this group of four will be created and sent.
1)
Slot CAN ID Word 1 Word 2 Word 3 Word 4
1)
CAN ID = 542 + (nd - 1) x 16 + (ma - 1) x 4 + (sl - 1)
nd ..... Node number of the CAN slave = 1
ma .... Module address = 2
sl ....... Slot number = 1
B&R 2000 users have to exchange the data so that the high data is first (Motorola
format)!
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
Data word 0 includes the module status time constant for the counter value.
Bit Description
8 - 15 x .... Not defined, masked out
7 0 .... Referencing is taking place
1 .... Counter is referenced (resetting takes place when the reference
command is received)
6 Changes state each time referencing takes place
5 0 .... Supply voltage <18 V
1 .... Supply voltage >18 V, Outputs OK
4 Output status of the comparator
3 Level of encoder input A
2 Level of encoder input B
1 x .... Not defined, masked out
0 Level of the reference pulse
x x x x x x x x x
15 8 7 0
Configuration word 12 contains the module status (current status unlatched). The module status is written
to data word 0.
Bit Description
0 0 1 1 0 1 1 0 x x x x x x x x
15 8 7 0
Chapter 3
Bit Description
13 - 15 0
12 0 .... Incremental encoder operation
11 0 .... No effect on count direction
1 .... Count direction inverted as compared to counter wiring
10 0 .... Number format: 32 bit with sign
1 .... Number format: 32 bit without sign - cyclic operation
In continuous operation, the internal order of the threshold
values are kept. If a counter overflow occurs, the behavior of the
comparator does not have to be changed. Comparator operation
takes place without consideration of the sign.
8-9 0 .... Incremental encoder operation with 4-fold evaluation
7 0 .... No effect on reference pulse
1 .... Reference pulse is inverted. This setting is used for encoders
with a high pulse.
6 0 .... Set counter immediately to 0. In data word 0 (module status), bit
7 is immediately set to 1 and the counter is cleared.
1 .... Counter remains functioning. In data word 0 (module status), bit
7 is immediately set to 0 (referencing required).
5 0
4 0 .... No effect on counter
1 .... Clear counter (reference)
3 0 .... Comparator off
Output 1 is handled as defined in the variable declaration for
digital outputs.
1 .... Comparator on
2 0 .... The comparator output is set to the level given in bit 0, if
threshold value 1 ≤ counter ≤ threshold value 2
1 .... The comparator output is set to the inverted level of bit 0, if
threshold value 1 ≤ counter ≤ threshold value 2
1 0
0 Level of the comparator output
0 0 0 0 0 0 0 0
15 8 7 0
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Accessing screw-in modules is also explained in the sections "AF101" and "CPU".
Data access takes place using data and configuration words. The following table provides an overview of
which data and configuration words are used for the digital inputs in event counter operation.
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
In the example below, the combination module CM411 is accessed with module addresses 1 and 2.
Digital input data cannot be packed. Only the first object from this group of four will be created and sent.
1)
Slot CAN ID Word 1 Word 2 Word 3 Word 4
1)
CAN ID = 542 + (nd - 1) x 16 + (ma - 1) x 4 + (sl - 1)
nd ..... Node number of the CAN slave = 1
Chapter 3
sl ....... Slot number = 1
B&R 2000 users have to exchange the data so that the high data is first (Motorola
format)!
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
Data word 0 includes the module status time constant for both counter values.
Bit Description
6 - 15 x ....Not defined, masked out
5 0 ....Supply voltage <18 V
1 ....Supply voltage >18 V, Outputs OK
4 Output status of the comparator
3 Level of encoder input A: Counter 1
2 Level of encoder input B: Counter 2
0-1 x ....Not defined, masked out
x x x x x x x x x x x x
15 8 7 0
Bit Description
0 0 1 1 0 1 1 0 x x x x x x x x
15 8 7 0
Bit Description
13 - 15 0
12 1 .... Event counter operation
11 0
10 0 .... Number format: 16 bit without sign
1 .... Number format: 16 bit without sign - cyclic operation
In continuous operation, the internal order of the threshold
values are kept. If a counter overflow occurs, the behavior of the
comparator does not have to be changed.
9 0
8 0 .... Counter 1 and 2: Only count positive edges
1 .... Counter 1 and 2: Count both edges
6-7 0
5 0 .... No effect on counter 2
1 .... Immediately clear counter 2
Chapter 3
1 .... Immediately clear counter 1
3 0 .... Comparator off
Output 1 is handled as defined in the variable declaration for
digital outputs.
1 .... Comparator on
2 0 .... The comparator output is set to the level given in bit 0, if
threshold value 1 ≤ counter ≤ threshold value 2
1 .... The comparator output is set to the inverted level of bit 0, if
threshold value 1 ≤ counter ≤ threshold value 2
1 0
0 Level of the comparator output
0 0 0 1 0 0 0 0 0
15 8 7 0
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Accessing screw-in modules is also explained in the sections "AF101" and "CPU".
Data access takes place using data and configuration words. The following table provides an overview of
which data and configuration words are used for the digital outputs.
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
In the example below, the combination module CM411 is accessed with module addresses 1 and 2.
Digital output data cannot be packed. Only the second object from this group of four will be created.
1)
Slot CAN ID Word 1 Word 2 Word 3 Word 4
B&R 2000 users have to exchange the data so that the high data is first (Motorola
format)!
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
Bit Description
2 - 15 0
1 Digital output 1
0 Digital output 0
Status of output 0, if the comparator is switched off.
0 0 0 0 0 0 0 0 0 0 0 0 0 0
15 8 7 0
Chapter 3
8 - 15 Module code = $38
0 0 1 1 1 0 0 0 x x x x x x x x
15 8 7 0
Module ID ME010
General Information
Slot Can be installed on the far left of the system bus next to the CP476
Peripheral
PCMCIA Interface 1
Standard JEIDA V 4.0 or PCMCIA Standard Release 2.0
Card Height Max. 3 mm
Card Type Memory cards
Memory Size
SRAM Max. 4 MByte
FlashPROM Max. 4 MByte
Mechanical Characteristics
Module Width 20 mm
The CP476 now provides another expansion possibility on the far left of the system bus. Special expansion
modules can be installed here. One of these is the ME010.
The ME010 provides a PCMCIA slot for B&R memory cards. This expansion can be used to update the
controller. Another possibility is using the PCMCIA cards as external recipe memory for these types of
applications.
In principle, it is possible to use memory cards as "normal" memory areas, but we strongly advice against
this because the PCMCIA cards are not mechanically fixed in place and therefore are not vibration resistant.
Access of memory cards is also very slow.
LED Description
Mode Indicates that a memory card is being programmed and therefore is not allowed to be removed.
General Information
The memory cards are used by the CP476 as ROM Type "MEMCARD".
The SRAM and FlashPROM memory cards can only be written to by the CP476. Therefore it is not possible
to program system software or the application on a memory card directly on a PC with a PCMCIA interface.
Operating Modes
The CP476 is has two hex switches which are used as CAN node number switches. Some switch settings
are reserved for special operating modes.
Module ID ME020
General Information
Slot Can be installed on the far left of the system bus next to the CP476
Power Consumption 0.7 W, without PCMCIA memory card and without interface module insert
Peripheral
PCMCIA Interface 1
Standard JEIDA V 4.0 or PCMCIA Standard Release 2.0
Card Height Max. 3 mm
Card Type Memory cards
Memory Size
SRAM Max. 4 MByte
FlashPROM Max. 4 MByte
Mechanical Characteristics
Module Width 37 mm
The CP476 now provides another expansion possibility on the far left of the system bus. Special expansion
modules can be installed here. One of these is the ME020.
The ME020 provides a PCMCIA slot for B&R memory cards. This expansion can be used to update the
controller. Another possibility is using the PCMCIA cards as external recipe memory for these types of
applications.
In principle, it is possible to use memory cards as "normal" memory areas, but we strongly advice against
this because the PCMCIA cards are not mechanically fixed in place and therefore are not vibration resistant.
Access of memory cards is also very slow.
Additionally, the ME020 provides a slot for B&R SYSTEM 2005 interface module inserts.
LED Description
Mode Indicates that a memory card is being programmed and therefore is not allowed to be removed.
General Information
The memory cards are used by the CP476 as ROM Type "MEMCARD".
Chapter 3
• memory cannot be allocated on the memory cards
• the data format is not compatible to the B&R SYSTEM 2005 CPU CP260
The SRAM and FlashPROM memory cards can only be written to by the CP476. Therefore it is not possible
to program system software or the application on a memory card directly on a PC with a PCMCIA interface.
Operating Modes
The CP476 is has two hex switches which are used as CAN node number switches. Some switch settings
are reserved for special operating modes.
The following B&R SYSTEM 2005 interface module inserts can be operated with the ME020 module:
3IF671.9 One RS232 interface, one RS485/RS422 interface and one CAN interface
3IF681.95 One RS232 interface and one ETHERNET interface with 10 BASE2 connection (CHEAPERNET
BNC socket)
3IF681.96 One RS232 interface and one ETHERNET interface with 10 BASE-T connection (Twisted Pair /
RJ45 socket)
The operation is software compatible to the B&R SYSTEM 2005. Existing software can be used, e.g. NET2000,
Frame driver, etc.
Module Description
IF311 2003 interface module, 1 RS232 interface, screw-in module
IF321 2003 interface module, 1 RS485/RS422 interface, electrically isolated, network capable, screw-in module
IF361 2003 interface module, 1 RS485 interface, electrically isolated and network capable,
transfer protocol: PROFIBUS-DP, screw-in module
IF371 2003 interface module, 1 CAN interface, electrically isolated, network capable, screw-in module
General Information
Standard
Communication Interface
Electrical Isolation
Interface - PCC No Yes
Data Formats
Data Bits 5 to 8 7/8
Parity yes / no / even / odd yes / no / even / odd
Stop Bits 1/2 1/2
Mechanical Characteristics
1)
Integrated power supply on pin 4 of the RS232 interface for simple PANELWARE controllers, e.g. P120.
2)
Can be configured using software.
Assignment
Pin RS232
9 pin D-type plug 1 NC Reserved
2 RXD Receive Signal
1
6 3 TXD Transmit Signal
4 +5 VDC /max. 500 mA Panel Supply
5 GND Ground
6 NC Reserved
9
5 7 RTS Request To Send
8 CTS Clear To Send
9 NC Reserved
The IF321 is equipped with a bus termination resistor. The resistance is turned on and off with a switch.
Wiring remote I/O networks is described in Chapter 2 "Project Planning and Installation", section "Remote
I/O Bus".
Module ID IF361
General Information
Short Description 2003 interface module, 1 RS485 interface, electrically isolated and network capable,
Transfer protocol: PROFIBUS-DP, screw-in module
Standard
Communication Interface
Maximum Baudrate
Bus Length <100 m 12 MBit/s
Bus Length <200 m 1.5 MBit/s
Bus Length <400 m 500 kBit/s
Bus Length <1000 m 187.5 kBit/s
Mechanical Characteristics
Assignment
Pin PROFIBUS-DP
1
9 pin D-type socket 2
5 3 B (Data)
9
4 RTS
5 GND
6 +5 VDC / 50 mA
6 7
1
8 A (Data\)
9
Module ID IF371
General Information
Standard
Communication Interface
Maximum Baudrate
Bus Length 10 - 60 m Max. 500 kBit/s
Bus Length 100 - 200 m Max. 250 kBit/s
Bus Length 800 - 1000 m Max. 50 kBit/s
Mechanical Characteristics
Assignment
Pin CAN
Module Description
NC161 2003 encoder module, input frequency 100 kHz, incremental or absolute, 32 Bit,
encoder supply 5 VDC or 24 VDC, screw-in module
General Information
Short Description 2003 encoder module, input frequency 100 kHz, incremental or absolute,
32 bit, encoder supply 5 VDC or 24 VDC, screw-in module
Encoder Input
Incremental Encoder
Signal Form Square wave pulses
Evaluation 4-fold
Input Frequency Max. 100 kHz
Counter Frequency Max. 400 kHz
Phase Shift between 90° ±15°
Channel A and B
Counter Size 32 Bit
Inputs A, A\, B, B\, R, R\
Input Level 5 V (differential input)
Encoder Supply
Mechanical Characteristics
The NC161 is an encoder module with symmetrical incremental encoder or absolute encoder evaluation.
A 5 V encoder supply is available directly on the module. A 24 V encoder supply must be connected
externally to terminals 1 and 2 on the terminal block. The reference enable switch is connected to terminals
3 and 4 .
The NC161 is used for single axis positioning with ramps in conjunction with the AO352 analog output module.
8
15
9 1
1 A Channel A
Chapter 3
3 B Channel B
4 B\ B inverted
7 C Clock output
8 C\ C inverted
9 ES Encoder supply 2)
+5 VDC / 500 mA
12 EG Encoder supply ⊥
13 ES Encoder supply 3)
+24 VDC / 300 mA
external voltage from
terminal block
14
15
1)
Pins 5 and 6 as well as 10 and 11 are linked together using OR logic (hardware). Open pins are considered 0.
2)
The 5 V encoder supply is not supplied externally. Bit 7 of configuration word 8 must be set in order to activate the 5 V encoder supply.
3)
In order to use an encoder requiring a 24 V power supply, terminals 1 and 2 on the terminal block must be connected to an external 24 V
encoder supply.
The terminal block is found on the bottom of the module. It is integrated in the housing.
Pin Assignments
Pin Assignment
2 GND
Connection Example
Z1
Z2
Z3
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Accessing screw-in modules is also explained in the sections "AF101" and "CPU".
Chapter 3
Data Access VD Data VD Module VD R W Description
Type Type Chan.
Configuration word 4 INT32 Transp. In 8 ● Counter value at positive edge of the reference enable
switch
Configuration word 6 INT32 Transp. In 12 ● Counter value at negative edge of the reference enable
switch
INT32 Transp. Out 12 ● Threshold value 2
Data access takes place using data and configuration words. The following table provides an overview of
which data and configuration words are used for this module.
Configuration word 4 INT32 Transp. In 8 ● Counter value at positive edge of the reference enable
switch
Configuration word 6 INT32 Transp. In 12 ● Counter value at negative edge of the reference enable
switch
B&R 2000 users have to exchange the two counter status words so that the high word
is first (Motorola format)!
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
Data cannot be packed on the NC161. Therefore one CAN object is transferred per screw-in module.
If an adapter module AF101 is equipped with a four NC161 modules, the CAN object has the following
structure:
1)
Slot CAN ID Word 1 Word 2 Word 3 Word 4
1)
CAN ID = 542 + (nd - 1) x 16 + (ma - 1) x 4 + (sl - 1)
nd ..... Node number of the CAN slave = 1
ma .... Module address of the AF101 = 1
sl ....... Slot number of the screw-in module on the AF101 (1 - 4)
B&R 2000 users have to exchange the data so that the high data is first (Motorola format)!
Data word 0 includes the module status time constant for the counter value.
Bit Description
9 0.... If bit 8 and bit 9 = 0, then the load is in the valid range or the
Chapter 3
8 0.... If bit 8 and bit 9 = 0, then the load is in the valid range or the
supply is not switched on
1.... 5 V encoder supply is not loaded
7 0.... Referencing is taking place
1.... Counter is referenced (resetting takes place when the reference
command is received)
x x x x x x x
15 8 7 0
Please refer to path/status and timing diagrams in the section, "Incremental Encoder
Operation".
Bit 0 in Data Word 0 is always 1 when the level of the reference enable switch is 0.
Bit 0 only takes the level of the reference pulse when the level of the reference enable switch is 1.
0 0 1
1 0 1
0 1 0
1 1 1
Bit 0 in data word 0 is always 1 when the level of the reference enable switch is 0.
Bit 0 only takes the level of the inverted reference pulse when the state of the reference enable switch is 1.
0 0 1
1 0 1
0 1 1
1 1 0
After setting bit 11 in configuration word 8, the configuration words receive the latched counter value with
the first positive edge of the reference enable switch. The value is also valid if bit 11 is set in data word 0.
Please refer to the timing diagram "Latching the Counter Value" in the section, "Incremental Encoder
Operation".
Chapter 3
Threshold value 1 must always be ≤ threshold value 2 .
Threshold values are internally arranged in increasing order including sign.
After setting bit 10 in configuration word 8, the configuration words receive the latched counter value with
the first negative edge of the reference enable switch. The value is also valid if bit 10 is set in data word 0.
Please refer to the timing diagram "Latching the Counter Value" in the section, "Incremental Encoder
Operation".
12 - 15 0
5-6 0
4 0 ....No effect on counter
1 Clear counter (reference)
With the positive edge on bit 4, the counter is cleared depending
on the control signal in configuration word 14 (write). Before
further referencing, bit 4 must be reset and set again.
3 0 ....Comparator off
The comparator output is set to the level given in bit 0.
1 ....Comparator on
2 0 ....Unconditional comparator output
The comparator output is set to the level given in bit 0, if
threshold value 1 < counter ≤ threshold value 2
1 ....Conditional comparator output
The comparator output can be controlled in two ways:
a) Using the reference enable switch, if bit 15 is reset in
configuration word 14.
Reference enable switch = 1
The comparator output is handled as with
"Unconditional comparator output".
Reference enable switch = 0
The comparator output is set to the inverted level of
bit 0.
b) In TPU operation using the TPU-IN line. The line is
handled using LTX functions (e.g. with LTXdo0()). TPU
operation is defined by setting bit 15 in configuration
word 14.
TPU-IN line = 1
The comparator output is handled as with
"Unconditional comparator output".
TPU-IN line = 0
The comparator output is set to the inverted level of
bit 0.
1 0
0 Level of the comparator output
0 0 0 0 0 0 0 0 0
15 8 7 0
1)
The counter value is only taken once. Bit 10 and bit 11 must be reset for the value to be taken again. Bit 10 and bit 11 can be set again in
configuration word 8 after the corresponding bit in the module status bit has gone to 0.
Configuration word 12 contains the module status (current status unlatched). The module status is written
to data word 0.
Bit Description
0 0 0 1 0 0 0 0 x x x x x x x x
15 8 7 0
Chapter 3
The module is configured using configuration word 14.
With the standard setting, the encoder module is operated as 32 Bit up/down counter with 4-fold evaluation.
Please refer to path/status and timing diagrams in the section, "Incremental Encoder
Operation".
3 0
2 0.... No effect on reference pulse
1.... Reference pulse is inverted. This setting is used for encoders
with a high pulse.
0 0 0 0 0 0 0 0 0 0
15 8 7 0
The variable declaration is made in PG2000. The variable declaration is described in Chapter 4, "Module
Addressing".
Automation Studio Support: See Automation Studio Help starting with V 1.40
Accessing screw-in modules is also explained in the sections "AF101" and "CPU".
Chapter 3
Data Access VD Data VD Module VD R W Description
Type Type Chan.
Data word 0 WORD Transp. In 0 ● Module status
Data word 1 INT32 Transp. In 2 ● Counter value
Configuration word 4 INT32 Transp. In 8 ● Counter value at positive edge of the reference enable
switch
Configuration word 6 INT32 Transp. In 12 ● Counter value at negative edge of the reference enable
switch
Configuration word 8 WORD Transp. Out 16 ● Absolute encoder control
Configuration word 12 WORD Transp. In 24 ● Module status
Configuration word 14 WORD Transp. In 28 ● Module type
WORD Transp. Out 28 ● Module configuration
Data access takes place using data and configuration words. The following table provides an overview of
which data and configuration words are used for this module.
Access via CAN Identifiers is used if the slave is being controlled by a device from another manufacturer.
Access via CAN Identifiers is described in an example in Chapter 4, "Module Addressing".
The transfer modes are explained in Chapter 5, "CAN Bus Controller Functions".
Data cannot be packed on the NC161. Therefore one CAN object is transferred per screw-in module.
If an adapter module AF101 is equipped with a four NC161 modules, the CAN object has the following
structure:
1)
Slot CAN ID Word 1 Word 2 Word 3 Word 4
1)
CAN ID = 542 + (nd - 1) x 16 + (ma - 1) x 4 + (sl - 1)
nd ..... Node number of the CAN slave = 1
ma .... Module address of the AF101 = 1
sl ....... Slot number of the screw-in module on the AF101 (1 - 4)
B&R 2000 users have to exchange the data so that the high data is first (Motorola format)!
For more information on ID allocation, see Chapter 5, "CAN Bus Controller Functions".
Data word 0 includes the module status time constant for the counter value.
Bit Description
8 0.... If bit 8 and bit 9 = 0, then the load is in the valid range or the
Chapter 3
2-7 x .... Not defined, masked out
1 Level of the reference enable switch
x x x x x x x x x x x
15 8 7 0
After setting bit 11 in configuration word 8, the configuration words receive the latched counter value with
the first positive edge of the reference enable switch. The value is also valid if bit 11 is set in data word 0.
Please refer to the timing diagram "Latching the Counter Value" in the section, "Incremental Encoder
Operation".
After setting bit 10 in configuration word 8, the configuration words receive the latched counter value with
the first negative edge of the reference enable switch. The value is also valid if bit 10 is set in data word 0.
Please refer to the timing diagram "Latching the Counter Value" in the section, "Incremental Encoder
Operation".
Bit Description
12 - 15 0
0-6 0
0 0 0 0 0 0 0 0 0 0 0 0 0
15 8 7 0
1)
The counter value is only taken once. Bit 10 and bit 11 must be reset for the value to be taken again. Bit 10 and bit 11 can
be set again in configuration word 8 after the corresponding bit in the module status bit has gone to 0.
Configuration word 12 contains the module status (current status unlatched). The module status is written
to data word 0.
Bit Description
0 0 0 1 0 0 0 0 x x x x x x x x
15 8 7 0
Bit Description
Chapter 3
5-9 Number of preceding zeros before the MSB of the encoder value
0 0 1 0
15 8 7 0
The following path/status and timing diagrams illustrate the functional behavior of the NC161 in incremental
encoder operation with various configurations.
Comparator - Unconditional
Configuration words 4+5 Threshold value 1 Define threshold value 1 for comparator, threshold value 1 ≤ threshold value 2
Configuration words 6+7 Threshold value 2 Define threshold value 2 for counter
Configuration word 8 Bit 0 = 0 or 1 Level of the comparator output
Path/Status Diagram
Threshold value 1:
Configuration words 4+5
Threshold value 2:
Configuration words 6+7
Comparator value :
1)
≥ Threshold value 1 ≤ Threshold value 2
Bit 4 in data word 0, if bit 0
in configuration word 8 = 1
1)
Comparator value : ≥ Threshold value 1 ≤ Threshold value 2
Bit 4 in data word 0, if bit 0
in configuration word 8 = 0
Position
1)
The comparator shows jitter of 0 - ca. 1 ms
The clock output (pins 7 and 8) correspond to the comparator status of bit 4 in data word 0.
Configuration words 4+5 Threshold value 1 Define threshold value 1 for comparator, threshold value 1 ≤ threshold value 2
Configuration words 6+7 Threshold value 2 Define threshold value 2 for counter
Path/Status Diagram
Chapter 3
Configuration words 4+5
Threshold value 2:
Configuration words 6+7
1)
Comparator value : ≥ Threshold value 1 ≤ Threshold value 2
Bit 4 in data word 0, if bit 0
in Configuration word 8 = 1
1)
Comaparator value : ≥ Threshold value 1 ≤ Threshold value 2
Bit 4 in data word 0, if bit 0
in Configuration word 8 = 0
Position
1)
The comparator shows jitter of 0 - ca. 1 ms
The clock output (pins 7 and 8) correspond to the comparator status of bit 4 in data word 0.
Configuration word 8 Bit 10 = 0 or 1 Counter value is taken with the first negative edge on the reference enable
switch
Configuration word 8 Bit 11 = 0 or 1 Counter value is taken with the first positive edge on the reference enable
switch
Timing Diagram
Time
Configuration word 8 Bit 4 = 0 or 1 Clear counter (referencing), for control signal see configuration word 14
Timing Diagram
Clear counter:
Bit 4 in configuration word 8
Counter cleared:
Chapter 3
State change after
each reference:
Bit 6 in data word 0
Time
Make the following settings for conditional referencing with reference enable switch and non-inverted
reference pulse:
Configuration word 8 Bit 4 = 0 or 1 Clear counter (referencing), for control signal see configuration word 14
Timing Diagram
Reference pulse
Clear counter:
Bit 4 in configuration word 8
Reference pulse or
(not reference enable switch):
Bit 0 in data word 0
Counter cleared:
Bit 7 in data word 0
Time
Make the following settings for conditional referencing with reference enable switch and inverted reference
pulse:
Configuration word 8 Bit 4 = 0 or 1 Clear counter (referencing), for control signal see configuration word 14
Timing Diagram
Reference pulse
Counter cleared:
Bit 7 in data word 0
Time
Make the following settings for conditional referencing without reference enable switch and with non-inverted
reference pulse:
Configuration word 8 Bit 4 = 0 or 1 Clear counter (referencing), for control signal see configuration word 14
Timing Diagram
Reference pulse
Clear counter:
Bit 4 in configuration word 8
Reference pulse:
Bit 0 in data word 0
Counter cleared:
Bit 7 in data word 0
Time
Make the following settings for conditional referencing without reference enable switch and with inverted
reference pulse:
Configuration word 8 Bit 4 = 0 or 1 Clear counter (referencing), for control signal see configuration word 14
Timing Diagram
Reference pulse
Counter cleared:
Bit 7 in data word 0
Time
In the following examples, the absolute encoder will be read in once in formatted form and once as raw value.
The following absolute encoder is used in both examples:
Bits Transferred 24
Data Bits 20
Preceding Zeros 4
If the protocol format delivered by the absolute encoder is known, the data is read in in formatted form. The
following settings are to be made:
Configuration word 14 Bit 0 - 4 = %10100 Number of valid bits in the encoder value: 20
Protocol format
The data is read in as 32 bit raw value if e.g. the protocol format delivered by the absolute encoder in not
known. The following settings are to be made:
Configuration word 14 Bit 0 - 4 = %00000 Number of valid bits in the encoder value: 0
Protocol format
Short Description 2003 bus cover, 5 pcs. 2003 bus cover, 1 pcs.
If module slots remains free, fitting a bus cover on the first free slot is recommended. In this way, the last module
can be protected from damage.
M3 x 8 ... 10 pieces
Module ID AC011
Short Description 2003 stress relief attachment, 5 pcs., incl. mounting material
The stress relief attachment is intended for use with the DO721 digital output modules. It can be installed
on the module rack directly underneath the modules to prevent the cabling placing too much stress on the
4 pin connectors.
The stress relief attachment is mounted underneath the DO721. To do this, a threaded strip is inserted in
the module rack and the stress relief attachment is fastened with two screws. The mounting material is
contained in the delivery of the stress relief attachment.
The wires running into the module are then secured to the stress relief attachment using cable ties. In this
way, the connectors are freed from stress, and the security of the electrical wiring can be guaranteed.
OUTPUT
RELAY N#
240 VAC
24 VDC
4 A / terminal
Fuse: S#
T 5A H 250V
1 2 3 4
DO721
Y1 Y2 Y3 Y4
Most I/O modules are wired using this 10 pin single row terminal block. This terminal block has a compact
design and is easy remove (each module has two ejection levers).
TB710.9
TB710.91
Module ID TB710
Number of Pins 10
Removal Mechanical
1)
Take the respective limit data for the I/O modules into consideration!
This single row 12 pin terminal block is used to connect screw-in modules. Removal is simplified by two ejection
levers on the terminal block.
TB712.91
Module ID TB712
Number of Pins 12
Removal Mechanical
1)
Take the respective limit data for the I/O modules into consideration!
This single row 18 pin terminal block is used to connect B&R 2003 I/O modules. Removal is simplified by two
ejection levers on the terminal block.
TB718.9
TB718.91
Module ID TB718
Number of Pins 18
Removal Mechanical
1)
Take the respective limit data for the I/O modules into consideration!
The terminal block TB722 is used to supply the digital inputs on the DM435 module. It is a 22 pin dual level
terminal block with either screw clamps or cage clamps. The contacts on the front are connected together
and the ones on the back are also connected together which creates a positive and a GND strip.
TB722.91
Module ID TB722
Number of Pins 22
1)
Take the respective limit data for the I/O modules into consideration!
The terminal block TB733 is used as an additional jumper terminal if the digital mixed module DM435 is
operated using a 3-line connection. The TB733 is a 33 pin 3-level terminal block with either screw clamps
or cage clamps. All terminals in a terminal row are electrically connected
TB733.9
TB733.91
Module ID TB733
Number of Pins 33
All 11 terminals in a terminal row are electrically connected
1)
Take the respective limit data for the I/O modules into consideration!
The terminal block TB736 is used to supply the digital inputs on the DM465 module. The TB736 consists of
two 18 pin pin-connectors and corresponding socket connectors as screw or cage clamp terminal blocks
with ejection levers. All terminals in a terminal row are electrically connected
TB736.91
Module ID TB736
Number of Pins 36
All 18 terminals in a terminal row are electrically connected
1)
Take the respective limit data for the I/O modules into consideration!
The terminal block is used as an additional jumper terminal and is specially designed for 3-line connections,
e.g. for the DM465 (3-line sensors). The TB754 consists of three18 pin pin-connectors and corresponding
socket connectors as screw or cage clamp terminal blocks with ejection levers. All connections in a terminal
row are electrically connected.
TB754.9
TB754.91
Module ID TB754
Number of Pins 54
All 18 terminals in a terminal row are electrically connected
Dimensions
Height 50 mm
Width 76 mm
Depth 32 mm
1)
Take the respective limit data for the I/O modules into consideration!
The terminal block TB772 is used as an additional jumper terminal if the digital mixed module DM465 is
operated using a 3-line connection. The TB772 consists of two 36 pin pin-connectors and corresponding
socket connectors as cage clamp terminal blocks with ejection levers. All terminals in a terminal row are
electrically connected
Number of Pins 72
All 18 terminals in a terminal row are electrically connected
Nominal Voltage 50 V
Dimensions
Height 48 mm
Width 76 mm
Depth 34 mm
1)
Take the respective limit data for the I/O modules into consideration!
Module Addressing
Chapter 4
Data exchange with a screw-in module takes place using a 32 word long memory area. Depending on the
screw-in module, up to 16 words can be accessed (read or write).
The memory area has the same structure for all screw-in modules:
Module Addressing
Configuration word 15 Configuration word 15
Chapter 4
1.2 DATA WORDS
The data words are processed by the operating system cyclically and automatically. They are used for the
following tasks:
The configuration words are processed when requested by the user. Configuration words are also called
CFG words.
They are used for the following tasks:
CAN Slave
Automation Studio Support: See Automation Studio Help starting with V 1.40
466 Chapter 4
3 VARIABLE DECLARATION WITH 2003 PCC CPU
3.1 GENERAL INFORMATION
Entering the variable declaration is described in the "PG2000 Software Users Manual".
Automation Studio Support: See Automation Studio Help starting with V 1.40
The example described here are especially suited to the specific characteristics of a B&R 2003 CPU.
The variable declaration is described using the hardware configuration shown below:
Module Addressing
Chapter 4
AI351
AO352
DM435
Digital Outputs
Channels 1 -2 Assigned
Channels 3 -8 Free
Digital Inputs
Channels 1 -2 Assigned
Channels 3 -8 Free
DO435
Channels 5 -8 Free
468 Chapter 4
3.3 TASK OVERVIEW
Before you can use the function blocks to handle the configuration words, you have to import the I/O library
into the project database. The function, Import Library in the File menu is provided for this purpose.
The I/O library must be entered in the GDM as a system module.
3.5 AF101
This task processes the screw-in modules on the CP interface and on the analog interface module AF101.
The shovel entries are defined in the INIT-SP. The shovel entries for the configuration are carried out in the
INIT-SP, the ones for reading the module status are carried out in the cyclic section of the program.
3.5.1 INIT-SP
Module Addressing
;*****************************************************************************
Chapter 4
;** Definition of the individual shovel instructions for the main rack **
;*****************************************************************************
Err_Ptest = 0
Err_IO_data = 0
;#############################################################################
;## Multipler physical shovel instruction used to write ##
;## parameter word 14 from the AT664 to the AF101, Slot 1 ##
;#############################################################################
IO_struct.io_type=5 ;2003 IO
IO_struct.master_no=1 ;Master always 1
IO_struct.slave_no=0 ;Slave number always 0
IO_struct.module_adr=AF101_slot ;Module slot
IO_struct.intern_off= 32*(AT664_slot -1)+ 14 *2 ;Reg. no. 14 on ScrM = AT664_slot
IO_struct.mode=%00000000 ;Write, Normal
IO_struct.data_len=2 ;2*Byte
IO_struct.reserve=0 ;Not used
IO_struct.data_adr=adr(AT_r_reg14) ;Address of the data area with image of
;parameter word 14
AT_r_reg14 = $0000 ;No conversion
;AT_r_reg14 = $1001 ;J type sensor \
;AT_r_reg14 = $1002 ;K type sensor > filter time 60 Hz
;AT_r_reg14 = $1003 ;S type sensor /
if (ptest1_ok = 1) then
;Declare shovel instruction #0
IO_mphydef(1,adr(IO_struct),adr(af_sc_buf),0,status_mp1,af_ident)
else
Err_Ptest = BIT_SET(Err_Ptest,0)
endif
;#############################################################################
;## Multipler physical shovel instruction to write parameter word ##
;## 14 from the AT664 to the left side of the CP474 (CP interface) ##
;#############################################################################
IO_struct.io_type=5 ;2003 IO
IO_struct.master_no=1 ;Master always 1
IO_struct.slave_no=0 ;Slave number always 0
IO_struct.module_adr=0 ;Module slot 0 -> left side
IO_struct.intern_off= 32*(AT664_slot -1)+ 14 *2 ;Reg. no. 14 on ScrM = AT664_slot
IO_struct.mode=%00000000 ;Write, Normal
IO_struct.data_len=2 ;2*Byte
IO_struct.reserve=0 ;Not used
IO_struct.data_adr=adr(AT_l_reg14) ;Address of the data area with image of
;parameter word 14
AT_l_reg14 = $0000 ;No conversion
;AT_l_reg14 = $1001 ;J type sensor \
;AT_l_reg14 = $1002 ;K type sensor > filter time 60 Hz
;AT_l_reg14 = $1003 ;S type sensor /
if (ptest2_ok = 1) then
;Declare shovel instruction #1
IO_mphydef(1,adr(IO_struct),adr(af_sc_buf),1,status_mp2,af_ident)
else
Err_Ptest = BIT_SET(Err_Ptest,1)
endif
if Err_Ptest=0 then
loop ;Shovel instruction carried out cyclically ...
IO_data(1,af_ident,status_dat)
exitif status_dat <> 5559 ;...until shovelling is no longer active
endloop
endif
;#############################################################################
;## Multipler physical shovel instruction to read the module status ##
;## (parameter word 12) for AI351 ##
;#############################################################################
IO_struct.io_type=5 ;2003 IO
IO_struct.master_no=1 ;Master always 1
IO_struct.slave_no=0 ;Slave number always 0 for 2003
IO_struct.module_adr=AF101_slot ;Module slot
IO_struct.intern_off=32*(AI351_slot -1)+ 12 *2;Reg. no. 12 on ScrM = AI351_slot
IO_struct.mode=%00100000 ;Read, Normal
IO_struct.data_len=2 ;Word
IO_struct.reserve=0 ;Not used
IO_struct.data_adr=adr(AI_statin) ;Address of the data area where
;status word is stored.
470 Chapter 4
IO_ptest(1,adr(IO_struct),status_pt2,ptest2_ok);Test if shovel instruction
;can be carried out
if (ptest2_ok = 1) then
;Change parameters for shovel instruction #0
IO_mphydef(1,adr(IO_struct),adr(af_sc_buf),0,status_mp2,af_ident)
;Delete shovel instruction #1
IO_mphydef(1,0,adr(af_sc_buf),1,status_mp3,af_ident)
else
Err_Ptest = BIT_SET(Err_Ptest,2)
endif
AF101_data = $FF
if (status_mp2=0) and (status_mp3=0) and (Err_Ptest=0) and (status_dat=0) then
AF101_data = 0
endif
;-----------------------------------------------------------------------------
;*****************************************************************************
;*** Required for the definition of the variables (I/O variable would be ***
;*** linked in a more logical manner in real applications !) ***
;*****************************************************************************
Module Addressing
AT664r_in.chan1=AT664r_in.chan1
AT664r_in.chan2=AT664r_in.chan2
Chapter 4
AT664r_in.chan3=AT664r_in.chan3
AT664r_in.chan4=AT664r_in.chan4
AI351_in=AI351_in
AO352_out.chan1=AO352_out.chan1
AO352_out.chan2=AO352_out.chan2
AT664l_in1=AT664l_in1
AT664l_in2=AT664l_in2
AT664l_in3=AT664l_in3
AT664l_in4=AT664l_in4
;*****************************************************************************
;*** Carry out the defined multiple shovel instructions using IO_data ***
;*****************************************************************************
472 Chapter 4
3.5.4 AT664 on CP Interface
Data type
On this AT664, the data type is defined individually for each channel.
I/O Type
Select I/O type "2003 I/O" from the pop-up window. Then a dialog box will be opened.
Module Addressing
Chapter 4
Channel 1 Channel 2
Channel 3 Channel 4
Data type
A structure will be defined for this AT664 using the data type typedef. After entering the structure name at664,
the elements of the structure variables can be entered in a dialog box:
I/O Type
The following settings are to be made in the dialog box I/O Type:
Channels 1 - 4
474 Chapter 4
3.5.6 AI351
For the AI351, the following settings are to be made in the dialog box I/O Type:
Channel 1
Module Addressing
Chapter 4
Data type
The channels can also be accessed individually instead of using transparent access (as in this example).
A structure is defined using the typedef data type. After entering the structure name ao352, the elements
of the structure variables can be entered in a dialog box:
I/O Type
The following settings are to be made in the dialog box I/O Type:
Channels 1 and 2
476 Chapter 4
3.6 DM435
On the DM435, two channels are used as digital inputs and two channels are used as digital outputs.
The settings shown below are to be made in the dialog box I/O Type.
The parameter Slot is set to 1 by the PG2000 programming system, and therefore does not have to be set
by the user.
Module Addressing
Chapter 4
Channel 1 - Digital Output Channel 2 - Digital Output
Module Status
On the DO435, two channels are used as digital inputs and two channels are used as digital outputs.
The settings shown below are to be made in the dialog box I/O Type.
The parameter Slot is set to 1 by the PG2000 programming system, and therefore does not have to be set
by the user.
Module Status
478 Chapter 4
4 VARIABLE DECLARATION WITH REMOTE I/O SLAVE
4.1 GENERAL INFORMATION
Entering the variable declaration is described in the "PG2000 Software Users Manual".
Automation Studio Support: See Automation Studio Help starting with V 1.40
The examples described here are especially suited to the specific characteristics when using a Remote I/O
Slave.
The variable declaration is described using the hardware configuration shown below. The Remote I/O Slave
has node number 1.
Module Addressing
Chapter 4
4.2 MODULE ASSIGNMENTS
AT664
AI351
AO352
Digital outputs
Channels 1 -2 Assigned
Channels 3 -8 Free
Digital inputs
Channels 1 -2 Assigned
Channels 3 -8 Free
DO435
Channels 5 -8 Free
In order to program a Remote I/O Slave, the Remote I/O Library must be imported in the project database.
The function, Import Library in the File menu is provided for this purpose.
The Remote I/O Library must be entered in the GDM as a system module.
480 Chapter 4
4.5 AF101
4.5.2 AT664
Module Addressing
Select "REMOTE I/O" from the I/O Type pop-up selection window. Then a dialog box will be opened.
Chapter 4
The following settings are to be made in the dialog box I/O Type:
Channel 3 Channel 4
Module Configuration
482 Chapter 4
4.5.3 AI351
For the AI351, the following settings are to be made in the dialog box I/O Type:
Module Addressing
Chapter 4
Two channels are used on the AO352. The following settings are to be made in the I/O Type dialog box:
Channel 1 Channel 2
4.6 DM435
On the DM435, two channels are used as digital inputs and two channels are used as digital outputs.
484 Chapter 4
4.6.2 I/O Type
The settings shown below are to be made in the dialog box I/O Type.
The parameter Slot is set to 1 by the PG2000 programming system, and therefore does not have to be set
by the user.
Module Addressing
Chapter 4
Module Status
On the DO435, two channels are used as digital inputs and two channels are used as digital outputs. The
output mask is defined with the variable outs.
486 Chapter 4
4.7.2 I/O Type
The settings shown below are to be made in the dialog box I/O Type.
The parameter Slot is set to 1 by the PG2000 programming system, and therefore does not have to be set
by the user.
Module Addressing
Chapter 4
Module Status Output Mask
Entering the variable declaration is described in the "PG2000 Software Users Manual".
Automation Studio Support: See Automation Studio Help starting with V 1.40
The examples described here are especially suited to the specific characteristics when using a CAN Slave.
• Accessing configuration words takes place using the CAN command function block CANIOcmd().
• Additional information concerning the CAN command function block can be found in the CANIO
online help.
• The variable declaration for a CAN Slave functions starting with PG2000 Programming System
Version 2.35.
The variable declaration is described using the hardware configuration shown below:
488 Chapter 4
5.2 MODULE ASSIGNMENTS
AT664
AI351
AO352
DM435
Digital outputs
Channels 1 -2 Assigned
Channels 3 -8 Free
Module Addressing
Digital inputs
Chapter 4
Channels 1 -2 Assigned
Channels 3 -8 Free
DO435
Channels 5 -8 Free
In order to program a CAN Slave, the CANIO Library must be imported into the project data bank. The
function, Import Library in the File menu is provided for this purpose.
The CANIO master must be entered in the GDM as system module.
The system configuration must be entered in the GDM. The following settings must be made for CAN I/O:
490 Chapter 4
5.6 ERROR EVALUATION
Errors, such as a node dropping out, alarm messages etc. can be evaluated in an exception task (exception
number 170).
;#############################################################################
;## Error evaluation for CANIO in exception task ##
;#############################################################################
;Evaluation:
if (busnr = 1) and (nodenr = 1) then ;Node ?
case exctyp of ;Type of exception
action 1: ;1 ... Node drops out
node_act = 0 ;-> is no longer active
;Message to ask „AF101“
endaction
action 2: ;2 ... Node is active again
node_act = 1 ;Active
init_ok = 0 ;Reinitialize ScrM
;Message to task „AF101“
endaction
action 3: ;3 ... Alarm
;Alarm message from node
; <errcode> and <addcode> can be evaluated here
Module Addressing
endaction
action 4: ;4 ... BUSOFF
;Error on CAN Bus, possibly a loose cable
Chapter 4
endaction
elseaction:
;Exception type reserved for future updates
endaction
endcase
endif
5.7.1 INIT-SP
;#############################################################################
;## Commands to initialize the screw-in modules ##
;#############################################################################
;Only the screw-in modules have to be configured, the configuration of the
;digital output masks and the timeouts are taken care of by the CANIO driver
comtab[0].code=3 ;Code
comtab[0].comcode=11 ;Write operating parameters
comtab[0].param1 =28 ;CFG word 14
comtab[0].param2 =0 ;Module 1, Slots 1+2
comtab[0].data =$00010000 ;CFG word 14 Slot 1 = 1
; -> AT664 J type sensor
;CFG word 14 Slot 2 = 0
; -> AI351 default setting
comtab[1].code=4 ;Code
comtab[1].comcode=12 ;Activate operating parameters
comtab[1].param1 =0 ;Always 0
comtab[1].param2 =0 ;Always 0
comtab[1].data =0 ;Always 0
;#############################################################################
;## Declaration of IO variables, they would be linked in a more logical ##
;## manner in real applications, any the variable names can be used. ##
;#############################################################################
anain1_1_1 = anain1_1_1 ;Channel 1 on AT664
anain1_1_2 = anain1_1_2 ;Channel 2 on AT664
anain1_1_3 = anain1_1_3 ;Channel 3 on AT664
anain1_1_4 = anain1_1_4 ;Channel 4 on AT664
492 Chapter 4
5.7.2 Cyclic Program
Module Addressing
endif
Chapter 4
endif
A structure is defined for the variables "response" and "comtab" using the data type typedef. After entering
the structure name command, the elements of the structure variable can be entered in a dialog box.
5.7.5 AT664
Select "CAN-I/O" from the pop-up window I/O Type. Then a dialog box will be opened.
The following settings are to be made in the dialog box I/O Type:
Channel 1 Channel 2
Channel 3 Channel 4
494 Chapter 4
5.7.6 AI351
For the AI351, the following settings are to be made in the dialog box I/O Type:
Channel 1
Module Addressing
5.7.7 AO352
Chapter 4
Two channels are used on the AO352. The following settings are to be made in the I/O Type dialog box:
Channel 1 Channel 2
On the DM435, two channels are used as digital inputs and two channels are used as digital outputs.
The settings shown below are to be made in the dialog box I/O Type.
The parameter Slot is set to 1 by the PG2000 programming system, and therefore does not have to be set
by the user.
496 Chapter 4
5.9 DO435
On the DO435, two channels are used as digital inputs and two channels are used as digital outputs. The
output mask is defined automatically by the CANIO master.
The settings shown below are to be made in the dialog box I/O Type.
The parameter Slot is set to 1 by the PG2000 programming system, and therefore does not have to be set
by the user.
Module Addressing
Chapter 4
Channel 3 - Digital Output Channel 4 - Digital Output
Access via CAN Identifier is used if the slave is being controlled by a device from another manufacturer.
AT664
AI351
AO352
498 Chapter 4
DM435
Digital outputs
Channels 1 -2 Assigned
Channels 3 -8 Free
Digital inputs
Channels 1 -2 Assigned
Channels 3 -8 Free
DO435
Channels 5 -8 Free
Module Addressing
The application program is divided into the following tasks:
The B&R TRAP Library and the CAN Library must be imported into the project database. The function, Import
Library in the File menu is provided for this purpose.
The CAN2000, B&R TRAP Library and the CAN Library must be entered in the GDM as system modules.
6.6.1 INIT-SP
if status=0 then
canop_OK=1
endif
error=DA_ident(„cantab“,0,adr(ident))
if error=0 then
error=DA_info(ident,adr(D_Adr),adr(D_Len),0)
endif
comtab[0].code=2 ;Code
comtab[0].comcode=11 ;Write operating parameters
comtab[0].param1 =14 ;Output mask
comtab[0].param2 =0 ;Modules 1-4
comtab[0].data =$00FF0C00 ;Module #2: Channels 1-8, Module #3: Channels 3+4
;On the DM435, all channels are declared as outputs
;On the DO435, the first two channels are used as outputs
comtab[1].code=3 ;Code
comtab[1].comcode=11 ;Write operating parameters
comtab[1].param1 =28 ;CFG word 14
comtab[1].param2 =0 ;Module 1, Slots 1+2
comtab[1].data =$00010000 ;CFG word 14 Slot 1 = 1
; -> AT664 J type sensor
;CFG word 14 Slot 2 = 0
; -> AI351 default setting
500 Chapter 4
comtab[2].code=4 ;Code
comtab[2].comcode=12 ;Activate operating parameters
comtab[2].param1 =0 ;Always 0
comtab[2].param2 =0 ;Always 0
comtab[2].data =0 ;Always 0
if canop_OK=1 then
CANrwtab(1,tab_ident,status)
endif
Module Addressing
select step
when canop_OK=0 ;If Init-SP has problems
Chapter 4
next ERROR
when Id_Node_tr=1 ;If Identify Node is received, a new node is present
;on the network -> new initialization
Id_Node_tr = 0
next WAIT_awake
;Cyclic section
state CYCLIC
;Handle analog inputs
if AnaIn1_tr=1 then ;Receive analog IN object from AT664
;Analog data comes in Intel Format -> Swap
anain1_1_1=lsl(WORD(AnaIn1.word1.high),8)+AnaIn1.word1.low
anain1_1_2=lsl(WORD(AnaIn1.word2.high),8)+AnaIn1.word2.low
anain1_1_3=lsl(WORD(AnaIn1.word3.high),8)+AnaIn1.word3.low
anain1_1_4=lsl(WORD(AnaIn1.word4.high),8)+AnaIn1.word4.low
AnaIn1_tr=0 ;Reset trigger
endif
502 Chapter 4
if anaout_1<>oldOutA1 then ;Has output data on channel 1 changed ?
;Copy swapped output data in CAN data buffer
AnaOut1.word1.low=BYTE(anaout_1)
AnaOut1.word1.high=BYTE(lsr(anaout_1,8))
oldOutA1=anaout_1
AnaOut1_tr=1
endif
Module Addressing
endif
Chapter 4
if (OutputD1<>oldOutD1) or (OutputD2<>oldOutD2) then ;Dig out data changed
DigOut1.byte2=OutputD1 ;Output data in CAN data buffer
DigOut1.byte3=OutputD2
oldOutD1=OutputD1
oldOutD2=OutputD2
DigOut1_tr=1 ;Set trigger
endif
when 1=1
next CYCLIC
;If error
state ERROR
when canop_OK=0
next ERROR
endselect
;CAN-ID ,Name of the buffer variables ,Name of the trigger variables ,0->read
; 1->write
; ,"1234567890123456789012345678901","1234567890123456789012345678901",$00000000
;Identify node
$000007E6,"Id_Node ","Id_Node_tr ",$00000000
;Command ID for node #1
$0000061E,"Command1 ","Command1_tr ",$00000001
;Command response ID for node #1
$0000065E,"Resp_B1 ","Resp_B1_tr ",$00000000
;Digital IN for node #1
$0000011E,"DigIn1 ","DigIn1_tr ",$00000000
;Digital OUT to node #1
$0000019E,"DigOut1 ","DigOut1_tr ",$00000001
;Analog IN for node #1 Module #1 Slot #1 (AT664)
$0000021E,"AnaIn1 ","AnaIn1_tr ",$00000000
;Analog IN for node #1 Module #1 Slot #2 (AI351)
$0000021F,"AnaIn2 ","AnaIn2_tr ",$00000000
;Analog OUT to node #1 Module #1 Slot #3 (Ao352)
$00000420,"AnaOut1 ","AnaOut1_tr ",$00000001
504 Chapter 4
CHAPTER 5
CAN BUS CONTROLLER
FUNCTIONS
Functions
This description refers to operating system version xx.27 of the CAN bus controller.
B&R 2003 CAN bus controllers are suitable for operation with B&R devices and also in other CAN networks.
• Initializing the station from the time the it is switched on until active operation in the CAN network.
• Evaluating and sending input states
• Receiving and switching the outputs
• Error reaction during power failure or local problems.
• Setting and changing operating parameters using the network and/or configuration memory ME770
(internally in the EX270 bus controller).
The remote I/O system B&R 2003 is based on the existing CiA/CAL network concept.
This section contains explanations of some of the terms you will come across in this chapter. Further
explanations for individual terms can be found in the relevant CAN network literature.
Term Description
CiA Unification of European users of CAN networks.
CAL CAL describes the application layer of the CAN protocol according to CiA
Chapter 5
Functions
NMT NMT ... Network management
An NMT master (specific station within the network) takes over the management of
the CAN network. It has to recognize, transfer, remove, and configure network
nodes, and carry out "life guarding".
Identifier (ID) IDs allow the messages on the bus to be differentiated between (the smaller the
number, the higher its priority on the bus). Using an identifier, a specific object can
be addressed in a network. Two objects are not allowed to have the same identifier.
Digital inputs and outputs as well as analog channels can be read or written to using
an identifier. If a particular identifier is used, commands can be sent to a station or
the operating parameters can be changed.
CAN V. 2.0B Both 11 bit and 29 bit identifiers are allowed on the network.
Life Guarding An NMT master monitors NMT slave stations by communicating with reserved
identifiers to see if the station is still in operation. A station also recognizes whether
the NMT master is still working.
RTR Access to an identifier with direct response handling, using the CAN 80527 function
block.
Synchronization Jump Width Factor corresponding to the extent to which the CAN function block can synchronize
bit data. Synchronization is required because of oscillator tolerances.
Network Class 0 ... No network functionality (fixed identifier allocation, no life guarding)
1 ... Identifier and inhibit time allocation
2 ... Class 1 network plus Life Guarding
Module Name For identifying the node in the network (7 ASCII characters)
Inhibit Time Time which must pass between sending the same identifier on the bus. In this way
the bus load can be influenced by high priority objects (example: a fast changing
input cannot overload the bus).
The CAN bus controller is not assigned to an NMT or a DBT master when booting or in normal operation.
This corresponds to a class 0 NMT master.
If a CAN bus controller is operated exclusively with B&R devices in a network, the class 0 CiA/CAL network
is used by default. The CAN bus controller can also be operated with devices from other manufacturers.
The CAN bus controller automatically recognizes the network class in question. In a class 0 network, the bus
controller automatically assigns a specific identifier to each object. Identifier allocation depends on the node
number, the module slot and the type of input or output.
508 Chapter 5
1.3 CIA/CAL NETWORK CLASS 1 OR 2
The B&R 2003 system can also be used in CiA/CAL class 1 and 2 networks together with devices from other
manufacturers.
The CAN bus controller automatically recognizes the network class in question. In class 1 or 2 networks, a
so called CiA/CAL NMT master must be available which coordinates the boot phase (standardized according
to CiA/CAL) of the network and the individual nodes.
You can also define the object identifier using a CiA/CAL DBT master. It is therefore possible to use the CAN
bus controller in any CAN bus system, if the CAN identifier allocation is within the identifier range released
by the CiA (1-1760,2022).
An NMT master must be able to carry out at least the following functions so that a B&R CAN bus controller
can exist in a class 2 network:
Functionality Description
Identify_Node The master recognizes that a new node is present.
Identify_Remote_Node Slave responds to this message with Identify_Node, if its module ID is within the range
defined by the master.
Connect_Remote_Node Transfer of the parameters Life Guard Time, Life Guard CAN ID.
Prepare_Remote_Node Request the slave to create the object list (variable list).
Start_Node Message to the slave that it can now switch to normal operation (status: Operating). Only
then can inputs and outputs of this node be read or used.
Life_Guard Cyclic "life sign monitoring" - the NMT master monitors if the slave is still in operation, by
using a cyclic signal.
Functions
The following B&R devices/components are capable of communicating with CAN bus controllers:
CP430 CPU
CP470 CPU
CP474 CPU
CP476 CPU
CP770 CPU
CP774 CPU
CP260 CPU + interface module IF621, IF671 or IF672 for insert slot
IF060 Interface module + interface module IF621, IF671 or IF672 for insert slot
IF260 Programmable interface processor + interface module IF621, IF671 or IF672 for insert
slot
CP104 CPU
CP200 CPU
CP210 CPU
PANELWARE
PROVIT
510 Chapter 5
A detailed description of these devices can be found in the following manuals:
Function blocks are used to control a CAN bus controller on a B&R device from systems B&R 2003, B&R
2005, B&R 2010, B&R 2000 Logic Scanner or PANELWARE. These function blocks are already available
in the PG2000 programming system in the form of a library. A description of the CAN library can be found
in the following manual:
Functions
• Use default values which are set independently by the CAN bus controller during the initialization
phase.
• The operating parameters are stored in a nonvolatile program memory, and the CAN bus controller
reads it from there.
• The operating parameters are transferred and activated from another station (client) to the CAN bus
controller.
2.1 OVERVIEW
The operating parameters which are relevant to the user have been summarized in the following overview
table. The table is divided into two groups.
The bold parameters can be changed and activated while the system is running. The others can only be
changed if the program memory module ME770 is being used, or after the CAN bus controller has been
restarted.
The value in column "No." is used by commands to read and write operating
parameters (see Section "Commands - CAN Bus Controller").
Take note of the example "Access via CAN Identifier" in Chapter 4 "Module
Addressing".
512 Chapter 5
No. Data Type Value Label Description Standard
0 Byte 0-99 Version number (not changed)
1 Byte 0-63 Node number
2 Byte 0-7 active Baudrate
3 Byte 0 CAL Table Max. synchronization influences the selection of the baudrate 0
from one of five tables each containing eight values.
1-4 BuR value
0: CAL table
1-4 : Bit timing as with COMPACT2 PLC
4 reserved
5 reserved
6 Word 0-126*64 Units ms Guard time 1024
7 Word 0-0xffff Units Guard Time Life time factor 1
8 Word 000...x Packing Data: 0
000..x. Bit 0 0 ....pack digital inputs
000.x.. 1 ....do not pack digital inputs
Chapter 5
Functions
17 Byte [m1..m8] 254 Asynchronous - cyclic Behavior of digital inputs in operation 255
255 Asynchronous - with change
and if idle time passes
18 Byte [m1..m8] 1 = edge formation Change mask for digital inputs 0xFF
19 Word 0-65000 Units ms Cycle time for digital inputs 100
20 Word 0-65000 Units ms Idle time for digital inputs 640
21 Word 0-65000 Units ms Inhibit time for digital inputs 5
22 Byte [m1..m4][sl1..sl4] 254 Asynchronous - cyclic Behavior of analog inputs in operation 255
255 Asynchronous - with change
and if idle time passes
514 Chapter 5
2.2 DESCRIPTION OF THE OPERATING PARAMETERS
You will find a description of all the operating parameters in this section.
The node number is diverted from both the dials to the CAN bus controller (see chapter: Hardware). Using
the dials, the node number can be set between 0 and 63:
Chapter 5
Functions
cannot be set and inputs cannot be read. However, it is possible to send alarms, and to transfer the correct
configuration to the configuration memory using the commands.
If the node numbers 0 or 33 - 63 are set on the dial and there is no configuration memory on the CAN bus
controller or valid data is not present in the internal EX270 configuration memory, then the node behaves
passively on the network. All outputs are switched to log. 0.
The baudrates listed in the table can be set for the B&R SYSTEM 2003. You have to decide if the settings
are to be taken from the configuration memory or node number switch.
If the baudrate setting is made using configuration memory, the number shown in the column No. must be
entered in the operating parameters for the desired baudrate.
Making this setting using the node number switch is described in Chapter 3 "B&R 2003 Modules" in section
"CAN Bus Controller".
0 1 Mbit/sec 1)
●
1 500 kBit/sec ● ●
2 250 kBit/sec ● ●
3 125 kBit/sec ● ●
4 100 kBit/sec ●
5 50 kBit/sec ●
6 20 kBit/sec ● ●
7 10 kBit/sec ●
1)
1 MBit/sec cannot be guaranteed electrically because of isolation properties.
As standard setting, the values corresponding to the CAL standard are used. In special cases, the
synchronization jump width can also be set using the configuration memory.
Oscillator tolerances which are too large can cause transmission disturbances. However, a large ("friendly")
setting for synchronization jump width reduces the max. bus length possible.
You can select from four different baudrate tables to compensate for deviations of the individual bits on the
bus caused by oscillator tolerances. These four tables correspond to the tables for the COMPACT2 PLC.
Setting these parameters also adjusts the synchronization jump width for this B&R PLC.
516 Chapter 5
2.2.5 Guard Time
The CAN bus controller can be operated either with or without Life Guarding. It depends on the first life guard
signal from the NMT master. If the life guarding signal is once received, life guard time monitoring is activated.
This parameter consists of two bytes, from which guard time is calculated:
Default setting: 1
The data for I/O modules can be transferred either packed or unpacked.
The CAN objects for the modules are included with the respective module description in Chapter 3 "B&R
2003 Modules".
Functions
In this mode, all of the I/O states for all modules of a certain type are transferred together. 8 Byte CAN objects
are always used. Modules which are not inserted or are of a different type get the value 0.
For mixed modules with channels which can be defined as inputs or outputs (DO435), the bits that correspond
to the outputs are set to 0 when transmitting input information and the bits that correspond to the inputs are
set to 0 when transmitting output information!
CAN
Bus Controller
Module 1 Module 2 Module 3 Module 4 Module 5 Module 6 Module 7 Module 8
CAN ID
Dig. Input Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8
7 6 5 4 3 2 1 0
In unpacked mode, a node can be operated with a maximum of four digital I/O
modules.
A 1 byte CAN object is used for each digital module. For mixed modules, the outputs bits are read as 0 in
the input information. In the output information, the input bits are to be set to 0!
CAN
Bus Controller
Module 1 Module 2 Module 3 Module 4
CAN ID Data
Module 1 Byte
Module 2 Byte
Module 3 Byte
Module 4 Byte
7 6 5 4 3 2 1 0
Input 1 from module 4
Input 2 from module 4
:
:
Input 8 from module 4
518 Chapter 5
Packed Analog I/O
Four analog screw-in modules can be inserted per adapter module. The I/O values for these screw-in modules
are packed in an 8 Byte object. Screw-in modules which are not inserted or modules which are of a different
basic type (input/output) get the value 0.
The setting "pack analog modules" is possible in the configuration memory. But the setting to determine if
the data is actually packed comes from the configuration of the screw-in modules. The CAN bus controller
determines the configuration for each adapter module and makes the decision if the screw-in module data
can be packed.
The criteria is that only single channel screw-in modules are allowed to be installed. Therefore, the data per
screw-in module corresponds to 1 word. All data can be transferred with a CAN object because a CAN
object is 4 words long.
Word 1 of the CAN object corresponds to screw-in module 1, word 4 corresponds to screw-in module 4.
The decision if data can be packed or not is made separately for each adapter module.
CAN
Bus Controller
AF101 1 AF101 2 AF101 3 AF101 4
CAN ID
Analog Input
LB HB LB HB LB HB LB HB
AF101 1
Word 1 Word 2 Word 3 Word 4
AF101 adapter modules are only allowed to be operated with the first four module
addresses on the SYSTEMS B&R 2003 (see Chapter 3 "B&R 2003 Modules").
A 4 word long CAN object is used for each screw-in module. Each CAN object has a different CAN ID.
If four two-channel modules are installed on an AF101 adapter module, the data is written in the first two words.
Chapter 5
Functions
CAN
Bus Controller
AF101 1 AF101 2 AF101 3 AF101 4
This parameter determines the minimum time that is to pass after sending the alarm object before the alarm
object is resent.
Default setting: 5 ms
This parameter has a fixed setting of 254. This type of operation is called asynchronous cyclic. All other values
are reserved for future developments.
The outputs must be transferred cyclically during operation before the idle time passes. Otherwise, the output
is reset and an error message is given.
This parameter determines the idle time for the outputs. All outputs on the station must be transferred at least
once within this time, otherwise the output is reset and an error message is given. A different idle time can
be set for digital and analog modules.
For digital mixed modules with output response (e.g. DO435), the channels must be set as either inputs or
outputs. As default, this value is 0 (=> all channels are configured as inputs).
All channels which are configured as inputs must be set to 0 in the output data, otherwise there is a conflict
with the output mask. That means the respective output must be set to 0 before a channel is used as an input.
However, if an output is set which is actually defined and is being used as an input, an error message is given
and the idle time is not reset. This results in all outputs being set to 0 if the data word (output data) is not
corrected in time.
520 Chapter 5
2.2.12 Behavior of the Inputs during Operation
This parameter determines the basic behavior of the inputs. Different behavior can be defined for digital and
analog modules. Select:
Value Description
The standard setting ensures that the input states are sent automatically if a change occurs. With the "Digital
Inputs" change mask, sending when changes occur can be suppressed for certain inputs. The respective
bit is set to 0.
Default setting: $FF => Edge recognition is turned on for all inputs.
For digital mixed modules, all channels declared as outputs are automatically masked out. This guarantees
that sending is not triggered when these outputs change.
Chapter 5
Functions
This time determines the cycle time in which the input states are sent. A different cycle time can be entered
for digital and analog modules.
If the input states have not changed when the idle time passes, the input states are sent. A different idle time
can be set for digital and analog modules.
A minimum time must pass between sending procedures on the network for objects with the same ID.
Analog Inputs
If a DBT master is available, only times which are larger than those determined by the master are accepted.
If a DBT master is not available, times smaller than the default value of 20 ms or the value in configuration
memory can be set.
The trigger type determines the criteria for triggering transmission. Presently, the hysteresis is implemented
as default. The hysteresis is defined using the operating parameter Value Corresponding to Trigger Type.
If the input value changes by the defined amount, transmission is triggered.
Default setting: 4
The input value has to change by this amount in order to start transmission. If 4 is set for trigger type, this
value corresponds to a positive and negative hysteresis value.
Setting parameters for screw-in modules is included in Chapter 3 "B&R 2003 Modules" with the respective
module description (configuration word 14, write).
Chapter 4 "Module Addressing" contains an example program.
During the initialization phase, a code is saved in this location for each digital I/O module.
The B&R ID Code (Module Code + $E0) is listed in the module overview and the respective module description
in Chapter 3 "B&R 2003 Modules".
Bit Description
0 0 0
7 0
522 Chapter 5
2.2.21 Module Code for Screw-in Modules
The module code can be read from configuration word 14. Module code and B&R ID code are identical
for the screw-in modules.
The B&R ID Code is listed in the module overview and the respective module description in Chapter 3 "B&R
2003 Modules".
The CAL module name in connection with the module ID (= node number) represents a distinct description
for a module in a CAL network. This name is fixed and cannot be changed. The name consists of the letters
BRCIO and a two digit module ID. The CAN bus controller with station number 9 has the CAL module name
BRCIO09.
The priority group indicates to the DBT master how the priorities of CAN objects are to be handled for identifier
allocations. CAN objects with higher priority are assigned low IDs; objects with lower priority get higher IDs.
The identifiers for the inputs and outputs are stored in this directory. All of the IDs for the individual objects
are entered here.
Chapter 5
Functions
6 :
7 ID
8 ... ... ID ID
The table shows the basic structure of the identifier directory. This directory can be accessed e.g. using the
commands Read Operating Parameter or Write Operating Parameter. How the individual IDs are accessed
is described in section "Commands - CAN Bus Controller".
Command requests for one node are only allowed to be sent from ONE sender, otherwise there could
be conflicts on the bus.
Different nodes can get their commands different senders.
Object command requests and command responses both have a similar structure. Both objects consist of
8 bytes:
Byte Description
1 Command code
2 Parameter 1 (p1)
3 Parameter 2 (p2)
Not every command request to the bus controller automatically causes a command response (see description
of individual commands).
524 Chapter 5
3.1.2 Command Response
Byte Description
0 Transmission OK:
Code = Client code
Transmission faulty:
Bit 7 of the code is set
Transmission of a message which was not requested:
Code = $FF, e.g. Error message fro the
CAN slave module
1 Command code
2 Parameter 1 (p1)
3 Parameter 2 (p2)
The response contains the clients code so that the client which sent the command
receives the response. If an error occurs while the command is being processed, bit
7 of the code is set. Therefore, the client recognizes that the last command was
acknowledged with an error message.
If the command response contains the code $FF, then an automatic message (i.e.: error message) is given
by the bus controller.
An echo can also be a command response. The echo is formed from the command request which was
originally sent.
Chapter 5
Functions
Motorola format:
HH MH ML LL
Note: Code
Valid values for a command response or command code are between 0 and 126. You can use
this code in your project if you like (e.g. to route the command requests and command
responses).
You will find a description of all special commands and their parameters in this section.
The abbreviation in the 2nd column "ScrM(p2)" stands for screw-in module.
Command Code: 00
Module (p1) ScrM (p2) Command Data Command Response Description
0 0 ---- int32 Read the last slave error that occurred
1-8 0 ---- int32 Read the last module error that occurred
1-8 1-4 ---- int32 Read the last screw-in module error that
occurred
526 Chapter 5
Command Code: 01 – Screw-in Modules
Module (p1) ScrM (p2) Command Data Command Response Description
1-4 0 ---- Number of bytes Byte 4.... Number of screw-in modules on an analog module. 0 - 4 will be returned
Byte reserved as command response.
Byte reserved
Byte 5.... reserved
Byte power
Byte 6.... reserved
Byte 7.... Power value for the analog module
1-4 1-4 ---- Byte AF code Module code (see Chapter 3 "B&R 2003 Modules", section " B&R 2003 Module
HB ScrM code Overview" or the respective module description)
LB ScrM code
Command Response:
Byte power
Byte 4.... $Cx code for the analog module
Byte 5.... Code for the screw-in module HB
Byte 6.... Code for the screw-in module LB
Byte 7.... Power value for the screw-in module
The power consumption of the module can be calculated using the power value in byte 7 of the command
response. For digital modules which are not entered in the module list of the operating system, the power
value is set to 0.
Command Code: 02
Module (p1) ScrM (p2) Command Data Command Response Description
0 0 ---- Byte m1 Read output level of modules 1 - 4
Byte m2 0 ...........no output modules
Byte m3
or outputs are logical 0
Byte m4
1 ...........output is logical 1
0 1 ---- Byte m5 Read output level of modules 5 - 8
Byte m6
0 ...........no output modules
Byte m7 or outputs are logical 0
Byte m8
Chapter 5
1-8 0 ---- Byte mx Read output level of module x
Functions
0 ...........output is logical 0
1 .......... output is logical 1
or error If the module is not a digital output module,
an error message is given
m1 m2 m3 m4
m5 m6 m7 m8
Bit Description
7 Output 8 on module x
6 Output 7 on module x
5 Output 6 on module x
4 Output 5 on module x
3 Output 4 on module x
2 Output 3 on module x
1 Output 2 on module x
0 Output 1 on module x
7 0
The current input state is sent for digital mixed modules with output feedback.
Command Code: 03
Module (p1) ScrM (p2) Command Data Command Response Description
1-8 0 ---- No response Request the slave module to send to all
inputs on the given digital module.
or error message If the module is not an input module, an
error message is given.
1-4 Low Nibble: ---- Data word: Requests the slave module to send the
Scr.Mod. no 1-4 no response input data object of the given analog
screw-in module.
High Nibble: Configuration word:
Data word 0 - 3 command response
or
or error message
configuration
f the module is not an input module, an
word 4 - 12
error message is given.
The parameter ScrM (p2) is divided in the High Nibble and Low Nibble:
Bit Description
7 0
The data and configuration words for the screw-in modules are included in Chapter 3 "B&R 2003 Modules"
with the respective module description.
The send procedure for the data object is triggered when a data word is read.
528 Chapter 5
If a configuration word is read, the data is sent as command response. Using the command Read Input,
configuration words 4 - 15 can be read. The module code ins stored in configuration word 14. The module
code is read using command 1 Read Number of Modules or Module Code or command 10 Read Operating
Parameters (Parameter No. = 30).
Command Code: 04
Module (p1) ScrM (p2) Command Data Command Response Description
0 0 Byte m Echo All output masks on a slaves
0 ..........set to input
255 ......set to output
1-8 0 Byte m Echo Set the output mask for each bit to input or
output on the given module
%00000000 ........ all to input
Chapter 5
Functions
or error An error message is created if the module
number > 8
This command is required e.g for the digital output module DO435.
The mask is accepted immediately. The command Activate Operating Parameters is not necessary.
The masks is automatically set to %11111111 for digital outputs alone. With mixed modules (individual digital
channels can be defined as either inputs or outputs ), the send mask for the inputs is created from this output
mask (inverse output mask).
Command Code: 05
Module (p1) ScrM (p2) Command Data Command Response Description
0 0 Byte m Echo All change masks on a slave
0 .......... no edge
255 ...... edge (standard)
1-8 0 Byte m Echo Set change mask to edge or no edge for
each bit on the given module.
%00000000 set all to no edge
%11111111 set all to edge
or error An error message is created if the module
number > 8
The mask is accepted immediately. The command Activate Operating Parameters is not necessary.
For mixed modules, this change mask is linked with the inverse output mask (AND) so that changes to the
outputs do not trigger a send procedure (reduce load on the network).
Command Code: 06
Module (p1) ScrM (p2) Command Data Command Response Description
0 0 Byte type (4) Echo Set all entries to the given data
1-4 1-4 Byte type (4) Echo Set parameters for the given screw-in module
An error message is given if the module
or error number > 4 or ScrM > 4
The parameter is accepted immediately. Presently, the only type of triggering available is hysteresis
(command data = 4).
Command Code: 07
Module (p1) ScrM (p2) Command Data Command Response Description
0 0 int32 value Echo Set all entries to the given data
1–4 1-4 int32 value Echo Set parameters for the given screw-in module
An error message is given if the module
or error number > 4 or ScrM > 4
HH MH ML LL
530 Chapter 5
3.2.9 Write Value to Configuration Word
Command Code: 08
Module (p1) ScrM (p2) Command Data Command Response Description
1-4 Low Nibble: 2 or 4 Byte Echo Write command data in configuration word
ScrM no 1-4 for the given screw-in module
The parameter ScrM (p2) is divided in the High Nibble and Low Nibble:
Bit Description
7 0
The configuration words for the screw-in modules are included in Chapter 3 "B&R 2003 Modules" with the
respective module description.
Configuration words 4 - 12 can be written to Using the command Write Value to Configuration Word.
Configuration word 14 is written to using command 11 Write Operating Parameters (Parameter No. = 28).
Chapter 5
Functions
Byte 4 Byte 5 Byte 6 Byte 7
Command Code: 10
No. (p1) Block (p2) Command Data Command Response Description
Number of Block no. In ---- Dependent on the Read the operating parameter according to
the operating the entry operating parameter entry number. For entries larger than 4 bytes,
parameter 0 to n data with block number x 4 as offset
(exception: see Identifier Directory).
An error message is given if the entry or block
or error
number is invalid.
Section "Operating Parameters" contains an overview. Each operating parameter is assigned a number in
the column "No.". The number of the operating parameter to be read is entered in Parameter No. (p1).
Operating parameter entries which are longer than 4 bytes must be requested with more than one command
since only 4 data bytes can be transferred per command. Parameter Block (p2) entries for block number
are used for the offset calculation. With the help of this offset, the operating parameter data is requested in
blocks of 4.
The use of the Read operating Parameter command will be explained using two examples.
Example 1
Read operating parameter no. 29 Module Code for Digital I/O Modules:
Command Code: 10
No. (p1) Block (p2) Command Data Command Response
29 0 ---- Byte 4....... Code for module 1
Byte 5....... Code for module 2
Byte 6....... Code for module 3
Byte 7....... Code for module 4
29 1 ---- Byte 4....... Code for module 5
Byte 5....... Code for module 6
Byte 6....... Code for module 7
Byte 7....... Code for module 8
532 Chapter 5
Example 2
Block Number 0 1 2 3 4 5 6 7
Command Data
Byte 4 ScrM 1H ScrM 3H ScrM 1H ScrM 3H ScrM 1H ScrM 3H ScrM 1H ScrM 3H
Byte 5 ScrM 1L ScrM 3L ScrM 1L ScrM 3L ScrM 1L ScrM 3L ScrM 1L ScrM 3L
Byte 6 ScrM 2H ScrM 4H ScrM 2H ScrM 4H ScrM 2H ScrM 4H ScrM 2H ScrM 4H
Byte 7 ScrM 2L ScrM 4L ScrM 2L ScrM 4L ScrM 2L ScrM 4L ScrM 2L ScrM 4L
The module codes for the screw-in modules on the first AF101 module and screw-in modules 3 and 4 on the
third AF101 module are read.
Command Code: 10
No. (p1) Block (p2) Command Data Command Response
30 0 ---- Byte 4 .......Code for module 1, screw-in module 1H
Byte 5 .......Code for module 1, screw-in module 1L
Byte 6 .......Code for module 1, screw-in module 2H
Chapter 5
Functions
Byte 5 .......Code for module 1, screw-in module 3L
Byte 6 .......Code for module 1, screw-in module 4H
Byte 7 .......Code for module 1, screw-in module 4L
30 5 ---- Byte 4 .......Code for module 3, screw-in module 3H
Byte 5 .......Code for module 3, screw-in module 3L
Byte 6 .......Code for module 3, screw-in module 4H
Byte 7 .......Code for module 3, screw-in module 4L
1 101 / 1 101 / 2 101 / 3 101 / 4 101 / 5 101 / 6 101 / 7 101 / 8 101 / 9 101 / 10
2 102 / 1 102 / 2 102 / 3 102 / 4 102 / 5 102 / 6 102 / 7 102 / 8 102 / 9 102 / 10
3 103 / 1 103 / 2 103 / 3 103 / 4 103 / 5 103 / 6 103 / 7 103 / 8 103 / 9 103 / 10
4 104 / 1 104 / 2 104 / 3 104 / 4 104 / 5 104 / 6 104 / 7 104 / 8 104 / 9 104 / 10
5 105 / 1 105 / 2 105 / 3 105 / 4 105 / 5 105 / 6 105 / 7 105 / 8 105 / 9 105 / 10
6 106 / 1 106 / 2 106 / 3 106 / 4 106 / 5 106 / 6 106 / 7 106 / 8 106 / 9 106 / 10
7 107 / 1 107 / 2 107 / 3 107 / 4 107 / 5 107 / 6 107 / 7 107 / 8 107 / 9 107 / 10
8 108 / 1 108 / 2 108 / 3 108 / 4 108 / 5 108 / 6 108 / 7 108 / 8 108 / 9 108 / 10
In order to e.g. read the identifier for module 3 / analog output - slot 3, the following command request must
be sent:
Command Code: 10
No. (p1) Block (p2) Command Data Description
103 5 ----
Command Code: 11
No. (p1) Block (p2) Command Data Command Response Description
Number of Block no. in Byte x3 Echo Write the operating parameter in a buffer. For
the operating the entry Byte x2 entries larger than 4 bytes, data with block
parameter Byte x1 number x 4 as offset.
0 to n
Byte x0 or error An error message is given if the entry or block
number is invalid.
The data is written to the buffer and therefore does not influence the program. They
have to be copied to the active parameter area with the Activate Operating Parameters
command.
The parameters in the command request are (if possible) checked for plausibility. If an error is found, the
command response contains the respective error message.
Take note of the explanations concerning the block number which are given with the description of the Read
Operating Parameters command.
534 Chapter 5
3.2.12 Activate Operating Parameters
Command Code: 12
Parameter 1 Parameter 2 Command Data Command Response Description
0 0 ---- Echo Copy the operating parameters which are in
the buffer to the area for active parameters
(see section "Operating Parameters -
Overview").
The parameters found in the buffer (see command write operating parameters) are checked as thoroughly
as possible for plausibility. If an error is found, the command response contains the respective error message.
The command Activate Operating Parameters does not have to be carried out after every Write Operating
Parameters command. It is enough if it is carried out once after the last write command. In this way, all operating
parameters are accepted at once which saves time.
Command Code: 13
Parameter 1 Parameter 2 Command Data Command Response Description
Writing to the configuration memory is done in the background because of the time requirements of approx.
10 ms per word. Transferring the operating parameters to configuration memory is described in the following
steps:
• The contents are overwritten with $FFFF before the write procedure using the built-in delete function
(in configuration memory).
• Transfer operating parameters as word
Chapter 5
Functions
• Verify the transferred parameters
During this procedure, the operating parameters cannot be changed. Commands such as Set Output Mask
for Module are disabled and return a corresponding error message.
Command Code: 14
Parameter 1 Parameter 2 Command Data Command Response Description
0 0 ---- Echo Delete the configuration memory (overwrite
EEPROM with $FFFF).
or error If an error occurs, an error message is
generated.
Command Code: 15
Parameter 1 Parameter 2 Command Data Command Response Description
0 0 ---- Byte 0 ..........no configuration memory
1 ..........configuration memory available
Command Code: 16
Parameter 1 Parameter 2 Command Data Command Response Description
0 0 ---- Byte SW version Command Response:
Byte OP version
Byte 4....SW version of the controller.
HB checksum
The version is BCD coded:
LB checksum
V 2.7 = $27
Byte 5....Version of the operating parameter
memory data structure (see section
"Operating Parameter", Byte 0)
Byte 6....Checksum for the operating
parameter memory HB
Byte 7....Checksum for the operating
parameter memory LB
Command Code: 20
Parameter 1 Parameter 2 Command Data Command Response Description
0 0 ---- ---- The slave is removed from the network and
restarted (see Initialization Phase). If new
parameters were transferred to configuration
memory, they become valid.
536 Chapter 5
3.2.18 Set Node Number
Command Code: 21
Parameter 1 Parameter 2 Command Data Command Description
Response
0 0 Byte 4 = Echo Setting the node number for following warm
node number start of the slaves (command code 20).
0 - 63 The node number remains set until the next
power-on.
or error An error message is generated if an error
occurs.
Functions
The diagram shown is a simplified illustration of the internal operation of a CAN bus controller after power-
on or a reset.
538 Chapter 5
CAN Bus Controller
Description of the Diagram
Chapter 5
Functions
1. Internal initialization of the interface components and the internal structures.
2. The CAN bus controller tries to send the message Identify_Node (ID = 2022) once every second to
a NMT master, which may be available.
3. The CAN bus controller observes the CAN bus to determine if data is being transferred. Only those
objects with an ID in the range from 222 to 1760 are noted (corresponds to valid ID for a bus controller).
If such an object is found, an available NMT master must respond to the message Identify_Node within
5 seconds by sending Identify_Remote_Node. If a response is not given, a class 0 network is required.
Note
If only B&R devices are used in a CAN network, class 0 is always used.
All CAN bus controller also support classes 1 and 2, and can therefore also be used in a network with CAN
bus capable devices from other manufacturers.
If no NMT master responds during the bus controllers start up phase, then there is a class 0 CiA/CAL network.
In this situation, the CAN bus controller is initialized as follows:
4. Pre-defined identifiers are assigned to all station objects by the CAN bus controller (see Appendix
"CAN Identifier - Fixed Allocation").
5. The CAN bus controller starts operating normally (status: Operating) and now behaves on the network
in accordance with the set operating parameters (e.g. cyclically sending digital inputs etc).
The CAN bus controller is now ready for communication. Other CAN stations (clients) can now access the
node objects using the identifier. Function blocks are available for this purpose for B&R devices.
540 Chapter 5
4.3 WITH NMT MASTER (CLASS 1 OR 2)
The following steps are carried out if the bus controller recognizes that an NMT master is available during the
initial start-up phase:
Bus Controller
NMT Master
DBT Master
NMT Master Available
(Network Class 1 or 2)
Send
Message
Identify_Node
Evaluate: Part 1 of
Connect_Remote_Node
Send
Response Part 1
Evaluate: Part 2 of
Connect_Remote_Node
Send
Error Status, Node ID,
Error Code Only Class 2:
Activate NMT Master
Life Guarding and carries
it out cyclically
Evaluate
Prepare_Remote_Node
*) See
Slave attempts to next graphic
communicate with
DBT Master
Functions
Send
OK_Respnose
Wait for
Start_Remote_Node
Normal Operation
Operating
The above diagram is a simplified version of the initialization phase and the communication between the bus
controller and the NMT/DBT master.
4. The bus controller sends the message Identify_Node again after it has received the message
Identify_Remote_Node.
5. The CAN bus controller waits for part 1 of the message Connect_Remote_Node as response from the
NMT master.
6. The bus controller sends the part 1 response to the master after receiving the Connect_Remote_Node
message. The bus controller gives different types of information to the NMT master in this message
(e.g.: desired guard time, module ID, etc).
7. The NMT master evaluates the response to part 1 and then sends part 2 of the Connect_Remote_Node
message including information from the master (guard time, life time, network class).
8. The slave evaluates part 2 of the message from the master and responds with Error Status, Node ID
(=> node number) and Error Code.
9. Only network class 2:The NMT master activates Life Guarding, which is then carried out parallel to
the following initialization phases.
10. The master signals to the slave that the slave can now start to register objects with the DBT master
by sending the message Prepare_Remote_Node. This message includes whether the slave should
keep the object list, or whether it should construct a new one.
11. Now the slave tries to communicate with the DBT master (see next point "DBT master").
12. After the slave has tried to communicate with the DBT master (regardless of if it was successful or not),
it sends an OK Response to the NMT master.
13. The slave waits for the response Start_Remote_Node from the NMT master.
15. (a) Class 1 Network: From this point on, the master only monitors for errors and reacts to new nodes.
(b) Class 2 Network:In addition to the functions of class 1, the master also carries out Life Guarding.
The CAN bus controller is now ready. Other CAN stations (clients) can only access these module objects using
the identifier. Function blocks are available for this purpose for B&R devices.
542 Chapter 5
4.4 DBT MASTER
If a DBT master is being used, an NMT master is required. A DBT master can assign identifiers to every station
object.
The user does not have to use the fixed ID allocation of the CAN bus controller. A new identifier can be assigned
to all station objects. The flexibility of free ID allocation (according to the CAL standard) has the following
advantages:
During the initialization phase (see "With NMT Master Class 1 or 2"), the bus controller tries to communicate
with a DBT master, which may be available.
First, the slave receives permission from the NMT master to register its objects with the DBT master
(Prepare_Remote_Node).
Functions
Bus Controller
DBT Master
Slave attempts to
communicate with
DBT Master
Should the
Object List YES
be Recreated
NO
Send
Message
Get_Checksum
Checksum is
Valid Send
Predefined Object List, Message
Fixed Allocation of Delete_User_Definition
CAN Identifier Timeout for each Object
to DBT
Send
Message
Create_User_Definition
Timeout for each Object
to DBT
544 Chapter 5
5 FIXED ALLOCATION OF THE CAN IDENDIFIER
If a DBT master is not available on the network, the CAN identifier must be allocated using fixed settings. Using
the method described in the following section, a priority is achieved for the CAN identifier which is similar that
used in the DBT master via priority groups.
The fixed ID allocation takes place dependent on the set transfer mode (packed or unpacked).
The fixed ID allocation only takes effect if one of the following points are true:
Make sure that a maximum of 12 receive objects (output data) are created for the node.
Object Calculation nd ma
Functions
nd.... Node number of the ma ...Module address of
CAN Slave the AF101
Object Calculation nd ma sl
nd.... Node number of the ma ...Module address sl ..... Slot number of the
CAN Slave ofthe digital I/O screw-in module on
module or the AF101 the AF101
In unpacked mode, a maximum of four digital I/O modules can be operated on a node.
The following requirements must be met for the calculated allocation of the identifier:
In order to make working with the fixed allocation of identifiers easier, a complete list for all identifiers is
available in Appendix A "CAN Identifier with CAN Bus Controller (Fixed Allocation)".
546 Chapter 5
5.3.1 Examples
Example 1
Packed Mode
Chapter 5
Functions
1630 + (1 - 1)
Packed Mode
548 Chapter 5
Example 3
Unpacked Mode
Example 4
Unpacked Mode
Switching the positions of the modules DI645 and DO720 from example 3 results in the following IDs:
Functions
Object Calculation Identifier
Alarm Message 222 + (nd - 1) 233 $00E9
222 + (12 - 1)
DO720 414 + (nd - 1) x 4 + (ma - 1) 458 $01CA
414 + (12 - 1) x 4 + (1 - 1)
DI645 286 + (nd - 1) x 4 + (ma - 1) 331 $014B
286 + (12 - 1) x 4 + (2 - 1)
Command Request 1566 + (nd - 1) 1577 $0629
1566 + (12 - 1)
Command Response 1630 + (nd - 1) 1641 $0669
1630 + (12 - 1)
Unpacked Mode
nd.... Node number of the ma ...Module address of sl ..... Slot number of the
CAN Slave the digital I/O screw-in module on
module or AF101 the AF101
550 Chapter 5
Example 6
Unpacked Mode
Functions
Make sure that a maximum of 10 receive objects (output data) are created for the node.
552 Chapter 5
6.2 UNPACKED MODE
Functions
Example 1
Packed Mode
DI435 000TPDO001001
Example 2
Packed Mode
DI439 000TPDO001004
DO722 000RPDO001004
Command Request 000RPDO900004
Command Response 000TPDO900004
554 Chapter 5
Example 3
Unpacked Mode
Example 4
Unpacked Mode
Chapter 5
Functions
... Digital output module DO435 (module address 3)
DI435 000TPDO003001
DO435 - Outputs 000RPDO003001
Unpacked Mode
DO722 000RPDO003004
Command Request 000RPDO900004
Command Response 000TPDO900004
556 Chapter 5
7 MONITORING FUNCTIONS
A CAN bus controller has various monitoring functions. Errors are reacted to in various ways, ranging from
an error message to a module reset. The following monitoring functions are carried out by the bus controller:
The supply voltage is continually monitored. If the monitoring function finds an error, the outputs are switched
off and the CAN function block is separated from the bus by a reset. A software reset is triggered. As soon as
the error is no longer present, the bus controller is initialized and started again (see section: "Start-up
Behavior").
The supply voltage is monitored for the I/O modules. If the monitoring function finds an error, the inputs are
no longer evaluated. If voltage monitoring finds an error for 30 ms, an error message is sent. If the voltage is
then stable again for 30 ms, normal operation is resumed. The bus controller sends the error as an alarm
message.
If the bus controller is in a class 2 network, the NMT master must send a life guard signal cyclically to the bus
Chapter 5
Functions
Note: The life guard signal should be sent from the NMT master at cyclic intervals. It is recommended
that you set the cycle time to approx. the half the bus controller life guard time.
All outputs must be function blocks are written to cyclically (see parameter: "Idle Time" in section: "Operating
Parameters"). If a modules outputs are not described within the idle time, all this modules outputs are reset
(to log. 0) and an alarm message is sent.
Note: The outputs should be sent twice within the idle time to guarantee secure communication.
Therefore, jitter in the transfer time does not cause errors that may reset the outputs.
The set output states are compared with the actual outputs states which are read back. If a discrepancy is
found by the bus controller (e.g.: short circuit), then an alarm message is sent.
7.6 WATCHDOG
The hardware watchdog must be reset with a pulse after 50 ms at the latest, otherwise a hardware reset is
triggered and the node remains reset.
A 1 ms timer interrupt from the bus controller operating system handles resetting the Watchdog.
558 Chapter 5
8 NOTE
Pay attention to these important notes during operation.
Functions
B&R 2003
Chapter 6
Timing
• Which digital modules are being used?
• How many analog data points have to be processed?
• How are the screw-in modules arranged on the individual adapter modules?
The description refers to the AF101 analog interface modules with revisions ≥02.00.
The following three factors must be taken into consideration for timing when one of the B&R 2003 CPUs listed
above is used as controller:
I/O AF cycle
564 Chapter 6
CP476
The following four factors must be taken into consideration for timing when a CP476 B&R 2003 CPU is used
as controller:
B&R 2003
Chapter 6
Timing
I/O CP Interface cycle Internal bus cycle
All AF and digital I/O modules are processed during this time.
tAF_busy_AO * ndata_words_AO +
tOffset
CP474 / CP774
tint_cycle = (∑ AF modules + 1) * tAF * ndata_words +
tAF_busy_AI * ndata_words_AI +
tAF_busy_AO * ndata_words_AO +
ndata_words
∑ data words for the AF101, corresponds to the AF101 module with the most data words in the system.
If a CP474 or CP774 on the CP interface has more data words, the sum of these data words must be used for the
calculation.
ndata_words_AO
∑ analog output data words for the AF101, corresponds to the AF101 module with the most analog outputs in the
system.
If a CP474 or CP774 on the CP interface has more analog outputs, the sum of these analog output ata
d words must
be used for the calculation.
This AF101 does not have to be identical with the one with the most chann
els (AI + AO)
(see ndata_words ).
566 Chapter 6
Description Abbreviation t [µs]
Adapter module (AF101) tAF 22
B&R 2003
Chapter 6
Adapter module busy
Timing
analog inputs tAF_busy_AI 200
analog outputs
AF101 or CP Interface on CP474 or CP774 which is only using tAF_busy_AO 850
analog outputs
AF101 or CP Interface on CP474 or CP774 which is using mixed tAF_busy_AO 1500
connections
During this time, the data from the AF module is copied to the screw-in modules. All data points on the
respective AF module are processed in one cycle.
I/O AF Cycle
tIO_AF = (ndata_words + 1) * tScrM_AF
ndata_words
The I/O AF cycle is calculated for the adapter module wit
h the most data words for analog inputs.The sum of the data
words is made up of all AI channels, even those which are not used.
Only the analog inputs are used for this calculation because writing directly to the an
alog outputs is already included
in the internal bus cycle (tAF_busy_AO).
tScrM_AF
Transfer time per AI data word ScrMÖ AF = 650 µs
During this time, the data from the CP interface is copied to the screw-in modules. All data points on the CP
interface are processed in one cycle.
To reduce the load on the CPU, an additional I/O processor handles operation of the all I/O data points. Screw-
in modules 1 and 2 as well as 3 and 4 are processed parallel to each other by the I/O processor.
The I/O CP interface cycle is calculated for the screw-in module pair which uses the most data words. The
sum of the data words is made up of all channels, even those which are not used.
ndata_words
∑ data words for the screw-in module pair with the most data words
tScrM_CP
Transfer time per data word ScrMÖ CP Interface = 650 µs
Depending on which cycle is longer, the task class is set for the internal bus cycle or the I/O AF cycle (also
see calculation examples).
Generally, all digital I/O data is transferred multiple times. Therefore a minimum cycle time of 3 ms is permissible
for digital I/O data.
In this case, the data for the screw-in modules is not refreshed each cycle !
568 Chapter 6
2.1.5 I/O CPU Load
This time determines how long the CPU requires to process the I/O data passed on by the AF module. The
CPU is loaded considerably by the analog I/O data.
B&R 2003
Chapter 6
Timing
CP430 / CP470 / CP770
tIO_CPU = ndata_words * tCPx70_AF
CP474 / CP774
tIO_CPU = ndata_words * tCPx74_AF
CP476
tIO_Proc = ndata_words * tCP476_AF
ndata_words
∑ data words for the AF101, corresponds to the AF101 module with the most data words in the system.
The sum of
the data words is made up of all channels, even those which are not used.
If a CP474, CP476 or CP774 on the CP inte
rface has more data words, the sum of these data words must be used for
the calculation.
If an analog module (e.g. CM211) has more data words, then the number of data words for the analog module must
be used for the calculation.
This is the time require by the additional I/O processor to process an analog
data point.
The data words for the digital screw-in modules DI135 and DO135 are counted as analog data points.
The worst case reaction time for the system is calculated using the following formula:
Worst Case Reaction Time = Internal Bus Cycle + I/O AF Cycle + I/O CPU Load
The I/O AF cycle is determined by the adapter module with the most data words.
570 Chapter 6
2.3 CALCULATION EXAMPLES
Example 1
B&R 2003
Chapter 6
CP474/774
Timing
32 digital IN, 32 digital OUT: 4 x DM435
6 analog IN, 4 analog OUT: 1 x AF101 [2 x AI354, 2 x AO352]
I/O AF Cycle
tIO_AF = (ndata_words + 1) * tScrM_AF
tIO_AF = (2 * 4 + 1) * 650
tIO_AF = 5850 µs
CP474/774
32 digital IN, 32 digital OUT: 4 x DM435
6 analog IN, 4 analog OUT: 1 x AF101 [3 x AI351 + 1 x AO352]
1 x AF101 [3 x AI351 + 1 x AO352]
I/O AF Cycle
tIO_AF = (ndata_words + 1) * tScrM_AF
tIO_AF = (3 * 1 + 1) * 650
tIO_AF = 2600 µs
572 Chapter 6
Example 3
To allow a timing comparison, examples 3 and 4 use the same hardware configuration except for the CPU.
B&R 2003
Chapter 6
Example 3 ...... CP476
Timing
Example 4 ...... CP474/CP774
CP476
32 digital IN, 32 digital OUT: 4 x DM435
6 analog IN, 2 analog OUT: CP Interface [2 x NC161 + 1 x AO352]
To allow a timing comparison, examples 3 and 4 use the same hardware configuration except for the CPU.
CP474/774
32 digital IN, 32 digital OUT: 4 x DM435
6 analog IN, 2 analog OUT: CP Interface [2 x NC161 + 1 x AO352]
574 Chapter 6
Example 5
CP474/774
32 digital IN, 32 digital OUT: 4 x DM435
B&R 2003
Chapter 6
Timing
2 axes, 2 analog OUT: 1 x AF101 [2 x NC161, 1 x AO352]
I/O AF Cycle
tIO_AF = (n data_words + 1) * tScrM_AF
tIO_AF = (2 * 3 + 1) * 650
tIO_AF = 4550 µs
CP474/774
32 digital IN, 32 digital OUT: 4 x DM435
2 analog IN, 8 thermocouples: 1 x AF101 [2 x AI351 + 2 x AT664]
4 analog OUT: 1 x AF101 [2 x AO352]
I/O AF Cycle
tIO_AF = (ndata_words + 1) * tScrM_AF
tIO_AF = (2 * 1 + 2 * 4 + 1) * 650
tIO_AF = 7150 µs
576 Chapter 6
Example 7
CP474/774
32 digital IN, 32 digital OUT: 4 x DM435
B&R 2003
Chapter 6
Timing
2 analog IN, 8 thermocouples, 4 analog OUT: 1 x AF101 [1 x AI351 + 1 x AT664 + 1 * AO352]
1 x AF101 [1 x AI351 + 1 x AT664 + 1 * AO352]
I/O AF Cycle
tIO_AF = (n data_words + 1) * tScrM_AF
tIO_AF = (1 + 4 + 1) * 650
tIO_AF = 3900 µs
If a remote I/O bus controller is used as controller, the following three times must be considered when
calculating the timing for a remote I/O node:
Module reaction
Bus time Access time
time 1
Module reaction
time 2
• Access Time
• Module Reaction Time
• Bus Time
The time required by the remote I/O bus controller to access the B&R 2003 modules.
This time is required by the remote I/O bus controller to update the output states and to collect the input states.
The data transfer time between the remote I/O master and remote I/O bus controller is called the bus time.
578 Chapter 6
3.2 ACCESS TIME
The time required by the remote I/O bus controller to access the B&R 2003 modules. The access time depends
on the requirements of the system.
B&R 2003
Chapter 6
Timing
Description Abbreviation t [µs]
Digital system modules tdig_acc 400
The module reaction time affects how fast the data points can be updated for each individual module.
It must be calculated for each adapter module and for all digital inputs and outputs.
The module reaction time depends on the system requirements.
1)
tAF_busy is not needed because the time is already accounted for in tan_acc.
tdig_reaction = 2 * tIO_cycle
During this time, all digital inputs/outputs and one data word per adapter module are processed.
The formula used to calculate the internal I/O bus cycle time depends on the hardware configuration.
Must be calculated for every adapter module. The sum of the data words is made up of all channels, even
those which are not used.
The data words for the digital screw-in modules DI135 and DO135 must also be considered.
Calculated using formula for tIO_cycle see "Internal I/O Bus Cycle Time, Item 2" in the "Digital Module Reaction
Time" section.
580 Chapter 6
3.4 HARDWARE GUIDELINES
The following guidelines will help you find the optimal configuration for your B&R 2003 System.
B&R 2003
Chapter 6
• If fast inputs/outputs are required, the respective screw-in modules must be divided up among
Timing
several adapter modules. Therefore, the individual data points are processed more often.
• Install screw-in modules on several adapter modules so that each adapter module is equipped with
the same number of inputs and outputs.
Example 1
EX477/777
64 digital IN, 64 digital OUT: 8 x DM435
tdig_reaction = 2 * tIO_cycle
tdig_reaction = 2 * (∑ DO/DM modules * tDO + tdig_acc)
tdig_reaction = 2 * (8 * tDO + tdig_acc)
tdig_reaction = 2 * (8 * 115 + 400)
tdig_reaction = 2640 µs
EX477/777
32 digital IN, 32 digital OUT: 4 x DM435
6 analog IN, 4 analog OUT: 1 x AF101 [4 x AI351]
1 x AF101 [1 x AI354 + 2 x AO352]
AF101 1
AI351 1
AI351 1
AI351 1
AI351 1
AF101 1
AI354 4 1)
AO352 2
AO352 2
DM435 1
DM435 1
DM435 1
DM435 1
Summe: 2 4 0 4 8
1)
Only two channels are used on the AI354 module. However, all four data words must be used for the calculation.
582 Chapter 6
3.5.1 Calculating Module Reaction Times
B&R 2003
Chapter 6
tIO_cycle = ∑ AF modules * tAF + ∑ DO/DM modules * tDO + tan_acc
Timing
tIO_cycle = 2 * tAF + 4 * tDO + tan_acc
tIO_cycle = 2 * 200 + 4 * 115 + 800
tIO_cycle = 1660 µs
tdig_reaction = 2 * tIO_cycle
tdig_reaction = 2 * 1660
tdig_reaction = 3320 µs
1. AF101
tan_reaction = (ndata_words + 1) * tIO_cycle
tan_reaction = (4 + 1) * 1660
tan_reaction = 8300 µs
2. AF101
The second adapter module AF101 is equipped with two analog inputs and four analog outputs.
Only two channels are used on the AI354 module. However, all four data words must be used for the
calculation!
tan_reaction = (ndata_words + 1) * tIO_cycle
tan_reaction = (8 + 1) * 1660
tan_reaction = 14940 µs
If the CAN bus controller is used as controller, the following three times must be considered when calculating
the timing for a CAN node:
Module reaction
Bus time Access time
time 1
Module reaction
time 2
• Access Time
• Module Reaction Time
• Bus Time
The time required by the CAN bus controller to access B&R 2003 modules.
This time is required by the CAN bus controller to update the output states and to collect the input states.
The transfer time between CAN client (master) and CAN bus controller is called bus time.
584 Chapter 6
4.2 ACCESS TIME
This time requires the CAN bus controller to access the B&R 2003 modules. The access time depends on the
requirements of the system.
B&R 2003
Chapter 6
Timing
Description Abbreviation t [µs]
Digital system modules tdig_acc 660
The module reaction time affects how fast the data points can be updated for each individual module.
It must be calculated for each adapter module and for all digital inputs and outputs.
The module reaction time is made up of two areas:
1)
tAF_busy is not needed because the time is already accounted for in tan_acc.
The times tAI_send and tAO_rec for the analog values only have to be included in the calculation if analog modules
are present.
During this time, all digital inputs/outputs and one data word per adapter module are processed.
The formula used to calculate the internal I/O bus cycle time depends on the hardware configuration.
586 Chapter 6
4.3.5 Analog Module Reaction Time
Must be calculated for every adapter module. The sum of the data words is made up of all channels, even those
which are not used.
B&R 2003
Chapter 6
The data words for the digital screw-in modules DI135 and DO135 must also be considered.
Timing
tan_reaction = tCAN_objects + (ndata_words + 1) * tIO_cycle
Calculated using formula for t IO_cycle see "Internal I/O Bus Cycle Time, Item 2" in the "Digital Module Reaction
Time" section.
The following guidelines will help you find the optimal configuration for your B&R 2003 System.
• A group of all single channel screw-in modules (e.g. AI351) on an adapter module. In this way, the
I/O data is packed in a CAN object.
• If fast inputs/outputs are required, the respective screw-in modules must be divided up among several
adapter modules. Therefore, the individual data points are processed more often.
• Install screw-in modules on several adapter modules so that each adapter module is equipped with
the same number of inputs and outputs.
A minimum delay must be inserted between a CAN object for digital and analog inputs with the same ID, before
sending repeatedly over the network. This minimum delay is called the Inhibit Time.
The symbol " " marks the position (B and C) where the signal on the analog input exceeds the change value
defined in the operating parameters. However ,the current value cannot be transferred because of the inhibit
time.
After the inhibit time has passed, the current value (B and C) is transferred with a maximum delay of one I/O
cycle.
588 Chapter 6
4.6 DETERMINE THE INHIBIT TIMES
B&R 2003
Chapter 6
• Required Time
Timing
• Local Acquisition Time
• Maximum Bus Load Desired
The reaction times in an application must be guaranteed. If the slowest reaction time allowed is e.g. 25 ms,
then 25 ms is the required inhibit time.
If the minimum required time is longer than the time calculated for the "Local Acquisition Time" or "Maximum
Bus Load Desired", then defining this value as the inhibit time guarantees reaction within the required time.
The local acquisition time for data without CAN activity on the controller is accepted as the minimum inhibit
time. In order to define this time, the time for CAN object evaluation tDI_send, tAI_send, tDO_rec and tAO_rec must be set
to 0.
Additional Load
CAN activity brings about the additional digital and analog loads shown below. The calculated times must be
rounded up to whole millisecond values.
The times tDO_output_cycle and t AO_output_cycle determine the output cycle used by the CAN client to send the digital
or analog output information to the CAN nodes.
For the calculation of the maximum bus load, the CAN objects for all CAN nodes on the bus must be added
together.
The bus is allowed to have a maximum load of 85 % in the worst case because parallel service and diagnosis
functions still have to be carried out.
A calculation example is shown in the "Bus Time" section. The calculated time is the recommended minimum
inhibit time in the system.
The inhibit time is set with the commands Write Operating Parameters and Activate Operating Parameters.
Standard settings 5 ms 20 ms
590 Chapter 6
Example
The analog inhibit time is set to 25 ms. The CAN object "Command Request" looks like this:
B&R 2003
Chapter 6
Timing
Byte Description Value
0 Code 0
1 Command code 11
2 Parameter 1 27
3 Parameter 2 0
4 Command data 0
5 Command data 25
6 Command data 0
7 Command data 0
The operating parameters are now in a buffer. In order to activate the parameters, the command Activate
Operating Parameters must be carried out.
1 Command code 12
2 Parameter 1 0
3 Parameter 2 0
4 Command data 0
5 Command data 0
6 Command data 0
7 Command data 0
4.7.1 Example 1
4.7.2 Example 2
4.7.3 Example 3
592 Chapter 6
4.7.4 Example 4
B&R 2003
Chapter 6
Timing
6 analog IN, 4 analog OUT: 1 x AF101 [4 x AI351]
1 x AF101 [1 x AI354 + 2 x AO352]
AF101 1
AI351 1 1
1)
AI351 1 (packed)
AI351 1 (packed) 1)
1)
AI351 1 (packed)
AF101 1
2)
AI354 4 1
AO352 2 1
AO352 2 1
DM435 1
DM435 1
DM435 1
DM435 1
Sum: 2 4 0 4 8 2 2
1)
The I/O data for four single channel screw-in modules is packed in one CAN object.
2)
Only two channels are used on the AI354 module. However, all four data words must be used for the calculation.
1. AF101:
Four analog inputs are on the first AF101 adapter module. The I/O data is packed in a CAN object because
four single channel AI351 modules are used. That means, only one CAN object is transferred instead of four.
This is taken into account in the multiplier for the time tAI_send. tAI_send is the time required to send an analog input
data object to the CAN client.
594 Chapter 6
2. AF101:
The second adapter module AF101 is equipped with two analog inputs and four analog outputs.
Only two channels are used on the AI354 module. However, all four data words must be used for the
calculation!
B&R 2003
Chapter 6
Timing
tan_reaction = tCAN_objects + (ndata_words + 1) * tIO_cycle
tan_reaction = (ndata_words + 1) * (tDI_send + tDO_rec) + 2 * tAI_send + 2 * tAO_rec + (ndata_words + 1) * tIO_cycle
tan_reaction = (8 + 1) * (400 + 700) + 2 * 1600 + 2 * 300 + (8 + 1) * 4240
tan_reaction = 51860 µs
Taking the inhibit times into consideration reduces the digital and analog module reaction time.
1. AF101:
tan_reaction = tCAN_objects + (ndata_words + 1) * tIO_cycle
tan_reaction = (ndata_words + 1) * (tDI_send + tDO_rec) / 2 + 2 * tAI_send + 2 * tAO_rec + (ndata_words + 1) * t IO_cycle
tan_reaction = (4 + 1) * (400 + 700) / 2 + 2 * 1600 + 2 * 300 + (4 + 1) * 4240
tan_reaction = 27750 µs
2. AF101:
tan_reaction = tCAN_objects + (ndata_words + 1) * tIO_cycle
tan_reaction = (ndata_words + 1) * (tDI_send + tDO_rec) / 2 + 2 * tAI_send + 2 * tAO_rec + (ndata_words + 1) * t IO_cycle
tan_reaction = (8 + 1) * (400 + 700) / 2 + 2 * 1600 + 2 * 300 + (8 + 1) * 4240
tan_reaction = 46910 µs
596 Chapter 6
Analog Module Reaction Time
The NC161 has three data words that have to be taken into consideration when calculating the module
reaction time.
B&R 2003
Chapter 6
Only one channel on the AO352 module is used, but both data words must be included in the calculation!
Timing
One analog input data object and one analog output data object are transferred on the internal bus.
Taking the inhibit times into consideration reduces the digital and analog module reaction time.
The transfer time between CAN client (master) and CAN bus controller is called bus time.
• Baudrate
• Number of CAN objects
4.8.1 Baudrate
The baudrates listed in the table can be set for the B&R SYSTEM 2003. You have to decide if the settings are
to be taken from the configuration memory or node number switch.
1 Mbit/s 1) ●
500 kBit/s ● ●
250 kBit/s ● ●
125 kBit/s ● ●
100 kBit/s ●
50 kBit/s ●
20 kBit/s ● ●
10 kBit/s ●
1)
1 MBit/sec cannot be guaranteed electrically because of isolation properties.
The CAN objects for all CAN nodes on the bus must be added together when calculating the bus load.
598 Chapter 6
4.8.3 Example
In this example, the calculation for the bus time is made for the worst case. The baudrate is 250 kBaud.
B&R 2003
Chapter 6
Timing
Object Time
A CAN object consists of 8 bytes of data, 34 bits of dynamic overhead and 10 bits of fixed overhead. This
results in a length of 108 bits per CAN object.
Theoretically, bit stuffing results in an increase in object length of up to 24 bits. This combination can only
occur for one object content and one certain object number.
Therefore, the calculation of the object time must be made with a length of 132 bits.
The data length of 108 to 132 bits, resulting from bit stuffing, brings about a 22 % dynamic reduction in the
bus load depending on the object/data combination. This results in an effective bus load of 63 to 85 %.
CAN Objects
The CAN objects for all CAN nodes on the bus must be added together. In order to make the calculation,
packed operating mode must be set (default setting).
Objtotal = Σ Objnodes_x
This time is required for data transfer if the bus is 100 % free - optimal condition.
Transfer Time
ttrans is the worst case transfer time. For the worst case, it is assumed that the bus is available 85 % of the time
because parallel service and diagnosis functions still have to be carried out.
In order to ensure proper function of the CAN nodes, you have to guarantee that the transfer time trans is shorter
than the idle time for the outputs (default 640 ms).
Recommendation: The shortest inhibit time in the system is not allowed to be shorter than the transfer
time ttrans.
600 Chapter 6
Accessories
Chapter 7
General
CHAPTER 7
GENERAL ACCESSORIES
Accessories
0AC201.9 Lithium batteries, 5 pcs., 3 V / 950 mAh, button cell ---
Chapter 7
General
0AC401.9 Encoder 5 V - 24 V, converter for 5 V encoders (abs. or incr.) 604
0AC916.9 Bus termination, RS485, active, for PROFIBUS networks, remote I/O, standard 608
mounting rail installation, supply voltage: 120 / 230 VAC
0G0010.00-090 Cable I/O bus expansion, 1 m, bus expansion for B&R 2005 / B&R 2010 ---
0G0012.00-090 Cable I/O bus expansion, 2 m, bus expansion for B&R 2005 / B&R 2010 ---
0G1000.00-090 Bus connector, RS485, for PROFIBUS networks, remote I/O 609
ECINT1-1 RS232/RS485 interface converter, electrically isolated, for coupling RS232 611
interface modules to an RS485 twisted pair network, without lightning
protection
ECINT1-11 RS232/RS485 interface converter, electrically isolated, for coupling RS232 611
interface modules to an RS485 twisted pair network, with lightning protection
The adapter is used as a converter for 5 V encoders. The 5 V differential signals delivered by the encoder
are converted to 24 V signals. Absolute and incremental encoders can be used.
604 Chapter 7
1.3 AC410 INTERFACE CONVERTER
Accessories
Chapter 7
General
Model Number Short Description
The AC410 interface converter is used to convert a TTY signal into an RS232 signal or an RS232 signal into
a TTY signal. To be able to connect simple PANELWARE operator panels (e.g. P120 or P121), the 24 V
supply voltage is converted into a 5 V output voltage. This voltage can be loaded with up to 0.5 A.
The maximum baudrate is 19200 Baud.
The CAN bus adapters is used to connect a controller to a CAN network. The network connection is made
using the 6 pin terminal block. The connection to the controller is made using the 9 pin D-type socket. The
termination resistor is integrated in the bus adapter. The terminating resistor can be turned on or off.
The cable from the controller to the bus adapter is not in the B&R product line. It must be constructed by
the customer.
606 Chapter 7
1.5 AC913 BUS ADAPTER, CAN 2x
Accessories
Chapter 7
General
Model Number Short Description
The CAN bus adapters is used to connect a controller to a CAN network. The network connection is made
using the 9 pin D-type plug (C1) and the 9 pin D-type socket (C2). The 6 pin terminal block has a 30 cm
long cable with a D-type housing attached. This cable is used to make the connection to the controller. The
termination resistor is integrated in the bus adapter. The terminating resistor can be turned on or off.
0AC916.9 Bus Termination, RS485, active, for PROFIBUS networks, remote I/O, standard mounting rail installation, supply
voltage: 120 / 230 VAC
An active bus termination is available for PROFIBUS networks and remote I/O. The active bus termination
allows the network to be terminated independent of the supply for the communication modules.
The supply voltage for the active bus termination is 120 / 230 VAC.
608 Chapter 7
1.7 RS485 BUS CONNECTOR
Accessories
Chapter 7
General
Model Number Short Description
The RS485 bus connector is used to connect a controller to remote I/O, in a PROFIBUS network or in a RS485
network. The termination resistor is integrated in the bus connector. The terminating resistor can be turned
on or off.
Description AC911
• Exchange a CAN node without shutting down the network since the connection itself is not broken.
• Change the termination resistance quickly and easily (e.g. if the last node in a network is removed).
610 Chapter 7
1.9 INT1 INTERFACE CONVERTER
Accessories
Chapter 7
General
Model Number Short Description
ECINT1-1 RS232/RS485 Interface Converter, electrically isolated, for coupling RS232 interface modules to an RS485 twisted
pair network, without lightning protection
ECINT1-11 RS232/RS485 Interface Converter, electrically isolated, for coupling RS232 interface modules to an RS485 twisted
pair network, with lightning protection
The INT1 interface converter is used to convert RS232 interface signals to an RS485 signal level. It is used
if:
• Data transfer is required over distances that are not possible with an RS232 interface. The distance
between two stations can be max. 5000 m when using shielded RS485 cables.
• Electrical isolation of the interface is required.
• A PCC is to be connected to a network using an RS232 interface.
The INT1 interface converter is available with and without lightning protection.
1.9.3 Supply
The INT1 interface converter requires an external 24 VDC supply voltage. Current consumption can be max.
400 mA.
Standards and
Certifications
Chapter 8
Standard Description
IEC 61000-6-4 Electromagnetic compatibility (EMC) Part 2, Generic standards
Section 4: Emission standard for industrial environments. (IEC 50081-2 is replaced by IEC 61000-
6-4)
IEC CISPR 22 Information technology equipment. Radio disturbance characteristics. Limits and methods of
measurement
IEC CISPR 24 Information technology equipment. Immunity characteristics. Limits and methods of measurement
IEC 60204-1 Safety of machinery - Electrical equipment of machines - Part 1 : General requirements
Standards and
IEC 60950 Safety of information technology equipment
Certifications
Chapter 8
IEC 61000-3-2 Electromagnetic compatibility (EMC) - Part 3: Limits -
Section 2: Limits for harmonic current emissions (equipment input current <= 16 A per phase)
IEC 61000-3-3 Electromagnetic compatibility (EMC) - Part 3: Limits - Section 3: Limitation of voltage fluctuations
and flicker in low-voltage supply systems for equipment with rated current <= 16 A
IEC 61131-2 Programmable controllers - Part 2: Equipment requirements and tests
IEC 61800-3 Adjustable speed electrical power drive systems - Part 3: EMC product standard including specific
test methods
Limits
Digital and analog I/O, DC, unshielded Data lines, 0.5 kV (42 Ω) 0.5 kV (42 Ω)
unshielded DC auxiliary voltage outputs for sensors, etc.
616 Chapter 8
2 INTERNATIONAL STANDARDS
B&R products and services comply with all applicable standards. They are international standards from
organizations such as ISO, IEC and CENELEC, as well as national standards from organizations such as UL,
CSA, FCC, VDE, ÖVE etc. We devote special attention to the certification of our products for industrial
environments. Therefore, e.g. the requirements of product standard IEC 61131-2 concerning electromagnetic
immunity are exceeded considerably.
Certifications
USA and Canada All important B&R products are tested and listed by Underwriters Laboratories
and are checked quarterly by a UL inspector.
This mark is valid for the USA and Canada and eases certification of your
machines and systems in these areas.
Europe All harmonized IEC standards for the valid guidelines are met.
Standards and
Certifications
Chapter 8
Russian Federation B&R has a GOST certification for all products for export to the Russian
Federation.
Appendix A
9 2 319 $013F 447 $01BF
9 3 320 $0140 448 $01C0
9 4 321 $0141 449 $01C1
10 1 322 $0142 450 $01C2
10 2 323 $0143 451 $01C3
10 3 324 $0144 452 $01C4
10 4 325 $0145 453 $01C5
11 1 326 $0146 454 $01C6
11 2 327 $0147 455 $01C7
11 3 328 $0148 456 $01C8
11 4 329 $0149 457 $01C9
12 1 330 $014A 458 $01CA
12 2 331 $014B 459 $01CB
12 3 332 $014C 460 $01CC
12 4 333 $014D 461 $01CD
13 1 334 $014E 462 $01CE
13 2 335 $014F 463 $01CF
13 3 336 $0150 464 $01D0
13 4 337 $0151 465 $01D1
14 1 338 $0152 466 $01D2
14 2 339 $0153 467 $01D3
14 3 340 $0154 468 $01D4
14 4 341 $0155 469 $01D5
15 1 342 $0156 470 $01D6
15 2 343 $0157 471 $01D7
15 3 344 $0158 472 $01D8
15 4 345 $0159 473 $01D9
16 1 346 $015A 474 $01DA
16 2 347 $015B 475 $01DB
16 3 348 $015C 476 $01DC
16 4 349 $015D 477 $01DD
622 Appendix A
2 ANALOG INPUTS AND OUTPUTS NODES 1 - 4
Node Number Module Number Slot Number Analog Inputs Analog Outputs
001 001 1 542 $021E 1054 $041E
001 001 2 543 $021F 1055 $041F
001 001 3 544 $0220 1056 $0420
001 001 4 545 $0221 1057 $0421
001 002 1 546 $0222 1058 $0422
001 002 2 547 $0223 1059 $0423
001 002 3 548 $0224 1060 $0424
001 002 4 549 $0225 1061 $0425
001 003 1 550 $0226 1062 $0426
001 003 2 551 $0227 1063 $0427
001 003 3 552 $0228 1064 $0428
001 003 4 553 $0229 1065 $0429
001 004 1 554 $022A 1066 $042A
001 004 2 555 $022B 1067 $042B
001 004 3 556 $022C 1068 $042C
001 004 4 557 $022D 1069 $042D
002 001 1 558 $022E 1070 $042E
002 001 2 559 $022F 1071 $042F
002 001 3 560 $0230 1072 $0430
002 001 4 561 $0231 1073 $0431
002 002 1 562 $0232 1074 $0432
002 002 2 563 $0233 1075 $0433
002 002 3 564 $0234 1076 $0434
002 002 4 565 $0235 1077 $0435
002 003 1 566 $0236 1078 $0436
002 003 2 567 $0237 1079 $0437
002 003 3 568 $0238 1080 $0438
002 003 4 569 $0239 1081 $0439
002 004 1 570 $023A 1082 $043A
002 004 2 571 $023B 1083 $043B
002 004 3 572 $023C 1084 $043C
Appendix A
003 001 2 575 $023F 1087 $043F
003 001 3 576 $0240 1088 $0440
003 001 4 577 $0241 1089 $0441
003 002 1 578 $0242 1090 $0442
003 002 2 579 $0243 1091 $0443
003 002 3 580 $0244 1092 $0444
003 002 4 581 $0245 1093 $0445
003 003 1 582 $0246 1094 $0446
003 003 2 583 $0247 1095 $0447
003 003 3 584 $0248 1096 $0448
003 003 4 585 $0249 1097 $0449
003 004 1 586 $024A 1098 $044A
003 004 2 587 $024B 1099 $044B
003 004 3 588 $024C 1100 $044C
003 004 4 589 $024D 1101 $044D
004 001 1 590 $024E 1102 $044E
004 001 2 591 $024F 1103 $044F
004 001 3 592 $0250 1104 $0450
004 001 4 593 $0251 1105 $0451
004 002 1 594 $0252 1106 $0452
004 002 2 595 $0253 1107 $0453
004 002 3 596 $0254 1108 $0454
004 002 4 597 $0255 1109 $0455
004 003 1 598 $0256 1110 $0456
004 003 2 599 $0257 1111 $0457
004 003 3 600 $0258 1112 $0458
004 003 4 601 $0259 1113 $0459
004 004 1 602 $025A 1114 $045A
004 004 2 603 $025B 1115 $045B
004 004 3 604 $025C 1116 $045C
004 004 4 605 $025D 1117 $045D
Node Number Module Number Slot Number Analog Inputs Analog Outputs
005 001 1 606 $025E 1118 $045E
005 001 2 607 $025F 1119 $045F
005 001 3 608 $0260 1120 $0460
005 001 4 609 $0261 1121 $0461
005 002 1 610 $0262 1122 $0462
005 002 2 611 $0263 1123 $0463
005 002 3 612 $0264 1124 $0464
005 002 4 613 $0265 1125 $0465
005 003 1 614 $0266 1126 $0466
005 003 2 615 $0267 1127 $0467
005 003 3 616 $0268 1128 $0468
005 003 4 617 $0269 1129 $0469
005 004 1 618 $026A 1130 $046A
005 004 2 619 $026B 1131 $046B
005 004 3 620 $026C 1132 $046C
005 004 4 621 $026D 1133 $046D
006 001 1 622 $026E 1134 $046E
006 001 2 623 $026F 1135 $046F
006 001 3 624 $0270 1136 $0470
006 001 4 625 $0271 1137 $0471
006 002 1 626 $0272 1138 $0472
006 002 2 627 $0273 1139 $0473
006 002 3 628 $0274 1140 $0474
006 002 4 629 $0275 1141 $0475
006 003 1 630 $0276 1142 $0476
006 003 2 631 $0277 1143 $0477
006 003 3 632 $0278 1144 $0478
006 003 4 633 $0279 1145 $0479
006 004 1 634 $027A 1146 $047A
006 004 2 635 $027B 1147 $047B
006 004 3 636 $027C 1148 $047C
006 004 4 637 $027D 1149 $047D
007 001 1 638 $027E 1150 $047E
007 001 2 639 $027F 1151 $047F
007 001 3 640 $0280 1152 $0480
007 001 4 641 $0281 1153 $0481
007 002 1 642 $0282 1154 $0482
007 002 2 643 $0283 1155 $0483
007 002 3 644 $0284 1156 $0484
007 002 4 645 $0285 1157 $0485
007 003 1 646 $0286 1158 $0486
007 003 2 647 $0287 1159 $0487
007 003 3 648 $0288 1160 $0488
007 003 4 649 $0289 1161 $0489
007 004 1 650 $028A 1162 $048A
007 004 2 651 $028B 1163 $048B
007 004 3 652 $028C 1164 $048C
007 004 4 653 $028D 1165 $048D
008 001 1 654 $028E 1166 $048E
008 001 2 655 $028F 1167 $048F
008 001 3 656 $0290 1168 $0490
008 001 4 657 $0291 1169 $0491
008 002 1 658 $0292 1170 $0492
008 002 2 659 $0293 1171 $0493
008 002 3 660 $0294 1172 $0494
008 002 4 661 $0295 1173 $0495
008 003 1 662 $0296 1174 $0496
008 003 2 663 $0297 1175 $0497
008 003 3 664 $0298 1176 $0498
008 003 4 665 $0299 1177 $0499
008 004 1 666 $029A 1178 $049A
008 004 2 667 $029B 1179 $049B
008 004 3 668 $029C 1180 $049C
008 004 4 669 $029D 1181 $049D
624 Appendix A
ANALOG INPUTS AND OUTPUTS NODES 9 - 12
Node Number Module Number Slot Number Analog Inputs Analog Outputs
009 001 1 670 $029E 1182 $049E
009 001 2 671 $029F 1183 $049F
009 001 3 672 $02A0 1184 $04A0
009 001 4 673 $02A1 1185 $04A1
009 002 1 674 $02A2 1186 $04A2
009 002 2 675 $02A3 1187 $04A3
009 002 3 676 $02A4 1188 $04A4
009 002 4 677 $02A5 1189 $04A5
009 003 1 678 $02A6 1190 $04A6
009 003 2 679 $02A7 1191 $04A7
009 003 3 680 $02A8 1192 $04A8
009 003 4 681 $02A9 1193 $04A9
009 004 1 682 $02AA 1194 $04AA
009 004 2 683 $02AB 1195 $04AB
009 004 3 684 $02AC 1196 $04AC
009 004 4 685 $02AD 1197 $04AD
010 001 1 686 $02AE 1198 $04AE
010 001 2 687 $02AF 1199 $04AF
010 001 3 688 $02B0 1200 $04B0
010 001 4 689 $02B1 1201 $04B1
010 002 1 690 $02B2 1202 $04B2
010 002 2 691 $02B3 1203 $04B3
010 002 3 692 $02B4 1204 $04B4
010 002 4 693 $02B5 1205 $04B5
010 003 1 694 $02B6 1206 $04B6
010 003 2 695 $02B7 1207 $04B7
010 003 3 696 $02B8 1208 $04B8
010 003 4 697 $02B9 1209 $04B9
010 004 1 698 $02BA 1210 $04BA
010 004 2 699 $02BB 1211 $04BB
010 004 3 700 $02BC 1212 $04BC
Appendix A
011 001 2 703 $02BF 1215 $04BF
011 001 3 704 $02C0 1216 $04C0
011 001 4 705 $02C1 1217 $04C1
011 002 1 706 $02C2 1218 $04C2
011 002 2 707 $02C3 1219 $04C3
011 002 3 708 $02C4 1220 $04C4
011 002 4 709 $02C5 1221 $04C5
011 003 1 710 $02C6 1222 $04C6
011 003 2 711 $02C7 1223 $04C7
011 003 3 712 $02C8 1224 $04C8
011 003 4 713 $02C9 1225 $04C9
011 004 1 714 $02CA 1226 $04CA
011 004 2 715 $02CB 1227 $04CB
011 004 3 716 $02CC 1228 $04CC
011 004 4 717 $02CD 1229 $04CD
012 001 1 718 $02CE 1230 $04CE
012 001 2 719 $02CF 1231 $04CF
012 001 3 720 $02D0 1232 $04D0
012 001 4 721 $02D1 1233 $04D1
012 002 1 722 $02D2 1234 $04D2
012 002 2 723 $02D3 1235 $04D3
012 002 3 724 $02D4 1236 $04D4
012 002 4 725 $02D5 1237 $04D5
012 003 1 726 $02D6 1238 $04D6
012 003 2 727 $02D7 1239 $04D7
012 003 3 728 $02D8 1240 $04D8
012 003 4 729 $02D9 1241 $04D9
012 004 1 730 $02DA 1242 $04DA
012 004 2 731 $02DB 1243 $04DB
012 004 3 732 $02DC 1244 $04DC
012 004 4 733 $02DD 1245 $04DD
Node Number Module Number Slot Number Analog Inputs Analog Outputs
013 001 1 734 $02DE 1246 $04DE
013 001 2 735 $02DF 1247 $04DF
013 001 3 736 $02E0 1248 $04E0
013 001 4 737 $02E1 1249 $04E1
013 002 1 738 $02E2 1250 $04E2
013 002 2 739 $02E3 1251 $04E3
013 002 3 740 $02E4 1252 $04E4
013 002 4 741 $02E5 1253 $04E5
013 003 1 742 $02E6 1254 $04E6
013 003 2 743 $02E7 1255 $04E7
013 003 3 744 $02E8 1256 $04E8
013 003 4 745 $02E9 1257 $04E9
013 004 1 746 $02EA 1258 $04EA
013 004 2 747 $02EB 1259 $04EB
013 004 3 748 $02EC 1260 $04EC
013 004 4 749 $02ED 1261 $04ED
014 001 1 750 $02EE 1262 $04EE
014 001 2 751 $02EF 1263 $04EF
014 001 3 752 $02F0 1264 $04F0
014 001 4 753 $02F1 1265 $04F1
014 002 1 754 $02F2 1266 $04F2
014 002 2 755 $02F3 1267 $04F3
014 002 3 756 $02F4 1268 $04F4
014 002 4 757 $02F5 1269 $04F5
014 003 1 758 $02F6 1270 $04F6
014 003 2 759 $02F7 1271 $04F7
014 003 3 760 $02F8 1272 $04F8
014 003 4 761 $02F9 1273 $04F9
014 004 1 762 $02FA 1274 $04FA
014 004 2 763 $02FB 1275 $04FB
014 004 3 764 $02FC 1276 $04FC
014 004 4 765 $02FD 1277 $04FD
015 001 1 766 $02FE 1278 $04FE
015 001 2 767 $02FF 1279 $04FF
015 001 3 768 $0300 1280 $0500
015 001 4 769 $0301 1281 $0501
015 002 1 770 $0302 1282 $0502
015 002 2 771 $0303 1283 $0503
015 002 3 772 $0304 1284 $0504
015 002 4 773 $0305 1285 $0505
015 003 1 774 $0306 1286 $0506
015 003 2 775 $0307 1287 $0507
015 003 3 776 $0308 1288 $0508
015 003 4 777 $0309 1289 $0509
015 004 1 778 $030A 1290 $050A
015 004 2 779 $030B 1291 $050B
015 004 3 780 $030C 1292 $050C
015 004 4 781 $030D 1293 $050D
016 001 1 782 $030E 1294 $050E
016 001 2 783 $030F 1295 $050F
016 001 3 784 $0310 1296 $0510
016 001 4 785 $0311 1297 $0511
016 002 1 786 $0312 1298 $0512
016 002 2 787 $0313 1299 $0513
016 002 3 788 $0314 1300 $0514
016 002 4 789 $0315 1301 $0515
016 003 1 790 $0316 1302 $0516
016 003 2 791 $0317 1303 $0517
016 003 3 792 $0318 1304 $0518
016 003 4 793 $0319 1305 $0519
016 004 1 794 $031A 1306 $051A
016 004 2 795 $031B 1307 $051B
016 004 3 796 $031C 1308 $051C
016 004 4 797 $031D 1309 $051D
626 Appendix A
ANALOG INPUTS AND OUTPUTS NODES 17 - 20
Node Number Module Number Slot Number Analog Inputs Analog Outputs
017 001 1 798 $031E 1310 $051E
017 001 2 799 $031F 1311 $051F
017 001 3 800 $0320 1312 $0520
017 001 4 801 $0321 1313 $0521
017 002 1 802 $0322 1314 $0522
017 002 2 803 $0323 1315 $0523
017 002 3 804 $0324 1316 $0524
017 002 4 805 $0325 1317 $0525
017 003 1 806 $0326 1318 $0526
017 003 2 807 $0327 1319 $0527
017 003 3 808 $0328 1320 $0528
017 003 4 809 $0329 1321 $0529
017 004 1 810 $032A 1322 $052A
017 004 2 811 $032B 1323 $052B
017 004 3 812 $032C 1324 $052C
017 004 4 813 $032D 1325 $052D
018 001 1 814 $032E 1326 $052E
018 001 2 815 $032F 1327 $052F
018 001 3 816 $0330 1328 $0530
018 001 4 817 $0331 1329 $0531
018 002 1 818 $0332 1330 $0532
018 002 2 819 $0333 1331 $0533
018 002 3 820 $0334 1332 $0534
018 002 4 821 $0335 1333 $0535
018 003 1 822 $0336 1334 $0536
018 003 2 823 $0337 1335 $0537
018 003 3 824 $0338 1336 $0538
018 003 4 825 $0339 1337 $0539
018 004 1 826 $033A 1338 $053A
018 004 2 827 $033B 1339 $053B
018 004 3 828 $033C 1340 $053C
Appendix A
019 001 2 831 $033F 1343 $053F
019 001 3 832 $0340 1344 $0540
019 001 4 833 $0341 1345 $0541
019 002 1 834 $0342 1346 $0542
019 002 2 835 $0343 1347 $0543
019 002 3 836 $0344 1348 $0544
019 002 4 837 $0345 1349 $0545
019 003 1 838 $0346 1350 $0546
019 003 2 839 $0347 1351 $0547
019 003 3 840 $0348 1352 $0548
019 003 4 841 $0349 1353 $0549
019 004 1 842 $034A 1354 $054A
019 004 2 843 $034B 1355 $054B
019 004 3 844 $034C 1356 $054C
019 004 4 845 $034D 1357 $054D
020 001 1 846 $034E 1358 $054E
020 001 2 847 $034F 1359 $054F
020 001 3 848 $0350 1360 $0550
020 001 4 849 $0351 1361 $0551
020 002 1 850 $0352 1362 $0552
020 002 2 851 $0353 1363 $0553
020 002 3 852 $0354 1364 $0554
020 002 4 853 $0355 1365 $0555
020 003 1 854 $0356 1366 $0556
020 003 2 855 $0357 1367 $0557
020 003 3 856 $0358 1368 $0558
020 003 4 857 $0359 1369 $0559
020 004 1 858 $035A 1370 $055A
020 004 2 859 $035B 1371 $055B
020 004 3 860 $035C 1372 $055C
020 004 4 861 $035D 1373 $055D
Node Number Module Number Slot Number Analog Inputs Analog Outputs
021 001 1 862 $035E 1374 $055E
021 001 2 863 $035F 1375 $055F
021 001 3 864 $0360 1376 $0560
021 001 4 865 $0361 1377 $0561
021 002 1 866 $0362 1378 $0562
021 002 2 867 $0363 1379 $0563
021 002 3 868 $0364 1380 $0564
021 002 4 869 $0365 1381 $0565
021 003 1 870 $0366 1382 $0566
021 003 2 871 $0367 1383 $0567
021 003 3 872 $0368 1384 $0568
021 003 4 873 $0369 1385 $0569
021 004 1 874 $036A 1386 $056A
021 004 2 875 $036B 1387 $056B
021 004 3 876 $036C 1388 $056C
021 004 4 877 $036D 1389 $056D
022 001 1 878 $036E 1390 $056E
022 001 2 879 $036F 1391 $056F
022 001 3 880 $0370 1392 $0570
022 001 4 881 $0371 1393 $0571
022 002 1 882 $0372 1394 $0572
022 002 2 883 $0373 1395 $0573
022 002 3 884 $0374 1396 $0574
022 002 4 885 $0375 1397 $0575
022 003 1 886 $0376 1398 $0576
022 003 2 887 $0377 1399 $0577
022 003 3 888 $0378 1400 $0578
022 003 4 889 $0379 1401 $0579
022 004 1 890 $037A 1402 $057A
022 004 2 891 $037B 1403 $057B
022 004 3 892 $037C 1404 $057C
022 004 4 893 $037D 1405 $057D
023 001 1 894 $037E 1406 $057E
023 001 2 895 $037F 1407 $057F
023 001 3 896 $0380 1408 $0580
023 001 4 897 $0381 1409 $0581
023 002 1 898 $0382 1410 $0582
023 002 2 899 $0383 1411 $0583
023 002 3 900 $0384 1412 $0584
023 002 4 901 $0385 1413 $0585
023 003 1 902 $0386 1414 $0586
023 003 2 903 $0387 1415 $0587
023 003 3 904 $0388 1416 $0588
023 003 4 905 $0389 1417 $0589
023 004 1 906 $038A 1418 $058A
023 004 2 907 $038B 1419 $058B
023 004 3 908 $038C 1420 $058C
023 004 4 909 $038D 1421 $058D
024 001 1 910 $038E 1422 $058E
024 001 2 911 $038F 1423 $058F
024 001 3 912 $0390 1424 $0590
024 001 4 913 $0391 1425 $0591
024 002 1 914 $0392 1426 $0592
024 002 2 915 $0393 1427 $0593
024 002 3 916 $0394 1428 $0594
024 002 4 917 $0395 1429 $0595
024 003 1 918 $0396 1430 $0596
024 003 2 919 $0397 1431 $0597
024 003 3 920 $0398 1432 $0598
024 003 4 921 $0399 1433 $0599
024 004 1 922 $039A 1434 $059A
024 004 2 923 $039B 1435 $059B
024 004 3 924 $039C 1436 $059C
024 004 4 925 $039D 1437 $059D
628 Appendix A
ANALOG INPUTS AND OUTPUTS NODES 25 - 28
Node Number Module Number Slot Number Analog Inputs Analog Outputs
025 001 1 926 $039E 1438 $059E
025 001 2 927 $039F 1439 $059F
025 001 3 928 $03A0 1440 $05A0
025 001 4 929 $03A1 1441 $05A1
025 002 1 930 $03A2 1442 $05A2
025 002 2 931 $03A3 1443 $05A3
025 002 3 932 $03A4 1444 $05A4
025 002 4 933 $03A5 1445 $05A5
025 003 1 934 $03A6 1446 $05A6
025 003 2 935 $03A7 1447 $05A7
025 003 3 936 $03A8 1448 $05A8
025 003 4 937 $03A9 1449 $05A9
025 004 1 938 $03AA 1450 $05AA
025 004 2 939 $03AB 1451 $05AB
025 004 3 940 $03AC 1452 $05AC
025 004 4 941 $03AD 1453 $05AD
026 001 1 942 $03AE 1454 $05AE
026 001 2 943 $03AF 1455 $05AF
026 001 3 944 $03B0 1456 $05B0
026 001 4 945 $03B1 1457 $05B1
026 002 1 946 $03B2 1458 $05B2
026 002 2 947 $03B3 1459 $05B3
026 002 3 948 $03B4 1460 $05B4
026 002 4 949 $03B5 1461 $05B5
026 003 1 950 $03B6 1462 $05B6
026 003 2 951 $03B7 1463 $05B7
026 003 3 952 $03B8 1464 $05B8
026 003 4 953 $03B9 1465 $05B9
026 004 1 954 $03BA 1466 $05BA
026 004 2 955 $03BB 1467 $05BB
026 004 3 956 $03BC 1468 $05BC
Appendix A
027 001 2 959 $03BF 1471 $05BF
027 001 3 960 $03C0 1472 $05C0
027 001 4 961 $03C1 1473 $05C1
027 002 1 962 $03C2 1474 $05C2
027 002 2 963 $03C3 1475 $05C3
027 002 3 964 $03C4 1476 $05C4
027 002 4 965 $03C5 1477 $05C5
027 003 1 966 $03C6 1478 $05C6
027 003 2 967 $03C7 1479 $05C7
027 003 3 968 $03C8 1480 $05C8
027 003 4 969 $03C9 1481 $05C9
027 004 1 970 $03CA 1482 $05CA
027 004 2 971 $03CB 1483 $05CB
027 004 3 972 $03CC 1484 $05CC
027 004 4 973 $03CD 1485 $05CD
028 001 1 974 $03CE 1486 $05CE
028 001 2 975 $03CF 1487 $05CF
028 001 3 976 $03D0 1488 $05D0
028 001 4 977 $03D1 1489 $05D1
028 002 1 978 $03D2 1490 $05D2
028 002 2 979 $03D3 1491 $05D3
028 002 3 980 $03D4 1492 $05D4
028 002 4 981 $03D5 1493 $05D5
028 003 1 982 $03D6 1494 $05D6
028 003 2 983 $03D7 1495 $05D7
028 003 3 984 $03D8 1496 $05D8
028 003 4 985 $03D9 1497 $05D9
028 004 1 986 $03DA 1498 $05DA
028 004 2 987 $03DB 1499 $05DB
028 004 3 988 $03DC 1500 $05DC
028 004 4 989 $03DD 1501 $05DD
Node Number Module Number Slot Number Analog Inputs Analog Outputs
029 001 1 990 $03DE 1502 $05DE
029 001 2 991 $03DF 1503 $05DF
029 001 3 992 $03E0 1504 $05E0
029 001 4 993 $03E1 1505 $05E1
029 002 1 994 $03E2 1506 $05E2
029 002 2 995 $03E3 1507 $05E3
029 002 3 996 $03E4 1508 $05E4
029 002 4 997 $03E5 1509 $05E5
029 003 1 998 $03E6 1510 $05E6
029 003 2 999 $03E7 1511 $05E7
029 003 3 1000 $03E8 1512 $05E8
029 003 4 1001 $03E9 1513 $05E9
029 004 1 1002 $03EA 1514 $05EA
029 004 2 1003 $03EB 1515 $05EB
029 004 3 1004 $03EC 1516 $05EC
029 004 4 1005 $03ED 1517 $05ED
030 001 1 1006 $03EE 1518 $05EE
030 001 2 1007 $03EF 1519 $05EF
030 001 3 1008 $03F0 1520 $05F0
030 001 4 1009 $03F1 1521 $05F1
030 002 1 1010 $03F2 1522 $05F2
030 002 2 1011 $03F3 1523 $05F3
030 002 3 1012 $03F4 1524 $05F4
030 002 4 1013 $03F5 1525 $05F5
030 003 1 1014 $03F6 1526 $05F6
030 003 2 1015 $03F7 1527 $05F7
030 003 3 1016 $03F8 1528 $05F8
030 003 4 1017 $03F9 1529 $05F9
030 004 1 1018 $03FA 1530 $05FA
030 004 2 1019 $03FB 1531 $05FB
030 004 3 1020 $03FC 1532 $05FC
030 004 4 1021 $03FD 1533 $05FD
031 001 1 1022 $03FE 1534 $05FE
031 001 2 1023 $03FF 1535 $05FF
031 001 3 1024 $0400 1536 $0600
031 001 4 1025 $0401 1537 $0601
031 002 1 1026 $0402 1538 $0602
031 002 2 1027 $0403 1539 $0603
031 002 3 1028 $0404 1540 $0604
031 002 4 1029 $0405 1541 $0605
031 003 1 1030 $0406 1542 $0606
031 003 2 1031 $0407 1543 $0607
031 003 3 1032 $0408 1544 $0608
031 003 4 1033 $0409 1545 $0609
031 004 1 1034 $040A 1546 $060A
031 004 2 1035 $040B 1547 $060B
031 004 3 1036 $040C 1548 $060C
031 004 4 1037 $040D 1549 $060D
032 001 1 1038 $040E 1550 $060E
032 001 2 1039 $040F 1551 $060F
032 001 3 1040 $0410 1552 $0610
032 001 4 1041 $0411 1553 $0611
032 002 1 1042 $0412 1554 $0612
032 002 2 1043 $0413 1555 $0613
032 002 3 1044 $0414 1556 $0614
032 002 4 1045 $0415 1557 $0615
032 003 1 1046 $0416 1558 $0616
032 003 2 1047 $0417 1559 $0617
032 003 3 1048 $0418 1560 $0618
032 003 4 1049 $0419 1561 $0619
032 004 1 1050 $041A 1562 $061A
032 004 2 1051 $041B 1563 $061B
032 004 3 1052 $041C 1564 $061C
032 004 4 1053 $041D 1565 $061D
630 Appendix A
3 ALARM MESSAGES, COMMAND REQUESTS AND RESPONSES
Appendix A
34 1599 063F 1663 067F
35 1600 0640 1664 0680
36 1601 0641 1665 0681
37 1602 0642 1666 0682
38 1603 0643 1667 0683
39 1604 0644 1668 0684
40 1605 0645 1669 0685
41 1606 0646 1670 0686
42 1607 0647 1671 0687
43 1608 0648 1672 0688
44 1609 0649 1673 0689
45 1610 064A 1674 068A
46 1611 064B 1675 068B
47 1612 064C 1676 068C
48 1613 064D 1677 068D
49 1614 064E 1678 068E
50 1615 064F 1679 068F
51 1616 0650 1680 0690
52 1617 0651 1681 0691
53 1618 0652 1682 0692
54 1619 0653 1683 0693
55 1620 0654 1684 0694
56 1621 0655 1685 0695
57 1622 0656 1686 0696
58 1623 0657 1687 0697
59 1624 0658 1688 0698
60 1625 0659 1689 0699
61 1626 065A 1690 069A
62 1627 065B 1691 069B
63 1628 065C 1692 069C
• Alarm Message - Every bus controller can send alarm messages. It uses its assigned ID for this
purpose (see appendix: "CAN Identifier" for fixed allocations).
An alarm message always occurs without being requested.
• Command Response - As a rule, these error messages are responses to a command request from
a client. A bus controller characterizes a command response as an error message by setting bit 7
of the code to 1.
However, a bus controller can also automatically send error messages which are not requested using
a command response. In this case, the value $FF is entered as the code.
• An error message can also be requested by a client directly from the bus controller using a command
request (see Chapter 5: "CAN Bus Controller Functions" in Section "Commands").
You should carefully plan the evaluation of error messages and take the following into consideration in the
network right from the start:
• For alarm messages, it makes sense if one station evaluates the errors centrally. If an NMT master
is available, it takes over this task.
• When command responses are used to send error messages, error handling should be handled
by the client which sent the command request.
• Broadcasting error messages using command responses (code => $FF) can also be handled
centrally by one station (NMT master).
Error messages consist of 4 bytes - the error code and a supplementary code, which can also contain
information about the cause of the error (node number, module number).
Abbr. Description
c Channel number for multi-channel modules
0.......... module without extended status
1 - 8..... module with extended status
channel number where error occurred
636 Appendix B
1.1 SUPPLEMENTARY CODE c30ms - c38ms
Bit Description
1 1
15 8 7 0
Error messages are sent in different ways. Take this into consideration during evaluation.
• Sent as Alarm Message - error and supplementary codes are sent as follows:
• Sent as Command Response - error and supplementary codes are sent as follows:
Index
Index 639
640 Index
INDEX
A AI774 ............................................................ 299
CAN Identifier .............................................. 623
Abbreviations ................................................... 507 Dimensions .................................................... 41
Absolute Encoder Operation General Information ..................................... 259
NC161 ........................................ 424, 435, 448 Overview ...................................................... 259
AC010 .............................................................. 451 Analog Output Modules
AC011 .............................................................. 452 Addressing .................................................. 465
AC020 .............................................................. 451 AO352 .......................................................... 306
AC401 Encoder 5 V - 24 V ............................. 604 CAN Identifier .............................................. 623
AC410 Interface Converter ............................. 605 Dimensions .................................................... 41
AC911 Bus Plug, CAN .................................... 610 General Information ..................................... 305
AC912 Bus Adapter, CAN 1x .......................... 606 Overview ...................................................... 305
AC913 Bus Adapter, CAN 2x .......................... 607 AO352 ............................................................. 306
AC916 Bus Termination, RS485 Active ........... 608 AT324 .............................................................. 313
Accessories AT352 .............................................................. 320
AC010 .......................................................... 451 AT664 .............................................................. 326
AC011 .......................................................... 452
AC020 .......................................................... 451
B&R SYSTEM 2003 ..................................... 450 B
General Accessories ................................... 603 B&R Devices .................................................... 510
TB710 ........................................................... 454 B&R SYSTEM 2000
TB712 ........................................................... 455 B&R SYSTEM 2003 ....................................... 30
TB718 ........................................................... 456 General Information ....................................... 27
TB722 ........................................................... 457 BasicCAN ........................................................ 508
TB733 ........................................................... 458 Baudrate
TB736 ........................................................... 459 EX270 ............................................................ 88
TB754 ........................................................... 460 EX470 ............................................................ 94
TB772 ........................................................... 461 EX770 ............................................................ 94
Activate Operating Parameters ...................... 535 Baudrate, CAN Bus Controller ........................ 516
Adapter Module BP701 ................................................................ 82
AF101 ........................................................... 131 BP702 ......................................................... 81, 82
Commands .................................................. 133 BP703 ................................................................ 81
General Information ..................................... 129 BP704 ................................................................ 81
Program Example ....................................... 135 BP705 ................................................................ 81
Addressing, Screw-in Modules ....................... 465 BP706 ................................................................ 81
AF101 .............................................................. 131 BP707 ................................................................ 81
AI261 ............................................................... 260 BP708 ................................................................ 82
AI294 ............................................................... 277 BP709 ................................................................ 82
AI351 ............................................................... 285 BP710 ................................................................ 82
AI354 ............................................................... 293 Branch Lines, CAN Field Bus ............................ 66
AI774 ............................................................... 299 BRCIOxx, Module Name AF101 ..................... 523
Alarm Message ...................................... 635, 637 Burst ................................................................. 616
Index
Index 641
Timing tion Memory ................................................. 535
CAN Slave .............................................. 584 Write Operating Parameters ...................... 534
Remote I/O Slave ................................... 578 Write Value to Configuration Word ............. 531
Variable Declaration CAN Field Bus ..................................... 33, 34, 63
Example for CAN Slave ......................... 488 CAN ID Access, Example ............................... 498
Example for Remote I/O Slave ............... 479 CAN Identifier ......................................... 545, 552
Using PG2000 ........................................ 466 Alarm Messages .......................................... 631
Bus Cover ........................................................ 451 Allocated by DBT Master ............................ 552
Analog Inputs .............................................. 623
Analog Outputs ........................................... 623
C Command Requests ................................... 631
Cable Command Response .................................. 631
CAN Field Bus ............................................... 63 Digital Inputs ................................................ 621
Remote I/O Bus ............................................. 60 Digital Outputs ............................................. 621
Cable Shield Grounding ................................... 70 Fixed Allocation ............................................ 545
Cabling CAN V. 2.0A ..................................................... 508
CAN Field Bus ............................................... 66 CAN V. 2.0B ..................................................... 508
Remote I/O Bus ............................................. 59 Certifications .................................................... 617
Cabling Protection for Screw-in Modules ......... 51 Change Mask Digital Inputs ........................ 521
Cabling Terminal Blocks ................................... 49 CiA ................................................................... 507
CAL .................................................................. 507 CiA/CAL Network ............................................ 508
CAN Bus Controller Client ................................................................ 508
Dimensions .................................................... 39 CM211 ............................................................. 334
EX270 ............................................................ 84 CM411 ............................................................. 384
EX470 ............................................................ 90 Combination Modules
EX770 ............................................................ 90 CM211 ......................................................... 334
Overview ........................................................ 83 CM411 ......................................................... 384
Tasks .............................................................. 83 Overview ...................................................... 333
Timing .......................................................... 584 Combination Possibilities
Variable Declaration CAN Field Bus ............................................... 34
Example .................................................. 488 Remote I/O Bus ............................................. 34
Using PG2000 ........................................ 466 Command Codes and Parameters ................ 526
CAN Bus Controller Commands Command Requests ....................................... 524
Activate Operating Parameters .................. 535 CAN Identifier .............................................. 631
Command Codes and Parameters ............ 526 Command Response .................... 525, 635, 637
Delete Configuration Memory ..................... 536 CAN Identifier .............................................. 631
Read Input ................................................... 528 Communication Modules
Read Module Code ..................................... 526 IF311 ............................................................ 416
Read Module Status .................................... 526 IF321 ............................................................ 416
Read Number of Modules ........................... 526 IF361 ............................................................ 418
Read Operating Parameters ...................... 532 IF371 ............................................................ 420
Read Operating System Version ................ 536 Overview ...................................................... 415
Read Slave Status ....................................... 526 Comparator
Reading Back Output ................................. 527 DI135 ........................................................... 143
Restart the Slave .......................................... 536 NC161 ........................................ 424, 431, 440
Set Change Mask for a Module .................. 530 Configuration
Set Change Value according to Trigger Type Examples ....................................................... 54
530 Slot Rules ....................................................... 53
Set Node Number ....................................... 537 Configuration Memory
Set Output Mask for a Module ................... 529 Delete ........................................................... 536
Set Trigger Type for Analog Input Channel 530 ME770 .......................................................... 128
Set Trigger Value acc. to Trigger Type ...... 530 Test ............................................................... 536
Test Configuration Memory ......................... 536 Configuration Word ......................................... 465
Transfer Operating Parameters to Configura- Controllable Phase Angle ............................... 202
642 Index
Controller DI439.7 ............................................................ 164
Bus Controller DI439.72 .......................................................... 170
Overview ................................................... 83 DI645 ............................................................... 178
Tasks ......................................................... 83 Digital Input Modules
CPUs CAN Identifier .............................................. 621
General Information .................................. 99 DI135 ........................................................... 140
Overview ................................................. 101 DI435 ........................................................... 159
Dimensions .................................................... 39 DI439.7 ........................................................ 164
Timing DI439.72 ...................................................... 170
CAN Slave .............................................. 584 DI645 ........................................................... 178
CPUs ...................................................... 564 Dimensions .................................................... 39
Remote I/O Slave ................................... 578 General Information ..................................... 138
Variable Declaration Input Filter .................................................... 138
Example for CAN Slave ......................... 488 Overview ...................................................... 139
Example for CPU ................................... 467 Digital Mixed Modules
Example for Remote I/O Slave ............... 479 General Information ..................................... 232
Using PG2000 ........................................ 466 Overview ...................................................... 232
Counter Modules DM435 ......................................................... 233
NC161 .......................................................... 423 DM438 ......................................................... 241
Overview ...................................................... 422 DM465 ......................................................... 249
CP Interface ........................................... 108, 121 Digital Output Modules
CP430 .............................................................. 102 CAN Identifier .............................................. 621
CP470 .............................................................. 102 Dimensions .................................................... 39
CP474 .............................................................. 102 DO135 ......................................................... 185
CP476 .............................................................. 114 DO164 ......................................................... 197
CP770 .............................................................. 102 DO435 ......................................................... 211
CP774 .............................................................. 102 DO720 ......................................................... 219
CPUs DO721 ......................................................... 224
CP430 .......................................................... 102 DO722 ......................................................... 228
CP470 .......................................................... 102 General Information ..................................... 183
CP474 .......................................................... 102 Overview ...................................................... 183
CP476 .......................................................... 114 Protective Circuit .................................. 71, 183
CP770 .......................................................... 102 Dimensions ................................................. 37, 39
CP774 .......................................................... 102 DM435 ............................................................. 233
Dimensions .................................................... 39 DM438 ............................................................. 241
General Information ....................................... 99 DM465 ............................................................. 249
Overview ...................................................... 101 DO135 ............................................................. 185
Timing .......................................................... 564 DO164 ............................................................. 197
Variable Declaration DO435 ............................................................. 211
Example .................................................. 467 DO720 ............................................................. 219
Using PG2000 ........................................ 466 DO721 ............................................................. 224
Cycle Time for Inputs ...................................... 521 DO722 ............................................................. 228
D-Type Sockets and Plugs, Use ....................... 70
D E
Index
Index 643
Event Counter Operation Identifier ......................................... 545, 552, 621
CM211 ................................................ 349, 371 Allocated by DBT Master ............................ 552
CM411 ................................................ 393, 402 Fixed Allocation ............................................ 545
DI135 .................................................. 142, 154 Idle Time for Inputs ......................................... 521
EX270 ................................................................ 84 Idle Time for Outputs ...................................... 520
EX470 ................................................................ 90 Idle Time Monitoring, CAN Bus Controller ...... 557
EX477 ................................................................ 95 IF311 ................................................................ 416
EX770 ................................................................ 90 IF321 ................................................................ 416
EX777 ................................................................ 95 IF361 ................................................................ 418
Exchanging the Battery, CPU ................ 111, 124 IF371 ................................................................ 420
Expansions Incremental Encoder Operation
CAN Field Bus ............................................... 33 CM211 ................................................ 348, 357
Remote I/O Bus ............................................. 32 CM411 ................................................ 393, 398
Expansions for CP476 DI135 .................................................. 142, 147
ME010 .......................................................... 408 NC161 ........................................ 424, 427, 440
ME020 .......................................................... 411 Inhibit Time for an Alarm Object ..................... 520
Overview ...................................................... 333 Inhibit Time for Inputs ...................................... 522
External Protective Circuit ................................. 71 Inhibit Time ...................................................... 508
Initialization, CAN Bus Controller ..................... 538
Input Behavior ................................................. 521
F Input Delay ...................................................... 138
Fixed Allocation of the CAN Identifier .... 545, 621 Input Filter ........................................................ 138
Full-Bridge Strain Gauge ................................ 262 Installation Dimensions ...................................... 42
FullCAN ............................................................ 508 Installation Guidelines ........................................ 71
Function Blocks ............................................... 511 Installation ................................................... 42, 45
INT1 Interface Converter ................................ 611
Interface Module Inserts ................................. 414
G Interface Modules
IF311 ............................................................ 416
Gate Measurement
IF321 ............................................................ 416
CM211 ................................................ 351, 376
IF361 ............................................................ 418
General Accessories
IF371 ............................................................ 420
AC401 Encoder 5 V - 24 V .......................... 604
Overview ...................................................... 415
AC410 Interface Converter ......................... 605
Interface Modules, Insert ................................ 414
AC911 Bus Plug, CAN ................................ 610
International Standards ................................... 617
AC912 Bus Adapter, CAN 1x ...................... 606
AC913 Bus Adapter, CAN 2x ...................... 607
AC916 Bus Termination, RS485 Active ....... 608 L
INT1 Interface Converter ............................ 611
Overview ...................................................... 603 Life Guarding ................................................... 508
RS485 Bus Plug ........................................... 609 CAN Bus Controller ..................................... 557
Grounding Measures ........................................ 68 Life Time Factor ............................................... 517
Guard Time ...................................................... 517 Limit Values ...................................................... 615
Logical Module Slots ......................................... 53
H
M
High Frequency, Conductive .......................... 616
ME010 ............................................................. 408
ME020 ............................................................. 411
I ME770 ............................................................. 128
Memory Structure, Screw-in Modules ............ 465
I/O Bus Expansion. See Expansions
MODE Switch, CPU ............................... 106, 119
I/O Bus ............................................................... 30
Module Address ................................................ 80
Identifier (ID) ................................................... 507
Identifier Directory .......................................... 523
644 Index
Module Code NMT Master ............................................ 540, 541
Digital I/O Modules ............................. 522, 523 Requirements .............................................. 509
Screw-in Modules ........................................ 523 NMT ................................................................. 507
Module ID ........................................................ 508 Node Number ................................................. 515
Module Name, BRCIOxx (AF101) ............... 523 CPU .................................................... 106, 119
Module Overview .............................................. 75 EX270 ............................................................ 88
Module Rack EX470 ............................................................ 94
BP701 ............................................................ 82 EX477 ............................................................ 97
BP702 ..................................................... 81, 82 EX770 ............................................................ 94
BP703 ............................................................ 81 EX777 ............................................................ 97
BP704 ............................................................ 81 Number Switch
BP705 ............................................................ 81 CPU .................................................... 106, 119
BP706 ............................................................ 81 EX270 ............................................................ 88
BP707 ............................................................ 81 EX470 ............................................................ 94
BP708 ............................................................ 82 EX477 ............................................................ 97
BP709 ............................................................ 82 EX770 ............................................................ 94
BP710 ............................................................ 82 EX777 ............................................................ 97
Dimensions .................................................... 38
General Information ....................................... 80
Installation ............................................... 42, 48 O
Module Address ............................................ 80 Operating Parameters, AF101 ....................... 512
Module Slots Baudrate ...................................................... 516
Logical ........................................................... 53 Change Mask Digital Inputs .................... 521
Physical .......................................................... 53 Cycle Time for Inputs .................................. 521
Possible .......................................................... 53 Guard Time .................................................. 517
Modules Identifier Directory ...................................... 523
Dimensions .................................................... 39 Idle Time for Inputs ..................................... 521
Groups ........................................................... 39 Idle Time for Outputs .................................. 520
Installation ...................................................... 45 Inhibit Time for an Alarm Object ................. 520
Slot Rules ....................................................... 53 Inhibit Time for Inputs .................................. 522
Monitoring Functions, CAN Bus Controller ..... 557 Input Behavior ............................................. 521
Idle Time Monitoring .................................... 557 Life Time Factor ........................................... 517
Life Guarding ............................................... 557 Module Code
Output Monitoring ....................................... 558 Digital I/O Modules ........................ 522, 523
Voltage Monitoring Screw-in Modules ................................... 523
CAN Bus Controller ................................ 557 Module Name BRCIOxx ........................... 523
I/O Modules ............................................ 557 Node Number ............................................. 515
Watchdog .................................................... 558 Output Behavior .......................................... 520
Mounting Rail Output Mask for Digital Outputs ................. 520
Dimensions .................................................... 37 Packing Data ............................................... 517
Installation ...................................................... 68 Parameter Value for ScrM .......................... 522
Priority Groups ............................................ 523
N Synchronization Jump Width ...................... 516
Transfer Modes ............................................ 517
NC161 ............................................................. 423 Transmission Trigger Type for Analog Inputs
Network Class Recognition ............................. 538 522
Index
Network Class Recognition ............................. 538 Trigger Type for Analog Inputs ................... 522
Network Class ................................................. 508 Trigger Value for Analog Inputs .................. 522
Network ........................................................... 508 Version Number .......................................... 515
CAN Field Bus ............................................... 63 Operating Temperature .................................... 72
PROFIBUS ..................................................... 62 Operation using FBKs ..................................... 511
Remote I/O Bus ............................................. 59
RS485 ............................................................ 62
Index 645
Other Modules Remote Address
CM211 ......................................................... 334 EX477 ............................................................ 97
CM411 ......................................................... 384 EX777 ............................................................ 97
Combination Modules ................................. 333 Remote I/O Bus Controller
Expansions for CP476 ................................. 333 Dimensions .................................................... 39
General Information ..................................... 333 EX477 ............................................................ 95
ME010 .......................................................... 408 EX777 ............................................................ 95
ME020 .......................................................... 411 Overview ........................................................ 83
Output Behavior .............................................. 520 Tasks .............................................................. 83
Output Mask for Digital Outputs ..................... 520 Timing .......................................................... 578
Output Monitoring, CAN Bus Controller ......... 558 Variable Declaration
Example .................................................. 479
Using PG2000 ........................................ 466
P Remote I/O Bus ................................... 32, 34, 59
Packing Data ................................................... 517 Restart the Slave ............................................. 536
Parameter Value for ScrM .............................. 522 RS485 Bus Plug .............................................. 609
PCC (Programmable Computer Controller) .... 28 RS485 Network ................................................. 62
PCMCIA Interface RTR .................................................................. 508
ME010 .......................................................... 410
ME020 .......................................................... 413
Period Measurement
S
CM211 ................................................ 349, 376 Screw-in Modules
Phase-Angle Control ....................................... 197 Adapter Module .......................................... 129
Phase-Angle .................................................... 202 Addressing .................................................. 465
Physical Module Slots ....................................... 53 Cabling Protection ........................................ 51
Positioning Modules Configuration Word ..................................... 465
NC161 .......................................................... 423 CP Interface ....................................... 108, 121
Overview ...................................................... 422 Data Word ................................................... 465
Potentiometer Displacement Gauge .............. 279 Dimensions .................................................... 41
Power Output Table .......................................... 56 Memory Structure ....................................... 465
Power Triacs .................................................... 197 Server .............................................................. 508
Priority Groups ................................................ 523 Set Change Mask for a Module ...................... 530
PROFIBUS Network .......................................... 62 Set Change Value according to Trigger Type 530
PROFIBUS-DP ................................................ 418 Set Change Value according to Trigger Type 530
Program Memory .............................................. 31 Set Node Number ........................................... 537
Programmable Computer Controller ............... 28 Set Output Mask for a Module ....................... 529
Programming System Flash .................. 107, 120 Shielding Measures ........................................... 68
Protective Circuit ...................................... 71, 183 Shock Test ....................................................... 616
Protective Measures .......................................... 68 Side Section ...................................................... 45
Pulse Width Modulation, DO135 ..................... 187 Slot Rules for Modules ....................................... 53
Standards ........................................................ 615
Standards ........................................................ 617
R Start Behavior, CAN Bus Controller ................ 538
Read Input ....................................................... 528 Start Behavior, CAN Bus Controller ................ 538
Read Module Code ......................................... 526 Storage .............................................................. 71
Read Module Status ........................................ 526 Stress Relief Attachment ................................. 452
Read Number of Modules .............................. 526 Supply Voltage ................................................. 31
Read Operating Parameters .......................... 532 Surge ............................................................... 616
Read Operating System Version .................... 536 Synchronization Jump Width .......................... 516
Read Slave Status ........................................... 526 SYS2003, System Variable .................... 110, 123
Reading Back Output ..................................... 527 System B&R 2000
Relative Humidity ............................................... 72 General Information ....................................... 27
System B&R 2003 ......................................... 30
System Variable SYS2003 ..................... 110, 123
646 Index
T V
TB710 .............................................................. 454 Variable Declaration
TB712 .............................................................. 455 Using PG2000 ............................................. 466
TB718 .............................................................. 456 with 2003 PCC CPU .................................... 467
TB722 .............................................................. 457 with CAN Slave ............................................ 488
TB733 .............................................................. 458 with Remote I/O Slave ................................. 479
TB736 .............................................................. 459 Version Number .............................................. 515
TB754 .............................................................. 460 Vibration Test ................................................... 616
TB772 .............................................................. 461 Voltage Monitoring
Temperature CAN Bus Controller ..................................... 557
Operation ...................................................... 72 I/O Modules ................................................. 557
Storage .......................................................... 71
Temperature Modules
AT324 ........................................................... 313 W
AT352 ........................................................... 320 Watchdog, CAN Bus Controller ...................... 558
AT664 ........................................................... 326 Write Operating Parameters .......................... 534
General Information ..................................... 312 Write Value to Configuration Word ................. 531
Overview ...................................................... 312
Terminal Blocks ................................................. 31
Cabling .......................................................... 49
TB710 ........................................................... 454
TB712 ........................................................... 455
TB718 ........................................................... 456
TB722 ........................................................... 457
TB733 ........................................................... 458
TB736 ........................................................... 459
TB754 ........................................................... 460
TB772 ........................................................... 461
Termination Resistance
CAN Field Bus ............................................... 67
Remote I/O Bus ............................................. 61
Terms ............................................................... 507
Test Ea ............................................................. 616
Test Fc ............................................................. 616
Threaded Strips ................................................ 45
Timing
2003 PCC .................................................... 564
B&R SYSTEM 2003 ..................................... 563
CAN Nodes ................................................. 584
CM211 ......................................................... 342
CM411 ......................................................... 389
Remote I/O Nodes ...................................... 578
Transfer Modes ............................................... 517
Transfer Operating Parameters to Configuration
Memory ........................................................... 535
Index
Index 647
MODEL NUMBER INDEX
0 7CP430.60-1 .................................................... 102
7CP470.60-1 .................................................... 102
0AC001.9 ......................................................... 603 7CP474.60-1 .................................................... 102
0AC171.9 ......................................................... 603 7CP476.60-1 .................................................... 115
0AC200.9 ......................................................... 603 7CP770.60-1 .................................................... 102
0AC201.9 ......................................................... 603 7CP774.60-1 .................................................... 102
0AC401.9 ......................................................... 604 7DI135.70 ........................................................ 140
0AC410.9 ......................................................... 605 7DI435.7 .......................................................... 159
0AC912.9 ......................................................... 606 7DI439.7 .......................................................... 164
0AC913.92 ....................................................... 607 7DI439.72 ........................................................ 170
0AC916.9 ......................................................... 608 7DI645.7 .......................................................... 178
0G0001.00-090 ................................................ 603 7DM435.7 ........................................................ 233
0G0010.00-090 ................................................ 603 7DM438.72 ...................................................... 241
0G0012.00-090 ................................................ 603 7DM465.7 ........................................................ 249
0G1000.00-090 ................................................ 609 7DO135.70 ...................................................... 185
0MC111.9 ........................................................ 603 7DO164.70 ...................................................... 197
0MC211.9 ........................................................ 603 7DO435.7 ........................................................ 211
7DO720.7 ........................................................ 219
7DO721.7 ........................................................ 224
7 7DO722.7 ........................................................ 228
7AC010.9 ......................................................... 451 7EX270.50-1 ...................................................... 84
7AC011.9 ......................................................... 452 7EX470.50-1 ...................................................... 90
7AC020.9 ......................................................... 451 7EX477.50-2 ...................................................... 95
7AC911.9 ......................................................... 610 7EX770.50-1 ...................................................... 90
7AF101.7 ......................................................... 131 7EX777.50-1 ...................................................... 95
7AI261.7 .......................................................... 260 7IF311.7 ........................................................... 416
7AI294.7 .......................................................... 277 7IF321.7 ........................................................... 416
7AI351.70 ........................................................ 285 7IF361.70-1 ...................................................... 418
7AI354.70 ........................................................ 293 7IF371.70-1 ...................................................... 420
7AI774.70 ........................................................ 299 7ME010.9 ........................................................ 408
7AO352.70 ...................................................... 306 7ME020.9 ........................................................ 411
7AT324.70 ....................................................... 313 7ME770.5 ........................................................ 128
7AT352.70 ....................................................... 320 7NC161.7 ........................................................ 423
7AT664.70 ....................................................... 326 7TB710.9 ......................................................... 454
7BP701.1 ........................................................... 82 7TB710.91 ....................................................... 454
7BP702.0 ........................................................... 81 7TB710:90-01 .................................................. 454
7BP702.1 ........................................................... 82 7TB710:91-01 .................................................. 454
7BP703.0 ........................................................... 81 7TB712.9 ......................................................... 455
7BP704.0 ........................................................... 81 7TB712.91 ....................................................... 455
7BP705.0 ........................................................... 81 7TB712:90-02 .................................................. 455
7BP706.0 ........................................................... 81 7TB712:91-02 .................................................. 455
7BP707.0 ........................................................... 81 7TB718.9 ......................................................... 456
7BP708.0 ........................................................... 82 7TB718.91 ....................................................... 456
7BP709.0 ........................................................... 82 7TB718:90-02 .................................................. 456
7BP710.0 ........................................................... 82 7TB718:91-02 .................................................. 456
7CM211.7 ........................................................ 334 7TB722.9 ......................................................... 457
7CM411.70-1 ................................................... 384 7TB722.91 ....................................................... 457
648 Index
7TB733.9 ......................................................... 458
7TB733.91 ....................................................... 458
7TB736.9 ......................................................... 459
7TB736.91 ....................................................... 459
7TB754.9 ......................................................... 460
7TB754.91 ....................................................... 460
7TB772.91 ....................................................... 461
E
ECINT1-1 ......................................................... 611
ECINT1-11 ....................................................... 611
Index
Index 649
650 Index
RELEVANT CONVERSIONS
Some of the values in this manual and in other documentation that you may have contain values which are
only given in metric. Use these formulas and charts to help with any conversion problems that you may have.
Index 651
652 Index