2012/8/27 Todd Zuercher <[email protected]>: > How hard would it be to make a custom M or G code that once issued all Z > commands will be exicuted as Z and W commands, until that code is deactivated > by another code that returns normal operation.
It is easy to do with customized kinematics module and M63/M63 commands. Basically You need to add input pin from HAL in trivkins module, control that pin with M62/M63 commands and in kinematics file set, that, if the pin is true, joint[4] = tran.pos->z else joint[4] = pos->w (number 4 for the joint is just for example purposes). Be aware that I strongly recommend do the swapping, when Z and W positions match, otherwise it requires additional tricks to handle the difference and not to cause following errors on the swapped joint. But I do not think that it is a problem to take them to such a position, then swap and move on... Let me know, if You need some help with the kinematics module. -- Viesturs If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
