jmkeene

MrPLC Member
  • Content count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About jmkeene

  • Rank
    Hi, I am New!

Contact Methods

  • ICQ 0
  1. As a follow-up to my earlier "Port Already Open" error (resolved ... thanks), the Hostlink demo software does not seem to be connecting with the PLC. I can input a command string (and get no apparent error), but get no return from the PLC. When I connnect a serial loopback plug on my computer, it returns the command as it should. CX Programmer connects and talks to the PLC reliably. I also tried various port settings without success. I was thinking perhaps I was sending a command that was not valid; to change the state of a virtual coil at 96.00 I sent the following: WR00960001, with the Hostlink software adding the "@00" and the proper FCS+*CR. Any ideas?
  2. I'm an admitted newbie; I have a CJ1M and CX Programmer SW with which I'm turning a few relays on and off. The system is so simple that I decided to write serial control strings to the PLC through a Visual Basic interface. I came across the C_Hostlink demo in this forum (thanks ... the FCS calculation alone is a Godsend) and I thought this would be an easy way to test my commands. However, when I run the application, I get an '8005' Port Already Open error. My question is this: I realize that both CX Programmer and C_Hostlink are trying to use COM1 at the same time ... is there a mode or setting that releases the serial port from CX Programmer so that the PLC can receive the control commands ? I've tried the Program, Monitor, and Run modes but I still get the error upon running C_Hostlink. Thanks for the insight ... this site is a great resource.