MBL1660 communication with RIOX-1216 for Servo motor

8 years 3 days ago - 8 years 3 days ago #29531305 by hbtri7
Hi, I'm hoping someone can help me out with this. I have a MBL1660 and am trying to connect it to I/O extender RIOX-1216. I want to be able to control an RC servo motor using a PWM signal but I wasn't able to find any examples of a similar application. It looks like I have two options, RS-232 or CAN but I'm hoping someone can suggest to me which would be better and if there are any code examples of communication between the two preferably controlling a servo.

Given I have the two I was wondering which is better to be the master and which to be the slave.

Thank you!

Please Log in or Create an account to join the conversation.

8 years 3 days ago #29531307 by TechSupport
The rioX will be used in Robocan mode for sending the signals back to the motor.

Pins 6 and 7 if the 9 pin I/O plus a 120 ohm resistor on those lines connected back to pins 6 and 7 of the MBL1660. The node ID default for the rioX is 6, so you have the MBL1660 listen on node 6 or whatever node ID you reassign the rioX to be.

dev.roboteq.com/dev1/index.php/technology-menu

Please Log in or Create an account to join the conversation.

8 years 2 days ago #29531309 by hbtri7
Is there any special configuration/settings that need to be done in the side of MBL1660 or rioX to set-up/enable roboCAN communication. I realize I need to use the proper rioX ID when using commands like:

SetCANCommand(RIOXID, _RC, 1, 0) ' remove throttle command to RC

Please Log in or Create an account to join the conversation.

8 years 2 days ago #29531310 by TechSupport
Just make sure that the Node ID is not the same as the RioX ID, and set it for Robocan, listen id is RioX ID.

So if MBL1660 is node 2, and RioX is node 8, then it listens to node 8.

Please Log in or Create an account to join the conversation.

Moderators: tonysantoni
Time to create page: 0.060 seconds