Hello Guest it is March 28, 2024, 06:27:50 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 - corydoras

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 »
1
Machscreen Screen Designer / Re: Chainsaw mill project with mach 3
« on: December 03, 2023, 09:59:36 AM »
Thank you Thomas
That was exactly what I needed. Now I got all the logics in place.
There is however a slight delay in the stop command.
I have the modbus refresh rate in the config of mach 3 set to minimum 25ms, but there is a slight delay ater the limit switch is hit. not sure what causes it, but anyway, I think it will work

Thank you, and there might be a question or two down the road.
I will post a screenshot of the screenset when I finish it.

Have a great day, and thanks again Sir

Best reg
Roy

2
Machscreen Screen Designer / Re: Chainsaw mill project with mach 3
« on: December 02, 2023, 06:06:44 PM »
I got the speed commands and the fwd and rev commands figured out in brains, I only need the 2 userleds for the startbuttons as single push on....stay on.....until limitsswitch activated

What do I need to put in the code to be executed on button press?

(And keep UserLED 1500 stay on, until it hits the limit switch (UserLED 1600 ON), and then reset UserLED 1500)

Set UserLED( 1500, 1) ?
......................

Sorry for my lack of VB scripting knowledge :)

BR
R


3
Machscreen Screen Designer / Re: Chainsaw mill project with mach 3
« on: December 01, 2023, 03:12:54 PM »
Thank you Thomas
I will set up the modbus in brains for speeds and limitswitches, and try to figure out if can cut and paste some vb scripts to get the logic right
Have a great weekend Sir

Best reg
Roy

4
Machscreen Screen Designer / Re: Chainsaw mill project with mach 3
« on: November 30, 2023, 03:33:08 PM »
Sweet.All is good here as well
I am not planning on using a motion controller, just modbus communication to the two drives.
The feed drive and the saw drive is working together in kind of a "closed loop" as the torque output of the chainsaw drive feeds the feed drive analogue 0-10v input.
This is how I run things now, with just regular I/O on the drives.
But one of the main issues is that to get the ideal feed speed/working area for the feed motor I have to work between 12-20hz.
The 4.5 meter cut normally takes approx 60-90 seconds for the 4 meter log, depending on the size, and that means that the saw take the same to drive back to start position.
This means to much waiting time between cuts, so that is why I need to set the HSP to 120 hz for the reverse action.
The only 2 I/O s needed are limit switches, And I plan to pick these up via modbus bits.
I have benchtested all the functions and I can read and write without any issues this far.

My Initial thought was to use a 12" Magelis HMI that i had salvaged, but I do not own a license for vijeodesigner, and I also do not know how to use it, that is why I decied to use Mach.

It is also easy to get a cool looking interface.
Later I hope to add features to set log height and board thickness from the screen using linear actuators, so this could evolve:)

Just started exploring the use of OpenPLC on a microcontroller, so that could also be an option, but I would prefer to keep the logic within mach 3 if possible

Best reg
Roy


5
Machscreen Screen Designer / Re: Chainsaw mill project with mach 3
« on: November 30, 2023, 10:05:13 AM »
Hello Thomas
Its ben a long time, hope all is good: :)
Thank you for your reply.
As you might remember, VB an "STL" kind of coding is not my "language" of choice, I am more  ladder kind of guy:)

I will look for the macro modbus info, and also pick up some of the basic screendesigner tricks using custom leds and so on.
Its been a long time since we did the tablesaw project, which is still in use today btw, and some of the basics have been left in the dust:)

Best regards
Roy

6
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

7
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

8
Mach Screens / Re: Softlimits on RnR card---, min-max input value
« on: February 15, 2021, 10:48:33 AM »
Hello Thomas

I tried this version of the numeric keyboard with the min max function, and it works great.
In the beguinning I had some issues, but I found that I had aso deleted the commands after the "end function"

Thanks again Sir

BR
Roy

9
Mach Screens / Re: Softlimits on RnR card---, min-max input value
« on: February 14, 2021, 01:36:54 PM »
Just did a little more testing, and it actually turns out that the Softlimit switches work when jogging the axis in manual mode. But if you input a value outside the limits in the MDI, it moves beyond the softlimits.....hmmmmm funny

BR
Roy

10
Mach Screens / Re: Softlimits on RnR card---, min-max input value
« on: February 14, 2021, 01:10:40 PM »
Thanks for the reply Thomas.
I use your onscreen keyboard, and it is GREAT, thanks man.

So making a couple of lines with a >= or =< would be harder to implement in the keyboard macro as it would have to know what DRO it is writing to.
If there was a specific macro that was called for each axis, would it be possible then?

Like:
 numerkkeyboard_x_axis.m1s
 numerkkeyboard_y_axis.m1s
 numerkkeyboard_z_axis.m1s


BTW. I picked up the work on my table saw screenset, and the fingerjoint wizzard you made for me.
When I finish the sled , I will make a YT video on it. If it is OK with you, I might shoot you an email with a couple of questions in a day or 2.
Have a great day Sir

Best regards
Roy


there is no possibilty (ok i do not know one), to set a Min/Max range for a partucular DRO.

here:
https://www.machsupport.com/forum/index.php?topic=36213.msg247828#msg247828

i posted a numeric Keyboard Input possibilty via VB, there is would be easy to inplement.

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 »