Status during single line execution
14 Mar 2021 16:34 #202226
by mwinterm
Status during single line execution was created 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. Unfortunatelyare 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
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
Best regards,
Marc
Please Log in or Create an account to join the conversation.
15 Mar 2021 15:17 #202357
by andypugh
Replied by andypugh on topic Status during single line execution
Just a guess, but look at motion.program-line.
That is zero when waiting for a tool change.
That is zero when waiting for a tool change.
Please Log in or Create an account to join the conversation.
15 Mar 2021 15:36 #202362
by MaHa
Replied by MaHa on topic Status during single line execution
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