![]() |
||
|
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
| ||
New Here? Please read this important info!!!
|
|||||||
![]() |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
|
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 !!! |
|
|
|
#2 |
|
Member
|
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 |
|
|
|
#3 |
|
Member
|
Check the setting for the CH0. Maybe they are used as termination
characters. |
|
|
|
#4 |
|
Lifetime Supporting Member + Moderator
|
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 |
|
![]() |
| 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 |
| 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 | |