Menu

Topic-icon HBL2360A controller not replying via RS232

More
3 months 1 week ago #29534398 by jcco104

I´m using a PLC to send commands via RS 232. The port is configured at 9600baud rate no parity, 1 stop bit, no flow control, the baud rate was configured in the controller through the PC utility. When a command is sent no reply is recieved from the controller.
Using an adapter for the PC we tried using RealTerm (A serial Capture program) with the same config, the PLC works fine using this app, but the controller is still not sending a reply, however we are recieving the inicial message from the controller when it get turned on. attached is a screenshot of this message

Attachments:

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

More
3 months 1 week ago #29534399 by Gabriel_Isko

By default the controller is in 115200 baud, but perhaps your terminal program is adjusting to the correct baud automatically.

Either way, you should make sure you are sending terminating characters to conclude the end of your serial commands. That way, the controller knows that the command has ended, and it should parse the incoming statement. Roborun+ adds these automatically. You can either use the newline character or the underscore ('_') to terminate a serial command.

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

More
3 months 1 week ago - 3 months 1 week ago #29534405 by jcco104

yes we figure that out on friday and started working on that, but now the controller is not even sending the inicial message. The setup was untouched through the weekend the config is the same, and we cant find the problem. The controller does work with usb , the command ~RSRB confirms the baud rate is correct and still we dont even get the inicial message

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

More
2 months 3 weeks ago #29534420 by roverbuilder

Hi, I have much similar issue with My HBL2360 controller. (I didn't create new thread as this is similar to my issue.). I want to get telemetry from controller. I'm controlling it using RC control inputs. I use arduino with RS232-TTL converter. I'm not getting any response from Roboteq controller.
Did you manage to get your communication issue sorted out?

@Gabriel
Is it need to enable RS232? How to do it? I thought "Print" command simply write data to serial port at 115200 baud rate.

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

More
2 months 2 weeks ago #29534436 by Gabriel_Isko

Print, by default, sends data to the last used port, whether it is RS232 or USB. You can set this manually with the SCRO Configuration Command.

If you are still having issues, the best thing to do with Serial output from your controller is to get an RS232 to USB converter, and check from your computer that the TTL converter is working properly. We sell one on our Webstore .

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

Moderators: tonysantoni
Time to create page: 0.109 seconds
Go to top