You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old August 13th, 2004, 10:37 AM   #1
bobwithdana
Member
United States

bobwithdana is offline
 
bobwithdana's Avatar
 
Join Date: Dec 2003
Location: california
Posts: 212
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
  Reply With Quote
Old August 13th, 2004, 12:04 PM   #2
akreel
Member
United States

akreel is offline
 
akreel's Avatar
 
Join Date: Apr 2002
Location: Milwaukee, WI
Posts: 1,172
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.
  Reply With Quote
Old August 14th, 2004, 10:08 AM   #3
jvdcande
Member
Belgium

jvdcande is offline
 
jvdcande's Avatar
 
Join Date: Apr 2002
Location: Menen
Posts: 1,946
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
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 08:10 AM.


.