CANopen and Microbasic

5 years 5 months ago #29530488 by Kayoku
Hello,

I'll fastly present myself and my project. I'm a student in computer science and currently in work placement. I'm working on many of Roboteq controllers and i need to create the bus CAN to permit communication between controllers.

I read all the documentation about Digital Motors Controllers, and i successfully implement the communication with RawCAN and MiniCAN with two controllers (XDC2230 and MDC2230). But i really don't understand how to use CANopen in my Microbasic script. MiniCAN use TPDO and RPDO for read/write, it's the same use with openCAN ? And how work SDO message ? Can u please give me a short example on how to use CANopen with Microbasic script ?

Thanks for help.

PS : Sorry for my bad english, I know that I need to train it !

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

5 years 5 months ago #29530489 by roboteq
Replied by roboteq on topic CANopen and Microbasic
Our controllers can only initiate TPDOs and receive RPDOs. SDO and Network Managment require that there is a CANOpen master.

If you are only going to use roboteq controllers, we recommend you use the other protocols that are simpler and more efficients. RoboCAN is our newest and easiest to use. See dev.roboteq.com/dev1/index.php/technology-menu/296-robocan

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

5 years 5 months ago - 5 years 5 months ago #29530490 by Kayoku
Replied by Kayoku on topic CANopen and Microbasic
Hello,

Thanks for your answer. I'll compare advantage/disadvantage for each protocol and look at RoboCAN.
I have an other question, not really with the origin subject. In first, i used SDC2130 Controller, but i find that this kind of controller are not compatible with CAN, are you working on it or they never will be compatible ? A lot of device in my company have this controller, so it's a problem for me.

Thanks again !

Edit : Mmmmh.. I don't understand how a controller can listen many controller. In the configuration, i can just enter one ID. We can't make a list of ID ?

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

5 years 5 months ago #29530492 by TechSupport
Replied by TechSupport on topic CANopen and Microbasic
We do offer a CAN version SDC2160 controller. You have to order the N version, but in doing so with our current design, it will render the USB as non-usable since we remove the USB driver chip and some other components in the conversion.

dev.roboteq.com/dev1/index.php/roboteq-p...lers/sdc2160n-detail

The Can ID node is the controller ID you give it. If you have 5 controllers, each will need their own ID node. They will listen to the same node ID that is sending out the CAN messages.

It is like a computer network only made for controllers. Each computer gets their own IP address on the same network IP; controllers have their own node ID#, and will need to be assigned a listen node ID.
The following user(s) said Thank You: Kayoku

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

5 years 5 months ago #29530495 by TechSupport
Replied by TechSupport on topic CANopen and Microbasic
Follow up regarding the SDC2130 Can bus. We will have a new pcb update revision that will come with CAN bus as a standard for both the 30V and the 60V controllers. USB will also be working at the same time as the CAN BUS.

These will be coming soon.

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

5 years 4 months ago #29530497 by Kayoku
Replied by Kayoku on topic CANopen and Microbasic
Hi,

Thank you for your interest.
Nevertheless i think that you didn't understand me when i speak about "Node ID", i want to know if we can listen just 1 ID or if we can do a list of them. (If we can do a list, how ?)

Example : 3 controllers (A, B & C). The A controller want to listen B & C. is it possible ?

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

5 years 4 months ago #29530500 by TechSupport
Replied by TechSupport on topic CANopen and Microbasic
You can't get it to listen to B and C at the same time. Your script can of course be made so it will listen to each by using a switch of some sort such as looking at the digital input.

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

Moderators: tonysantoni
Time to create page: 0.153 seconds