Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Can I use terminal emulator to change RS-485 Modbus sensor's settings?


Kuan Jul 7, 2023 01:30 PM

I'm using a CR1000X, can I use terminal emulator to change RS-485 Modbus sensor's settings? e.g., sensor address (I know I can change address for SDI12 sensors using aAb!), baudrate, etc.

Thanks!


JDavis Jul 7, 2023 03:17 PM

Modbus does not define a standard command for changing a sensor's Modbus address. Typically, the sensor has the address mapped to a register number. The address can then be changed with a Modbus write register command.

You might get it to work with the Send File button in the terminal. The talk through mode of the terminal does not allow certain characters. So, if the Modbus packet contains any prohibited characters, it won't work.

An option that is known to work is using a datalogger program to set the register in the sensor settings.


rebeccawebb Jul 8, 2023 06:40 AM

I'm using a CR1000X, can I use terminal emulator to change RS-485 Modbus sensor's settings? e.g., sensor address (I know I can change address for SDI12 sensors using aAb!

), baudrate, etc.

Thanks!

Yes, you can use terminal emulator to change RS-485 Modbus sensor’s settings for CR1000X. However, Modbus does not define a standard command for changing a sensor’s Modbus address. You can enter terminal mode by connecting a computer to the CR1000X and see the terminal commands lists terminal mode options. When doing Modbus communications over RS-232, the data logger can be set to keep communications ports open and awake, but at higher power usage.


lauryfriese Jul 28, 2023 10:31 AM

It is possible to use a terminal emulator to communicate with a RS-485 Modbus sensor and change its settings, but this would require knowledge of the Modbus protocol and the specific commands required to interact with the sensor.
The Modbus protocol is a commonly used communication protocol in industrial automation systems, and it defines a set of rules for exchanging data between devices over serial communication lines. To communicate with a Modbus sensor, you would need to use a terminal emulator that supports serial communication (such as PuTTY or Tera Term), configure the emulator to use the correct serial port settings (baud rate, parity, etc.), and send Modbus commands to the sensor using the appropriate syntax and function codes. 
The specific commands required to interact with a Modbus sensor can vary depending on the sensor's manufacturer, model, and firmware version. It's important to consult the sensor's documentation or contact the manufacturer to obtain the correct Modbus commands and syntax required to change the sensor's settings.
In summary, while it is possible to use a terminal emulator to communicate with a RS-485 Modbus sensor and change its settings, it requires a good understanding of the Modbus protocol and the specific commands required for the sensor in question. 


shotputtoe Feb 20, 2024 09:29 AM

This post is under review.

Log in or register to post/reply in the forum.