Jump to content
OMRON Forums

I hope to obtain the positions of all target points after the program parsing but before the PMC program runs, so that I can plot the motion trajectory in advance.


jswf1212

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

The full “PMAC” motion trajectory is not available before PMAC executes each move. PMAC’s “execution time” target position data for each programmed move is not ready until PMAC parses the move at “calculation time”. The target position is then stored in the “Coord[x].TPData[i]. Target Position Buffer Status Elements” for access. See the “Coord[x]. Coordinate System Status Data Structure Elements” in the “Power PMAC Software Reference Manual” starting on page 834. Specifically see the “Coord[x].TPData[i]. Target Position Buffer Status Elements” starting on page 886. The “Coord[x].TPData[i].” substructure contains elements holding the target position data for programmed moves in the coordinate system between move calculation time and move execution time.

If you need your full “motion trajectory” before this, you could just use your programmed points from your motion program file to provide this. Alternately you could run your motion program on virtual motors in a different CS and store the resulting Target Position Buffer Status Elements data in an array.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...