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 November 6th, 2003, 06:54 AM   #1
iknowsomeplc
Member
Dubai

iknowsomeplc is offline
 
iknowsomeplc's Avatar
 
Join Date: Apr 2002
Location: Dubai
Posts: 193
Sending escape character from MicroLogix serial port configured in ASCII protocol

Hi all,

My requirement is to send out escape character ( and also enter , line feed characters)from MicroLogix serial port configured in ASCII protocol , but I couldn't enter this characters in my string file. Is this possible? Anybody have any idea?
__________________
IKnowSomePLC

Say it Simple !!!
  Reply With Quote
Old November 6th, 2003, 09:19 AM   #2
jvdcande
Member
Belgium

jvdcande is offline
 
jvdcande's Avatar
 
Join Date: Apr 2002
Location: Menen
Posts: 1,948
I don't know about MicroLogix, but in CompactLogix you can enter non-printable characters bij entering a dollarsign followed by a two-digit hexadecimal number, eg. $0A for linefeed, $0D for newline and $1B for escape.

If you're using an SLC, you can do the same by entering a backslash followed by the hex code: /0A, /0D and /1B.

Kind regards,
__________________
Jean Pierre Vandecandelaere
Trainer nautical sector
VDAB Competentiecentrum
L. Blondeellaan 9
B-8380 Zeebrugge
Belgium
  Reply With Quote
Old November 6th, 2003, 11:54 AM   #3
panic mode
Member
Canada

panic mode is offline
 
panic mode's Avatar
 
Join Date: May 2003
Location: Toronto, Canada
Posts: 1,961
Check the setting for the CH0. Maybe they are used as termination
characters.
  Reply With Quote
Old November 6th, 2003, 08:58 PM   #4
Eric Nelson
Lifetime Supporting Member + Moderator
United States

Eric Nelson is offline
 
Eric Nelson's Avatar
 
Join Date: Apr 2002
Location: Randolph, NJ
Posts: 4,092
Jean Pierre's backslash method should work on a MicroLogix since it's part of the SLC family.

http://www.asciitable.com has a list of hex codes for the non-printable characters.

beerchug

-Eric
  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
multiple serial printers to MicroLogix 1500 StevieRay LIVE PLC Questions And Answers 3 December 28th, 2004 01:18 PM
Serial Communication protocol - Keyence Slohani LIVE PLC Questions And Answers 5 July 11th, 2004 01:56 AM
PLC5/20 serial comm port to communicate on ASCII format,,, How? umesh9554 LIVE PLC Questions And Answers 2 May 19th, 2004 09:34 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 01:13 AM.


.