Due to the way some serial device drivers work, you may only see one side of the message. Go to Tools>Start RTU Serial Monitor to see RTU traffic. Starting the slave simulator makes your PC Modbus accesible on any other network interfaces.
#Modbus rtu simulator update
Writes will update values in the slave simulator window. Then read them back using your local address (127.0.0.1). If you do not have a Modbus device but want to test Modbus Mechanic, go to Tools>Start slave simulator and enter some register values. Select the appropriate radio buttons in order to convert the data. Values can be written to devices by entering them into the text area. The checkboxes are to quickly determine what operation is needed in order to get good data. Some devices swap the words and/or bytes before converting the data type to Float, Int or ASCII. You must specify length when reading ASCII. The ASCII radio button interprets the recieved data as ASCII characters. The custom radio button is for reading raw words of data in hexidecimal format.
#Modbus rtu simulator 32 bit
To read a Float, 16 Bit Integer, or 32 Bit Integer, use the appropriate radio buttons.
The length field is used to specify how many registers the read should be in 16 bit words. Modbus supports this by combining multiple registers. Some data types are longer than 16 bits, such as a float value. QuantityĮach 16 bit register is called a word.
For devices that use an offset, subtract 1 from the register address, as Modbus Mechanic uses addressing starting from 0.
The actual register used in the register field of the packet is 1 lower. Offset devices start labeling their registers at address 1. Some devices use an offset in their register numbering.