Machsupport Forum
Third party software and hardware support forums. => Modbus => Topic started by: poppabear on December 31, 2008, 12:41:36 AM
-
Greetings Mach3 Heads,
I just finished a Plug in for "Homann Designs" new Pendant Kit based on the Mod IO.
It is probably the most advanced Pendant you can get.
Functions:
1. Spindle Controls:
CW, CCW, Off (with Flashing LED while running),
Spindle Speed: Increment Up, Down, and reset Spindle Override.
2. Feed Override 5-200%, with dead band, (LED for Override active)
3. E-Stop button with E-Stop LED
4. MPG Operations:
• MPG Jog: X, Y, Z, A, B, and C (user can enable/disable axis for use in the configuration.
• Select Jog Type: Velocity only, Step/Vel, Single Step, Multi Step
• Select Jog Mode: Continuous, Step-Jog (can also control three step selections), MPG modes
• Shuttle Mode
5. Axis Zero Functions: for X-C, and a “T” function so that you can touch off a Tool and load that tools offset in the library!
6. Select Work offsets: G54, G55-59, G53
7. Home All Axis
8. Cycle Page Views in Mach!!
9. Increment Jog Speed up and down
10. Flood coolant, Mist coolant, Coolant Off
11. FIFTEEN!!! User defined Functions!!! Left switch has 12 of them each under one of the three soft-keys, with options on user defined Labels, choice to use internal Mach LEDs, and External LED above the soft-key!! The Mach User LEDs you pick can be used to trigger functions in Mach through a Brain and/or the Macro Pump! The 3 other User defined functions on the right switch are User LED only, and it only shows in Mach, and no external label.
The LCD will display up to 6 axis dynamically updated as the machine moves.
It has 3 soft Keys below the LCD that depending on the position of the left hand
Function switch, a Button function label will appear above the soft keys that will do
That function when Pressed. For User Defined Labels/codes you can choose from
4 to 6 Characters (with 4 looking the best, since at six due to the 2 Chars/register set up
It puts Button Labels B and C touching each other, so 4 Chars gives you more space).
Other Goodies:
The Plug-in comes with a “Pendant Screen” (see Pic), this screen is a Diagnostic/setup screen. It has ALL the functions that the pendant can control. It has “Labels” that display
Active/Dynamic states of the: Buttons (discrete Inputs), Analog inputs (3), pendant internal states, MPG Status, and Configuration channels from the Modbus.
The “Right Switch Function” displays the current Function/Mode of the Right hand selector switch, (Since the Left hand switch controls the Soft-Keys and the functional display on the LCD).
The Plug-in configuration Page has “Tunable Ranges” for the selector switches for the Left and Right switches. (they have default values, but in case your resistors are different this gives you a way to set your ranges). Since the Analog values coming to the “Labels” are “real Time” raw values, you can turn the switches to see where you need to set your
Ranges for the resistors you use. (I used 1K ohm, between switch posts.)
The Plug-in Will come with an installer that will Automatically, install a:
Profile, Screen Set, and it will configure the Serial Modbus for you. All you will need
To do is Activate your Serial Modbus, and Turn on the Plug in, then configure it, if you
Need different values than the defaults.
I may be adding the ability to Change Parameters within the MOD IO itself but still thinking about if I want to do that one or not…….
I uploaded a Video of the Pendant and its functions working with Mach3 to Google,
It should be viewable in a day or two.
Scott “Poppa Bear” Shafer
S S SYSTEMS, LLC
-
Here is a Link to the Google Video of the Pendant in action showing its functions and how it interacts with the Pendant Diag/setup screen.
It is a long video (about 12 minutes), The way Google does there videos is it starts off as a tiny square, but go down to the lower right of the video player, there is an "Expand" button that will bring it up to full screen size. It gets a little grainy at that size but the size Google changes it to when small makes it to small to see details.
http://video.google.com/videoplay?docid=-7917331538426112375
scott
-
Very interesing, Scott but is there any way to upload a clear viewable video to a server somewhere?
I've tried all the sizes that google gives a choice of but it's just way too grainy for me to really make anything out.
How big is the original video file itself?
Dave
-
Hi Scott,
I'm down the coast campinmg at the moment, and had to drive to the Goldern Arches to get connected tothe internet. The Plugin looks good. I,ll have the pendant kit complete in a couple of weeks.
Cheers,
Peter.
-
Dave, If you know of a way to make the video better, PLEASE tell me how!! I am NOT video literate at all, I formatted the Video for a "Pocket PC" type of band width, since larger than that it was very huge indeed. If you know HOW to do it perhaps you can contact me over "Skype" and give me a walk through??
I would LOVE some help on this, but honestly, I am eat up with all kinds of "Dumb A$$" when it comes to this video crap.
Skype name: "poppabear1000"
scott
-
I'm sorry, I'm not much of a video guy either (and don't use skype, sorry) but I was thinking if you knew of someone with a server or just someone with some webspace that might be able to host a larger sized video file, it would be beneficial because of being able to show more detail for your product.
Possibly Peter has the space for an actual sized video?
Dave
-
the other Video link was bad, here is a good one to see the pendant in action!!
the video was shot by an ameture (me), but, I am sure Peter will do a Good One at some point.........
http://video.google.com/videoplay?docid=-7917331538426112375&ei=a1ibSdf1G6GG_AGLmfzhCw&q=mach3+pendant+kit+and+video
scott
-
Poppabear,
Received a zipped file (plugin) from Peter H. which has the following files when unzipped
MP-03v2-0\MP-03 Pendant Kit Operators reference.txt
MP-03v2-0\MP03help.exe
MP-03v2-0\MachMad.msi
Going through the process of configuring the pendant, its procedure requires a MP03v2 plugin which is not in the file sent. Is the plugin missing?
Any help will be appreciated.
Carlos
-
I sent a new installer to Peter
the one you had was an old beta, that somehow slipped through the cracks.....
You can also email me, if Peter doesnt get to you first, and I will email the updated installer to you.
scott
-
My Cnc's little helper
Hi all glad to see all getting into the MP03 i have been running mine now for a few weeks and i have to say its magic the plugin runs seemlesly and with a bit of thought you can just about brew the tea burn the toast and machine out a pocket or to ,, LOL,, if you use the Machmad v3 to find all you options then the pendent is what ever you want it to be ,, with in reason.. Its the First Kit i have seen and its a great buz to build debug and use,, Peter Scott top Stuff
-
Thanks for the Chops!!!!
scott
-
What is the best way to setup a macro to run via one of the userdefined functions? where do I put the macro? Do I have to add a button to the screen set or can I just run it via the button?
-
The configuration page, has you put in the User LED number that you want that button to activate (i.e. turn it on), you can then look at that LED with Brians or Macropump to perform some function. you can also put a User LED onto your screen sets to show its state. (please see the example screen set that comes with the plugin, it has a MP-03 "Page" that has ALL the functions, and example LEDs that come with the OEM set up. You can use it as is, OR, make your own screens or mods and use the OEM screen as an example.
scott
-
So if i have this macro how do I assign the user led to it in the macropump:
Rem VBScript To center probe inside a pipe
If GetOemLed (825) <> 0 Then 'Check to see if the probe is already grounded or faulty
Code "(Probe plate is grounded, check connection and try again)"
Else
FeedCurrent = GetOemDRO(818) 'Get the current settings
XCurrent = GetDro(0)
YCurrent = GetDro(1)
Code "G4 P1" 'Pause 1 second to give time to position probe plate
Code "F4" 'slow feed rate to 4 ipm
Rem Probe Left
XNew = Xcurrent - 3 'probe 3 inches to left
Code "G31 X" &XNew
While IsMoving() 'wait for the move to finish
Wend
XPos1 = GetVar(2000) 'get the probe touch location
Code "G0 X" &XCurrent 'rapid move back to start point
Rem Probe Right
XNew = XCurrent + 3 'probe 3 inches to right
Code "G31 X" &XNew
While IsMoving()
Wend
XPos2 = GetVar(2000)
XCenter = (XPos1 + XPos2) / 2 'center is midway between XPos1 and XPos2
Code "G0 X" &XCenter 'rapid move to the x center location
While IsMoving ()
Wend
Call SetDro (0,0.000)
Code "G4 P0.25"
Rem Probe up
YNew = YCurrent + 3
Code "G31 Y" &YNew
While IsMoving()
Wend
YPos1 = GetVar(2001)
Code "G0 Y" &YCurrent
Rem Probe down
-
I am "ASS-U-Ming", that the macro you posted is a Probing macro, i.e. lets call it M777 for the heck of it.
Lets say that ULED 2000 is your "Trigger" led from your Pendant, since you want to only call your probing macro once from your macropump
you will need to put an interlock in it. It will trigger only ONCE per push and release of the Trigger LED button you have assigned.
ProbingCallNum = GetUserDRO(1500) 'or what ever user dro or VAR you want to use as your counter.
if GetUserLED(2000) and ProbingCallNum = 0 then
Code "M777" 'your probing macro is called here
ProbingCallNum = 1
end if
if Not(GetUserLED(2000)) and ProbingCallNum = 1 then
ProbingCallNum = 0
end if
'scott
-
You are correct that it is a probing macro. So after entering the above code in the macropump.m1s fileThen I would save the macro itself as M777.m1s in the macro folder? In the first line of your code
ProbingCallNum = GetUserDRO(1500) <- should this be 2000
This is starting to make sense. Thanks for your help I do appreciate it.
Mike
-
no, the counter is a User DRO 1500, the 2000 belongs to the User LED.......... I gave different numbers so you could see they where different things...
Yes, save the M777 in the macros folder, UNDER YOUR PROFILE!!!!! that you are using!!!!!!
-
Scott,
I think I get it. I will try it out this afternoon when I am in front of the actual pc with the pendant. I appreciate your help.