Hello Guest it is March 29, 2024, 02:14:07 AM

Author Topic: Plugin that works for Chinese mpg pendant  (Read 9235 times)

0 Members and 1 Guest are viewing this topic.

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: Plugin that works for Chinese mpg pendant
« Reply #20 on: January 19, 2020, 07:50:05 AM »
ok corrected Version

Green- 2 pin ( mpg A+)
White- 3 pin ( mpg B+ )
Config -> Ports&Pins -> Encoder/MPS -> MPG1 Enabled | A-Port = 2 | A-Pin = 2 | B-Port = 2 | B-Pin = 3

Green&black- 1 pin ( jog on led +5v )
White&black- gnd ( jog on led gnd)

 this is only the led, we will take care later


Yellow- 4 pin ( select x axis )
Config -> Ports&Pins -> Input Signal -> OEMTrigger#1 Enabled | Port = 2 | Pin = 4
System Hotkeys -> Trigger#1 OEM Code = 259

Yellow&black- 5 pin ( select y axis )
Config -> Ports&Pins -> Input Signal -> OEMTrigger#2 Enabled | Port = 2 | Pin = 5
System Hotkeys -> Trigger#2 OEM Code = 260

Brown- 6 pin ( select z axis )
Config -> Ports&Pins -> Input Signal -> OEMTrigger#3 Enabled | Port = 2 | Pin = 6
System Hotkeys -> Trigger#3 OEM Code = 261

Brown&black- 7pin ( select a axis )
 Config -> Ports&Pins -> Input Signal -> OEMTrigger#4 Enabled | Port = 2 | Pin = 7
System Hotkeys -> Trigger#4 OEM Code = 262


Gray- 8pin ( x1 )
 Config -> Ports&Pins -> Input Signal -> OEMTrigger#5 Enabled | Port = 2 | Pin = 8
System Hotkeys -> Trigger#5 OEM Code = 265

Gray&black- 9pin ( x10 )
 Config -> Ports&Pins -> Input Signal -> OEMTrigger#6 Enabled | Port = 2 | Pin = 9
System Hotkeys -> Trigger#6 OEM Code = 266

Orange- 10pin ( x100 )
Config -> Ports&Pins -> Input Signal -> OEMTrigger#7 Enabled | Port = 2 | Pin = 10
System Hotkeys -> Trigger#7 OEM Code = 267

Orange&black- +5v ( com for selector )
this is wrong, Needs to be connected to GND
« Last Edit: January 19, 2020, 07:52:18 AM by TPS »
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: Plugin that works for Chinese mpg pendant
« Reply #21 on: January 19, 2020, 10:18:18 AM »
So how do I check to see if the orange black should be gnd???
Cadcam Man

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: Plugin that works for Chinese mpg pendant
« Reply #22 on: January 19, 2020, 11:26:05 AM »
orange/black is the com of all Switches, and for switching Inputs at a parallel port they Need to be taken to gnd.
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline ZASto

*
  •  423 423
    • View Profile
Re: Plugin that works for Chinese mpg pendant
« Reply #23 on: January 19, 2020, 02:24:16 PM »
In the attached archive is settings with brains that work on my computer.
Due to the parts that I had "on hand" OemTrigger#7 is actually a switch on low cost encoder that is used to switch Jogging On/Off.
Make no mistake between my personality and my attitude.
My personality is who I am.
My attitude depends on who you are.
Re: Plugin that works for Chinese mpg pendant
« Reply #24 on: January 19, 2020, 03:36:05 PM »
Cool thanks Zasto so all I enable all brn. Files and it should work??do u agree with the orange and black ( com  wire ) should be ground?
Cadcam Man

Offline ZASto

*
  •  423 423
    • View Profile
Re: Plugin that works for Chinese mpg pendant
« Reply #25 on: January 19, 2020, 03:48:58 PM »
Those 2 .brn files you can copy to Autoload folder and they will be by default enabled.
ALL wires that are referenced as 0V/COM should be connected to GND pin of parallel port (pins 18..25)
L+ to pin1 of parallel port, L- to GND
LED will be lit when LED on screen whch indicates Jog ON is lit.

So:
Yellow to pin4
Yellow/Black to pin5
Brown to pin6
Gray to pin8
Gray/Black to pin9
Orange to pin10
L+ to pin1
Orange/Black + L- to pin25

You could also reconfigure ESTOP to be on LPT2 then:
Blue to ESTOP pin
Blue/Black to pin25
Make no mistake between my personality and my attitude.
My personality is who I am.
My attitude depends on who you are.
Re: Plugin that works for Chinese mpg pendant
« Reply #26 on: January 20, 2020, 10:02:44 AM »
I had the orange and black wire that was labeled ( com ) going to +5v and was getting some results but the axis selector and the resolution switches were not selecting the right function. I changed the com wire to gnd like you said in the post above and got nothing ...no results at all ...so I went back to com to +5v and now the switches work but I can not get them to work right ...meaning when I select the x axis it will select it or when I select the x100 it will select it . Right now when i try to select an axis or a resolution the lights change on the diagnostic page but the jog flyout does not change
Cadcam Man

Offline ZASto

*
  •  423 423
    • View Profile
Re: Plugin that works for Chinese mpg pendant
« Reply #27 on: January 20, 2020, 10:48:39 AM »
Well, you will force me to make a video :(
Common wire for selector switches should be connected to LPT GND.
OEMTriggers should be LOW Active as LPT port is providing current for sensing which pin is grounded
Make no mistake between my personality and my attitude.
My personality is who I am.
My attitude depends on who you are.

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: Plugin that works for Chinese mpg pendant
« Reply #28 on: January 20, 2020, 11:43:58 AM »
small question, witch light Change on diagnostic Screen?

you are using ZASto's Brains now, all Trigger' oemcodes set to -1 in Config System hotkeys?

all plugin's  related to any mpg deleted from plugin Folder?

pls post your Profile XML.
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: Plugin that works for Chinese mpg pendant
« Reply #29 on: January 22, 2020, 01:51:28 PM »
update on mpg: Ok after alot of chasing the wires and matching them with the pins they go with I finally got it to work, Thanks to the one and only ZASto!!!!!! All the help from tps and Zasto I was able to finally get the mpg to finally work well done guys I thank the both of you for all the help now I can finally get the project I was working on before I got side tracked by this mpg deal any way the problem was the wires I was using and the pin numbers were not the same for some reason in windows the pin number and the wire were not synced . I was able to use the c22 bob to check what pin was active then changing it in Mach3 to make them both the same I think this is a Windows Xp issue when dealing with the pci card addon lpt2 port and the version of xp I have so any way that was what it was and Im up and running
Cadcam Man