krym52.ru

Example modbus TCP master to read 2 REAL value.
Testing application for MV210-101 of OBEH with channels 1 and 3
Library libmodbus.so is used
Call with the only param. config file

connect: iRes=0 errno=115 Operation now in progress
read_registers: iRes=8 errno=115 Operation now in progress
24.5506 24.8167
6796 41C4 C08C 0000 F700 C093 88B4 41C6 
read_registers: iRes=8 errno=115 Operation now in progress
24.5506 24.8167
6796 41C4 C13B 0000 F700 C142 88B4 41C6 
read_registers: iRes=8 errno=115 Operation now in progress
24.5506 24.8167
6796 41C4 C13B 0000 F700 C142 88B4 41C6 
read_registers: iRes=8 errno=115 Operation now in progress
24.5506 24.8167
6796 41C4 C13B 0000 F700 C142 88B4 41C6 
read_registers: iRes=8 errno=115 Operation now in progress
24.5506 24.8167
6796 41C4 C13B 0000 F700 C142 88B4 41C6 

