Hello Guest it is March 29, 2024, 05:15:14 AM

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 - corydoras

Pages: 1 2 3 4 »
1
Machscreen Screen Designer / Chainsaw mill project with mach 3
« on: November 29, 2023, 04:10:19 PM »
I have made some custom screensets before on a chop saw and my fully automated tablesaw.
These projects has been pretty much just screeset layout, but i also got some great help from TPS du make me some wizards for fingejoint and dado actions.

However now I am up for another challenge.
I want to automate my electric chainsawmill that has a vfd on the chainsaw and a vfd on the feedmotor. , so I am going to build a pretty simple Screenset with primarily start saw forward (starting the chainsaw and feed , if I get the brains coding to work)
Is also should display the motorload in a DRO
I have the layout and functions pretty much laid out in my mind, but I have a question on cutom (OEM) button using machscreen screen designer by klaus.

I am looking for at least 2 momentary buttons, and I am having trouble finding some usable in the list. (The run button works as a momentary button and can be used)

BUT am I missing something here?  Is it possible to define custom buttons in screendesigner that can be picked up as inputs in Brains?

Best regards
Roy

Best regards
Roy

2
Brains Development / Brains on Custom saw project
« on: November 29, 2023, 03:59:15 PM »
Hi
I am making a custom screenset for a chainsaw mill.
After days and days testing and figuring with brains,.....my brain i about to pop:)
This is not at all similar to my dayjob automation coding in PLC´s.
However, it should be posssible I think....if one knows the strengths and weaknesses of brains development

I will try to explain my needs, and maybe someone would like to have some fun out of trying to explain or figure out how o code this

First I will explain how the cycle of the process should work I have an electric chainsawmill with an atv 28 vfd on modbus, and a atv31 to run the saw back and forth.

I have set up dros to sert lsp and hsp in the screenset for the different drives.
What I need the brain to do is as follows.

1: press a custom button on the screenset to start chainsaw vfd#1 over modbus, then a 3 second timer delay on before the start feed saw ,also over modbus to vfd#2
(The atv 31 and 28 used need to send a modbus value of 6 to set vfd ready for system start, then a value of 15 for fwd movement)
It should send a speed value for forward movement as well via modbus

2: when saw is moving towards the end, I have a limitswitch read over modbus that should stop the chansaw and feed. This is done by either cancelling the value 15 or sending value 4111 to the same word

3: Then there is a second button that is for reversing and it should only start vfd#2 in reverse by sending value 2063
Simultaneously I need to set the LSP setting over modbus to a new value for reverse running (to speed up the return)

4 when the saw reaches the limitswitch at home it should stop movement by sending the value 4111 over modbus

Then the cycle is complete

The limit switches are read via modbus as well (actually inputs on one of the vds)

I know this is pushing it, but it would be really cool to see if it was possible to automate without addinga plc, or a microcontroller with for instance open plc on it.

Maybe I explained this kinda ackward, but english is not my native language.

So if anyone would like to see if this is possible, please advice:)

Best reg
Roy

3
Mach Screens / Softlimits on RnR card---, min-max input value
« on: February 13, 2021, 03:06:40 PM »
I use a USB motion controller for Mach 3. These do not support use of softlimits unfortunately.
I input all my positions manually on the DRO on a custom screenset.
BUT I would like to know if anyone has any experience on solving the issue with the missing softlimits?
Is there a way of setting a max-min value for each DRO input value, and have a pop-up msg if a value is entered outside this range, by use of a basic script?


Best regards
Roy

4
Brains Development / Comparing DRO´s in a Brain
« on: January 14, 2020, 05:55:52 AM »
In a custom screenset I am using a compare function of an OEM DRO and an axis DRO to set a OEM LED to green if the axis has moved to the correct position (same as the OEM DRo). This is working in most cases, BUT; Sometimes the positioning is just a little off maybe 1/1000 mm. This does not matter , but as this is not an excact equal value in the compare, the led does not turn green. I have good resolution in the motor tuning with approg 600 steps/mm (no deciaml after comma) , so I am not sure why it sometimes calculates off.

My question is; Are there any way of writing a formula in a brain that says something like this;  (A = B +/-0.250) ( I know this is not mathematically correct, but hopefully gets the explanation up front)

In PLC programming it is possible to write a compare block like this: Variable1 < Variable2 + 0.025  AND Variable1 > Variable2 - 0.025 -----> Output

Or, could Mach3 be set up to use lesser digits? ( I think I have read somwhere that there are actually lots more digits in the code of the program, but not more than 4 after comma is shown in the DRO.

Any good suggestion on how to solve this issue is greately appreciated

Best regards
Roy

5
Hi
I am quite familiar with designing screensets, and have just started looking into VB scripting and brains.
Brains is not the biggest problems as I code and debug PLC´s on my dayjob, but the VB scripting is not down my alley ....yet.
Anyway, to make confusion even bigger I started looking into making a wizard for this custom screenset I just made.

I can design the page with the basic layout of the wizard, and explain the function I need.

So my question is: Do any of you people with this knowledge do this kind of work for a reasonable price?

Best regards
Roy

6
General Mach Discussion / Auto Calculator Size
« on: March 17, 2019, 10:14:09 AM »
Hi I am working on a new custom screenset, and I will be working on a touch screen.
So for this I am going to use the Auto Calulator feature for the input of the DRO´s
I have searched this forum and found someone ask the same question a few years back, but no response, that I can find.
My chubby fingers are a little to large for the small keys on the Auto calculator.
The function is great as the keypad pops up when you press the desired DRO, but again I would like it to be a bit larger.

I know that there are no further development on mach3 anymore, but If anyone has been able to solve this issue, or have some other good solutions, it is greatly appreciated

A numeric keyboard with an enter key is all that is needed

best reg
Roy

7
I am creating a motion control system based on a mach3 shell. BUT I would really like a feature that I cannot figure out.
I am not very experienced on Klaus´s Mach screendesigner, but I have made some custom screensets before (for other motion control applications)
I am using a custom DRO input field to move a servo into the position entered in the DRO field. 

The way I solved this is by using a user defined OEM code for the DRO, and after entering the value I run a script on a button that looks like this:

Xtcp= GetUserDro (1200)
Ytcp= GetUserDro (1201)
Ztcp= GetUserDro (1202)
Feed= GetDRO(18)



Code"G0"                 
Code"G53 Z"&Ztcp
While IsMoving
Wend
Code"G53 Y"&Ytcp
While IsMoving
Wend
Code"G53 x"&Xtcp
While IsMoving
Wend

Setdro(18,Feed)

Now back to my problem: I do not want to mess up the screenset with a DRO showing actual position.
So after entering the value I would like the background of the input DRO to be red as long as the target value and set value are not equal.
Optionally, custom OEM LED show that the machine is moving, and then switching to green when in position.

Is there anyone out there that could help me along with this, or tell me if I am asking to much of the software?

Best regards
Roy

8
General Mach Discussion / MDI not working
« on: February 24, 2017, 06:43:22 PM »
I have searched the forum, and not found any info that helps me, this is the closest I got http://www.machsupport.com/forum/index.php/topic,29050.0.html
MDI does not work, when I press enter the input data dissapear and machine dont move. It does not show up in history popup window either.

I run the 2010 screenset, and mach version .066.

Could it be an ebay pendant i tried a while ago, but quit using, that might have messed up some hotkeys or similar. I am really out of ideas here.

I have been away from the machine for a while, and cannot remember when this stopped working, so hard for me to relate it to new version, pendant, 2010 screenset install, hotkeys or similar

Best reg
Roy

9
Hi

I purchased one of these controllers for mach 3, but I have problems getting some functions to work with the 2010 screenset.
Everything works with 1020

Do I have to assign anything, or use some screendesigner to assign these.
Only the axis jog works in 2010.

best reg
Roy

10
General Mach Discussion / Feedrate override makes machine stutter
« on: September 29, 2015, 02:41:01 PM »
If I try to cut a circle (R65) with a 6mm endmill at 1500 mm/min there is no problem. I can run the same code at 6000mm with no problem.
BUT, if i run the code at 1500 mm/min and use feedrate override at 200% (F3000) it "stutters" (shakes) at the all the 90 degree point of the circle (where x and Y mixes).

The machine shows that it can handle 6000 mm+, could it be that its my computer having problems calculating and sending the pulsestream in the parallel port when using override?
Its not a very fast computer, but the mach 3 test tool says it can handle 35khz, and the software is set to that.

any ideas?

Cory

Pages: 1 2 3 4 »