Pictures of different adapters, trying to understand how they work (PLC to PC communication)

communicationplcrs232serial

I purchased the blue adapter in the picture as a USB/RS232 converter. It takes in the RJ12 cable from my PLC, and converts it to a USB input.

Now when I try to use an RJ12-DB9 Female and then connect that to a DB9-USB which then connects to my computer (via USBO and then try to communicate to my PLC using this method (also seen in the picture), I can't seem to get my program to work. What am I missing here? I'm sure all of my configuration settings are working, so what could be going on here?

Basically the blue adapter works with my program, but the combination of the 2 adapters in the lower part of the picture do not work and I'm wondering why. I understand there are some electronics in the blue adapter (HIN202 for example), but these chips just seem to "assist" in maintaining the RS232 communication process, rather than actually provide infrastructure for it to work.

Edit: Sorry guys….find picture attached and thank you for your comments, hopefully this pic confirms or provides better insight into my situation.

Adapters

Best Answer

3 possible issues to always be aware of when using RS232 to USB converters. (in order of most common to least.)

  • Converter driver comm port number chosen matches comm number in PLC communication software.
  • Power from USB port enough to drive all devices connect.
  • Communication watchdog timer when converting from multiple protocols.

1st example: see http://bin95.com/Industrial-Training-Videos/AB-PLC-DH485-RS232-USB.htm 2nd and 3rd example: if you connect USB to computer, RS232 to RS232 to RJ485 converter box (pic box), the computer's USB port will not have enough power to power circuits in RS232 to RJ485 converter box. And/or communication during multiple conversion gets slowed down too much giving comm error on PLC side.

Solution: Get a converter cable specifically designed to convert USB to RJ485 instead of connecting two different converters together.