Modbus Coms on LocalHost

shawnhimself

Member
Join Date
Oct 2006
Location
LBC
Posts
84
I can't wrap my head around this for some reason...

Are you able to establish Modbus communications on the same hardware.

i.e. Beckhoff IPC communicating via Modbus to Ignition Software installed on the IPC.
 
Yes, you can have a ModbusTCP master and slave communicate between each other that are on the same PC. I test AdvancedHMI ModbusTCP driver (client) by running a ModbusTCP simulator (server) on the same computer. You can either reference it by localhost, 127.0.0.1, or by the current IP address of the computer. Even though the slave and master have the same IP address, this works because they have different TCP/IP ports and the IP stack routes the packets based on the ports.
 
Yes. I have a lengthy post about Modbus TCP on here that you can search for, but the long and short is that it uses three pieces of information to send a message to/from server (slave) and client (master): IP address, Port, and Modbus Node Number. Each IP address has tens of thousands of ports and each port can host 240 node numbers, so you could have thousands of clients and servers running on the same IP address (including localhost)
 

Similar Topics

Cross-post from my post on the AD Tech Support forum: Does it seem plausible that a PC communicating with a DL-06 over Ethernet via an ECOM100...
Replies
3
Views
1,930
Hi Everyone, i was hoping for a little help with this module. i have data that needs to be read from a different plc through the Modbus plus...
Replies
11
Views
158
I have a PH meter that I am trying to bring its data into 1756-L81. I have downloaded the Rockwell MODBUS AOI kit, but I am not sure if I need to...
Replies
5
Views
152
Dear All, i am trying to connect Danfoss inverter with s7 200 cpu 226.but microwin shows following error at DATA Ptr.i assigned different VB...
Replies
1
Views
46
I'm trying to control a device via MODBUS RTU and the ModbusRtuMasterV2_PcCOM in Twincat 3. I've configured a device with the right com port and...
Replies
7
Views
221
Back
Top Bottom