![]() |
||
|
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
| ||
New Here? Please read this important info!!!
|
|
#1 |
|
Member
|
Contrologix serial port
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 |
|
|
|
#2 |
|
Member
|
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. |
|
|
|
#3 |
|
Member
|
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,
__________________
Jean Pierre Vandecandelaere Trainer nautical sector VDAB Competentiecentrum L. Blondeellaan 9 B-8380 Zeebrugge Belgium |
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Topics
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Modicon Micro Serial Port workarround | ganutenator | LIVE PLC Questions And Answers | 4 | July 11th, 2006 03:17 AM |
| Serial Port Programming | m_abd_el_khalik | LIVE PLC Questions And Answers | 0 | January 3rd, 2005 05:06 AM |
| Serial port wiring | Ken Moore | LIVE PLC Questions And Answers | 4 | September 8th, 2004 04:14 PM |
| Addressing the serial port on a Siemens 545 | ebrgt62 | LIVE PLC Questions And Answers | 0 | February 23rd, 2004 09:08 AM |
| Need PLC to control via serial port ... | LIVE PLC Questions And Answers | 9 | February 28th, 2003 07:01 AM | |