02-07-2019, 12:06 PM
PartOpt1..7 are not in the GateArray3 structure. How do I access these in a C PLC?
Accessing Gate3[x].PartOptn from C
|
02-07-2019, 12:06 PM
PartOpt1..7 are not in the GateArray3 structure. How do I access these in a C PLC?
02-07-2019, 05:22 PM
This is documented under the “Gate3[i]. (PMAC3-Style ASIC) Status Elements” as Gate3[i].PartOptn. In C, this element should be accessed as Gate3PartData[i].Optn.
02-08-2019, 06:32 AM
(02-07-2019, 05:22 PM)steve.milici Wrote: This is documented under the “Gate3[i]. (PMAC3-Style ASIC) Status Elements” as Gate3[i].PartOptn. In C, this element should be accessed as Gate3PartData[i].Optn. Found it in RtGpShm.h as part of the SHM structure accessed by: unsigned mypartopt1; mypartopt1 = pshm->Gate3PartData[0].Opt1; |
« Next Oldest | Next Newest »
|