should be applied in the PLC [...] but cannot be accessed from the PLC [...] from the PLC. Write :
again is two PLC cycles
main program PLC
_VAR PROGRAM PLC_PRG VAR