DaveBarnett Posted August 28, 2015 Share Posted August 28, 2015 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 More sharing options...
Omron Forums Support Posted August 31, 2015 Share Posted August 31, 2015 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. Link to comment Share on other sites More sharing options...
steve.milici Posted August 31, 2015 Share Posted August 31, 2015 Another entry mechanism uses the keyboard's numeric pad. Hold down the "Alt" key and key in the ASCII value (first key always zero for 8-bit ASCII) you wish to enter. The first digit of the key-code is for extended ASCII characters. Link to comment Share on other sites More sharing options...
DaveBarnett Posted August 31, 2015 Author Share Posted August 31, 2015 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 More sharing options...
Recommended Posts