in reply to Re: Need help with Modbus
in thread Need help with Modbus
Thank you! However, could you please elaborate: if my IP is 192.168.0.57 port 502, then do I format the like this? $proto = Protocol::Modbus->new( driver => 'TCP', transport => 'TCP', ip=>'192.168.0.57', port=>'502' );
if in c ret = read_input_registers(&mb_param, SUNSAVERMPPT, 0x0000, 75, data); Then Which are the function, address and quantity? in my $request4 = $proto->request( function => 4, address => 1, quantity => 1, );
Which handle/variable gets the modbus reply?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Need help with Modbus
by Khen1950fx (Canon) on Jan 27, 2012 at 06:50 UTC | |
by raulpena (Initiate) on Apr 26, 2013 at 18:24 UTC | |
by Khen1950fx (Canon) on Apr 27, 2013 at 03:31 UTC | |
by olibo (Initiate) on Aug 17, 2013 at 14:46 UTC | |
by Khen1950fx (Canon) on Aug 18, 2013 at 05:32 UTC | |
by olibo (Initiate) on Aug 20, 2013 at 19:28 UTC |