Adding " ;" to each code line
Posted 13 June 2012 - 05:56 PM
One of our wire cut EDM's requires a " in front of each line and a ;" at the end of each line. Example: "G01 X1.0 Y2.0;" .
What would the best way to do this be? Is this something to be done in the post or is there a better way?
Posted 14 June 2012 - 01:43 AM
My experience with wires I was using n numbers for how the machine picks up its e-pack.
So if you don't want to change the n numbers create a new variable use that format to post a " on every line.
You could see here that my experience with anything other than a 2011BA24 is simply limited.
Posted 14 June 2012 - 07:51 AM
For the start of line, modifying the block number to include the " may be the way to go.
Also consider using Cimco edit to add the " and start and end of each block during the transmit. (if loading by rs232).
Posted 15 June 2012 - 12:14 AM
Some machines require a finish toolpath and it roughs to the finish profile... so I 1)rough canned 2)finish 3)rough canned cycle 4) finish to make sure the variables were Inc. As stated.
I couldn't get it to Inc. The desired Inc. 10s then Inc x 1.
I was able to manipulate the values something like 20 then in the mach. Settings start at like 11 and Inc. By 1. Anyway.....
if g71type = 2 | g71type = 3, pbld, *n$, *string3, *speed, e$
if g71type = 1 | g71type = 0, pbld, *n$, *string3, *speed, "W0.", e$
if omitseq$ = one & rc3 = size3 + one, pbld, *n$, *string3, e$ else, pbld, n$, *string3, e$
I remove the (multiply) *n$ to-----> n$ (in these three strings)
And she goes.....
It must have been some time since I've needed eob ( it might be in the control def. Or it might be easier to go to an older post. Again I wanted to try to control the output because you wanted quotes (") and eob(. As I started to place the n number throughout the post using this format. I got stumped..... because my post uses (") quotes to force the code... i couldnt get it to post (") quotes.... before I knew it my time was up...
Way more work then I originally stated!
Posted 15 June 2012 - 01:13 PM
Posted 18 June 2012 - 11:04 AM
PS If you need more info just ask.
Posted 21 June 2012 - 03:42 PM