Custom Inputs for Routery

Hey Everyone,

We have an Avid CNC machine and have custom-built a table-flipping mechanic that allows us to use two offsets and carve both sides of a shape without manual intervention.

My current challenge is assigning a specific input so the program doesn’t resume until the table has finished flipping. Currently, we have a “Stop” command inserted into the G-code that waits for a Cycle Start command before resuming. In the wizard inputs, I have CycleStart2 assigned to that specific sensor input.

The issue is that if a user needs to initiate a Feed Hold while the table is flipping, they are unable to do so; the input assigned to the flip-detection sensor “eats” the request because the system sees it as a constant Cycle Start signal.

How would I go about creating a custom input that I can use simply to detect if the circuit is open or closed, without it being tied to a hardcoded machine function?

Hey Micah!

So there may be a better way to do this… Instead of assigning an input as a Cycle Start, you can just not assign in.

You can, in G code "wait’ for an input to open/close. For example

M101/50002 will wait for input 2 to close.

So in your code you could do this:

(Output command to start table flipping over)
M101/50002 will wait for your table flip job to complete
(the rest of your G code)

Your operator can press Feed Hold anytime during this process to pause the machine.

There are also other things you can do here too.. you can isert pauses, and you can even have the job fail out if the table doesn’t flip in X amount of seconds…

If you get in touch with me offline I can help you code some of this stuff in.

I would love to see some pics of this system.

1 Like

Pictures won’t do justice. We need video :slight_smile:

1 Like