Status during single line execution

More
5 years 7 months ago #202226 by mwinterm
Hello,

I would like to detect during single line execution if the machine is currently still moving or if the move is completed and the machine is waiting for the next line to be executed. Unfortunately
Code:
70 bit IN TRUE program_run.is_paused 70 bit IN FALSE program_run.is_running
are not reflecting what is going on (program_run.is_paused is always true and program_run.is_running is always false in step mode no matter if the machine is currently moving or not).

Best regards,

Marc

Please Log in to join the conversation.

More
5 years 7 months ago #202357 by andypugh
Just a guess, but look at motion.program-line.
That is zero when waiting for a tool change.

Please Log in to join the conversation.

More
5 years 7 months ago #202362 by MaHa
When i made the timer for tool life, i solved that by using 'motion.current-vel' to detect if the machine is moving. The returned value converted from float to bit with wcomp, for further processing.

Please Log in to join the conversation.

Time to create page: 0.072 seconds
Powered by Kunena Forum