The entirety of the MTTC offering for the Summer evapourated. Their explanation was "circumstances beyond our control."
There don't appear to be any distance learning classes, state-wide, college-wide for the Summer session.
I'm gonna try to cut a deal where if I deliver a working compiler by the start of MTTC 242 in the Fall, if I then pass 242, they give me credit for 208. The system also kicked out my registration for the Fall PLC level I course because they don't have me down as having passed INDT 100 and INDT 113. 113 is Basic Electricity. I have an all but dissertation for an MS in Physics. I've taken more than my fair share of electrodynamics classes and am conversant with Maxwell's Equations, nevermind Ohm's Law. LinuxGizmos:* all about Linux-powered devices is my Christmas wish list. I just want to learn industrial PLCs.
Talk about "First World Problems"…
Yes, indeed. As mentioned in the OP, when just sticking to the 3D Cartesian coordinate system, at any time, you are free to throw out the G90 instruction and the machine will interpret all further (X,Y,Z) coordinates as absolute, relative each and every one to the fixed coordinate system origin that has been configured, just as any geometry buff would understand the coordinates. Then, you can throw out the G91 instruction and the machine will interpret all further (X,Y,Z) coordinates as incremental, relative each and every one to the immediately preceding point's coordinates.Your adviser should be able to override the problem with prerequisites. I registered for Accounting 101 a few summers ago and got rejected because I did not have the math prerequisites. Which is kind of funny since I'd been teaching physics and math there for over 5 years at the time. I sent a copy of my undergrad transcript to the adviser and she fixed it.
I'm too old and crusty for the g-code business, but one aspect has me curious. I've noted in the discussion that when you change coordinate systems, the new coordinates are always relative to the previous rather than absolute with respect to some fixed point of reference. Is there a reason for that? Seems to me it would make sense to be able to choose relative or absolute. Of course, that may be a silly idea since I have no experience here and I don't really know what I'm talking about.
Ci. Muchas gracias, señor.Cathy-
Sounds like you are in it pretty deep. Rhino pointed me towards the thread,
Yeah. Trying to create software tools to support other software tools frequently requires one to do everything down to, and even including, reading the source code for the core system, in order to support it properly in the higher level tool system.but unfortunately you are in a lot deeper than I ever got doing CNC programming back in the early days of my career. We did have a guy that was a wizzard at doing some of the polar stuff when we had to do some complex boring that required not just a nice interpolated radius, but a profile at the same time.
From what I remember is that the Polar stuff still obeys some of the same conventions as to +/- movements in the X-Y-Z planes, but as you've found, establishing your origin is part of the fun. A lot of what we were doing used a probe to establish a new origin, such as off an exisiting machined surface, or in teh center of a bore that we needed to keep a tight relationship with.
All three implementations/interpretations of polar coordinates in a CNC machine make some form of milling/turning easier and makes another form less easy. I'm just trying to figure out which make/model/submodel machines rely on which interpretation(s) and whether or not G90/G91 and/or G17/G18/G19 plane selection would alter any given make/model/submodel machine's interpretation(s).
The 6 year old Haas manual I've found says that with G16, Y becomes the angle and X becomes the radius. I agree that it would make more sense for R and A to replace respectively X and Y outright, but I have to stick to what the documentation tells me. For instance, other than looping and branching statements, I've seen no instructions or options that use multiple letters (RPT6). According to the documentation I have, G70 X2 Y0 I60 L6 will handily achieve the six 60° 4" bolt hole circle without any resorting to polar coordinates.
What is the make/model/submodel/features of the machine you work with? I'd love to add direct support for it into my compiler.
Seems some of our machines support different types of polar programs. In one mode after the G16 each angle is based off the previous movement's angle, using it as 0. Another mode all the angles are based off the X+, and do not use the angle of the previous movement. Some you can do a X,Y from the angle specified, others can only do a movement along the vector of the angle. Did talk with a couple of the engineers at work who have done a bunch of programming, when I mentioned polar all I got was blank looks.