English Support - Hardware > easyControl

Problems using EC4P with Modbus RTU.

(1/1)

nicool67:
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!.

nicool67:
I solved it!,
                  I was doing someting wrong. If anyone needs an example of an EC4P qith Modbuslet me know.


Nicolas.

Navigation

[0] Themen-Index

Zur normalen Ansicht wechseln