- Forum
- Roboteq Motor Controllers
- Controller Configuration & Operation
- [Question] Fixed-rate Telemetry Reporting Through CAN Network
[Question] Fixed-rate Telemetry Reporting Through CAN Network
7 years 4 months ago - 7 years 4 months ago #29532020
by frankw
First off, a bit about my setup. I have 11 Roboteq controllers (mixed models) connected together with RoboCAN. A microcontroller is connected to one node using RS232.
I want to constantly retrieve some simple data from each of the Roboteq nodes, at a fixed rate. I'd be satisfied with 50-100Hz. However, based on what I've gathered from old posts on these forums, the telemetry string doesn't actually work. I tried running a simple script, but it looks like "Print" in the scripting language only reports to the USB serial.
Right now, my solution is to blast the CAN bus with data request, which sounds like an awful solution. It also appears to stop working as soon as I request data from more than one CAN node. Isn't there a better way to do this?
I want to constantly retrieve some simple data from each of the Roboteq nodes, at a fixed rate. I'd be satisfied with 50-100Hz. However, based on what I've gathered from old posts on these forums, the telemetry string doesn't actually work. I tried running a simple script, but it looks like "Print" in the scripting language only reports to the USB serial.
Right now, my solution is to blast the CAN bus with data request, which sounds like an awful solution. It also appears to stop working as soon as I request data from more than one CAN node. Isn't there a better way to do this?
Please Log in or Create an account to join the conversation.
7 years 4 months ago #29532023
by frankw
Replied by frankw on topic [Question] Fixed-rate Telemetry Reporting Through CAN Network
I've found a temporary solution where I can retrieve data from the two most crucial nodes. A script on one of the two nodes constantly reports its feedback state. The microcontroller requests data from the other node. This will get me through what I need to do in the immediate future, but I'd still like a more permanent solution.
Please Log in or Create an account to join the conversation.
7 years 4 months ago #29532024
by blake
Replied by blake on topic [Question] Fixed-rate Telemetry Reporting Through CAN Network
You can use the SCRO configuration command to tell where to print
setconfig(_SCRO, X)
where X:
0: last used
1: RS232
2: USB
setconfig(_SCRO, X)
where X:
0: last used
1: RS232
2: USB
Please Log in or Create an account to join the conversation.
7 years 4 months ago #29532025
by frankw
Replied by frankw on topic [Question] Fixed-rate Telemetry Reporting Through CAN Network
It's not in the documentation. Are there more options? (i.e. CAN)
Please Log in or Create an account to join the conversation.
7 years 4 months ago #29532027
by blake
Replied by blake on topic [Question] Fixed-rate Telemetry Reporting Through CAN Network
You are correct that it is not currently in our documentation. We are in the process of updating our manual and this is a new command that will be documented in the next release. It should work as the best solution for what you are trying to achieve. It represents "Script output"
Please Log in or Create an account to join the conversation.
Moderators: tonysantoni
- Forum
- Roboteq Motor Controllers
- Controller Configuration & Operation
- [Question] Fixed-rate Telemetry Reporting Through CAN Network
Time to create page: 0.066 seconds