Problem:
Device protocol configuration if data is available on Modbus RTU
Solution:
Do the below protocol configuration in protocol information for hardware(PLC, HMI, Flowmeter, Energy meter, etc.)
1. For DATCon(Linux) -
Add the below RTU protocol configuration of a device in protocol information,
BaudRate - Enter the baud rate of the device.
SlaveId - Enter the slave id of the device.
PortNumber - Enter ‘ttymxc2’ in the port number.
Parity - Enter parity (None = 0, Even = 2, Odd = 1)
DataBits - Enter data bits.
stopbits - Enter stop bits.
TimeOut - Enter maximum time to give the response in msec
Example-
BaudRate,9600
SlaveId,1
PortNumber,ttymaxc2
Parity,0
DataBits,8
StopBits,0
TimeOut,3000
2. For Windows DAS -
If your using windows DAS then enter the COM port number in PortNumber instead of ‘ttymxc2’, remaining all configuration are same.
You can get the COM port number in Device Manager.