Host Engineering Forum
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 21, 2012, 07:01:45 pm


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: Change Modbus port no.  (Read 1777 times)
MKL
Full Member
***
Posts: 42


« 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.
Logged
BobO
Host Moderator
*****
Posts: 1149


Yes Pinky, we *are* going to control the world!


« Reply #1 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...  Undecided
Logged

BobO

The Constitution does not guarantee us freedom from being offended...but we can choose not to be, and life gets so much easier.
MKL
Full Member
***
Posts: 42


« Reply #2 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
Logged
BobO
Host Moderator
*****
Posts: 1149


Yes Pinky, we *are* going to control the world!


« Reply #3 on: April 18, 2007, 03:48:27 pm »

So the panel is the slave, and the ECOM100 is the master?
Logged

BobO

The Constitution does not guarantee us freedom from being offended...but we can choose not to be, and life gets so much easier.
MKL
Full Member
***
Posts: 42


« Reply #4 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..
Logged
BobO
Host Moderator
*****
Posts: 1149


Yes Pinky, we *are* going to control the world!


« Reply #5 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?
Logged

BobO

The Constitution does not guarantee us freedom from being offended...but we can choose not to be, and life gets so much easier.
MKL
Full Member
***
Posts: 42


« Reply #6 on: April 19, 2007, 01:18:50 pm »

Yes, that do the trick Grin Many thanx for you're help leading me to this for me unknown option Smiley
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM