User: TwoBlocked, Location: Bradford County, PA
Asked on: Tuesday, October 1, 2024 at 4:49 pm EDT
Answered on: Thursday, March 6, 2025 at 3:15 am EST
Question: So I am upgrading a PLC cabinet. The decision was made to control a couple VFD pumps with modbus on a RS-485 network. I knew this Allen-Bradley Powerflex 400 had onboard RS-485, so I use a spare analog cable and pull in a 4 conductor Belden like usual. THEN I look to see where to land the wires. What the ... I have to use the RJ-45 port, with the SHIELD going to a screw terminal? I call up the manual and it says I have to use only positions 4 & 5 on the RJ-45 plug because other positions are used for other functions. The manual also gives the typical RS-485 layout, including daisy chaining and end of line resistors. Ok ... now how would I daisy chain with RJ-45 connectors let alone install EOLs ??? Not to mention landing the SHIELD at a field device instead of just the PLC cabinet. And gee wizz! I have CAT 5E cable, but it doesn't have a shield anyway. And the comm port on the controller isn't RJ-45, it's wire terminals!So I did what I could with what I had. Used the 4 conductor Belden to pull CAT 5E, put on a connector with just two wires in the positions called for, kept the solid green to go to the "shield" terminal (I'd call it 0 volt reference ...), and landed these three flimsy 24 ga solid wires on the controller's comm port. Felt disgusted so put in just 10 hours instead of the usual 12.Who else has dealt with this? Is there a better way?
Oh man, I feel your pain. You've stumbled into the wonderful world of "almost standard" industrial communication implementations. It's frustrating when manufacturers take a relatively standardized protocol like Modbus RTU and then implement the physical layer in a non-standard way. Here's a breakdown of the issues and some potential solutions
The Core Problem:
Non-Standard Physical Layer
The PowerFlex 400's use of RJ-45 for RS-485, with specific pinouts and a separate shield terminal, is unconventional. It breaks the typical simplicity of RS-485 wiring.
Addressing the Issues
Daisy Chaining and End-of-Line (EOL) Resistors
This is the biggest headache with the RJ-45 setup. Here's a few options:
Option 1: RJ-45 Breakout Boards/Adapters
Look for RJ-45 to terminal block breakout boards specifically designed for RS-485. These boards will often have screw terminals for A, B, Shield, and even built-in EOL resistor jumpers. This makes daisy-chaining and resistor termination much easier. Search for things like "RS485 RJ45 breakout board" or "Modbus RJ45 breakout board." Some examples are: "RS485 RJ45 Converter Terminal Block Adapter RS485 to RJ45 Connector" - available on sites like Amazon and eBay. "RS485 to RJ45 Adapter" - available from industrial suppliers.
Option 2: Custom Cables with T-Taps
You could create custom RJ-45 cables with T-taps (small junction boxes). The main cable would pass through the T-tap, and a short RJ-45 cable would connect to the drive. Inside the T-tap, you'd have screw terminals for A, B, and Shield, allowing you to daisy chain and add resistors. This is more work but might be cleaner.
Option 3: (Less Ideal) Inline RJ-45 Couplers and Resistors
This is the least elegant but might work in a pinch. Use RJ-45 couplers to connect cable segments. To add EOL resistors, you'd have to crimp resistors onto RJ-45 plugs and insert them into the last device's coupler. This is messy and prone to failure.2.
Shielding
Best Practice
The shield should be connected at one point only, ideally at the PLC cabinet's ground. The idea is to provide a path for noise to drain away from the signal wires and prevent ground loops.
PowerFlex 400's Method
The PowerFlex 400's separate shield terminal is a bit odd. It suggests they want a local shield connection.
What to Do
In your situation, since you landed the solid green wire to the controller's comm port:
If the green wire is connected to the shield within the CAT5e cable
Double-check the PowerFlex 400 manual. If it specifically states to connect the shield locally to the shield terminal, then leave it connected there. Ensure the PLC cabinet is properly grounded.
If the green wire is NOT connected to the shield within the CAT5e cable
Then the "shield" terminal is most likely a common reference point and NOT connected to the shield in any meaningful way. As such you can likely ignore this terminal entirely and just focus on getting A and B landed correctly.3.
CAT5e Cable Without Shield
Ideal
Shielded cable is always better for RS-485, especially in noisy industrial environments.
Reality
Since you've already pulled the unshielded CAT5e, assess the noise environment. If the distances are short, the VFDs aren't generating excessive noise, and the cable isn't running near high-power equipment, you might get away with it.
Mitigation
Keep cable runs as short as possible. Keep the RS-485 cable away from power cables. If you experience communication problems (errors, dropped messages), you'll likely need to replace the cable with shielded cable.4.
24 AWG Solid Wire
Ideal
Stranded wire is generally preferred for industrial applications because it's more resistant to vibration and flexing.
Reality
24 AWG solid wire is a bit thin for industrial use. Ensure your connections are secure and avoid excessive stress on the wires.
Mitigation
Use ferrules on the wire ends to provide a more secure connection in the terminal blocks.5.
Controller's Comm Port
Adapters
If the controller's comm port uses a different type of connector (e.g., DB9, terminal blocks), you'll need an adapter to transition from the RJ-45.
Wiring
Double-check the controller's manual to ensure you're connecting the A and B signals correctly.
Recommendations
Get the Correct Cable (If Possible)
If you haven't already closed up the cabinet, consider replacing the CAT5e with a shielded twisted-pair cable specifically designed for RS-485. Something like Belden 3105A would be a good choice. This will improve noise immunity and reliability.
2.
Use RJ-45 Breakout Boards
Invest in RJ-45 to terminal block breakout boards with built-in EOL resistor jumpers. This will make daisy-chaining and resistor termination much easier.3.
Document Everything
Clearly document your wiring scheme, including the RJ-45 pinouts, shield connections, and EOL resistor locations. This will make troubleshooting much easier in the future.4.
Test Thoroughly
After making any changes, thoroughly test the communication between the PLC and the VFDs. Monitor for errors, dropped messages, and slow response times.5.
Consider Other Options
If the RS-485 implementation is too problematic, consider other communication options (e.g., Ethernet/IP if available on the PowerFlex 400, or even analog control if absolutely necessary).
Why Manufacturers Do This
Cost
RJ-45 connectors and standard Ethernet cables are often cheaper than industrial-grade connectors and cables.
Space
RJ-45 connectors can be more compact, saving space on the drive.*
"Because We Can"
Sometimes, there's no good reason other than the manufacturer's preference.
In summary, you're not alone in dealing with this. The key is to understand the specific requirements of the PowerFlex 400's RS-485 implementation and find creative solutions to address the non-standard physical layer. Good luck! Flag for review