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 24, 2012, 10:01:54 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.
AxisInfo Structure
Pages:
1
Go Down
« previous
next »
Author
Topic: AxisInfo Structure (Read 1285 times)
0 Members and 1 Guest are viewing this topic.
cdeady
Active Member
Offline
Posts: 4
AxisInfo Structure
«
on:
April 07, 2009, 04:32:32 PM »
Can someone help me with this structure?
I am writing a Plugin for a Baldor Motion control and I am trying to understand this structure, particularly what variables am I expected to write to?
For example, the variable Enable, is this set by Mach3 or do I set it to indicate that the axis is Enabled?
I have searched the Yahoo groups and the groups here with no luck, I have also looked at the customization WIKI.
Thanks,
Craig Deady
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
Offline
Posts: 1,707
Briceville, TN, USA
Re: AxisInfo Structure
«
Reply #1 on:
April 07, 2009, 07:25:20 PM »
craig,
what are you trying to do?
When you say Baldor Motor controller do you mean Spindle motor controller?
If so, what kind of stuff are you trying to do with the control?
Alot of control options can be done through a modbus connection to your MC.
scott
Logged
Commercial Mach3: Screens (regular and flash), Wizards, Plug-ins, Brains, PLCs, Macros, ATC's, machine build, retrofit and Prototyping
http://sites.google.com/site/volunteerfablab/
cdeady
Active Member
Offline
Posts: 4
Re: AxisInfo Structure
«
Reply #2 on:
April 07, 2009, 08:28:37 PM »
Scott,
Not Baldor MOTOR control, but Baldor MOTION control. It is a multi-axis motion controller that can control up to 16 axes of servos and steppers. The servos can be local to the control (analog type drives) or network based drives (using Ethernet powerlink). So, in my case the Baldor Motion control will control all axes on the machine as well as the I/O (inputs and outputs). Thus the Plugin will be a movement plugin.
Craig
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
Offline
Posts: 1,707
Briceville, TN, USA
Re: AxisInfo Structure
«
Reply #3 on:
April 08, 2009, 07:13:40 AM »
Ahhh,
Well then you would need to find out, the format that it will take for executing Motion commands. (see the Galil plug in example for instance). You will need to get into the documentation, to see what kinda instruction set the control will take to preform its movements.
scott
Logged
Commercial Mach3: Screens (regular and flash), Wizards, Plug-ins, Brains, PLCs, Macros, ATC's, machine build, retrofit and Prototyping
http://sites.google.com/site/volunteerfablab/
cdeady
Active Member
Offline
Posts: 4
Re: AxisInfo Structure
«
Reply #4 on:
April 08, 2009, 08:10:41 AM »
Scott,
I don't need help with the Baldor interface, I know that.
My question was to get information on the AxisInfo structure that is in Engine.h and what the variables do, which ones do I write to from my plugin and which ones are written to by Mach.
Craig
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
Offline
Posts: 1,707
Briceville, TN, USA
Re: AxisInfo Structure
«
Reply #5 on:
April 08, 2009, 10:08:08 AM »
The engine variables in the Axis structure are for the Printer Driver, if you are doing an external motion board then you will have to do something else, as I was trying to tell you above. But here is the stuct with my understanding of it, some of it I am unsure of cause I dont use alot of it.
struct AxisInfo
{
int Index; // Current Count
int MasterIndex; //Machine 0
char StepPin; // Pin for step pulse
char DirPin; // Pin for Direction Pulse
char StepPort; // Port # for step
char DirPort; // Port # for Direction
bool StepNegate; // low active step?
bool DirNegate; // low active Direction?
int CurVelocity; // Current Velocity
int MaxVelocity; // Current Max Velocity (jogging )
int MasterVelocity; // Master Velocity...Maximum Velocity in all circumstances.
int Acceleration; // Acceleration
bool AtSpeed; // At Speed Currently
bool Acc; // Accelerating?
bool Dec; // Decelerating?
bool Enable; // Axis Enabled?
bool Jogging; // Jogging On?
int JoggDir; // Direction of Jog;
bool Homing; // is this a homing jog?
bool DeRef; // Dereferanceing Move?
int Memory[6]; //dont know
int ActiveMemory; //dont know
int Color; //dont know
int TripCount; //dont know
int DepthCount; //dont know
bool Probing;
bool Slave; //is this axis a slave
int SlaveAxis; //what axis is it slaved to
};
scott
Logged
Commercial Mach3: Screens (regular and flash), Wizards, Plug-ins, Brains, PLCs, Macros, ATC's, machine build, retrofit and Prototyping
http://sites.google.com/site/volunteerfablab/
cdeady
Active Member
Offline
Posts: 4
Re: AxisInfo Structure
«
Reply #6 on:
April 08, 2009, 07:06:32 PM »
Scott,
Thanks for taking the time to help me with this.
Craig
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...