Micrologix ASCII communication

Delkster

Lifetime Supporting Member
Join Date
Dec 2011
Location
Kentucky
Posts
11
Working with a AB Micrologix 1400, trying to communicate with a Telesis TMC470 printer via rs-232 using Port 1 (DB9) connector on PLC. The printer is capable of ASCII communication. I need to send a 9 digit
serial number generated by the PLC to the printer each cycle. Need help developing ASCII plc logic and setting up communication between the PLC and Printer. I have a general idea of how to do it but, would like to see how experienced PLC programmers using ASCII would approach this. Any help would be greatly appreciated !!! Also any example logic from an ASCII style communication setup using RSlogix500 would be great !

Thank You,
Delkster

You’ve got to be very careful if you don’t know where you are going, because you might not get there. (Yogi Berra)
 
Last edited:
Stick your serial number in a string.
Configure your port settings including termination characters.
Use AWT to send string. If the command is more complicated the port will buffer up to 10(?) strings to send in sequence.
Done.

The most complicated part is building the strings you need to send.
 

Similar Topics

Hi, I'm new at ascii comminucation and I have a Micrologix 1100 that I need to setup to be able to write and read ascii characters to and from a...
Replies
1
Views
5,417
Good morning to all, I need to modify an existing PLC MIcrologix 1500 configured with a Modem on Channel 1 (DF1 Full Duplex) and an...
Replies
7
Views
1,395
Hi Guys, i am reposting this beacuse I'm still having issues with the "READ" ARL or ARD instructions. I have a pdf of a program that I found on...
Replies
4
Views
1,907
Hello, I am working with a micrologix 1100 allen bradley plc and I need to send and receive ascii code to a sensor device. The syntax for the...
Replies
3
Views
2,260
I'm using a Micrologix 1100 and I want to add a sensor that has a RS422/ASCII output. The sensor outputs a series of messages in hex format over...
Replies
1
Views
1,458
Back
Top Bottom