I have a flexsim model and I want to connect this model to the robot through modbus connection in order to receive real data of battery from robot but I cannot do it. I appreciate if you could help me to do
There are no batteries in UR robots. What robot are you referring to?
Here is documentation of all data available from modbus server on UR robots: Modbus Server - 16377 | Universal Robots Support
MIR Mobile industrial robot.