Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Motion Program Line Number
#1
Hi All,

I hope you are fine.
I need active line in running motion program.
Does any variable give me active line ? Or how I can get active line ?

Best Regard,
Kaan
Kaan ALKILINÇ
Field Application Engineer
Omron Industrial Automation
Reply
#2
You need to put a "synchronizing line label at the beginning of the program line (Nxxx -- without a colon)

So if your line is:

N1500 X10 Y20

Coord[x].Ncalc will be set to 1500 when PMAC calculates that line in the program.

Coord[x].Nsync will be set to 1500 when the move to (X10 Y20) actually starts executing. In the case of a blended move sequence, this could be a substantial amount of time after the move was calculated.
Reply
#3
Dear Curt,

Thank you for your reply.
Have a nice day.
Kaan ALKILINÇ
Field Application Engineer
Omron Industrial Automation
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)