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 27, 2012, 11:27:04 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
Third party software and hardware support forums.
SmoothStepper USB
(Moderator:
Warp9TD
)
PMDX-126 and SS K1 relay (spindle power) control
Pages:
1
2
3
»
Go Down
« previous
next »
Author
Topic: PMDX-126 and SS K1 relay (spindle power) control (Read 2163 times)
0 Members and 1 Guest are viewing this topic.
dgates80
Active Member
Offline
Posts: 31
PMDX-126 and SS K1 relay (spindle power) control
«
on:
January 30, 2011, 02:50:06 PM »
This is making me crazy.
I have recently purchased a PMDX-126 and a SS. Basic install is going fine, USB and Mach driver installed, they are talking, I can move all 3 axis of my machine.
Attempting to get the motor control relay that is on the PMDX-126 to work. I configure the ports/pins to use port 1, pin 2, for step and port 1, pin 14 for direction for relay K1 and K2 respectivly.
Spindle control is enabled, in step/dir mode.
If I set active low the relay energizes and active high it denergizes (love those LED's indicating output state on the PMDX-126). This sort of tells me that the electrical connectivity is there, and that I have the pin assignments right.
A M3 or M4 command on the MDI do not seem to control the relay though. M1 has no effect either. I am at a loss for what to try next! No a show stopper to running my machine as I had no motor relay control set up so there is the old manual on-off switch, but....
Logged
Jeff_Birt
Active Member
Offline
Posts: 809
Re: PMDX-126 and SS K1 relay (spindle power) control
«
Reply #1 on:
January 30, 2011, 09:44:43 PM »
Quote
Attempting to get the motor control relay that is on the PMDX-126 to work. I configure the ports/pins to use port 1, pin 2, for step and port 1, pin 14 for direction for relay K1 and K2 respectivly.
Huh? Why are you trying to turn a relay on with a step/direction signal? What you need to do is look in the 'Spindle Setup' tab in Ports&Pins under 'Relay Control'. Set the Output number to the logical output you want triggered when the spindle is told to turn on in the forward and reverse direction. For example set M3 to Output #1, and M4 to Output #2. Now go to the 'Outputs' tab and set 'Output #1' and 'Output #2' to the proper port and pin numbers.
Logged
Happy machining , Jeff Birt
Check out
www.soigeneris.com
dgates80
Active Member
Offline
Posts: 31
Re: PMDX-126 and SS K1 relay (spindle power) control
«
Reply #2 on:
January 31, 2011, 05:23:00 AM »
That's why the forums are so great! I was using step/dir because there is a "spindle" in the "motor outputs" tab, an error in intuition and not very well covered in the docs, IMHO. I will give your idea a go and see if it gets things going.
Now, if I could just get keep the USB driver from dropping offline between the computer and teh smoothstepper.... I am going to try a couple of things there, a different computer and a different USB cable for starters. Also, I rolled back to the lockdown version of the SS plugin -- I noted in the release notes that the developer 'doubled the current from the FPGA to the FDTI (USB) chip' so there is the potential for different USB charisteristics, perhaps.
On a totally unrelated note, I'm making chips! It's funny, folks are coming out of the treeline with "can ya make me a ____" requests. Have made about 8 signboards so far, just basic ones using the "Write" wizard. Which is *terrible*, but it gets the job done....
Logged
Jeff_Birt
Active Member
Offline
Posts: 809
Re: PMDX-126 and SS K1 relay (spindle power) control
«
Reply #3 on:
January 31, 2011, 07:01:27 AM »
Take a look at the 'Installation Tips' document in the SmoothStepper section here:
Quote
http://www.soigeneris.com/Documentation-content.aspx
. Typically the problem with loosing communication is related to how Windows is set up.
Logged
Happy machining , Jeff Birt
Check out
www.soigeneris.com
dgates80
Active Member
Offline
Posts: 31
Re: PMDX-126 and SS K1 relay (spindle power) control
«
Reply #4 on:
January 31, 2011, 10:02:27 AM »
Thanks, Jeff, I think you have something there, I will give it a go this evening!
Reading the doc you reference, I can see how power management of USB can cause problems. Even if the SS itself is externally powered, which mine is via the PMDX-126 board, as opposed to using the USB power. In fact my symptoms sort of point that way in that the FPGA state stays in "done" (vs "init") indicating that the FPGA software is still downloaded and present onboard the SS itself, just the comms piece is going away on me. Perhaps the FDTI USB chip is still powered by the PC +5V coming across the USB cable? If that's the case (and I suspect that it is) then when the PC shuts down USB power then the USB connection goes away, resulting in the Mach3 SS plugin throwing a comms assert exception.
Nice catch!
On a brighter note, I notice a huge improvment in the axis motion of my machine with SS. I was getting stalling and skipped steps with the PP interface, upon reflection probably due to the DMA associated with the mobo's onboard graphics doing DMA and stealing cycles from the pp driver ring 0 process... just speculating though. It truely *is* a smoother stepper!! ;-)
On the down side, the SS plug in loses the - sometimes handy - PP driver based feature of that pop-up window saying "a limit switch has tripped, would you like for Mach to fix this", which allows one to back off a limit switch via a couple of jog cycles. With SS I have to estop the machine (and I have estop tied into both the PMDX-126 *and* the G540, so that the steppers go limp) and then back out of the limit switch by turning the lead screws by hand. Of course, ya'll never hit limit switches because you are MUCH better machine operators than I!
-- Don Gates
Logged
Jeff_Birt
Active Member
Offline
Posts: 809
Re: PMDX-126 and SS K1 relay (spindle power) control
«
Reply #5 on:
January 31, 2011, 10:16:14 AM »
You just need to tell Mach to let you back off the limit switch (in configuration). Or, better yet get the Soft Limits set up and you'll never have to worry about hitting a limit.
Logged
Happy machining , Jeff Birt
Check out
www.soigeneris.com
dgates80
Active Member
Offline
Posts: 31
Re: PMDX-126 and SS K1 relay (spindle power) control
«
Reply #6 on:
January 31, 2011, 10:23:31 AM »
I will check the config for that option. As for soft limits, seems when I turn them on they keep annoying me and getting in the way, my work pieces seem to push right to the edge of the working envelope. But you're right.
-dg
Logged
dgates80
Active Member
Offline
Posts: 31
Re: PMDX-126 and SS K1 relay (spindle power) control
«
Reply #7 on:
January 31, 2011, 12:06:50 PM »
Quote from: Jeff_Birt on January 31, 2011, 10:16:14 AM
You just need to tell Mach to let you back off the limit switch (in configuration). Or, better yet get the Soft Limits set up and you'll never have to worry about hitting a limit.
Is this the "home switch safety" check box in config?
Logged
dgates80
Active Member
Offline
Posts: 31
Re: PMDX-126 and SS K1 relay (spindle power) control
«
Reply #8 on:
January 31, 2011, 03:46:46 PM »
Well. I implemented your suggestion regarding the spindle motor control relays assigned to an output and set the approprite output and THAT works.
Got the FTDI USB driver error again, switching to the v.17 plugin now, have reset pwr management in device manager, going to see if it's more stable now.
Wish me luck! (It ran 90% through a 10,000 line gcode file and then I accidentelly pulled the USB cable. Arrgh. Do-Over)
-dg
Logged
dgates80
Active Member
Offline
Posts: 31
Re: PMDX-126 and SS K1 relay (spindle power) control
«
Reply #9 on:
January 31, 2011, 04:52:12 PM »
Arrgh. Smoothstepper appears in device manager. Turn off power to SS and it goes away. Turn power back on and it comes back. Mach plugin won't see it. Making me crazy.
Logged
Pages:
1
2
3
»
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...