4.7 Calibration ............................................................................................................................................... 35
4.7.1 Input calibration ................................................................................................................................ 35
4.7.2 Output calibration ............................................................................................................................. 35
4.8 Change target device .............................................................................................................................. 36
5 Variables ........................................................................................................................................................ 37
5.1 Properties ................................................................................................................................................ 37
5.2 Data type ................................................................................................................................................. 38
5.3 Standard variables .................................................................................................................................. 38
5.4 Service variables ..................................................................................................................................... 39
5.5 Network variables .................................................................................................................................... 39
5.6 Copy / paste variable block ..................................................................................................................... 40
6 Library ........................................................................................................................................................... 42
6.1 Functions ................................................................................................................................................. 42
6.1.1 Logical operators ............................................................................................................................. 42
6.1.2 Mathematical operators ................................................................................................................... 44
6.1.3 Relational operators ......................................................................................................................... 47
6.1.4 Bitshift operators .............................................................................................................................. 49
6.1.5 Bit operators ..................................................................................................................................... 50
6.2 Function blocks ....................................................................................................................................... 52
6.2.1 Triggers ............................................................................................................................................ 52
6.2.2 Timers .............................................................................................................................................. 54
6.2.3 Generators ....................................................................................................................................... 57
6.2.4 Counters........................................................................................................................................... 57
6.2.5 Analog .............................................................................................................................................. 60
6.3 Project macros ........................................................................................................................................ 62
6.3.1 Export, import, download macro ...................................................................................................... 63
6.3.2 FB in macro ...................................................................................................................................... 63
6.3.3 New macro using main menu .......................................................................................................... 64
6.3.4 New macro using context menu ...................................................................................................... 65
6.3.5 Update macro .................................................................................................................................. 66
6.3.6 Replace macro ................................................................................................................................. 66
6.3.7 Changing I/O points order ................................................................................................................ 67
6.4 Display elements ..................................................................................................................................... 67
6.4.1 Text box ........................................................................................................................................... 68
6.4.2 I/O box (INT/REAL) .......................................................................................................................... 68
6.4.3 I/O box (BOOL) ................................................................................................................................ 70
6.4.4 Dynamic box .................................................................................................................................... 70
6.4.5 ComboBox ....................................................................................................................................... 71
7 Circuit program development ..................................................................................................................... 73
7.1 Using of library blocks ............................................................................................................................. 73