Jump to content
OMRON Forums

Extended Ascii chars


DaveBarnett
 Share

Recommended Posts

Anyone know how to send extended ascii characters out the serial port using the SENDS command syntax? I’m referring to 8 bit values from 0x80 to 0xFF. The software reference discusses how to get the lowest 32 values via SENDS^M type syntax, but what about the upper values? I tried using the keyboard trick of holding down the alt key and entering the decimal value…but that gives compilation errors. (trying to control a serial LCD display)
Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

I think you can copy and paste from the Windows Character Map. Go to Start-->All Programs-->Accessories-->System Tools-->Character Map (see attached screenshot). Then, select your character, hit Select, then Copy, and then you can paste into PeWin's editor.

 

Example, using the ALT+0177 character:

 

open plc 10 clear

sends"±"

 

disable plc 10

close

 

Downloads without errors for me.

charmap.jpg.edd0f6d04158b5fd2ffcaeb1e0b9bccb.jpg

Link to comment
Share on other sites

Thanks for the reply, Charles. Were you actually able to get a character out of the serial port ? When I tried your example, it compiled, but produces no output.

 

Is there an alternative to the sends syntax?...maybe just an M-var pointer to the right serial buffer or ????

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share


×
×
  • Create New...