Trevor,
Thanks for helping me setup this retro fitted CNC Plasma table and I hope you had an enjoyable Christmas. I posted the Profile and some additional reference info.
Please feel free to question anything here because this is the first time I have retrofitted a CNC table. I do appreciate what ever help you are able to provide. This is a new project. The hardware was mounted, software installed, and we have successfully run some sample Gcode files with Mach4 and have movement!
Setup that we need help with:
1. Floating Head torch mount with switches for Collision Detection/ Probing. The floating head has 3 proximity switches mounted to it. We intend to use them (wired in series) to detect a collision during machine movement to protect the torch from damage. However, it is also to be used for setting the Z material height during a Probe move.
a. When Collision Detection switch is tripped (Mach4 [P11] Input 9). I’d like the reaction to be:
i. Stop X, Y, Z motor movement
ii. Turn off Plasma cutter’s torch (Mach4 [P14] Output 3).
iii. Allow user to use the Axis Limit Override button located on (Program Run Tab ->Jogging Tab-> Axis Limit Override Toggle Button) This will allow torch to be jogged off the obstruction.
iv. Press Cycle Start to continue operations.
v. Please note: This same input (P11 Input 9) would be used as a Probe input during a Probe action.
1. During Probe action disable Collision reaction response.
2. When Ac Servo Drive faults, an Alarm signal is provided. Currently, Mach4 does nothing during this event. I’d like Mach4 to perform a STOP action and inform user with a message in the Message Bar(at bottom of Mach4 Screen). The AC SERVO Drive Alarm Circuits are connected to HiCON control board at:
a. X Drive Alarm connects to (Mach4 P11 input 0)
i. Update Message Bar with: “Error X AC Servo Drive Alarm”
b. Y Drive Alarm connects to (Mach4 P11 input 6)
i. Update Message Bar with: “Error Y AC Servo Drive Alarm”
c. Z Drive Alarm connects to (Mach4 P11 input 7)
i. Update Message Bar with: “Error Z AC Servo Drive Alarm”
3. GO TO WORK ZERO error: When I Press “Go to Work Zero” button in MACH4 I get the following message - "AXIS 3 COMMANDED WHILE DISABLED" Our table only has 3 Axis and code is attempting set the 4th axis that does not exist. Can you please update the script under the Go to Work Zero button and remove the AXIS 3?
4. Setup Mach4 with two small Toggle Buttons, located on the (wxArcProPlasma-4.set->Program Run->Jogging->tabFileOps) to operate two Hicon controller relays. (See attached screen image)
a. Toggle Button 1 (label: “Table Light”) Turns on/off Light using (Mach 4 P14 input 4)
b. Toggle Button 2 (label: “Laser Cross”) Turns on red cross hair laser using Mach4 P14 input 7)
5. Add a Set Laser X, Y Zero Button, for use during “Find work piece zero location and set fixture offset”. This was inspired by
(https://youtu.be/8m_K9WfCiEY?t=67). After user aligns laser to corner of work piece, user presses Button, the code moves torch to where the user initially placed the red cross hair laser and it then zeros the X and Y axis.
a. Add a custom Button to the wxArcProPlasma-4.set->Program Run tab-> Current Positions tab. (labeled: “Set Laser X, Y Zero”)
i. When the user presses the Button:
1. X and Y axis moves so that torch tip is aligned where laser cross hair used to be.
2. Zero the DRO’s X and Y Axis.
If you could just have the code set X axis by 2.5 and Y axis by .06 and I’ll edit these values once we determine the red cross hair laser location offset from the torch tip.
Wow this is long...and I am asking for too much!
I sincerely thank you for what help your able to provide