Jump to content
OMRON Forums

What's the best way to gather data as a function of position instead of time?


teaguehall
 Share

Recommended Posts

Hi there,

 

Is there a way to trigger data collection as a function of position instead of time? The gather buffer utility is a convenient way to collect data but is always triggered relative to the servo clock. Is it possible to configure the gather buffer to collect data as a function of position instead of time?

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

There is no automatic function for this, but it is not too difficult to accomplish using a simple algorithm -- probably a few lines in a PLC program.

 

First, set Gather.Period to 0 for "one-shot" data gathering. (Actually, it will gather a sample every 65,536 servo cycles.)

 

When you want to gather a sample based on whatever criterion you choose, set Gather.Enable to 2.

 

When you see the status element Gather.Samples increment, set Gather.Enable to 1 to reset the timing logic. Note that setting it to 1 instead of 0 allows the next sample to be added to the end of the buffer.

 

Repeat the above two steps as long as you choose.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share


×
×
  • Create New...