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 26, 2012, 01:46:44 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
General Mach Discussion
Initial setup - spindle PWM ok, axis PWM not ??
Pages:
1
2
»
Go Down
« previous
next »
Author
Topic: Initial setup - spindle PWM ok, axis PWM not ?? (Read 881 times)
0 Members and 1 Guest are viewing this topic.
Sweep
Active Member
Offline
Posts: 84
Initial setup - spindle PWM ok, axis PWM not ??
«
on:
May 03, 2010, 03:09:30 AM »
Hi all,
I have just started connecting up my axis stepper motors and (pwm controlled) spindle motor to the PC. To make sure everthing worked ok I decided to do one at once.
Configuring pin1 to spindle the oscilloscope shows a nice square wave pattern which changes as I shift motor rpm and the spindle does vary in speed. If I reconfigure the same pin1 to Xstep nothing happens? Having left the oscilloscope probe still attached the trace is just dead.
Changing from pin1 to,say, pin4 has the same effect; spindle works, Xstep doesn't?
Besides that, when looking at the diagnostics screen the matrix of 'LEDs' that show the state of the pins always have the middle four illuminated no matter what I do. Considering I have no inputs or outputs connected, besides the one which I am testing, how can this be?
I have rebooted the computer at least twice but this didn't cure the drives problem. I even reloaded an older version of Mach which didn't solve it either, but the LEDs weren't lit.
I guess, therefore, that the board in the PC must be ok as I wouldn't get a spindle PWM if the board was damaged, so I suppose it must be a set-up or configuration issue.
Please help
...Sweep
...Sweep
Logged
Dan13
Active Member
Offline
Posts: 759
Re: Initial setup - spindle PWM ok, axis PWM not ??
«
Reply #1 on:
May 03, 2010, 05:41:05 AM »
Hi Sweep,
Did you check that your X axis is enabled in ports and pins? Also worth checking what has it got in motor tuning.
Are you trying to jog using the keyboard arrows? Do you see the DRO moving?
Dan
Logged
Sweep
Active Member
Offline
Posts: 84
Re: Initial setup - spindle PWM ok, axis PWM not ??
«
Reply #2 on:
May 03, 2010, 06:12:25 AM »
Hi Dan,
Yes, ports and pins seem to be ok as that is where I swapped the assigned pin from spindle to X axis.
Using the MDI screen, say, S2000 will give a nice square wave as I have assigned max speed as 4000rpm in the 'pulleys' section. When I swap the assigned pin to Xstep nothing happens. I have jogged using the pull-out screen (tab button), using the arrow keys, and MDI with, say, X100 and/or G00 X100 but nothing. The coordinate display changes as if the motor is running but there is no output to the scope.
I am going downstairs to fire up the machine again so will get some pics posted.
thanks ...Sweep
Logged
Dan13
Active Member
Offline
Posts: 759
Re: Initial setup - spindle PWM ok, axis PWM not ??
«
Reply #3 on:
May 03, 2010, 06:21:21 AM »
Sweep,
I am not sure the spindle would work if in simulation mode, but just for the sake of it - you're not in simulation mode right?
Try to put same settings in motor tuning for both the spindle and X axis, then command in the MDI G0 X100 or something. May be the settings are way different between the spindle and X and you're failing to find the right frequency mode on your scope to show the signal.
Dan
Logged
Sweep
Active Member
Offline
Posts: 84
Re: Initial setup - spindle PWM ok, axis PWM not ??
«
Reply #4 on:
May 03, 2010, 04:00:27 PM »
Dan,
Machine in full operational mode. Spindle connected in PWM mode via 0-10v analogue converter and works fine.
Bigger problems since my last post in that my stepper drives are popping fuses. I think this is down to their age as they were built in 1988 as this has happedned before. Even so not getting any step pulses from PC.
Thanks for your comments Dan but I will have to concentrate in gettin the stepper drives back working first.
...Sweep
Logged
Hood
Active Member
Online
Posts: 17,343
Carnoustie, Scotland
Re: Initial setup - spindle PWM ok, axis PWM not ??
«
Reply #5 on:
May 03, 2010, 04:56:30 PM »
Can you attach your xml please.
Hood
Logged
Sweep
Active Member
Offline
Posts: 84
Re: Initial setup - spindle PWM ok, axis PWM not ??
«
Reply #6 on:
May 05, 2010, 05:44:12 PM »
Hi Hood,
My x axis has packed in so it is pointless messing with it until I get it sorted, plus i'm off to Amsterdam for the weekend :-)
As far as the xml is concerned, where do i find that?
...Sweep
Logged
Sweep
Active Member
Offline
Posts: 84
Re: Initial setup - spindle PWM ok, axis PWM not ??
«
Reply #7 on:
October 05, 2010, 01:51:17 AM »
Ok, so it has taken a while to get back to this issue but, as my last post mentioned, I was away for the weekend in Amsterdam ...phew!!
Tried the x axis last night assigned to port1, pin1 and couldn't get a scope trace and it wouldn't step the motors. Tried active, high active low, scoped at my driver trigger board, breakout block, 25pin cable, but nothing. I thought I would see a nice clean square wave.
If someone could tell me where to find the XML file Hood mentioned I will quite happily post it.
thanks ...Sweep
Logged
Hood
Active Member
Online
Posts: 17,343
Carnoustie, Scotland
Re: Initial setup - spindle PWM ok, axis PWM not ??
«
Reply #8 on:
October 05, 2010, 02:02:40 AM »
You will find it in C\Mach3 folder it will have the name of the profile you are using, eg if standard Mach3Mill profile it will be called Mach3Mill.xml. You will need to rename before you attach to the forum so copy it to your desktop and rename something like sweep.xml
Hood
Logged
Sweep
Active Member
Offline
Posts: 84
Re: Initial setup - spindle PWM ok, axis PWM not ??
«
Reply #9 on:
October 05, 2010, 01:27:37 PM »
Hope you can make some sense of this XML file and that the problem is obvious.
If possible I could also do with an idea of what the scope trace should look like, and what the voltage/division and time base should be set to as i'm getting nothing. i would have thought it should be, say 1v/div and a nice square wave.
thanks ...Sweep
p.s. whilst the title mentions that the spindle pwm works, it doesn't !
Sweep.xml
(98.19 KB - downloaded 37 times.)
«
Last Edit: October 05, 2010, 01:35:38 PM by Sweep
»
Logged
Pages:
1
2
»
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...