...
Note the PLCcounter variable should be added to the Global Variable List in your program. You can set this as a DINT. With it in the GVL, this will be available to other programs in the application:
Note: A PAC320 hardware controller isn't necessary to run this. See below for details:
...