ibisjoe Posted February 12, 2013 Share Posted February 12, 2013 this was previously posted on the Bugzilla site: Joe 2013-01-21 13:20:56 PST When attempting to add a Q-Variable reference to a Detailed Plot by selecting, for instance, CSGlobal.qBusy (which IS defined) for C.S. #n, it will add the requested reference but always returns a value of 0(zero) when it is gathered/plotted. Link to comment Share on other sites More sharing options...
sjlee5 Posted February 13, 2013 Share Posted February 13, 2013 Hi, I got a same problem in gathering Coord[1].Q[0]. It should be a bug in Plot program. When I added Coord[n].xxx, then Plot program set Coord[0].xxx . It's the problem. I checked Gather.Addr[x] and found out the address is changed after I pushed "Gather Data" button in Plot program. But, temporarily you can fix this problem with script plc etc. (Don't start gathering with "Gather Data" button in Plot) After you added items to gather, then check Gather.Addr[x]. If you push "Gather Data" and check Gather.Addr[x]. The address is changed like this [Data to Sample] Coord[1].Q[0] [ in Terminal ] Gather.Addr[x] Gather.Addr[x]=3190152032 "3190152032" is the address of Coord[0].Q[0] you can check in Terminal. [ in Terminal ] Coord[0].Q[0].a Coord[0].Q[0].a=$be25db60 ; (3190152032 in decimal) Plot program always uses Coord[0] as index. It should be a bug. My temporary solution is this. 1. Add Gather Items in Plot - Coord[1].Q[0] 2. In your plc, write like this. ( or command sequentially in you termianl ) ... Gather.Addr[x] = Coord[1].Q[0].a Gather.Enable = 2 3. After Gather is done. ... Gather.Enable = 0 4. Then, "Upload Data" in Plot, and plot data. It's just temporary solution. It should be fixed in next update. I hope you will succeed. Link to comment Share on other sites More sharing options...
Richard Naddaf Posted February 14, 2013 Share Posted February 14, 2013 Bug confirmed and reported to software team. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts