Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

Modbus adres of an EGX

Gateways and Energy Servers

Schneider Electric support forum to share knowledge about product selection, installation and troubleshooting for EcoStruxure Panel Server, PowerTag, Com'X, Link150…

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • EcoStruxure Power & Grid
  • Gateways and Energy Servers
  • Modbus adres of an EGX
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
Romain_Polette
Spock Romain_Polette Spock
96
Randi_Dolan
Commander Randi_Dolan Commander
46
Guillaume_Evrard
Commander Guillaume_Evrard Commander
41
Thierry_Baudard
Commander Thierry_Baudard Commander
30
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to Gateways and Energy Servers
Solved
JeroenDeville
Lt. Commander JeroenDeville Lt. Commander
Lt. Commander

Posted: ‎2015-10-30 07:28 AM

0 Likes
8
1753
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2015-10-30 07:28 AM

Modbus adres of an EGX

Dear

When you put the EGX100 as slave on a Modbus network, does it have a modbus address?

if so, can this address be changed?

If it keeps address 255 (master address) will there be a conflict when putting another master on the bus with address 255?

thanks in advance

Jeroen

Reply
  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
Anonymous user
Not applicable

Posted: ‎2015-11-04 08:16 AM

0 Likes
0
1638
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2015-11-04 08:16 AM

A master does not have any slave address;

Adrian was taking of 255 as :

the modbus-TCP Slave address used by the EGX100 on ethernet in normal mode (serial port as master)

the modbus-RTU Slave address used by the EGX100 on serial line in "reverse" mode (serial port as slave)


About your Siemens device, could you please send a small drawing explaining who is the master and who are the slaves


     regards

     Jef

See Answer In Context

Reply
Replies 8
Adrian_Dicea
Janeway Adrian_Dicea Janeway
Janeway

Posted: ‎2015-11-02 08:51 AM

0 Likes
0
1638
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2015-11-02 08:51 AM

When you put an EGX100's Serial Port in Slave Mode, you have to define:

- in the Setup menu > Serial Port page: the remote devices IP addresses (maximum 16 IP addresses are accepted): these devices are either other gateways or end devices

- in the Setup menu > Device List page:

     - Number of Viewable Devices: up to 128 (combination of IP addresses, Local IDs and Remote IDs)

     - Local ID is the Slave Address that your Master will access transparently through your EGX100; none of these are the EGX100's Slave ID

     - Remote ID is the serial Slave Address of the remotely accessed Slave through that connected device (IP)

Each Local ID can go from 1 to 247.

0 is reserved for broadcast.

Modbus Messaging Implementation guide v1.0b says: "

The MODBUS slave device addresses on serial line are assigned from 1 to 247 (decimal). Address 0 is used as broadcast address.

On TCP/IP, the MODBUS server is addressed using its IP address; therefore, the MODBUS Unit Identifier is useless. The value 0xFF has to be used."

On the EGX100's Ethernet port, Modbus TCP/IP Unit ID 254 and 255 can be used to query the internal registers of the EGX100 itself from any ModbusTCP/IP Client.

This happens equally when EGX100's Serial Port is set as Master or when it is set as Slave, of which this latter I honestly wasn't expecting.

Now, do you want me to test if EGX100 in Slave Mode is NOT following the Modbus standard (Slave addresses 1..247) and answers to Slave address 254 or 255?

You may address this to technical support along with your Slave Mode topology.

Reply
Anonymous user
Not applicable

Posted: ‎2015-11-03 04:12 AM

0 Likes
2
1638
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2015-11-03 04:12 AM

Hello Jeroen

Not sure to understand your configuration :

Do you use the Com'X 10 in "Slave mode" ?

If yes, in this mode, the EGX100 has sebveral slave ID.

First you,must define in which IP addresses, the incomming traffic from the serial port will be forwarded

EGX100_Slave.PNG

In that case, all the modbus traffic arriving to the serial port of the EGX100 will be forwarded as Modbus-TCP to 2 IP : 10.192.128.35 and 10.192.128.332.

The EGX100 will use the "device list" to define how to route the Mobbus-RTU traffic :

EGX100_remote access.PNG

In my example :

The modbus-RTU traffic addressed to slave 101 will be forwarded to the slave 1 at 10.192.128.35

The modbus-RTU traffic addressed to slave 102 will be forwarded to the slave 2 at 10.192.128.35

The modbus-RTU traffic addressed to slave 201 will be forwarded to the slave 1 at 10.192.128.32

The modbus-RTU traffic addressed to slave 202 will be forwarded to the slave 2 at 10.192.128.32


The modbus-RTU traffic addressed to slave 255 will be processed by the EGX100 itself


The address 255 is always a slave address,

a master has no address, because there can be only one master per serial line


     Regards

     Jef

Reply
JeroenDeville
Lt. Commander JeroenDeville Lt. Commander
Lt. Commander

Posted: ‎2015-11-03 11:45 PM

0 Likes
1
1638
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2015-11-03 11:45 PM

Hello

thanks all for the reactions!!

I have several installations where this work fine.

We usually do this topology if a PLC has to read the slaves and doesn't have a Ethernet port.

But now I have a problem with a Siemens devices that has no connection to the slaves( it works when putting no EGX's on the bus)

So I thought maybe the EGX and the Master have the same modbus address.

I'm a bit confused when

Adrian says

'

On the EGX100's Ethernet port, Modbus TCP/IP Unit ID 254 and 255 can be used to query the internal registers of the EGX100 itself from any ModbusTCP/IP Client.

This happens equally when EGX100's Serial Port is set as Master or when it is set as Slave, of which this latter I honestly wasn't expecting

'

and  jef says

'

The address 255 is always a slave address,

a master has no address, because there can be only one master per serial line

'

So does the master have an address on the modbus site? I allways thought it would be 255, an address you can't give any slaves (1-247)

,

What happens when the master  on the modbus line (with egx as slave) has an address of 254 or 255 and the EGX has the same slave address?

Regards

Jeroen

Reply
Anonymous user
Not applicable

Posted: ‎2015-11-04 08:16 AM

0 Likes
0
1639
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2015-11-04 08:16 AM

A master does not have any slave address;

Adrian was taking of 255 as :

the modbus-TCP Slave address used by the EGX100 on ethernet in normal mode (serial port as master)

the modbus-RTU Slave address used by the EGX100 on serial line in "reverse" mode (serial port as slave)


About your Siemens device, could you please send a small drawing explaining who is the master and who are the slaves


     regards

     Jef

Reply
Adrian_Dicea
Janeway Adrian_Dicea Janeway
Janeway

Posted: ‎2015-11-05 02:21 AM

0 Likes
3
1638
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2015-11-05 02:21 AM

I confirm: Using EGX100 in Slave Mode (Serial Port set as Slave Mode) and connecting to either RS485 socket or RS232 socket with a ModbusRTU Master I can read Slave Address 254 and 255, EGX is answering on any of these addresses providing internal registers info - undocumented.

As Jeff and protocol specification say:

"The MODBUS Master node has no specific address, only the slave nodes must have an address. This address must be unique on a MODBUS serial bus."

Moreover, why are you worried since Slaves never query any Master? It's the Master who is querying the Slaves.

MODBUS over serial line specification and implementation guide V1.02.pdf says:

"The MODBUS Serial Line protocol is a Master-Slaves protocol. Only one master (at the same time) is connected to the bus, and one or several (247 maximum number) slaves nodes are also connected to the same serial bus. A MODBUS communication is always initiated by the master. The slave nodes will never transmit data without receiving a request from the master node. The slave nodes will never communicate with each other. The master node initiates only one MODBUS transaction at the same time."

Maybe I'm wrong, but I can only see a problem when you want to add 2 EGX100 in a RS485 chain, you want to set both in Slave Mode and you may want your Master to get info from Slave Address 254, or 255.

The EGX100 Slave Mode Topology shows only point-to-point connection of ModbusRTU Master to EGX100, and when using RS232 port that is clear, but it is nowhere mentioned that if you use RS485 socket you can or cant connect more Slaves (ensuring unique Slave Addresses):

Reply
JeroenDeville
Lt. Commander JeroenDeville Lt. Commander
Lt. Commander

Posted: ‎2015-11-05 06:37 AM

0 Likes
2
1638
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2015-11-05 06:37 AM

The original network was (I can't remember the type of device

without EGX.bmp

And I made it

with EGX.bmp

Imagine you have an EGX as master and you can access his registers via its slave address 255 (we never use this but imagine). What would happen if there is another slave with address 255 (for example an egx) when you ask for the registers of address 255 witch one will answer?

If the siemens has the same structure as an EGX, a modbus slave address of 255, and he uses his own registers for something then the master will ask the registers of slave address 255. will it go to the EGX or on its own?

I understand that the master has no address but it could be that it's also a slave.....

Reply
Adrian_Dicea
Janeway Adrian_Dicea Janeway
Janeway

Posted: ‎2015-11-05 07:15 AM

0 Likes
0
1638
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2015-11-05 07:15 AM

EGX100 is not forwarding the requests for Slave Address 255 on the RS485/RS232 wires to other Slaves.

How to make the EGX100 to send a request to Slave Address 255 on the RS485 or RS232 wire? You cannot. It is not going out on the wire.

If you try via web page Diagnostics > Read Device Registers and set Device ID 255 it will query its own internal registers.

If your EGX100 receives the registers read request for Slave Address 255 through EGX100 Ethernet port, thus meaning that a ModbusTCP/IP Client was asking, it will return internal EGX100 registers values. It will not forward the request on the RS485/RS232 wire to other Slaves.

I can't say what Siemens does in its firmware ...

Reply
Anonymous user
Not applicable

Posted: ‎2015-11-05 09:38 AM

0 Likes
0
1638
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2015-11-05 09:38 AM

I come back on :

"Imagine you have an EGX as master and you can access his registers via its slave address 255 (we never use this but imagine). What would happen if there is another slave with address 255 (for example an egx) when you ask for the registers of address 255 witch one will answer?"

==> That's why =S= has pushed a rules in Modbus implementation guide saying : the slave must use address between 1 and 247.


About Siemens device, I cannot say anything


When you say :

"I understand that the master has no address but it could be that it's also a slave....."

==> if it is the case it must be described in the device documentation


     Regards

     Jef

Reply
Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of