CANOPEN Communication_ASAP answer required
8 years 3 months ago #29530769
by buchjyot
CANOPEN Communication_ASAP answer required was created by buchjyot
Hi,
I have a encoder configured with my DC motor, I am using HDC2450 for motor control. I can see the encoder data on my roborun plus software. Now using scripting, I am sending that encoder data to CANopen interface in a periodic loop. I am using _CANSEND command, but my compiler doesn't recognize the command and giving me error that _CANSEND is not a valid name constant. please guide me on this asap.
Thanks.
I have a encoder configured with my DC motor, I am using HDC2450 for motor control. I can see the encoder data on my roborun plus software. Now using scripting, I am sending that encoder data to CANopen interface in a periodic loop. I am using _CANSEND command, but my compiler doesn't recognize the command and giving me error that _CANSEND is not a valid name constant. please guide me on this asap.
Thanks.
Please Log in or Create an account to join the conversation.
8 years 3 months ago #29530771
by TechSupport
Replied by TechSupport on topic CANOPEN Communication_ASAP answer required
Perhaps an issue with the compiler.
Try going to the console tab and coming back to the scripting tab and see if it changes. Worst case scenario, uninstall Roborun+ and reinstall.
Try going to the console tab and coming back to the scripting tab and see if it changes. Worst case scenario, uninstall Roborun+ and reinstall.
The following user(s) said Thank You: buchjyot
Please Log in or Create an account to join the conversation.
8 years 3 months ago #29530772
by TechSupport
Replied by TechSupport on topic CANOPEN Communication_ASAP answer required
The cansend is for the Can Raw. You can try using the short key CS instead.
setcommand(_CS, speed1)
setcommand(_CS, speed1)
The following user(s) said Thank You: buchjyot
Please Log in or Create an account to join the conversation.
8 years 3 months ago #29530813
by buchjyot
Replied by buchjyot on topic CANOPEN Communication_ASAP answer required
what is the diffrence between CANopen and Raw CAN ?
Please Log in or Create an account to join the conversation.
- roboteq
8 years 3 months ago #29530815
by roboteq
Replied by roboteq on topic CANOPEN Communication_ASAP answer required
Please read the manual and the wikipedia link
You should only use CANOpen if you understand what it is and only because you have other CANOpen devices in your system.
Otherwise, use the simpler protocols MiniCAN, RawCAN or RoboCAN. RoboCAN is the simplest of all to use if you need to talk between Roboteq devices. See dev.roboteq.com/dev1/index.php/applicati...imple-meshed-network
You should only use CANOpen if you understand what it is and only because you have other CANOpen devices in your system.
Otherwise, use the simpler protocols MiniCAN, RawCAN or RoboCAN. RoboCAN is the simplest of all to use if you need to talk between Roboteq devices. See dev.roboteq.com/dev1/index.php/applicati...imple-meshed-network
Please Log in or Create an account to join the conversation.
Moderators: tonysantoni
Time to create page: 0.062 seconds