Jump to content
OMRON Forums

Fill motion buffer from plc/cplc program


gmschoon
 Share

Recommended Posts

Hi,

 

We have a scenario where we need to have either a plc or cplc program open, fill and close motion buffers with all move details, before executing the move.

 

We cannot use motion programs directly, as the moves are not known in advance, but will be sent via the rtiplc routine. Further, the plc programs cannot be used to define motion directly, as we require blended moves, but only "rapid" is possible from plc programs.

 

Is it possible to achieve this through a plc program, other than using "cmd" & "sendallcmds" to fill the buffers?

 

Similarly, for cplc are there options to fill an axis motion buffer other than using "Command"?

 

Thanks

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi,

 

We have a scenario where we need to have either a plc or cplc program open, fill and close motion buffers with all move details, before executing the move.

 

We cannot use motion programs directly, as the moves are not known in advance, but will be sent via the rtiplc routine. Further, the plc programs cannot be used to define motion directly, as we require blended moves, but only "rapid" is possible from plc programs.

 

Is it possible to achieve this through a plc program, other than using "cmd" & "sendallcmds" to fill the buffers?

 

Similarly, for cplc are there options to fill an axis motion buffer other than using "Command"?

 

Thanks

 

You can use Rotary Motion Programs.

Link to comment
Share on other sites

 

You can use Rotary Motion Programs.

 

Indeed, we could use rotary buffers, however filling and closing a set of "fixed" motion buffers is not really the issue.

 

Filling fixed motion buffers in a motion program ".pmc" is clear, however we want to fill motion buffers (rotary/fixed) from a .plc program or cplc routine, and then execute the motion program. Based on the documentation, it does not appear that there is any other way than using "cmd" from a .plc program or by issuing "command()" from a .c routine.

 

Thanks

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share


×
×
  • Create New...