Carboxyll (Customer) asked a question.

Communicate Serial RS-232 ASCII using PC (Putty)

I'm trying to send an ASCII character to a Click Plus. My end goal is to receive character from a computer to index a stepper motor 90 degrees.

 

I have configured port 2 to send receive ASCII and confirm I can output a serial string and read it using Putty (Serial Monitor). So I can assume my com settings are correct? I'm trying to send from Putty to the Click PLC, but I can't seem to get any response from the Click PLC using a Data Viewer. I can confirm the RX lights up. When I change the TXT1 value with Dataview, the motor does turn. I also don't see any ASCII or HEX when looking in TextView

 

Am I missing a small detail?Click PLC


  • ADC Community_02 (Automationdirect.com)

    Try changing C5 to a edge contact rising edge. I believe C5 always being on is copying a 0 to TXT1 thus overwriting any incoming data?

  • Carboxyll (Customer)

    Ah yes, That would always reset it. I did fix it, but it did not work. I should also mention, I'm monitoring the PLC on COM10 and TX/RX on Com11 using the Automation Direct RJ11 serial converter.

    Capture