- Posts: 143
- Thank you received: 39
G71
- nkp
- Offline
- Premium Member
-
Less
More
8 years 3 months ago #114134
by nkp
Replied by nkp on topic G71
maybe i can help you
nkp216@gmaildotcom
nkp216@gmaildotcom
Please Log in or Create an account to join the conversation.
- smplc
- Offline
- Elite Member
-
Less
More
- Posts: 224
- Thank you received: 1
7 years 6 months ago #130912
by smplc
Replied by smplc on topic G71
I’m experienced and enabled parametric programming Fanuc Macro B. Used LinuxCNC Axis interface and enabled its parametric programming. Experienced writing and executable C programming. Goal to write and execute own longitude and non-monotonic rough cycle (G71(type 2)). It’s known to me that rough turning an angle with parametric programming syntax while loop requires trigonometry and has been executable. Programming that geometry is fixed and if other size angle (degrees) it requires another syntax while loop with trigonometry calculations. Avoiding that is use of a G71 universal, longitudinal and rough profiling. I’m in process of writing own source code, C programming language and might be a plug-in or register with Mach4 if not using Lua program language and modules. Therefore, instance if an outer diameter longitudinal tool (VNMG (30 deg)) path, a 45 degree thread relief (trough) to shoulder and face retract is finish profile and coordinates. Does G71 function and rough cycle source code read ahead of the finish profile coordinates that a trough, conditional evaluation, if true and refer to a trigonometric function? Of course not traveling straight past and missing longitudinal rough cutting angular geometry (trough). I could probably experiment with Lua and might have to but I’m more fluent with C programming now. I’d probably eventually program some source code registers or modules with LinuxCNC Axis too.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19899
- Thank you received: 4655
7 years 6 months ago #130914
by andypugh
Replied by andypugh on topic G71
C source exists for Type I G71, and an algorithm exists for Type II in Python.
All that is missing is putting the two together.
All that is missing is putting the two together.
Please Log in or Create an account to join the conversation.
- smplc
- Offline
- Elite Member
-
Less
More
- Posts: 224
- Thank you received: 1
7 years 6 months ago #130922
by smplc
Replied by smplc on topic G71
Type 1 G71 is similar execution as parametric programming a loop. Both monotonic. I could probably readily write a G71 type 1. It'd be understood if a G71 has conditional evaluation type 1 or 2 execution or one type does both. I'll reference your program and algorithm as much is detectable. I'm just trying to get idea about implementing some blocks, if enable or not as a program reads its executable or function of a non-monotonic tool path. My program probably could have some similarity how systematic language's are, variably different too an independent and applied practice.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19899
- Thank you received: 4655
7 years 6 months ago #130925
by andypugh
Replied by andypugh on topic G71
It should be code added in that same place as the existing experimental branch. And needs to hook in to the existing tool radius compensation code.
Please Log in or Create an account to join the conversation.
- Grotius
- Offline
- Platinum Member
-
Less
More
- Posts: 2419
- Thank you received: 2349
7 years 6 months ago - 7 years 6 months ago #130926
by Grotius
Replied by Grotius on topic G71
@Sm,
What do you mean by this :
if enable or not as a program reads its executable or function of a non-monotonic tool path
Type 1 is c code, type 2 is python code, following the information here.
My program probably could have some similarity how systematic language's are,
Yes.
variably different too an independent and applied practice
Maybe code in qt. In this you can do C++, C, Python, Java, etc.
Condoliance Nottredame Paris
What do you mean by this :
if enable or not as a program reads its executable or function of a non-monotonic tool path
Type 1 is c code, type 2 is python code, following the information here.
My program probably could have some similarity how systematic language's are,
Yes.
variably different too an independent and applied practice
Maybe code in qt. In this you can do C++, C, Python, Java, etc.
Condoliance Nottredame Paris
Last edit: 7 years 6 months ago by Grotius.
Please Log in or Create an account to join the conversation.
Time to create page: 0.282 seconds