Hello Guest it is April 19, 2024, 08:35:30 AM

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

0 Members and 1 Guest are viewing this topic.

Re: Plugin that works for Chinese mpg pendant
« Reply #10 on: January 17, 2020, 06:37:30 PM »
Here is what came with the mpg pendant
« Last Edit: January 18, 2020, 02:36:11 AM by Tweakie.CNC »
Cadcam Man

Offline Tweakie.CNC

*
  • *
  •  9,198 9,198
  • Super Kitty
    • View Profile
Re: Plugin that works for Chinese mpg pendant
« Reply #11 on: January 18, 2020, 02:41:33 AM »
Hi Cad cam man,

It would be helpful for easy viewing if you would resize your pictures to 800 x 600 before posting. This thread refers; https://www.machsupport.com/forum/index.php?topic=24585.0

Many thanks,

Tweakie.
PEACE

Offline TPS

*
  •  2,505 2,505
    • View Profile
Re: Plugin that works for Chinese mpg pendant
« Reply #12 on: January 18, 2020, 03:04:25 AM »
according to the example from my link wiring would be:

yellow -> Pin 3
yellow/black -> Pin 4
Brown -> Pin 5
Brown/black -> Pin 6

gray -> Pin 7
gray/black -> Pin 8
orange -> Pin 9

orange/black -> Pin 25

green -> Pin 13
White -> Pin 15
red -> Pin 10
black - Pin 24

the you can use all Settings from example

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 #13 on: January 18, 2020, 10:38:09 AM »
@tweakie sorry I didnt know there was a preference of size picture to post .. I will be sure to resize them in the future...

@ tps.. so are you saying I should rewire my whole pendant to match the example you posted ?? The wire color does not matter as long as I know what colors go where and they all match up according to the example in reply #10
Cadcam Man

Offline TPS

*
  •  2,505 2,505
    • View Profile
Re: Plugin that works for Chinese mpg pendant
« Reply #14 on: January 18, 2020, 01:07:14 PM »
@ tps.. so are you saying I should rewire my whole pendant to match the example you posted ?? The wire color does not matter as long as I know what colors go where and they all match up according to the example in reply #10
for the Moment i am not able to follow you, how the pedant is wired on the PP port side??!
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 #15 on: January 18, 2020, 03:52:31 PM »
Sorry for the confusion I have the pendant wired just like the instructions that came with it as.
Red - +5v( outside source )
Black - gnd ( outside source)

Green- 2 pin ( mpg A+)
White- 3 pin ( mpg B+ )
Green&black- 1 pin ( jog on led +5v )
White&black- gnd ( jog on led gnd)
Yellow- 4 pin ( select x axis )
Yellow&black- 5 pin ( select y axis )
Brown- 6 pin ( select z axis )
Brown&black- 7pin ( select a axis )
Gray- 8pin ( x1 )
Gray&black- 9pin ( x10 )
Orange- 10pin ( x100 )
Orange&black- +5v ( com for selector )

All the other color and number not listed above are not being used and have nothing connected to them
I hope this clears it up for you
Cadcam Man

Offline ZASto

*
  •  423 423
    • View Profile
Re: Plugin that works for Chinese mpg pendant
« Reply #16 on: January 18, 2020, 04:16:18 PM »
GND from outside source and GND of your Parallel port should be connected or your encoder outputs will be referenced to what?
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,505 2,505
    • View Profile
Re: Plugin that works for Chinese mpg pendant
« Reply #17 on: January 19, 2020, 03:57:31 AM »
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#1 OEM Code = 260


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


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



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


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


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


Orange&black- +5v ( com for selector )
this is wrong, Needs to be connected to GND

anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline TPS

*
  •  2,505 2,505
    • View Profile
Re: Plugin that works for Chinese mpg pendant
« Reply #18 on: January 19, 2020, 04:19:32 AM »
and as ZASTo sayed

GND from outside source and GND of your Parallel port should be connected pin 18-25
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 #19 on: January 19, 2020, 05:08:33 AM »
TPS, you "messed up" a bit :)

        Personal Message (Offline)

Re: Plugin that works for Chinese mpg pendant
« Reply #17 on: 19-01-2020, 10:57:31 »


Quote
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#1 OEM Code = 260

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

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


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

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

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

Orange&black- +5v ( com for selector )
this is wrong, Needs to be connected to GND

Same OEMTrigger on different pins :D
I know, it is a Copy/Paste common error :D :D :D
Make no mistake between my personality and my attitude.
My personality is who I am.
My attitude depends on who you are.