DT-Europe Posted November 27, 2008 Share Posted November 27, 2008 How can we change coordinate system definition on-the-fly? It seems that commands like: &1#1->0 &2#1->2000X are not permitted from a PLC. We can of course change the scale factor with Motor[n].CoordSF but what about removing a motor from a coordinate system to put it on another coordinate system and how to change his name? It seems that we cannot write into Motor[n].Coord It seems that commands like: &1#1->0 &2#1->2000X are not permitted from a PLC. Thanks. Link to comment Share on other sites More sharing options...
bradp Posted August 11, 2009 Share Posted August 11, 2009 [quote='DT-Europe' pid='89' dateline='1227782900'] How can we change coordinate system definition on-the-fly? It seems that commands like: &1#1->0 &2#1->2000X are not permitted from a PLC. We can of course change the scale factor with Motor[n].CoordSF but what about removing a motor from a coordinate system to put it on another coordinate system and how to change his name? It seems that we cannot write into Motor[n].Coord It seems that commands like: &1#1->0 &2#1->2000X are not permitted from a PLC. Thanks. [/quote] At the moment the way to accomplish this is by using a CPLC. Have your motion program set a variable that tells the CPLC it is time to manipulate the CS then have the motion program pause itself. When the CPLC is done it can restart the program. Here are some example files to do the job. I did not worry about lookahead buffers but the control of these could be added where the CS definitions are made. [attachment=1339:name] [attachment=1338:name] [attachment=1337:name] Link to comment Share on other sites More sharing options...
bradp Posted January 14, 2011 Share Posted January 14, 2011 see thread http://forums.deltatau.com/showthread.php?tid=369 for a continuation of this topic. Release firmware from Jan 2011 has this ability and nightly build firmware since August also has the ability. Link to comment Share on other sites More sharing options...
Recommended Posts