RUT200 - Sending SMS over Modbus

Hi.

I’m trying to send SMS over Modbus on RUT200 (FW: RUT2M_R_00.07.17.3) according this guide Modbus TCP Server Send SMS example - Teltonika Networks Wiki but no sucess.

I load the message and after that I’m writting the value 1 on register 397. When I do that all other registers (398, 399,…) are erased but no message was sent.

Anyone can help me please.

Thank you.

Hello,

Thank you for reaching out. Your request is currently under review and analysis. Once the evaluation is complete, I will get back to you with an update and further information, findings, or suggestions.

In the meantime, could you please confirm what data type you are selecting when writing the value 1 to register 397? If it’s in HEX, then 0001 should be used instead of 0/1.

Best regards,

Hello Martynas.

Yes, I’m writing in hex the value 0001.

Just update because the image that I was posted isn’t correct. This is the correct image:

Thank you.

Best reagrads.

Hello,

I have tested the Modbus TCP Server SMS sending setup using QModMaster and was able to successfully send SMS messages. Here are a few important notes to mention:

  1. The Write Multiple Registers (16) function to write the message text needs to be executed separately from the Set Single Holding Register (6) request used for sending the SMS. Keep in mind that the first register address is 398:
1st Writing multiple registers (16) function

2nd Writing single holding register (6) function

  1. Based on your provided screenshot, it looks like you’re attempting to execute both functions simultaneously. This approach is not the most reliable or recommended, however, I’ve tried testing writing multiple registers starting from 397, with the quantity set to 21, and the first register’s HEX value for sending is 0001 and SMS sending worked as well.

I hope this information will be useful information or provide insights to your setup.

Best regards,

Hello Martynas.

Is working now. I had the base address set to 0 insted to 1, so I was writing in wrong addresses. Also I was not using the correct function to set the send command (397).

Thank you very much.

Best regards.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.