Control MC V3.0 MotionController via RS232 An Arduino Library Application Note
■This ApplicationNote is intended to show how a connection from an embedded μController to any FAULHA-BER MC V3.0 via RS232 can be established. An example library has been developed using an Arduino nano. It is meant to be an example how such a communication stack could be implemented on a μController. Details will be different for non-Arduino environments, but these changes are mentioned.
■Applies To
▲Any MotionController out of the MC V3.0 family having an RS232 interface
●Description
■General Setup
▲The used setup consists of one Arduino nano every and 1 ... 4 MC 5004 P controlled by the code examples.The TTL levels of the Arduinos Rx/Tx ports @ PC4 and PC5 are converted to RS232 levels using a RS232 transceiver based on one of the popular MAX232 – here an old IF232 from elmicro. If multiple MC V3.0 are connected to a single host RS232, the interfaces of the devices are connected in parallel. Rx/Tx must be swapped between the mastr and the slaves.
▲When a RS232 network is to be used the FAULHABER MCs mustbe configured for RS232 net-mode to avoid any asynchronous messages. As any MC has to release the TX line again after each transmission, the Tx-line of the drives is tied to GND via a resistor.
|
|
Application note & Design Guide |
|
|
|
Please see the document for details |
|
|
|
|
|
|
|
English Chinese Chinese and English Japanese |
|
01.04.2021 |
|
|
|
|
|
1.8 MB |
- +1 Like
- Add to Favorites
Recommend
All reproduced articles on this site are for the purpose of conveying more information and clearly indicate the source. If media or individuals who do not want to be reproduced can contact us, which will be deleted.