01-24-2019, 11:52 AM
We have some established programs running background C-PLCs that reference global P variables in the C code. We reference them using the notation "pshm->P[2]".
These C-plc's have been running fine on other Power Pmacs for a couple of years.
We recently upgraded to FW 2.4.0.180 on one of our 465 UMAC processors. The C code appears to build and download, but none of the expressions that contain global P variables seem to evaluate. No code changes in the project, the only change is new FW in the PMAC.
We've verified that the PLCs are running by adding debug code that modifies a few variables in user shared memory, we then use the watch window and make sure the user shared memory locations update as expected when the C-plcs are running.
Any ideas as to why just the global P-variable expressions will not evaluate? We've tried cleaning the project before build and download, reboot then build, etc.
We're using IDE 3.1.2.2.
Thanks,
kmonroe
These C-plc's have been running fine on other Power Pmacs for a couple of years.
We recently upgraded to FW 2.4.0.180 on one of our 465 UMAC processors. The C code appears to build and download, but none of the expressions that contain global P variables seem to evaluate. No code changes in the project, the only change is new FW in the PMAC.
We've verified that the PLCs are running by adding debug code that modifies a few variables in user shared memory, we then use the watch window and make sure the user shared memory locations update as expected when the C-plcs are running.
Any ideas as to why just the global P-variable expressions will not evaluate? We've tried cleaning the project before build and download, reboot then build, etc.
We're using IDE 3.1.2.2.
Thanks,
kmonroe