2009/7/21 Niels Jalling <[email protected]>: > Any hints how to get the rack to be parallel to the y-axis instead of the > x-axis?
It looks like a fault in the parch file. It seems to read the increments into global variables, but doesn't use them. Bear in mind I am not a trained programmer, and have never programmed in C, but I think the problem is here in the patch file: + generate_toolchange_move( + FROM_EXT_LEN(TOOL_CHANGE_POSITION.tran.x) + slot*FROM_EXT_LEN(TOOL_SLOT_DELTA.tran.x), + canonEndPoint.y, canonEndPoint.z, a, b, c, u, v, w); I think it should read contain references to TOOL_SLOT_DELTA.tran.y and TOOL_SLOT_delta.tran.z too. Perhaps this? + generate_toolchange_move( + FROM_EXT_LEN(TOOL_CHANGE_POSITION.tran.x) + slot*FROM_EXT_LEN(TOOL_SLOT_DELTA.tran.x), + FROM_EXT_LEN(TOOL_CHANGE_POSITION.tran.y) + slot*FROM_EXT_LEN(TOOL_SLOT_DELTA.tran.y), + FROM_EXT_LEN(TOOL_CHANGE_POSITION.tran.z) + slot*FROM_EXT_LEN(TOOL_SLOT_DELTA.tran.z), + a, b, c, u, v, w); But I really, really, don't suggest you try this until someone with at least a small clue concurs with me. -- atp ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
