-
I do have a PC with a RS-232 port and have tried connecting with that, but I didn't check any of the settings. I'll check the cable too.
Last edited by Clive S; 31-07-2017 at 11:05 AM.
..Clive
The more you know, The better you know, How little you know
-
31-07-2017 #12
-
31-07-2017 #13
-
31-07-2017 #14
OK, got the software to talk to the driver thanks to your diagram Boyan - many thanks. USB-RS232 working well - software thinks it's 422, but I'm not splitting hairs.
Do you have a source for the manual? - it's not the same as the two I already have and may contain more detail. The manuals I have don't show pin numbers for the CN3 port for instance.
-
31-07-2017 #15
-
01-08-2017 #16
Many thanks for everyone's input. Managed to get the software talking to the driver and to run the motor. Software works very nicely. Loads of torque from tiny little motor - very impressive. I think my Leadshine stepper drivers may be up for sale shortly! Next step to configure the parameters and get Mach3 running them.
-
01-08-2017 #17
As far as configuring Mach3 goes, as it's a step/dir servo, it's just the same as configuring a stepper. Set the correct step/distance figure, maximum speed, and fiddle with acceleration.
Avoiding the rubbish customer service from AluminiumWarehouse since July '13.
-
07-08-2017 #18
Well, I'm hitting the buffers again trying to get Mach3 to control the servo system.
Having got the Yaskawa software to power up the motor and drive it at various speeds it seems that fundamentally the drive and motor are sound. However, the drive does do something weird. Having set the parameters all back to factory settings I then set the Cn-01 bit 0 to 1, which switches the motor on at start up without any external commands. All good except the motor rotates at around 1-2rpm. Changing the direction parameter changes the direction of rotation. I can't see what command is causing the rotation. If Cn01 bit 0 is changed back to 0 and the motor jog test performed the motor remains locked in position until commanded to run forward or reverse. I did wonder if it was interference on the encoder cable (the temporary set up is using shielded but not twisted pair cable), but this doesn't fit with the jog test results. Both the drivers I have do the same thing.
I found the following instructions on another forum:
This is just for the SGD and SGDA type P Yaskawa Servos to get the very minimum wiring to give Pulse and Direction control. The only signals you have to have on 1CN are pins 1, 2, 3 & 4. To use this minimalist configuration, set parameter Cn-01 to 0000 0000 1010 1101 or AD hex. Set Cn-02 to all zeros, or 00 hex. This means the drive will power up in the on state and won't be looking for or caring about overtravel switches. To clear a fault, power down and back up.
Now tie 1CN pins 2 & 4 to common (0 Volts) of the printer port (PP) or breakout board (BOB) and pin 1 to the step output of the PP or BOB through (in series with) a 180 ohm 1/2 watt resistor. 1CN pin 3 ties through a 180 ohm resistor to the direction output.
One other interesting observation: if power to the breakout board is switched off Mach3 commands still do the same as above but at 1109 rpm and 1rpm
I have to say that I've never come across a more opaque manual - I've read and read and still can't fathom what parameters need to be changed to get sensible functioning.
-
07-08-2017 #19
Actually looking at that quotation again it does make sense, it's just not very clear that they are referring to the bit settings on all the zeros.
-
07-08-2017 #20
The drives are definitely step/dir input, and not analogue?
The creeping sounds just like what an analogue drive would do if the servo loop wasn't active, and the residual voltage was causing drifting. It would also tie in with the moving at speed, or creeping, as the direction pin goes from near 0V to whatever voltage it puts out at high (3.3-5v?).Avoiding the rubbish customer service from AluminiumWarehouse since July '13.
Thread Information
Users Browsing this Thread
There are currently 2 users browsing this thread. (0 members and 2 guests)
Similar Threads
-
Breakout board to Telemechanique Altivar 18 wiring (Mach3)
By Agathon in forum Motor Drivers & ControllersReplies: 14Last Post: 08-07-2017, 07:12 PM -
which breakout board?
By johngoodrich in forum General ElectronicsReplies: 4Last Post: 12-03-2017, 01:54 AM -
FOR SALE: 3 Axis CNC USB Motion Card Mach3 200KHz Breakout Board For Stepper/Servo Driver
By dudz in forum Items For SaleReplies: 0Last Post: 03-01-2015, 03:40 PM -
eBay: UIM2901-5A Mach3 breakout board with spindle speed control
By Fivetide in forum Items On eBay UKReplies: 0Last Post: 05-02-2013, 07:25 PM -
Breakout Board
By croy in forum Electronic Project BuildingReplies: 10Last Post: 18-08-2011, 07:50 AM
Bookmarks