Hello Guest it is March 28, 2024, 04:41:35 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - gpfly28

Pages: 1 2
1
Good day all

I did a retrofit on a commercial Italian cnc router last year as the pc packed up and there are no more support for these machines. My client has two of these, one is still running the factory fitted pc and software. What I have noticed is that when the machine (running under old software) executes a G1 movement it uses exact stop with a slow de-accel, for g02 and g03 it operates under CV mode and when G0 gets executed, the machine has a very high accel and de-accel.

Machine running Mach, when running under CV mode, it seems to be very jerky unless I trim the accel way down but becomes an issue when running in CV mode. (rounded corners etc)

My idea is to have a macro to increase the accel and de-accel by say 50% when a G0 move is executed and uses the pre-set accel for both G1 and G03/G02 moves (motor tuning settings). I can then use CV tolerances to cancel CV mode for angles say larger that 30 degrees. It works very well on the old machine as at the end of each G1 move the machine comes to a gentle stop and then start the next move without any rounded corners when not needed (even at very high feedrates), arc moves are smooth as they flow into each other and falls within CV mode, even with the tolerance set up.

The AC Servo's and drives fitted to these machines are very powerful and can handle very high speeds and accelerations so this won't be an issue.

Can someone please help me with such a Macro or even basic macro which I can modify if need be? I must ad that I only started doing basic VB last year so do apologize upfront if I don't understand all the lingo.

Kind regards

2
I forgot to mention that when the machine changes from right to left and the M code calls a G54, it will also have to scale the x axis back to +1. I haven't tried this yet but I presume that the scaling from +1 to -1 and back has to happen in the same spot, not sure

Cheers

3
Good day

I have an idea how I am going to do this. I am going to ad one button and two LED's to the Mach main screen, one LED will be labled Left and the other right and I will use the button to toggle between the LED's. The company that I did the retrofit for uses Artcam to do all their toolpaths, so in the Artcam post processor I will ad a M code which for every toolpath which will then have the M code in the start of the g code. The M code will have a small macro to look at the state of the LED's. If left LED is active then call G54 with normal workoffset (left), if the right LED is active it will then call a second offest say G58 and then scale the x axis to cut in the opposite direction, now there is a tricky part in the way that I'm going to do this. In the bottom of the toolpath it will have a second M code where when the cycle is completed it will call a DoButton to change the state of the LED after each cycle. Now I'm thinking of adding second button and LED which will lock/unlock the left LED or right LED, this will then give you the option to toggle to left side and lock it there or vice versa, if unlocked you will then have the option to run both sides (each time you press cycle start it switches sides call by the M code.

Hope this helps, it's all still just an idea as I am only finishing the toolchanger this weekend and will then get to this part.

Cheers

4
CS-Lab / IP-a inputs all active after machine powered up
« on: April 29, 2014, 05:07:10 PM »
Hi there. Have any one come accros this problem. When I power up the machine after a few hours being shut down, all the inputs are active; all home and limits, e-stop, etc. The only way I can clear this is to run the firmware setup again and restart Mach. I have reinstalled another version of mach as well as firmware. I did not copy the xml thinking it might be corrupt. All still the same. The inputs are just active in Mach diagnostics not the plugin window. When plugin window is opened, normal inputs active like pressure switch, air ram sensors etc. If you try and clear the inputs by deactivating them in ports and pins without running the firmware all hell brakes loose, all axis' takes off at max rapid and spindle spits the tool out. Only way to clear safely is to run the firmware each power up which is a PITA. Any suggestions? I have tried different installations recommended by cs-lab, no luck

5
Hi Gerry

Thanks for the reply, that's what I thought. Luckely all the g-code on this machine will be done via Artcam, I will put the two M-codes in the Header and footer of the post processor. The good thing about it running via M-code in the cycle rather that macropump is that the outputs that needs to be turned off during the cycle start can then be done right at the start of each cycle, no delay. Correct me if I'm wrong, each zone inputs and outputs can then be switched with each zones button as well. Ex, if starting the right zone, the M-code look at the state of the LED, DoButton *** for right zone G55, scale x -1, which will be handled via the zone button and then DeactivateSignal (Output***) to switch off the pneumatic stops and then the cycle will get going.

Cool, I'm gonna do some playing on the weekend. Will keep you posted and if all works out, I will post the scripts here for other users to give a try.

Thanks again
Gordon

6
Good day all
I have retrofitted a Italian cnc router with Mach and CSMIO-IP/A. All works very well but the actual applications that used to be on the old controller. The machine has a left and right zone for machining. The left run under normal condition and the right zone seemed to be a G55 offset and x axis scaled to -1. Now, I need to create three buttons with three LED's, the first for left zone, the second for right zone and the third for both and when one of the three is enabled it will disable the other active one. How the machine use to work with the old controller, if say both zones were enabled you will be able to load the right zone's vacuum table with the board, clamp with foot pedal and while the left zone was cutting, you could press the cycle start button again which will lower the right zone's pneumatic stops (which you use as reference) and as soon as the left side has finished cutting, the cycle wil start again but now scaled to -1 on x with g55 offset, while machining the right zone, load the left zone, clamp and push cycle start while right zone is cutting and the hole process will repeat itself on the left zone. My first issue is, how can I get the cycle start to start again when the button is pushed during an active cycle busy cutting say on the left zone, finish the cycle, change offset to say G55 and x scaled to -1 because of the VB in the active button and run again but now with all the new data and machine on the right zone. Second, what type of VB can be used to do all this, third will the cycle start button still be controlled with oem trigger 1000 or just VB or both?  ???

This is quite a mouth full but I have to add this to complete the project as this is the main reason why the company bought these machines in the first place. Company that manufactured the routers has gone bankrupt, no more spares or upgrades on these machines.

Just a quick fourth question, do I need to have part of the VB in the macropump to constantly look for change in condition like for instance pushing the cycle start button again while busy with an active cycle or can all this be done with the VB in the buttons?

Kind regards and looking forward for some ideas that I can use
Cheers

7
General Mach Discussion / Gecko G320X vs. Copley 303 drives
« on: February 07, 2014, 04:21:42 PM »
Hi all

I have a small production machine which I want to upgrade to servo, I am choosing to go with dc as even though ac has become more affordable, I would rather spend the extra $$ on my bigger toys and fit them with ac. Any chance any have you have used copley's as well as the G320X's? Being from South Africa there is not much to choose from in this line except import yourself, then again you want to know as much as possible before purchasing a product. I currently have two Copley's in working condition but what bothers me is  that the manual states that the max PWM switching of 22khz. I don't know if this will be fast enough to get max rpm out of the motors with 2500ppr encoders on them. I am using a CSMIO IP-M controller which gives me 125khz = 3000rpm with a 2500ppm encoder but will the drives handle this?

Kind regards

8
General Mach Discussion / Re: How to mirror x and y with only 1 button?
« on: January 20, 2014, 01:06:38 AM »
Thanks for the replies

I might have an idea, I think I will create one button on the screen for an M code, I will then write a macro to recall say G56 as well as mirror x axis. I can then call the button say right pallet so when this button is active it will mirror the x axis and move to the offset given for the table on the right hand side. I will have to test it on the machine itself just to make sure, but now they can run the left side, hit the button and go cycle start and it will then in theory go to the right pallet and run the same cycle (g-code for mirrored x.

Will let you know if this works,

Regards

9
General Mach Discussion / How to mirror x and y with only 1 button?
« on: January 19, 2014, 04:11:48 AM »
Hi guys

I don't know if this is a question for the screen designers. I have recently changed an Italian industrial routers' controller to Mach together with a CSMIO IP-A controller. My main concern here is that the operators on the machine does not know g-code very well so I would like to try to keep the layout for their new screen similar to what the old one looked liked. Everything is straight forward except for one function. They have 2 cutting areas on the machine (far left and far right), by changing one DRO from 0,1 or 2, the machine changes from cutting on the left side only (dro = 0), right side only (dro = 1) or both sides for max production (dro = 2). The product being cut on the far left will be mirrored and then cut from the far right towards the middel of the machine.

I this was my own machine I wouldn't bother with this function as I will just use offsets or program with Cam, but these oaks don't. They will run one g-code for either one panel or two panels which are mirrored.

Is this possible by any chance?

Kind regards

10
General Mach Discussion / Re: Stepper motor live tooling???
« on: June 22, 2013, 04:47:29 PM »
Going to, cheers

Pages: 1 2