I have spent 2 days to establish my network but cannot, Please give me your help.
My system include some remote station and a center.
Remote station have CR1000X connect to RV50. Data will be send to center via Modbus TCP/IP. Router in center with static IP and also open port 502. All is connected by Ethernet port.
I tried some command below but not succesful
Public DataModbus(5)
BeginProg
Scan(5,Sec,1,0)
Battery(Batt)
PanelTemp(PTemp_C,60)
DataModbus(1) = Batt
DataModbus(2) = PTemp_C
DataModbus(3) = Rain
DataModbus(4) = waterlevel
TCPOpen ("IP_of_center",502,1000)
ModbusSlave(502,-9600,40004,DataModbus(),15)
Nextscan
EndProg
DataModbus with 5 data in array
Thank you very much
Nobody there