. .
Page 1 of 2 12 LastLast

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Anything here ? https://forum.linuxcnc.org/38-genera...wa-servomotors

    https://en.industryarena.com/forum/s....php?t=157229&

    Have you searched for a generic answer to using servos with Mach3 ?
    Last edited by EddyCurrent; 30-07-2017 at 04:13 PM.
    Spelling mistakes are not intentional, I only seem to see them some time after I've posted

  2. #2
    m_c's Avatar
    Lives in East Lothian, United Kingdom. Current Activity: Viewing Forum Superstar, has done so much to help others, they deserve a medal. Has been a member for 9-10 years. Has a total post count of 2,927. Received thanks 361 times, giving thanks to others 8 times.
    You really need to know how the drives are set before you can test them.
    However a quick look at those pinouts, and if you apply all the required power inputs, activating the RUN pin should at least get the servo to lock, however that depends on the related settings having not been changed from the default where activating the pin enables the servo.
    Avoiding the rubbish customer service from AluminiumWarehouse since July '13.

  3. #3
    Quote Originally Posted by m_c View Post
    You really need to know how the drives are set before you can test them.
    However a quick look at those pinouts, and if you apply all the required power inputs, activating the RUN pin should at least get the servo to lock, however that depends on the related settings having not been changed from the default where activating the pin enables the servo.
    Thanks, I see what you mean, there are so many parameters that could have been changed. Having looked through the manual a little further I think I need to short pin 34 and 35 before the drive will do anything at all.

    It's critical that I get the software interface to work - I think that there's something funny going on with the USB-RS232 converter I have, the Yaskawa software seems to think it's a RS-422 port.

    I just need to keep buggering-on buggering-on until I get there.

  4. #4
    Quote Originally Posted by Agathon View Post
    I think that there's something funny going on with the USB-RS232 converter I have, the Yaskawa software seems to think it's a RS-422 port.

    I just need to keep buggering-on buggering-on until I get there.

    you need to keep on eliminating reasons and i can tell you straight away that i would never use USB-RS232 converter for connecting to servos, or anything. . You need a normal. PC with a normal PCI port and an adapter there. Or even better, a PC with a com port that you could control from bios.


    Standard RS-232C RS-422A

    specifications
    Communications
    method
    Asynchronous (ASYNC)
    Baud rate 2,400 bps
    Start bits 1 bit
    Data 8 bits
    Parity None
    Stop bits 1 bit

    That above is from your servo drive manual. If baud rate is not set at Com port same same, communication will NOT ever happen



    And most of all check that manual https://www.fa.omron.com.cn/data_pdf...8d-u.pdf?id=68 for the proper connection to the drives from the PC side . Check your cabling if is right.


    So in other words from page 1-7 seems you need Null Modem Cable https://www.decisivetactics.com/supp...h-serial-cable


    Click image for larger version. 

Name:	servo omron rs232.PNG 
Views:	964 
Size:	173.7 KB 
ID:	22409
    Last edited by Boyan Silyavski; 31-07-2017 at 05:26 AM.
    project 1 , 2, Dust Shoe ...

  5. The Following User Says Thank You to Boyan Silyavski For This Useful Post:


  6. #5
    Quote Originally Posted by Boyan Silyavski View Post
    you need to keep on eliminating reasons and i can tell you straight away that i would never use USB-RS232 converter for connecting to servos, or anything. . You need a normal. PC with a normal PCI port and an adapter there. Or even better, a PC with a com port that you could control from bios.


    Standard RS-232C RS-422A

    specifications
    Communications
    method
    Asynchronous (ASYNC)
    Baud rate 2,400 bps
    Start bits 1 bit
    Data 8 bits
    Parity None
    Stop bits 1 bit

    That above is from your servo drive manual. If baud rate is not set at Com port same same, communication will NOT ever happen



    And most of all check that manual https://www.fa.omron.com.cn/data_pdf...8d-u.pdf?id=68 for the proper connection to the drives from the PC side . Check your cabling if is right.


    So in other words from page 1-7 seems you need Null Modem Cable https://www.decisivetactics.com/supp...h-serial-cable


    Click image for larger version. 

Name:	servo omron rs232.PNG 
Views:	964 
Size:	173.7 KB 
ID:	22409
    Many thanks Boyan - that's really helpful. I'll check all the above. 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.

  7. #6
    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.
    you will have to make sure the baud rate is the same at both ends also start and stop bits are correct, the handshaking might be xon/xoff (ie software handshaking). You might also have to swap pins 2 and 3 over at one end this depends if the Pc is setup as DTE or DCE. one good thing about the com port is that it is hard to break
    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

  8. #7
    Quote Originally Posted by Clive S View Post
    you will have to make sure the baud rate is the same at both ends also start and stop bits are correct, the handshaking might be xon/xoff (ie software handshaking). You might also have to swap pins 2 and 3 over at one end this depends if the Pc is setup as DTE or DCE. one good thing about the com port is that it is hard to break
    Thanks Clive, I'll take a look at all the things Boyan mentioned. I'll check the PC DTE or DCE settings - I'll buy a cable that I can alter the connections on.

  9. #8
    Quote Originally Posted by Boyan Silyavski View Post
    you need to keep on eliminating reasons and i can tell you straight away that i would never use USB-RS232 converter for connecting to servos, or anything. . You need a normal. PC with a normal PCI port and an adapter there. Or even better, a PC with a com port that you could control from bios.


    Standard RS-232C RS-422A

    specifications
    Communications
    method
    Asynchronous (ASYNC)
    Baud rate 2,400 bps
    Start bits 1 bit
    Data 8 bits
    Parity None
    Stop bits 1 bit

    That above is from your servo drive manual. If baud rate is not set at Com port same same, communication will NOT ever happen



    And most of all check that manual https://www.fa.omron.com.cn/data_pdf...8d-u.pdf?id=68 for the proper connection to the drives from the PC side . Check your cabling if is right.


    So in other words from page 1-7 seems you need Null Modem Cable https://www.decisivetactics.com/supp...h-serial-cable


    Click image for larger version. 

Name:	servo omron rs232.PNG 
Views:	964 
Size:	173.7 KB 
ID:	22409
    Looking at that drawing and the info you've sent on null modem cables, it's not a straight RS232 cross-over as it's computer pin 2 to driver pin 2 and computer 3 to driver 4. I'll have to make a cable.

    Will post and let you know how I get on - thanks again.

  10. #9
    Quote Originally Posted by Boyan Silyavski View Post
    you need to keep on eliminating reasons and i can tell you straight away that i would never use USB-RS232 converter for connecting to servos, or anything. . You need a normal. PC with a normal PCI port and an adapter there. Or even better, a PC with a com port that you could control from bios.


    Standard RS-232C RS-422A

    specifications
    Communications
    method
    Asynchronous (ASYNC)
    Baud rate 2,400 bps
    Start bits 1 bit
    Data 8 bits
    Parity None
    Stop bits 1 bit

    That above is from your servo drive manual. If baud rate is not set at Com port same same, communication will NOT ever happen



    And most of all check that manual https://www.fa.omron.com.cn/data_pdf...8d-u.pdf?id=68 for the proper connection to the drives from the PC side . Check your cabling if is right.


    So in other words from page 1-7 seems you need Null Modem Cable https://www.decisivetactics.com/supp...h-serial-cable


    Click image for larger version. 

Name:	servo omron rs232.PNG 
Views:	964 
Size:	173.7 KB 
ID:	22409
    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.

  11. #10
    Quote Originally Posted by Agathon View Post
    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.
    In your manual when you read it carefully here and there is mentioned about some sub manuals, like the one i linked to. Or just do a careful straight google search for the thing you have not clear. i have 2 manuals for my Samsung servos, and they are slightly different.
    project 1 , 2, Dust Shoe ...

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Breakout board to Telemechanique Altivar 18 wiring (Mach3)
    By Agathon in forum Motor Drivers & Controllers
    Replies: 14
    Last Post: 08-07-2017, 07:12 PM
  2. which breakout board?
    By johngoodrich in forum General Electronics
    Replies: 4
    Last Post: 12-03-2017, 01:54 AM
  3. Replies: 0
    Last Post: 03-01-2015, 03:40 PM
  4. eBay: UIM2901-5A Mach3 breakout board with spindle speed control
    By Fivetide in forum Items On eBay UK
    Replies: 0
    Last Post: 05-02-2013, 07:25 PM
  5. Breakout Board
    By croy in forum Electronic Project Building
    Replies: 10
    Last Post: 18-08-2011, 07:50 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •