
6.5.1 OB 20, OB 21 - DEL_INTx - Time-delay Interrupt....................................... 77
6.6 Time of day Interrupts..................................................................................... 78
6.6.1 OB 10, OB 11 - TOD_INTx - Time-of-day Interrupt..................................... 78
6.7 Cyclic Interrupts.............................................................................................. 80
6.7.1 OB 28, 29, 32, 33, 34, 35 - CYC_INTx - Cyclic Interrupt............................. 80
6.8 Hardware Interrupts........................................................................................ 82
6.8.1 OB 40, OB 41 - HW_INTx - Hardware Interrupt.......................................... 82
6.9 Asynchronous error Interrupts........................................................................ 84
6.9.1 OB 80 - CYCL_FLT - Time Error................................................................. 84
6.9.2 OB 81 - PS_FLT - Power Supply Error........................................................ 86
6.9.3 OB 82 - I/O_FLT1 - Diagnostic Interrupt...................................................... 87
6.9.4 OB 83 - I/O_FLT2 - Insert / Remove Module............................................... 89
6.9.5 OB 85 - OBNL_FLT - Priority Class Error.................................................... 92
6.9.6 OB 86 - RACK_FLT - Slave Failure / Restart.............................................. 96
6.10 Synchronous Interrupts................................................................................ 98
6.10.1 OB 121 - PROG_ERR - Programming Error............................................. 98
6.10.2 OB 122 - MOD_ERR - Periphery access Error....................................... 100
7 Building Control................................................................................................. 102
7.1 Overview....................................................................................................... 102
7.1.1 Call example - instance DB....................................................................... 102
7.1.2 Call example - multi instances DB............................................................. 102
7.2 Room............................................................................................................ 103
7.2.1 FB 45 - LAMP - Controlling lamp / socket................................................. 103
7.2.2 FB 46 - BLIND - Controlling blind.............................................................. 104
7.2.3 FB 47 - DSTRIKE - Electric door opener .................................................. 106
7.3 Access Control............................................................................................. 107
7.3.1 FB 48 - ACONTROL - Access control....................................................... 107
7.3.2 UDT 3 - ACLREC - Data structure for FB 48............................................. 108
7.3.3 UDT 4 - ACL - Data structure for FB 48.................................................... 109
7.3.4 FB 49 - KEYPAD - Keyboard..................................................................... 109
7.3.5 FB 50 - KEYPAD2 - Keyboard................................................................... 111
8 Network Communication................................................................................... 114
8.1 Open Communication................................................................................... 114
8.1.1 Connection-oriented protocols................................................................... 114
8.1.2 Connection-less protocols......................................................................... 114
8.1.3 FB 63 - TSEND - Sending data - TCP native and ISO on TCP................. 115
8.1.4 FB 64 - TRCV - Receiving Data - TCP native and ISO on TCP................ 118
8.1.5 FB 65 - TCON - Establishing a connection................................................ 122
8.1.6 UDT 65 - TCON_PAR Data structure for FB 65........................................ 124
8.1.7 FB 66 - TDISCON - Terminating a connection.......................................... 129
8.1.8 FB 67 - TUSEND - Sending data - UDP.................................................... 131
8.1.9 FB 68 - TURCV - Receiving data - UDP.................................................... 133
8.1.10 UDT 66 - TADDR_PAR Data structure.................................................... 136
8.2 Ethernet Communication.............................................................................. 137
8.2.1 Communication - FC 5...6 for CP 343....................................................... 137
8.2.2 FC 5 - AG_SEND - Send to CP 343.......................................................... 139
8.2.3 FC 6 - AG_RECV - Receive from CP 343................................................. 142
8.2.4 FC 10 - AG_CNTRL - Control CP 343....................................................... 144
8.2.5 FC 62 - C_CNTR - Querying the Connection Status................................. 151
VIPA SPEED7
Table of contents
HB00 | OPL_SP7 | Operation list | en | 18-30 4