Contents
vi PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual GFK-2950C
5.9.5 Multiply ...................................................................................................................................................................... 262
5.9.6 Negate ........................................................................................................................................................................ 263
5.9.7 Subtract ..................................................................................................................................................................... 264
5.10 Program Flow Functions ...................................................................................................... 265
5.11 Timers ....................................................................................................................................... 266
5.11.1 Built-in Timer Function Blocks .......................................................................................................................... 266
5.11.2 Standard Timer Function Blocks ...................................................................................................................... 267
5.12 Type Conversion Functions ................................................................................................. 268
5.12.1 Convert WORD to INT .......................................................................................................................................... 270
5.12.2 Convert WORD to UINT ....................................................................................................................................... 271
5.12.3 Convert DWORD to DINT .................................................................................................................................... 272
5.12.4 Convert INT or UINT to WORD .......................................................................................................................... 273
5.12.5 Convert DINT to DWORD .................................................................................................................................... 274
Chapter 6 Service Request Function ...................................................................................................... 275
6.1 Operation of SVC_REQ Function ........................................................................................ 276
6.1.1 Ladder Diagram ...................................................................................................................................................... 276
6.1.2 Function Block Diagram ...................................................................................................................................... 277
6.2 SVC_REQ 1: Change/Read Constant Sweep Timer ........................................................ 278
6.2.1 To disable Constant Sweep mode: ................................................................................................................. 278
6.2.2 To enable Constant Sweep mode and use the old timer value: .......................................................... 278
6.2.3 To enable Constant Sweep mode and use a new timer value: ............................................................ 278
6.2.4 To change the timer value without changing the selection for sweep mode state: ................... 278
6.2.5 To read the current timer state and value without changing either: ................................................ 279
6.3 SVC_REQ 2: Read Window Modes and Time Values ...................................................... 280
6.4 SVC_REQ 3: Change Controller Communications Window Mode.............................. 281
6.4.1 To disable the controller communications window: ............................................................................... 281
6.4.2 To re-enable or change the controller communications window mode: ........................................ 281
6.5 SVC_REQ 4: Change Backplane Communications Window Mode and Timer Value
282
6.5.1 To disable the Backplane Communications window: .............................................................................. 282
6.5.2 To enable the Backplane Communications window mode:.................................................................. 282
6.6 SVC_REQ 5: Change Background Task Window Mode and Timer Value .................. 283
6.6.1 To disable the Background Task window: .................................................................................................... 283
6.6.2 To enable the Background Task window mode: ........................................................................................ 283
6.7 SVC_REQ 6: Change/Read Number of Words to Checksum ........................................ 284
6.7.1 To read the word count: ...................................................................................................................................... 284
6.7.2 To set a new word count: .................................................................................................................................... 284