Home
Downloads
Mach3
Plugins
CAM Post Processors
Screensets
Purchase
Support
Forum
Tutorial Videos
Documentation
Yahoo Group
Mach Wiki
Resources
Contact Us
Links
CNCZone
German Forum
Italian Forum
Korean Forum
Portugese (Brazil) Forum
Russian Forum (RSK CNCROUTER)
Thai Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 28, 2012, 01:09:52 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Select from and to languages
Chinese-simp to English
Chinese-trad to English
English to Chinese-simp
English to Chinese-trad
English to Dutch
English to French
English to German
English to Greek
English to Italian
English to Japanese
English to Korean
English to Portuguese
English to Russian
English to Spanish
Dutch to English
Dutch to French
French to English
French to German
French to Greek
French to Italian
French to Portuguese
French to Dutch
French to Spanish
German to English
German to French
Greek to English
Greek to French
Italian to English
Italian to French
Japanese to English
Korean to English
Portuguese to English
Portuguese to French
Russian to English
Spanish to English
Spanish to French
Machsupport Forum
Mach Discussion
Mach SDK plugin questions and answers.
USB MPG Rotary Encoder
Pages:
1
Go Down
« previous
next »
Author
Topic: USB MPG Rotary Encoder (Read 694 times)
0 Members and 1 Guest are viewing this topic.
LeoL
Active Member
Offline
Posts: 2
USB MPG Rotary Encoder
«
on:
August 19, 2011, 03:29:01 AM »
I am trying to create a plugin for a custom USB MPG using the ShuttlePro example in the SDK.
Is there any documentation that explains what all those variables are for in the example? Its not clear to me how to tell MACH to simply move a specific number of steps. I don't own a ShuttlePro so I can't single step through the code to see that all the variables do and my attempts to modify the code to work with my encoder have resulted in either continuous jogging or no movement at all. Basically I don't know what I'm supposed to do with some of the variables used in the example.
For starters, what are the following for?
MainPlanner->m_Increment
_setup->Rotation
I hope someone can shed some light on this or point me in the right direction.
Logged
BR549
Active Member
Offline
Posts: 2,557
Re: USB MPG Rotary Encoder
«
Reply #1 on:
August 19, 2011, 12:08:59 PM »
NEVER MIND I just saw where it is using USB sorry.
IF you just want to use the encoder as an MPG then that function is built into Mach3. Wire the encoder to the port ands set it up as an encoder then config the MPG function to those pins/port. Calibrate the MPG function .
THEN Use the Jog flyout to setup the function as to the axis movements and instant mpg.
That is unless you just want to play with programming a plugin.
Just a thought, (;-) TP
«
Last Edit: August 19, 2011, 12:11:12 PM by BR549
»
Logged
LeoL
Active Member
Offline
Posts: 2
Re: USB MPG Rotary Encoder
«
Reply #2 on:
August 26, 2011, 08:19:15 PM »
I was already using the MPG through the LPT port. After my mobo died, it took me over 3 weeks to locate a new one with built-in LPT port and this one doesn't like the LPT2 card I was using for the MPG. That's when I got fed up and decided it was time to eliminate my dependence on the LPT port.
Anyways, I finally realized my mistake, I was trying to compile the SDK samples in VS2008. Once I switched to VS2003, I was able to single step through code and actually see proper values for the variables and figured out what most of them are for.
So I now have the MPG working through USB which is great. Once less LPT card in my system.
Logged
Pages:
1
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Mach Discussion
-----------------------------
=> General Mach Discussion
=> Mach3 under Vista
=> Quantum
=> Mach SDK plugin questions and answers.
===> Finished Plugins for Download
=> VB and the development of wizards
=> Brains Development
=> Video P*r*o*b*i*n*g
=> Mach Screens
===> Screen designer tips and tutorials
===> Works in progress
===> Finished Screens
===> Flash Screens
===> JetCam screen designer
===> Machscreen Screen Designer
===> CVI MachStdMill (MSM)
=> Feature Requests
=> Non English Forums
===> Italian
===> French
===> Spanish
===> Chinese
===> German
===> Russian
===> Romanian
===> Japanese
===> Vietnamese
=> FAQs
-----------------------------
*****VIDEOS*****
-----------------------------
=> *****VIDEOS*****
-----------------------------
General CNC Chat
-----------------------------
=> Share Your GCode
=> Show"N"Tell ( What you have made with your CNC machine.)
=> Building or Buying a Wood routing table.. Beginnners guide..
=> Show"N"Tell ( Your Machines)
-----------------------------
G-Code, CAD, and CAM
-----------------------------
=> G-Code, CAD, and CAM discussions
=> LazyCam (Beta)
-----------------------------
Third party software and hardware support forums.
-----------------------------
=> LazyTurn
=> GearoticMotion Preliminary testing
=> Tempest Trajectory Planner
=> Contec
=> dspMC/IP Motion Controller
=> HiCON Motion Controller
=> Third party software and hardware support forums.
=> Galil
=> Newfangled Solutions Wizards
=> Mach3 and G-Rex
=> Mesa
=> Modbus
=> NC Pod
=> PoKeys
=> SmoothStepper USB
=> Sieg Machines
=> Promote and discuss your product
-----------------------------
Tangent Corner
-----------------------------
=> Tangent Corner
=> Competitions
=> Polls
=> Bargain Basement
-----------------------------
Support
-----------------------------
=> Downloads
===> XML files
===> Post Processors
===> Macros
===> Tutorials
===> Others
===> Beta Brains
===> Screen Sets
===> Documents
===> MACH TOOL BOX
=> One on one phone support.
=> Forum suggestions and report forum problems.
-----------------------------
Mach4
-----------------------------
=> Mach4 pre-Alpha Testing
Loading...