Shift addresses

Use Shift addresses to move one or more FP user addresses into another address range.

  1. Select one or more rows in a global variable list
  2. Select Shift addresses from the context menu
  3. Make desired settings in the Shift addresses of global variables dialog
  4. Choose Shift

    The button is only available if the destination addresses are within the current user address area.

    All changes are displayed in a dialog box.

Shift selected declarations

Shift declarations in the specified address range

NOTE

If an ARRAY or DUT type variable declaration starts at the end address of the specified source address range, the actual source address range may be greater than the specified source address range. The size of the destination area is automatically adapted and may therefore be different from the size of the source address range.

Example

In this example, the source address range will be shifted from DT0–DT100 to DT200–DT365.

  • Calculation of the new FP address:New FP address = Current FP address + (destination start address – source start address)
  • All changes are displayed in a dialog box.
NOTE
  • Enter only WORD or BOOL type start and end addresses.

  • If you enter a BOOL type address, only addresses of declarations with a Boolean FP address (BOOL and ARRAY[...] OF BOOL data types and some DUT types) are shifted.

Related topics:

Modified on: 2025-07-09Feedback on this pagePanasonic hotline