Login | Register
The Engineer's Place for News and Discussion®

Previous in Forum: Line Imbalance Fault   Next in Forum: IR TEST
Close

Comments Format:






Close

Subscribe to Discussion:

CR4 allows you to "subscribe" to a discussion
so that you can be notified of new comments to
the discussion via email.

Close

Rating Vote:







3 comments
Participant

Join Date: Apr 2012
Posts: 1

ServoDrive Parameters

04/05/2012 10:37 PM

I have connected up a servo motor to a manual dividing head to automate simple indexing on a CNC mill. All works great except that to alter the Servo Drive parameters I understand the commands need to be sent in binary code ? I have the ability to output ascii code via the program to rs232 is it possible to send binary as well or do i need another interface ? Any help would be appreciated.

Thanks

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Comments rated to be "almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, rate them!
Guru

Join Date: Mar 2007
Location: at the beach in Florida
Posts: 5668
Good Answers: 278
#1

Re: ServoDrive Parameters

04/05/2012 11:35 PM
__________________
The relentless pursuit of knowledge....
Register to Reply
Commentator

Join Date: Apr 2012
Posts: 75
Good Answers: 6
#2

Re: ServoDrive Parameters

04/05/2012 11:57 PM

The question has no meaning. Theres no such thing as running a "servo motor" from a computer.

Its a "servo SYSTEM"

The motor could care less what data format is sent, the interface between the computer and motor is where the question is, and no information has been supplied about that.

ASCII is binary data. ASCII and RS 232 are transmission formats, not data.

-232 is a container. data is whats in it.

Register to Reply Score 1 for Good Answer
Power-User

Join Date: Oct 2009
Posts: 390
Good Answers: 18
#3
In reply to #2

Re: ServoDrive Parameters

04/07/2012 7:33 AM

True, but a little unkind, since the OP does not even mention 'running a "servo motor"', though he does say "All works great".
There is a table of ASCII and binary equivalents at

http://www.pcguide.com/res/tablesASCII-c.html

from which you can see that many, but not all, binary commands can be sent as ASCII codes from a keyboard. If you need some extended codes and your terminal program allows it, then the command numbers may have to be sent in hexadecimal format rather than ASCII. They will all come out in binary format at the servo motor end.

Register to Reply
Register to Reply 3 comments
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Comments rated to be "almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, rate them!
Copy to Clipboard

Users who posted comments:

daveca (1); phph001 (1); SolarEagle (1)

Previous in Forum: Line Imbalance Fault   Next in Forum: IR TEST