Hello
I am using g and m code to cycle my tig welder high frequency start on and off and rotate the part 390 degrees. The high freq start is N/O and is connected to output 2. To begin the welding process I need to cycle output 2 on and off to start welding. This is my code
g20
g80
g90
g98
1) m94/62
2) g4 p1.4
3)m95/62
4)g1 w360 f650m 94/62
5)m95/62 w390 f650
6)g4 p6
7)g0 w540 f650
end program
Is there a way to take lines 4 and 5 and combined them to cycle output 2 on and off at 360 degrees with out stopping the motion to 390 degrees. The purpose of cycling output 2 at 360 is to initiate the ramp down amperage for 3 sec witch the tig welder does on its own.
Thanks
G and M code help
Moderator: cnckeith
-
- Posts: 22
- Joined: Thu Feb 15, 2018 12:19 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: No
- CPU10 or CPU7: No
G and M code help
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
Re: G and M code help
Yes, but not without some custom PLC programming.Is there a way to take lines 4 and 5 and combined them to cycle output 2 on and off at 360 degrees with out stopping the motion to 390 degrees.
See M300 in the operator's manual, and SV_FSIO in the PLC programming manual.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 22
- Joined: Thu Feb 15, 2018 12:19 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: No
- CPU10 or CPU7: No
Re: G and M code help
Thanks
(Note: Liking will "up vote" a post in the search results helping others find good information faster)