Tell me more ×
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It's 100% free, no registration required.

I was investigating hooking up Modbus devices to an AllenBradley PLC 5/40E using a Schneider Electric EGX100 Ethernet gateway.

I can access the web server on the gateway device and monitor the slave devices. However, I couldn't figure out how to write values to the devices.

I would assume that this configuration is useful for monitoring only but that would sort of defeat the purpose. Any idea what I'm doing wrong or resources that I could look through ??

share|improve this question

1 Answer

up vote 1 down vote accepted

OK. I figured it out. The steps to do this are as follows:

  1. Setup Modbus TCP/IP filtering on the EGX100 through the webserver access to enable the Master device (PLC or PC) to have read write access. To do this you need the IP of the master.
  2. Setup the appropriate read / write packets from the master giving careful consideration to the Unit ID parameter. This will define which slave the command is sent to.
  3. Automate :-)

I think its also worth noting that the Schneider provides a Web Page Generator utility that can be used to define slave device specific web pages on the EGX100 (and enable the 'Monitoring' tab). This maps the appropriate registers to the actual metering values so for instance, instead of registers 4000 equals 600 you get Power Active = 600.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.