A-5
5.3.5 Modulus operation ..................................................................................................................... 5 - 134
5.3.6 Exponentiation........................................................................................................................... 5 - 137
5.3.7 Move operation .......................................................................................................................... 5 - 140
5.4 Standard Bitwise Boolean Functions 5 - 143
5.4.1 Boolean AND, boolean OR, boolean exclusive OR, and boolean NOT .................................... 5 - 143
5.5 Standard Selection Functions 5 - 148
5.5.1 Selection.................................................................................................................................... 5 - 148
5.5.2 Multiplexer ................................................................................................................................. 5 - 151
5.6 Standard Comparison Functions 5 - 154
5.6.1 Comparison ............................................................................................................................... 5 - 154
5.7 Standard Character String Functions 5 - 157
5.7.1 Extract mid string ....................................................................................................................... 5 - 157
5.7.2 String concatenation.................................................................................................................. 5 - 160
5.7.3 String insertion........................................................................................................................... 5 - 163
5.7.4 String deletion............................................................................................................................ 5 - 166
5.7.5 String replacement .................................................................................................................... 5 - 169
5.8 Functions of Time Data Type 5 - 172
5.8.1 Addition...................................................................................................................................... 5 - 172
5.8.2 Subtraction................................................................................................................................. 5 - 175
5.8.3 Multiplication .............................................................................................................................. 5 - 178
5.8.4 Division ...................................................................................................................................... 5 - 181
5.9 Standard Bistable Function Blocks 5 - 184
5.9.1 Standard bistable function blocks (Set-dominant) ..................................................................... 5 - 184
5.9.2 Standard bistable function blocks (Reset-dominant) ................................................................. 5 - 187
5.10 Standard Edge Detection Function Blocks 5 - 190
5.10.1 Rising edge detector.................................................................................................................. 5 - 190
5.10.2 Falling edge detector ................................................................................................................. 5 - 192
5.11 Standard Counter Function Blocks 5 - 194
5.11.1 Up counter ................................................................................................................................. 5 - 194
5.11.2 Down counter............................................................................................................................. 5 - 197
5.11.3 Up/Down counter ....................................................................................................................... 5 - 200
5.11.4 Counter function blocks ............................................................................................................. 5 - 203
5.12 Standard Timer Function Blocks 5 - 205
5.12.1 Pulse timer................................................................................................................................. 5 - 205
5.12.2 On delay timer ........................................................................................................................... 5 - 208
5.12.3 Off delay timer ........................................................................................................................... 5 - 211
5.12.4 Timer function blocks................................................................................................................. 5 - 214
APPENDIX App - 1 to App - 8
Appendix 1 Correspondence between Generic Data Types and Devices App - 2
Appendix 2 Correspondence between Devices and Addresses App - 6
INDEX Index - 1 to Index - 4