Contents
GFK-2950C February 2018 v
4.11 Program Flow Functions ..................................................................................................... 201
4.11.1 Argument Present ................................................................................................................................................. 202
4.11.2 Call ............................................................................................................................................................................... 203
4.11.3 Comment .................................................................................................................................................................. 206
4.11.4 JumpN ........................................................................................................................................................................ 207
4.11.5 Master Control Relay/End Master Control Relay ...................................................................................... 208
4.11.6 Wires ........................................................................................................................................................................... 210
4.12 Relational Functions ............................................................................................................ 211
4.12.1 Compare .................................................................................................................................................................... 212
4.12.2 Equal, Not Equal, Greater or Equal, Greater Than, Less or Equal, Less Than ................................. 213
4.12.3 EQ_DATA ................................................................................................................................................................... 214
4.12.4 Range .......................................................................................................................................................................... 215
4.13 Timers ...................................................................................................................................... 216
4.13.1 Timed Contacts ...................................................................................................................................................... 216
4.13.2 Timer Function Blocks ......................................................................................................................................... 217
4.13.3 Standard Timer Function Blocks...................................................................................................................... 228
Chapter 5 Function Block Diagram (FBD) ............................................................................................. 233
5.1 Note on Reentrancy ............................................................................................................. 234
5.2 Advanced Math Functions .................................................................................................. 235
5.2.1 EXPT Function ......................................................................................................................................................... 237
5.3 Bit Operation Functions ...................................................................................................... 238
5.3.1 Logical AND, Logical OR, and Logical XOR.................................................................................................... 240
5.3.2 Logical NOT .............................................................................................................................................................. 242
5.4 Comments .............................................................................................................................. 243
5.4.1 Text Block .................................................................................................................................................................. 243
5.5 Comparison Functions ......................................................................................................... 244
5.5.1 Equal, Not Equal, Greater or Equal, Greater Than, Less or Equal, Less Than ................................. 246
5.6 Control Functions ................................................................................................................. 247
5.7 Counters .................................................................................................................................. 249
5.8 Data Move Functions ........................................................................................................... 250
5.8.1 Fan Out ...................................................................................................................................................................... 254
5.8.2 Move Data ................................................................................................................................................................. 255
5.9 Math Functions ...................................................................................................................... 257
5.9.1 Overflow .................................................................................................................................................................... 258
5.9.2 Add ............................................................................................................................................................................... 259
5.9.3 Divide .......................................................................................................................................................................... 260
5.9.4 Modulus ..................................................................................................................................................................... 261