Status during single line execution

More
14 Mar 2021 16:34 #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
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 or Create an account to join the conversation.

More
15 Mar 2021 15:17 #202357 by andypugh
Just a guess, but look at motion.program-line.
That is zero when waiting for a tool change.

Please Log in or Create an account to join the conversation.

More
15 Mar 2021 15:36 #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.
The following user(s) said Thank You: nkp

Please Log in or Create an account to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum