Hi All, I am still working on engaging my C-Axis on my lathe. Everything is basically working except one small issue. Because the way my design is - the best way to engage the C-Axis is if it is turning slowly. This will ensure that the everything meshes together. This is where I am having problems.
My first idea was to just make a simulated encoder and when a M154 was enacted to jog the C-axis using the simulated encoder as a jog wheel. However, this is not working because it will not allow me to jog an axis while in MDI or run mode (which makes sense...) Then I though that I can just zero the axis which actually works better. I command a M154 - the air solenoid opens and the C-Axis slowly moves into position. Through Classic ladder I change the state of the halui.joint.5.home bit, (which initiates a zero routing). While the C-Axis moves into position the C-Axis motor is turning slowly looking for zero. I use the index pulse on the spindle motor encoder as my zero pulse on the C-Axis. As the C-Axis engages - it starts turning the spindle and then finds the pulse and zeros. This really is ideal because now every time my C-Axis engages it is in the exact same position allowing me to avoid keeping track of the spindle... However, I get the following errors: In run mode Can't do that while in (EMC_AXIS_HOME) in auto mode with the interpretor idle. Then in MDI mode Can't do that (EMC_AXIS_HOME) in MDI mode. Any ideas of a work around or better idea? Thanks -- Brian May 506.2293.6375 (Office) ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
