Kinematics switch

More
11 Sep 2019 06:17 #144785 by pl7i92
Replied by pl7i92 on topic Kinematics switch
Question
isent ther a WORLD agreement between mashine controll builders to switch TCP and Trivial on M128 M129
as okuma heidenhain maho deckel uses this

Please Log in or Create an account to join the conversation.

More
12 Sep 2019 09:28 #144949 by m.bofi
Replied by m.bofi on topic Kinematics switch
andypugh: It is possible and as a matter of fact that will be my course of action. To notify the user to jog inbetween the programs

pl7i92: i have heard that too and that was my original idea but i couldnt implement it

Please Log in or Create an account to join the conversation.

More
17 Sep 2019 15:45 #145398 by andypugh
Replied by andypugh on topic Kinematics switch

pl7i92 wrote: Question
isent ther a WORLD agreement between mashine controll builders to switch TCP and Trivial on M128 M129


One reference I found says : M121-M128 Pulsate (on/off) fast output byte bit 1 (to 8).
Another describing Hurco says "Tool Center Point Management (M128) and
Tool Center Point Management Cancel (M129)"
RepRap says M128: Extruder Pressure PWM / M129: Extruder Pressure Off

So we might be in this area

LinuxCNC makes it relatively easy to remap M128 / M129 to alter the value of a HAL pin that could be used to switch the kinematics calculations (via pin created by the kins). Though that isn't quite the same as having a code that actively switches kinematics calculations on and off.

I think that all G-codes are broken down into the canonical commands here:
github.com/LinuxCNC/linuxcnc/blob/master...mc/nml_intf/canon.hh
And maybe searching the code for these constants:
github.com/LinuxCNC/linuxcnc/blob/master...ml_intf/canon.hh#L86
Would help to figure out if adding M128 / M129 would be easy or hard.
(You can call canonical commands in remap routines)

I have no real feel for whether this is an easy or hard thing to achieve.

Please Log in or Create an account to join the conversation.

Time to create page: 0.082 seconds
Powered by Kunena Forum