modbus tcp/ip

Discussion about communication protocols (configuration, functions, hardware required).
pangya
Posts: 30
Joined: Thu Oct 29, 2015 8:10 am

modbus tcp/ip

Postby pangya » Wed Feb 17, 2016 9:29 am

is the winlog support connection modbus tcp to modbus RTU ?

i bought a converter modbus RTU to modbus TCP,
tried configure the protocol modbus TCP in winlog but there is no option to pick id for modbus RTU.

is the host name or ip addres can replace by modbus RTU device id ? :?:

User avatar
admin
Site Admin
Posts: 305
Joined: Tue Nov 17, 2009 1:18 pm

Re: modbus tcp/ip

Postby admin » Wed Feb 17, 2016 10:09 am

Dear Sir,
Device id is set in gate builder, on "device". If you use a gateway you must associate the gateway IP address with DeviceId in Protocol configuration.

modbus_tcp_gate.png
modbus_tcp_gate.png (19.25 KiB) Viewed 1627 times


modbus_tcp.png
modbus_tcp.png (23.42 KiB) Viewed 1627 times


(See the modbuss help for more information)

pangya
Posts: 30
Joined: Thu Oct 29, 2015 8:10 am

Re: modbus tcp/ip

Postby pangya » Thu Feb 18, 2016 8:10 am

thx for ur explanation.

but what explanation that i need:
in modbus TCP protocol configuration ,can the ip address device replace with device id in modbus RTU ?

the scheme is like this : modbus TCP -> modbus RTU

modbus TCP is only as a gateway to communicate in modbus RTU

User avatar
admin
Site Admin
Posts: 305
Joined: Tue Nov 17, 2009 1:18 pm

Re: modbus tcp/ip

Postby admin » Thu Feb 18, 2016 8:24 am

Hi,
Winlog send frames in modbus TCP and modbus RTU over TCP. Your gateway converts them into Modbus RTU.
The device id that sends Winlog is what you insert in Gate Builder.
Putting the Device ID instead of IP address is a nonsense!

Regards

pangya
Posts: 30
Joined: Thu Oct 29, 2015 8:10 am

Re: modbus tcp/ip

Postby pangya » Wed Mar 23, 2016 10:06 am

i using ss3580 gateway.

its should transfer from modbus TCP to RTU right ?

but how can i choose the RTU device when the option onyl to target ip address ?

BR

User avatar
admin
Site Admin
Posts: 305
Joined: Tue Nov 17, 2009 1:18 pm

Re: modbus tcp/ip

Postby admin » Wed Mar 23, 2016 11:30 am

Dear Sir,
its should transfer from modbus TCP to RTU right ?

Yes

but how can i choose the RTU device when the option onyl to target ip address ?

When you insert "Device" number in gate configuration, this is the Modbus device address. Please read the help of Modbus RTU and Modbus TCP, all these questions have already been answered.

Best Regards


Return to “Protocols”

Who is online

Users browsing this forum: No registered users and 1 guest