CR1000i Siemens S7-1200 PLC data loggers with RS485 module on the data you want to get with Modbus.
'CR1000
'Created by Short Cut (3.2)
'Declare Variables and Units
Public BattV
Public PTemp_C
Public AirTC
Public RH
Public WS_ms
Public WindDir
Public BP_mbar
Public SlrW
Public SlrkJ
Public Modbus_Var(10) as LONG,Variable(10) as BOOLEAN
Units BattV=Volts
Units PTemp_C=Deg C
Units AirTC=Deg C
Units RH=%
Units WS_ms=meters/second
Units WindDir=degrees
Units BP_mbar=mbar
Units SlrW=W/m^2
Units SlrkJ=kJ/m^2
BeginProg
ModbusSlave (Com2,9600,2,Modbus_Var(),Variable(),0)
MODBUS_VAR(1)= AirTC
MODBUS_VAR(2)=RH
MODBUS_VAR(3)=WS_ms
MODBUS_VAR(4)=WindDir
MODBUS_VAR(5)=BP_mbar
MODBUS_VAR(6)=SlrW
NextScan
EndProg
I can read data from Modbus address which one I prepared as described above.
Best regards