1
Support Questions / Re: Control Logix ReadRaw with Rockwell Plant Pax AOIs
« on: April 03, 2019, 06:18:32 PM »
Thanks for the insight.
I changed all of the local tags that had external access none to read only and that made some of the AOI tag reads work.
P_Ain, P_Alarm. P_Intlk, P_Runtime, and P_Gate (which worked originally) all can be read with either ReadRaw or Read.
P_AOut, P_CmdSrc, P_DIn, P_Dout, and P_ValveMO still return privilege violation.
If I try to read every member in an instance of P_Aout by reading one member at a time all reads return success except CmdSrc (which isn't surprising since the CmdSrc type itself does not work)
If I try to read every member in an instance of P_Din by reading one member at a time I can read all of the members.
I've attached my test program with the modified instances of the AOIs.
I am not sure it is worth spending any more time troubleshooting since anything that is reading tags from the PLC has to know the structure of the types it is reading, and therefore should know if there are members that can't be read, and it can simply read or write the members one at a time anyway (performance won't be an issue for me).
I'll let you know if I am able to narrow it down further.
I changed all of the local tags that had external access none to read only and that made some of the AOI tag reads work.
P_Ain, P_Alarm. P_Intlk, P_Runtime, and P_Gate (which worked originally) all can be read with either ReadRaw or Read.
P_AOut, P_CmdSrc, P_DIn, P_Dout, and P_ValveMO still return privilege violation.
If I try to read every member in an instance of P_Aout by reading one member at a time all reads return success except CmdSrc (which isn't surprising since the CmdSrc type itself does not work)
If I try to read every member in an instance of P_Din by reading one member at a time I can read all of the members.
I've attached my test program with the modified instances of the AOIs.
I am not sure it is worth spending any more time troubleshooting since anything that is reading tags from the PLC has to know the structure of the types it is reading, and therefore should know if there are members that can't be read, and it can simply read or write the members one at a time anyway (performance won't be an issue for me).
I'll let you know if I am able to narrow it down further.