Linus Tan

MrPLC Member
  • Content count

    8
  • Joined

  • Last visited

Everything posted by Linus Tan

  1. Need help to connect to an OMRON NX1P to read DM data.  Any good suggestions?  Will be using Python finally but can troubleshoot with .NET.

    1. Show previous comments  4 more
    2. Linus Tan
    3. Linus Tan

      Linus Tan

      This is the reply when I try to read some DM data.. seems like whatever I send the error is the same

    4. Linus Tan

      Linus Tan

      My bad.. I got the FINS node wrong and thus cannot communicate.  No its working fine.
      A big THANK YOU to Innoaloe and Garry for pointing me in the correct direction!!

       

  2. Hi Garry, I have a new question regarding the programming of another model of PLC.  This time it is an OMRON NX1P2 PLC.  Can I use the same method to communicate with this PLC? ie using host link with C-mode commands to read the addresses on the PLC? Thank you!! 
  3. Can I use C-mode programming using host link for NX1P2 series PLC?

    1. gclshortt

      gclshortt

      Yes you can use the commands for host link through the serial ports of the NX1P2 Series PLC.
      http://www.ia.omron.com/products/family/3650/specification.html

      Regards,
      Garry

  4. Hi Garry, Managed to finally solve the wire problem.. I searched the manuals for CP1L and found that the pinout for the original wire used by OMRON(images attached) and indeed, this is the correct pin out that managed to solve my communication problem.  The main difference is the straight 2-2 3-3 but also to 9-5 pinout for the ground.  Managed to get this working for PLC-PC. Will be working to get it working for PLC-RaspPi.  Keeping my fingers crossed.  Thank you for all you help along the way!! Best Regards, Linus  
  5. Hi Garry, I have tried with mainly PL2303 based USB to serial converters.  Tried with this as I was using it with my headless PI but when I tried to connect to the PLC, there is no reply.  I then connected this to a desktop PC and I ended up getting data only going from the desktop to the notebook but not the other way around. http://www.dx.com/p/waveshare-pl2303-usb-uart-board-type-a-for-raspberry-pi-blue-282359#.Wbk9RtOg-EI Rather than troubleshooting the convertor, I bought this other convertor yesterday night and did the desktop test first and data went both ways.  Thinking that I will finally succeed, I went ahead to connect to the PLC but then encountered the echo back when connecting with only the serial cable.   When connecting both the usb and serial cable, there is no response from the serial side. https://biskandar.wordpress.com/2014/11/24/accessing-intel-galileo-board-via-3-5mm-serial-cable/ Using both convertors, I am not able to not able to connect to the PLC using direct online using COM port Now I am at a loss as to whether it is still a cable issue or something else. Best Regards, Linus
  6. I have been trying for several days just to get a CP1L to reply to my any message that I am sending to it.  I am using RS232 on the 2nd RS232 module(the first is connected to a NT unit).  It seems like when I connect a USB (A-B) cable together with a Serial(USB-RS232) cable together on the same notebook, all commands on the Serial side is ignored but when I removed the USB cable, the Serial side will just echo whatever I send over.  Is this connection normal?  Thank you in advance for any help!! Linus  
  7. Hi Garry, Seems like when I connect the USB cable(USB A-B) together with the Serial(USB-RS232) cable, the PLC will not ignore everything that I send on the Serial side.  But when I remove the USB cable, the PLC will echo back everything I send to it.  Is this behaviour normal or is there still some problem with my connection. Been trying to connect to this PLC for several days without success. BR, Linus
  8. Hi Garry,  Noted on the wiring. Will try it again tomorrow. One more question. For Hostlink communication, is there anything that is needed on the ladder program side? I have tried with the Keyence PLC and there is nothing that needs to be done on the ladder program side.  Is it the same for Omron?  Thank You & Best Regards, Linus
  9. Hi Garry,  I am not able to see the link you sent. I am currently connecting PC to PLC 2-3 3-2 9-5 4and5 short at PLC side.  Pin 1 to body My pc side only has 3pins. Will be connecting to Raspberry Pi so only 3pins on PC side I tried using COM3 to connect when connecting the PLC online but also fail.  O Added:only able to connect using USB
  10. Hi Garry, Been trying for 2 days already to connect to an OMRON CP1L60M using hostlink thru serial connection on the second port on CPU unit(the first is connected to an NT unit.  Not sure why there is always no reply from the CPU unit.  Tried 9800-7-E-2 and also 9800-8-N-1 but without success. Tried your program which is sending "@00RD0000001057*" or "@00TS0047*" without any reply.  Really appreciate you pointing me in the correct direction.  By the way, does the ladder program need to change to allow hostlink connection? The ladder program is not written my me.  I am just trying to interface to it to read DM data. Thank You & Best Regards Linus