ContentsGFK-2950C February 2018 iii4.2.5 Bit Test .......................................................................................................................................................................... 744.2.6 Logical AND, Logical OR, and Logical XOR....................................................................................................... 754.2.7 Logical NOT ................................................................................................................................................................. 774.2.8 Masked Compare ...................................................................................................................................................... 784.2.9 Rotate Bits ................................................................................................................................................................... 814.2.10 Shift Bits ....................................................................................................................................................................... 824.3 Coils .............................................................................................................................................844.3.1 Coil Checking .............................................................................................................................................................. 844.3.2 Graphical Representation of Coils ..................................................................................................................... 854.3.3 Set Coil, Reset Coil .................................................................................................................................................... 864.3.4 Transition Coils .......................................................................................................................................................... 874.4 Contacts .....................................................................................................................................914.4.1 Continuation Contact.............................................................................................................................................. 924.4.2 Fault Contact .............................................................................................................................................................. 934.4.3 High and Low Alarm Contacts ............................................................................................................................. 944.4.4 No Fault Contact ....................................................................................................................................................... 954.4.5 Normally Closed and Normally Open Contacts ............................................................................................ 964.4.6 Transition Contacts.................................................................................................................................................. 974.5 Control Functions ................................................................................................................. 1024.5.1 Do I/O .......................................................................................................................................................................... 1034.5.2 Edge Detectors ....................................................................................................................................................... 1064.5.3 Drum ........................................................................................................................................................................... 1084.5.4 For Loop ..................................................................................................................................................................... 1124.5.5 Mask I/O Interrupt ................................................................................................................................................. 1144.5.6 Read Switch Position ............................................................................................................................................ 1154.5.7 Scan Set IO ............................................................................................................................................................... 1164.5.8 Suspend I/O .............................................................................................................................................................. 1174.5.9 Suspend or Resume I/O Interrupt ................................................................................................................... 1184.6 Conversion Functions .......................................................................................................... 1194.6.1 Convert Angles ........................................................................................................................................................ 1204.6.2 Convert UINT or INT to BCD4 ............................................................................................................................ 1214.6.3 Convert DINT to BCD8 ......................................................................................................................................... 1224.6.4 Convert BCD4, UINT, DINT, or REAL to INT .................................................................................................. 1234.6.5 Convert BCD4, INT, DINT, or REAL to UINT .................................................................................................. 1254.6.6 Convert BCD8, UINT, INT, REAL or LREAL to DINT .................................................................................... 1274.6.7 Convert BCD4, BCD8, UINT, INT, DINT, and LREAL to REAL .................................................................. 1294.6.8 Convert REAL to LREAL ....................................................................................................................................... 1314.6.9 Convert DINT to LREAL ........................................................................................................................................ 1314.6.10 Truncate .................................................................................................................................................................... 132