ScalesRus (Customer) asked a question.

Why is my Click serial output to printer a one trick pony?

I'm attempting to print to a serial printer. Ports are set and the wiring is good.

It prints fine for one output. It stares blankly at me when I ask it to do it again.

If I cycle the RUN switch it works again, then becomes noncommunicative.

I added a timer to discourage repeated button mashers.

 

I'm using a CMore HMI to load data from a scale controller into a Click C0-02DD2-D.

 


  • PouchesInc (Customer)

    If it always works one time at run then you are not resetting your logic properly

    • ScalesRus (Customer)

      PouchesInc,

      Thank you for the reply. I just do not know how to clear the logic correctly. I tried resetting the Control registers (C1-C6) that I'm using, and it made no difference.

  • ScalesRus (Customer)

    Ok, I figured out my logic issue.

    In my main program, I was using the input to jump into the subroutine. Once it made it over to there, it ran down the rungs and returned. It wouldn't go back. I removed the input to trigger the subroutine and let it get over there without any guidance. It's printing it happy little guts out.