Host Engineering Forum

General Category => ECOMs and ECOM100s => Topic started by: MKL on April 18, 2007, 01:18:00 PM

Title: Change Modbus port no.
Post by: MKL on April 18, 2007, 01:18:00 PM
i just read the topic about changing the UDP port number of the ecom100 module, and the advantages/disadvantages of it. But is it possible to change the modbus port no. 502 in for example 8000? I have a touchscreen that uses the modbus protocol on port 8000

best regards.
Title: Re: Change Modbus port no.
Post by: BobO on April 18, 2007, 03:32:02 PM
Given that Modbus is not required for configuration, that would be much easier to justify...it'd be much harder to hurt yourself.

Does the panel itself not allow changes? Ports generally equate to specific services, and it seems strange that a device wouldn't minimally support the standard port, and then optionally allow changing it...  :-\
Title: Re: Change Modbus port no.
Post by: MKL on April 18, 2007, 03:40:54 PM
No, if i want to have the panel act as a modbusserver i have to access it by port 8000. Port 502 is used to communicate with for example a plc or other modbus devices, but if i want to change the local bits/words of the screens i have to do it through port 8000
Title: Re: Change Modbus port no.
Post by: BobO on April 18, 2007, 03:48:27 PM
So the panel is the slave, and the ECOM100 is the master?
Title: Re: Change Modbus port no.
Post by: MKL on April 18, 2007, 04:08:50 PM
Yes, the advantage of this is that the panel has more capacity, more memory and some other stuff (like connection to a USB barcodescanner without the length limit). And if i use it as a master on port 8000 it can be also on the same time a slave on port 502:)
 BTW: i was just looking at the peer to peer configuration in Netedit..
Title: Re: Change Modbus port no.
Post by: BobO on April 18, 2007, 04:35:43 PM
...which is where I was about to go. In order for the PLC to master, you have to setup the peer table, which allows you to change the port. Problem solved?
Title: Re: Change Modbus port no.
Post by: MKL on April 19, 2007, 01:18:50 PM
Yes, that do the trick ;D Many thanx for you're help leading me to this for me unknown option :)