function 03 holding register read problem

Antworten
mert
Beiträge: 7
Registriert: Sonntag 9. Dezember 2018, 10:56

function 03 holding register read problem

Beitrag von mert » Mittwoch 12. Februar 2020, 16:44

I read Data coming from PLC
with function 03 Holding registers

When I look at it from PLC, it says 235
but when reading with Profilab, i read the same value 355. my operating system win7 32bit.

Müllmann
Beiträge: 64
Registriert: Sonntag 2. Februar 2014, 10:53

Re: function 03 holding register read problem

Beitrag von Müllmann » Mittwoch 12. Februar 2020, 18:37

Depend on the first number 0 or 1 of beginning of holding registers you use the wrong register ? Try the register n-1 and n+1 of actual number n and compare the results.
Ich bin der Müllmann und räume nur auf.

mert
Beiträge: 7
Registriert: Sonntag 9. Dezember 2018, 10:56

Re: function 03 holding register read problem

Beitrag von mert » Mittwoch 12. Februar 2020, 19:34

2.JPG
plc modbus adress table
2.JPG (57.4 KiB) 4240 mal betrachtet
Dateianhänge
1.JPG
read holding register and comport settings
1.JPG (64.85 KiB) 4240 mal betrachtet

abacom
Site Admin
Beiträge: 3973
Registriert: Dienstag 23. September 2008, 10:54
Kontaktdaten:

Re: function 03 holding register read problem

Beitrag von abacom » Donnerstag 13. Februar 2020, 09:28

Did you follow "Müllmann"s advice? Addresses may be "1"-based or "0"-based unfortunately, which quite often leads to confusion. Latest update installed?
Try the register n-1 and n+1 of actual number n and compare the results.
Please try 4156 and 4158 and then come back with your report.
ABACOM support

mert
Beiträge: 7
Registriert: Sonntag 9. Dezember 2018, 10:56

Re: function 03 holding register read problem

Beitrag von mert » Donnerstag 13. Februar 2020, 12:28

Update 22.01.2020 The problem started when I installed it.
then the problem was solved when installing Update 05.02.2020

05.02.2020 update, this work has done a work, I think you need it.

abacom
Site Admin
Beiträge: 3973
Registriert: Dienstag 23. September 2008, 10:54
Kontaktdaten:

Re: function 03 holding register read problem

Beitrag von abacom » Freitag 14. Februar 2020, 09:23

Thanks for your feedback.
ABACOM support

Antworten

Zurück zu „Thema Modbus“