Using DUTs in the global variable list

  1. Open a global variable list under GVLs from the Project pane
  2. Under Class, select VAR_GLOBAL
  3. Under Identifier, enter a symbolic name
  4. Enter FP address or IEC address

    The first element of the DUT determines the address type: for BOOL type elements, assign a 1-bit address (e.g. R10), for other data types assign a 16-bit address (e.g. WR1). If you assign an address, DUTs with non-overlapping elements must consist entirely of BOOL type elements, or entirely of non-BOOL type elements.

  5. Under Type, select to open the Type selection dialog
  6. Under Type class, select Data unit types
  7. Under Type, select the desired DUT
  8. OK
  9. Under Initial, select to open the Set initial values dialog
    This dialog shows how the individual variables have been defined in the DUT. You can only change the initial values for one single variable (not for the DUT).
  10. Change initial value for the desired variable, if necessary
  11. OK
  12. Under Comment, enter a text, if desired
  13. Object > Save
NOTE
A DUT defined in a global variable list which is inserted into the current program is automatically copied into the current POU header.
Related topics:

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