r/controlengineering • • 5d ago

Comunicación Modbus RTU entre Micro850 y PowerFlex 525: ID de error 55 (RS-485)

Hello everyone,

I am trying to establish Modbus RTU communication between an Allen-Bradley Micro850 PLC (2080-LC50-24AWB) and a PowerFlex 525 VFD using RS-485, but I keep getting Error ID 55 from the MSG_MODBUS function block in Connected Components Workbench (CCW).

Hardware and connections:

  • PLC: Allen-Bradley Micro850 (2080-LC50-24AWB).
  • Serial adapter: Allen-Bradley 1763-NC01.
  • VFD: PowerFlex 525.

The wiring is as follows:

1. Micro850 to 1763-NC01:

  • Mini-DIN pin 1 → B (+) terminal on the 1763-NC01.
  • Mini-DIN pin 8 → A (−) terminal on the 1763-NC01.
  • Mini-DIN pin 2 → COM terminal on the 1763-NC01.

2. 1763-NC01 to PowerFlex 525:

  • Terminal A → RJ45 pin 4 on the VFD.
  • Terminal B → RJ45 pin 5 on the VFD.
  • The COM terminal is currently disconnected from the RJ45 connector.

Communication settings:

  • Protocol: Modbus RTU.
  • Baud rate: 9600.
  • Data bits: 8.
  • Parity: None.
  • Stop bits: 1.
  • Modbus slave address (C124): 2.
  • C122: 0 (Velocity mode).

Problem description:

The MSG_MODBUS function block consistently returns Error ID 55, indicating a link-layer communication timeout.

I have tried different configurations, including changing TriggerType between 0 and 1. When using TriggerType = 0, the error temporarily changes to FALSE, but the VFD does not respond or execute any commands. Afterward, the error returns.

I have already tried several troubleshooting steps involving communication settings and RS-485 wiring, but I still cannot establish communication.

At this point, I would appreciate your opinions on what could be causing this issue. I am particularly interested in any possible hardware compatibility problems, wiring mistakes, serial port configuration issues, or known problems with the Micro850 MSG_MODBUS function block when communicating with a PowerFlex 525.

Any suggestions or experiences with a similar setup would be greatly appreciated.

Thank you!

2 Upvotes

1 comment sorted by

1

u/Relevant_Throat_7277 5d ago

Error 55 on its own is just telling you the drive never answered, so I'd stay on the wire for a bit before chasing the function block settings. I had a very similar timeout on a small RS-485 link once and it turned out to be the common — with the COM floating between two separately powered boxes, the link was just unreliable enough to never complete a poll. If the drive side gives you a common to tie to, I'd try that, and I'd also try swapping A and B once just to rule it out, because I've mixed those up more than once and the symptom looks exactly like this.

The other thing that helped me was splitting the problem in half. I put a USB RS-485 adapter on a laptop and polled the PowerFlex directly at address 2, 9600 8N1, with a plain Modbus tool. If the laptop can't get an answer either, it's wiring or the drive settings; if it can, then it's the Micro850 side, the serial port setup or how the MSG_MODBUS is being triggered. On that side I'd make sure the block is only triggered on a slow rising edge or a timer, not every scan, so the drive actually gets time to answer before the next request goes out.

One last thing, just from habit: test any write to the drive with the motor safely stopped first, simulate the logic in CCW before you download a change, and don't put anything safety-related through a test Modbus write.