Contrologix serial port

bobwithdana

Member
Join Date
Dec 2003
Location
california
Posts
239
HELP! I need to send ASCII strings out the Contrologix COM port to a printer. I know how to set up the com port in RSLogix500 ETc but not sure what ladder logic I need to send them out the serial port. Do I map the port etc? If anyone has any experence with this I would appreciate any info . Thanks.

Bob
 
There is a SERIAL_PORT_CONTROL data type that must be used in combination with the AWT instruction.

I have only used the MSG instruction, so I'm not sure about the details of using AWT.
 
You can use AWT (Ascii WriTe) for sending a fixed number of characters or AWA (Ascii Write with Append) to send a variable number of characters with termination characters appended.

The port number has to be given in the instruction involved (parameter 'Channel'). Check the help for AWA and AWT and you'll get plenty of info.

Kind regards,
 

Similar Topics

Hi, I try to test if it's possibe to program MSG read and write in Controllogix serial port to SLC5/04 serial port, I chang controllogix...
Replies
3
Views
3,334
Can anyone confirm that using contrologix 5580 controller is not possible to work with powerflex 527? It's been a couple of days now that i am...
Replies
8
Views
1,187
Hello, I have a flow control PID that keeps locking up. It seems to control fine but after a while the output no longer moves. For instance...
Replies
4
Views
963
Hi everyone, I can't add any modules to the Controllogix backplane and it doesn't matter online or offline. Both is not working. Please see the...
Replies
13
Views
2,985
Hello, I have a question regarding the possibility of using messages instructions to communicate between: PLC5/80E Series D - CE Water Mark...
Replies
12
Views
3,058
Back
Top Bottom