Modbus - Error 20263

Hello,

I try read data from a S+S sensor…
Communication work, I see I read diffrent Sensor with MBMaster
But I get eyerytime the error : DRV_mbus - Fehlernummern

[20263]mbERR_RESP_CRC Fehler in der Frameüberprüfung (CRC / LRC) MBMaster() und MBMCmd()

I find nothing about this problem.

CRC errors are usually caused by either physical(wiring) or configuration (parity, stop bits, etc…).

I would first check that the bus is configured properly and if this does not help I would check the wiring, especially termination resistors.

Hi, and many thanks…

I check all already…
I try with 8N1 konfig on the device:
dip 1: ON
dip 2: OFF
dip 3: OFF
dip 4: OFF
dip 5: ON
B&R: PHY=RS485 /PA=N /DB=8 /SB=1 /BD=9600

and I try with
dip 1: ON
dip 2: OFF
dip 3: ON
dip 4: ON
dip 5: OFF
B&R PHY=RS485 /PA=E /DB=8 /SB=1 /BD=9600

same reaction.

Hi @c305652 (and @tommi.piiparinen )

I have split the topic as it is unrelated to the original post. Please use this one to continue the discussion

BR

2 Likes

I see also on the sensor LEDs.
The sensor get the telegram and answer…
But the MBMaster has still the same problem…

to contribute ideas on what could be going wrong:

  • disturbances
  • no line terminators
  • reversed A and B lines
  • sender to slow switching from sending to receiving (RS485)
1 Like

Thank you Christoph,

I found the solution!
The terminator inside the PLC was not activate…
Stupid :frowning:

1 Like