Hello Guest it is March 28, 2024, 09:10:28 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.


Topics - skillalot

Pages: 1
1
Brains Development / If macropump fails, stop machine with brains
« on: November 20, 2017, 04:01:42 AM »
Not really sure how to umscribe it, but I'll try.

I am using mach3 for plasma machines. Sometimes the macropump crashes at a customer, and I don't know how they exactly get it to crash or why. I get they cypress enable error.

I want the machine to go in e-stop if the macropump fails.

What I was thinking of was this:
* make a brain that adds 1 to dro 1106 every second.
* make a brain that triggers e-stop if that dro has a value of 2
* add SetUserDRO(1106,0) to the macropump.
Then if the macropump script fails, the timer is not being reset anymore, and after 2 seconds the machine will go in e-stop.


I'm used to work with cypress enable, I changed much in mach3 and customized it completely, but I really don't have any clue how to do the brains part and if this is actually possible in brains.

Anyone who could make an example in brains how to add 1 to a DRO every second?
Or anyone have a better idea of how to make this check if the macropump is still running?

Regs,
Sascha

2
General Mach Discussion / G31 is sometimes moving the wrong axis.
« on: June 19, 2017, 03:10:16 AM »
Hello,

our company have build a few plasma machines under mach3 control, using the Purelogic PLCM E3 controller and their THC, this works pretty good.
We also made our own screenset for it, completely from scratch with all kind of macro's etc.

In the past I had some issues with G31 in a macro moving the wrong axis. Instead of Z-down it was moving X to the right.
I found out that the button that switches between work and machine coordinates was giving this problems, the machine had to be on work coordinates. So I removed the button from the screenset and changed the homing routine to have it always set to work coordinates.
Code: [Select]
If GetOemLED(16) Then
DoOemButton(256)
End If
Since then never had any problems with G31 on any of our machines again.

Now we have a new customer, and the machine sometimes has this problem again.
We have a M900 macro for finding the plate surface, move to ignition height, start the torch, move to pierce height, wait during pierce delay and then move to cutheight.
This is our G31 line. It tells the machine to probe to a maximum depth we want, at a certain speed.

Code: [Select]
Code "G0 G53 Z" &ProbeStart 'Move to startheight of probing, in machine coordinates
ProbingMax = CurrZ - ProbingDepth 'Max probing movement based on current Z-position
SetUserLED(Platesearch, 1) 'Set Platesearch active LED, to override lifter error in macropump
SetUserLED(O_Plasma_Safety_Relay, 1) 'Enable the plasma safety relay
sleep(200) 'Wait for the relay to be enabled
Code "G90 G31 Z" &ProbingMax & "F" & ProbingFeed 'Probe with max movement and probing speed
Sometimes after a few parts, the machine suddenly starts searching for the plate on the X-axis instead of the Z-axis. The machine then goes all the way left to the hardware limitswitch, and gives a Cypress Enable Error in Variable: GetCtxtr... because it can't finish the macro.

Why is it sometimes moving in the wrong direction? In the past it was the button work/machine coordinates, but that is already eliminated. What else can cause these errors?

3
I am working on a new screenset, and wanted to start on the helpfile. I tried some things, and got it working to opening a html file using the HtmlDialog command.
Now I wanted to have it fullscreen, and for some reason it opens only in the background in stead of as the top window?

Anyone who knows how to fix this?

Here is my button script:

Set objExplorer = CreateObject("InternetExplorer.Application")
objExplorer.Navigate (GetMainFolder() + "help\program_run.html")
objExplorer.ToolBar = 0
objExplorer.StatusBar = 0
objExplorer.Width = 1920 ' Sets the width of the display window
objExplorer.Height = 1080 ' Sets the height of the display window
objExplorer.Left = 0 ' Sets the Left corner of the display window
objExplorer.Top = 0 ' Sets the top corner of the display window
objExplorer.Visible = 1
objExplorer.TheaterMode = 1
objExplorer.Resizable = 0

4
I am working on a screenset for our plasma cutter.
I have to small encoders mapped on the pokeys to DRO821 (feedrate override) and to DRO3 (slow jog)
The encoders are working normal, I can change both overrides with it, but...

When mach3 starts the FRO is at 100% the slow jog is also at 100% but when I turn the encoder it goes to 1% first.
And what is also strange, I have small encoders with integrated pushbutton. I use the pushbutton to reset the overrides to 100%.
For the feedrate override this works perfect, for the slow jog is doesn't. When I press the button I sometimes see the value 100 very quick and then jumps back to original value.
If I go to the pokeys plugin and cancel te encoder mapping to Slow Jog dro, then the button works the way I want.

Anyone have any idea?
Is there a other dro I can use for this?

Regards,
Sascha

5
Hi all,

I am working on a new screenset for our plasma machines, and I ran up to something strange.
I don't want the customers to be able to go in the menu options and make bad settings, so I made a button in the screenset that will ask for a password, and then show the system menu.
But, when I hide the menu and show it again, the "Plugin Control" menu is empty?

Is that a know bug, or did I do something wrong? Anyone else have the same problem?
After turning the system menu on again in the global settings, and restarting mach3 the plugin's are there again.
They are still being loaded when they dissapear, it's just that the menu is empty.

Please help.
Regards,
Sascha

6
Machscreen Screen Designer / Load settings from XML file for
« on: February 26, 2014, 02:41:10 PM »
Hi all,

I am working on a plasma screenset, and looking for some way to easilly load settings for each cut.
With a cnc plasma cutter it's important before starting the program that you make all the correct settings
Ignition distance, pierce distance, piercedelay, cut height, torch voltage, cutting speed, kerf offset (G41), etc etc.

Is there some way to make something that let you fill DRO's with information from a XML file or something.
Like some dropdown box or some list where I can select a cutting parameter set, and a button that loads all the corresponding settings.
On professional systems like eckelmann and like burny 10 lcd for example it's standard. And there is even a option to send settings from that list to the plasma (if it has an autogasconsole), like gasses used, gaspressures, amperage, etc.

So I am looking for something where I can make a list like this, and put a name in front of each line, like "8mm Mild Steel 40amps". Only the names will be visible in the menu, and when you click it and click ok, the settings are loaded to the dro's they belong to and nothing has to be typed in manually one by one...
Or maybe I should make files for each cutting setting. So a file for 6mm Mild Steel 40Amps, 8mm, 10mm, etc. And that you can click a button to open a window to open a settings file, and then the settings will be in the dro's.

Any help or idea's would be very much appreciated. Or maybe there are some screensets that have something similar that I can copy and change a bit to my needs?

Best Regards,
Sascha
The Netherlands

7
Machscreen Screen Designer / Lock the toolpath window
« on: February 16, 2014, 10:53:46 AM »
I am working on a screenset for a plasmacutter, usable with touchscreen.
Is there any way to lock the toolpath window, to make it impossible to rotate or zoom it with the mouse?
I have tried to make a transparent image button on top of it that resets the toolpath window, but that didn't help.


EDIT: Second question, I don't seem to be able to put buttons on top of the toolpath window, am I doing something wrong or is this simply not possible?
I want to make an extra screen with a fullscreen toolpath window, and a button on top of it to go back to the screen before.

Regards,
Sascha

Pages: 1