Autor Thema: Problems using EC4P with Modbus RTU.  (Gelesen 9504 mal)

Offline nicool67

  • Jr. Member
  • **
  • Beiträge: 27
Problems using EC4P with Modbus RTU.
« am: März 01, 2011, 02:12:41 Vormittag »
Hi to all!,
               Im using an EC4P with Modbus RTU and Im having the following situation:

                         First of all I tried to write the "2051" holding register, so I used the Modbus (FB) to do this with an EC4P... after i initialized practically all variables in uiMODdatOff (Number of data packages for transfer) i wrote "2050" and finally in uiMODdatNr  (Data offset in the slave for the data to be transferred) i wrote "1".  The PLC works just fine, sending data packets to the slave.

For some reason, the PLC tries to write in the "2499" register in the way out (i measured the output) but not in the "2051"!.

Why is that?, does anyone know what im doing wrong?.

Thanks in advanced!.

Offline nicool67

  • Jr. Member
  • **
  • Beiträge: 27
Re:Problems using EC4P with Modbus RTU.
« Antwort #1 am: März 05, 2011, 17:00:24 Nachmittag »
I solved it!,
                  I was doing someting wrong. If anyone needs an example of an EC4P qith Modbuslet me know.


Nicolas.