SINUMERIK CNC automation systems
Sinumerik 840D _OVR not working right
Thread Starter: IfeCro Started: 6/8/2012 6:48 AM Replies: 5

6/8/2012, 6:48 AM
|
Joined 3/25/2012
Last visit: 2/24/2013
Posts: 7
Rating:
(0)
|
(0)
|
Hi all
I am having problems with _OVR variables after measuring cycles. The thing is that when cycle is active (machine is measuring grove) there are some values in _OVR[2] and _OVR[5] but on very next block they switch to 0 so my R222 is always 0
For R211 i had to use $P_UIFR[1,X,TR] instead _OVR[5]
_MA=1 _KNUM=1 CYCLE977 STOPRE R222=_OVR[2] R211=$P_UIFR[1,X,TR] G75 Z0
Please help someone, Thank you
|
|
|
|

6/11/2012, 8:57 PM
|
Joined 3/25/2012
Last visit: 2/24/2013
Posts: 7
Rating:
(0)
|
(0)
|
I noticed today that i saw data change in LUD thats why _OVR is only active whe the cycle is active. What i need is data in GUD5 and GUD6 not LUD. But when i try to load GUD5 screen it says that GUD5 data does not exist or i dont have permisoin access.
How can i activate GUD5 or make my program call data _OVR5 and _OVR2 from GUD not LUD.
I hope someone understand what i am trying to explain
|
|
|
|

6/12/2012, 7:19 PM
|
Joined 4/10/2006
Last visit: 5/21/2013
Posts: 224
Rating:
(31)
|
(0)
|
All those variables (_OVR, _MA, _KNUM) are Siemens standard GUD variables that should be installed along with the probe cycles. Depending on the version of system software, thsy could be in GUD5 and 6, GUD7_MC, or PGUD.
Look in the Definitions folder in the Services area. If any of these are listed but not loaded, activate them.
If they are not there, you need to get them from wherever you got the measuring cycles. If you have a PCU50 running HMI Advanced, they are stored in the Archive/Cycle-Archives/Meas.-cycles folder in DEFINES.ARC.
HTH, SteveA
|
|
|
|

6/13/2012, 8:09 PM
|
Joined 3/25/2012
Last visit: 2/24/2013
Posts: 7
Rating:
(0)
|
(0)
|
Hi thank you for reply. It seems that i have loaded everything that i need. But here is a twist to the story: GUD 5 i have nothing GUD 6 there are _CVAL _TP AND _WP... here are stored calibration values for my probe wich i use in JOG for measuring GUD 7 _ZSD... BUT: i have "chan-spec user data" under local and program user data (they are empty btw)
And in that "chan-spec user data" 5 i have _MVAR _MA _Setval ... and _OVR
And here all _OVR values are 0 except _OVR[0],OVR[4],OVR[7]. Wen i run program (i am measuring slot) machine measueres it and ZO is set but i need _OVR[2] and _OVR[5] for further ZO calculation for part rotation.
And i can see data i need when cycle is active but in very next block after STOPRE it switches back to 0 so my R222 is always 0 Example: _VMS=0 _EVNUM=0 _TSA=20 _PRNUM=101 _NMSP=1 _SETVAL=75 _MVAR=103 _FA=_SETVAL/2+2 _MA=1 _KNUM=1 CYCLE977 STOPRE R222=_OVR[2] R211=$P_UIFR[1,X,TR] ; i have replaced _OVR[5] with that line but i still need 2
I am sure i am doing something wrong
Thanks again
IfeCro
|
|
|
|

6/14/2012, 7:06 PM
|
Joined 4/10/2006
Last visit: 5/21/2013
Posts: 224
Rating:
(31)
|
(0)
|
It seems like you are looking at user data in the Parameters area.
You need to look at the Definitions folder in the Services area and see if the GUD files are present and loaded.
HTH, SteveA
|
|
|
|

6/18/2012, 11:07 AM
|
Joined 3/25/2012
Last visit: 2/24/2013
Posts: 7
Rating:
(0)
|
(0)
|
Hello i have solved my problem. Thank you SteveA you helped me a lot to find where my cycles and data are stored.
After some time watching changes of data in _OVR i decided to take a look at the Cycle 977 itself and i found out that at it has this line _OVR[2]=0 and i replaced it with this one _OVR[2]=_M_MSPE[6] and now my data stays writen in _OVR[2] where i can use it.
Finaly everything is working right except my calculation for table rotation. I have tried it yesterday for the first time and calculated rotation for C axis seems to be accurate only when the part is clamped at the center of the table which is rearly a case in my setups becouse of part geometry.
So after all this trouble i am stuck again
I have uploaded my program if someone can help
I came so close and now i cant use it
|
|
|
|
Actions