You are not logged in.
Pages: 1
Hi guys,
Suppose i have a code in my NCprogram like below.
"ABC+90"
What i want to do is substitute the "ABC+" with "ABC+360-" to make it "ABC+270"
The main thing is to simulate my machine correctly in Vericut i want Vericut to subtract the Value after ABC+ from 360.
Is it possible?
Thanks!
Offline
Rather than substitution you can use the override value field of the corresponding Word/Value and put "360 - $", where $ is any incoming value
Mustapha
Offline
Thanks Mustapha.
Actually the code is:
PLANE SPATIAL SPA+90 SPB+0 SPC+270 STAY
This works fine in the machine but Vericut goes to the wrong place.
When i write the above line like:
PLANE SPATIAL SPA+0 SPB+90 SPC+90 STAY
Then the simulation is true.
So i made Substitution for "SPA+" to "SPB+" and "SPB+0" " " to ignore the second one. If only i can do a 360-$ to SPC+value then everything will be fine.
I tried to change the value of SPC in Word/Address in Override Value but made no changes in the variable number 122 which corresponds for SPC.
Offline
VERICUT is configured to work as you expect BUT with the "RELATIVE" function NOT the "SPATIAL" function, such as:
PLANE RELATIVE SPA+90 SPB+0 SPC+270 STAY
Mustapha
Offline
But i changed SPATIAL to RELATIVE in the NC Program but it does not change anything.
Offline
Make sure you are using the latest control from CGTech library folder (V703). The configuration should look like :
Mustapha
Offline
I do not see any images.
But you can see my controller
Offline
Sorry for the misinterpreting of the results I get... It will be different if a previous rotation plane was in effect, it was the case with my test...
Anyway make sure the WorkingPlane2AbcType is using the correct value for your kinematic. Normally this macro should not be called as the software is looking for the good value, but it can be worth to call it in start event and select the correct value:
WorkingPlane2AbcType
Function — ROTATION PLANE
Status — ACTIVE
Valid Inputs — Value
1 = Generic A-C. A Nutator may exist on the table.
2 = Generic B-C. A Nutator may exist on either head or table
3 = Special A-C table on table machine with a horizontal head. A nutator on the table is NOT supported.
4 = Generic B-A.
5 = Special double angle BC nutator support for DMG DMU 50 eVo Linear machines. Supports any angles on the nutator.
99 = Universal (Default)
Mustapha
Offline
Pages: 1