winedog

MrPLC Member
  • Content count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About winedog

  • Rank
    Hi, I am New!

Profile Information

  • Country New Zealand
  1. Connection with a CPM2A PLC

    @IO_Rack @Sleepy Wombat EDITED:  Managed to solve it all myself.  Yes, regular USB-to-Serial works (though beware as 3rd party ones can be twitchy, some are good others not).  Yes, you need DB9 serial with correct pinouts or cable from Omron.  Yes, switch on CIF01 needs to be in up/HOST position.  No, it doesn't matter how COM Port is set in Windows Dev Manager.  CX-Progammer will define the settings and ignore Windows (we had Windows configued 8-N-1 and CX connected using 7-E-2. Sorry for necromancing this thread, I've got a CPM2A controlling and older bottling line and the battery died (no one, including the manufacturer's manual) told us there was a PLC battery that needs to be replaced.  We managed to get the battery, but it seems the CPM2A has lost some/all of it's programming. We have the CX-Programming software and we have several standard USB-to-RS232C adapters that we use for some other devices.  Our bottling line manufacturer is willing to connect to our laptop over TeamViewer and reprogram the PLC for us, but we are trying to get everything setup so that it's communicating. I'm struggling to understand what further steps we need to take to connect to the CPM2A.   Can we use a regular USB to Serial Converter? If so, can we leave the port settings in Windows Device Manager set to 8-None-1 and CX-Programmer will bypass those settings and use 7, E, 2?  Or do we need to set that at Device Manager level as well? It sounds like we need another DB9 cable that has the same pinouts as shown above?  A standard computer DB9 serial cable will not work, right? When we plug into the CIF01 should the switch in this position be in the 'Up" position?  It isn't labeled as On or Off so we are not sure what position to put it into. It appears that the up position is Host and bottom position is NT and/or LINK?