Table of contents1 General.................................................................................................................. 131.1 Copyright © VIPA GmbH ............................................................................... 131.2 About this manual........................................................................................... 142 Important notes.................................................................................................... 152.1 General........................................................................................................... 152.2 Internally used blocks..................................................................................... 152.3 No optimized block access............................................................................. 162.4 Declaration types............................................................................................ 163 IL operations......................................................................................................... 173.1 Overview......................................................................................................... 173.2 Abbreviations.................................................................................................. 213.3 Comparison of syntax languages................................................................... 243.4 Differences between SPEED7 and 300V programming................................. 253.5 Registers........................................................................................................ 273.6 Addressing examples..................................................................................... 283.7 Math instructions............................................................................................ 303.8 Block instructions............................................................................................ 353.9 Program display and Null operation instructions............................................ 363.10 Edge-triggered instructions........................................................................... 373.11 Load instructions........................................................................................... 383.12 Shift instructions........................................................................................... 413.13 Setting/resetting bit addresses..................................................................... 433.14 Jump instructions.......................................................................................... 443.15 Transfer instructions..................................................................................... 473.16 Data type conversion instructions................................................................. 513.17 Comparison instructions............................................................................... 533.18 Combination instructions (Bit)....................................................................... 553.19 Combination instructions (Word).................................................................. 633.20 Timer instructions......................................................................................... 643.21 Counter instructions...................................................................................... 654 Block parameters................................................................................................. 664.1 HW identifier - HW_ID.................................................................................... 664.2 General and Specific Error Information RET_VAL......................................... 665 Include VIPA library.............................................................................................. 695.1 Integration into Siemens SIMATIC Manager.................................................. 695.2 Integration into Siemens TIA Portal................................................................ 706 Organization Blocks............................................................................................. 716.1 Overview......................................................................................................... 716.2 Main................................................................................................................ 716.2.1 OB1 - Main - Program Cycle....................................................................... 716.3 Startup............................................................................................................ 726.3.1 OB 100, OB 102 - Complete/Cold Restart - Startup.................................... 726.4 Communication Interrupts.............................................................................. 746.4.1 OB 55 - DP: Status Alarm - Status Interrupt................................................ 746.4.2 OB 56 - DP: Update Alarm - Update Interrupt............................................. 756.4.3 OB 57 - DP: Manufacture Alarm - Manufacturer Specific Interrupt............. 766.5 Time delay Interrupts...................................................................................... 77VIPA SPEED7 Table of contentsHB00 | OPL_SP7 | Operation list | en | 18-30 3