Hi
I connected succesfully and ran different modes the motor controller MDL-BDC24 from the GUI, however when trying to send commads, the controller does not connect.
When I send the command "bdc-comm -c 1" I got "#" promt, then "# heartbeat" and the answer is "# hearbeat OFF", still no change on the motor controller. I tried other commands but no change. The GUI version is 101, windows XP
Any clue?
Thank you,
Miguel
Miguel,
I'll have to go back through a setup. I remember having a similar issue...and off the top of my head there is a contention issue if you have com0com installed. If you have it installed, do a un-install on it and try it again.
I'll let you know what my results yeild.
Lela
Lela,
I am using a true serial COM port from my PC. I guess there should be a special command to open and setup properly the COM port. Remember that the motor driver works fine when accessing from the GUI.
Bottom line, I want to verify that I can run the controller using serial commands. The final idea is to generate and send these commands from a PLC.
What are your com settings? The UART interface is run at 115,200 baud with eight data bits, no parity, and one stop bit (8-N-1).This is a standard UART rate and data configuration.
Verified! Flow contros is set to None
Have you been able to establish serial communication with anything else on com port 1? Please close any applications that would cause contention on com port 1 i.e. the GUI, etc.
Yes, I used COM1 it to connect another tools like to flash my PLC. After that I restarted the PC and just in case I manually disabled/enabled the COM1 and set the proper speed and settings you mentioned above.
Again, I use this port to use the motor driver using the GUI and worked fine. I can drive the motor in any direction and/or position.
Something interesting is that when I iniitially start the GUI interface, if for example the motor driver is unpowered or the DB9 disconnected, the STATUS shows CONNECTED, if I click on that tab the status will be show DISCONNECTED, click again and shows CONNECTED, Still I cannot do anything because all the other tabs (Mode, Configuration ..) stayed grey out.
If the motor is powered and DB9 connected all tabs will be available once I start the GUI.
What is the command to connect/disconnect the port? Do you have a script that can do this job? I set the port at the proper speed using windows but just in case, what would be the command to set the speed from the command line?
I spoke with one of the other engineers in the office. He told me that v101 is an indication you are using a First specific software for the GUI. Can you tell me what version of Firmware is programmed into the MDL_BCD24? You can find out by going to the configuration tab on the GUI.
The Configuration tab of the GUI does not show any information of software version. On the System tab is shows Hradware version 2, and Firmware version 8161. On Help/About tab the version shown is 101.
Which version I am suppose to use?
Please advice what is the software version you recommend to run this controller properly
Thank you
My appologies for the delay. I did not get the last response for some reason it didn't auto-generate a notification to me.
Please use version 9107, download at http://www.ti.com/tool/sw-rdk-bdc24. This is the Stellarisware version. I'm not sure how you ended up with First SW...but it will be easier for me to provide support with the Stellarisware only.
I am going through a set up with one of the kits here too.
One more quick question...what color is your Jaguar kit? Brown or black?
Black
Okay good...The BCD-COMM only works with the black RDK-BDC24 kit.
when you get to the #
type the following in the order:
system enum < should print out system enum = 1>
id <value printed out by system enum>
volt set 10000
The motor should spin. The default mode is voltage mode, so you do not have to enable it. The heartbeat command toggles it on/off each time you enter it.
My 24V battery went dead so it took me some time to re-charge it
System shows System enum =1
System shows Id = 0 --> LED blinking
When sent the command volt set 10000 --> no motor activity
I set a new ID =2 from GUI, then repeat DOS commands above, here the new response:
System enum = 2
Id = 0
Still no motor activity and LED still blinking
??
When you typed system enum it printed, "=2"?
If so, type the exact following, in the exact same order:
id 2