Jump to content
OMRON Forums

Change coordinate system definition on-the-fly


DT-Europe

Recommended Posts

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

  • 8 months later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

[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

  • 1 year later...
Guest
This topic is now closed to further replies.

×
×
  • Create New...