Hello Guest it is April 25, 2024, 06:25:25 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 - skillalot

Pages: 1 2 »
1
Brains Development / Re: If macropump fails, stop machine with brains
« on: November 21, 2017, 05:12:58 AM »
For those who are curious how I did it. Maybe it can be done easier, I don't know, this works for me now though.


if LED1106 is OFF, a timer is started and then LED 1106 is turned ON.
Then when LED 1106 is ON another timer is started to turn LED 1106 OFF.
This will make LED 1106 blink all the time.
Then I used another timer to make sure it counts only once every time LED 1106 is going ON, and adds +1 to DRO 1106.
If there is no E-stop active, and DRO 1106 is bigger then 1, it will generate an E-stop.


In the macropump I added this:

If GetUserDRO(1106)  >= 1 Then
  SetUserDRO(1106,0)
End if

So the brain will add +1 to the DRO every second, but the macropump is setting it to zero again as soon as it sees it is not zero anymore.
When the macropump crashes, the brain will succesfully count on until the DRO reaches more then 1 (which is 2). And at that point the brain will generate an E-stop that can only be resetted after the DRO is back to zero.
So then you'll have to restart mach3.

2
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

3
General Mach Discussion / Re: G31 is sometimes moving the wrong axis.
« on: June 29, 2017, 06:16:28 AM »
Version R3.043.066, the same we use on all our machines, and it's licensed.

4
General Mach Discussion / Re: G31 is sometimes moving the wrong axis.
« on: June 19, 2017, 07:13:49 AM »
I don't think that is the problem, since the Z-axis isn't doing any movement at all. The machine starts immediately moving in X- direction towards the end switch.

5
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?

6
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

7
If you talk about the standard dro's it is the A, not Z.
I meant OEMDRO 3 offcourse.

8
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

9
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

10
Machscreen Screen Designer / Re: Load settings from XML file for
« on: March 19, 2014, 04:07:26 AM »
Nobody?

Pages: 1 2 »