I have a SLC 5/04 and a device that accepts ASCII commands. The commands use escape codes (such as ESC + STX + A). I'd like to save the seven possible commands in a string file for use, though I don't see a way to enter the escape codes. If I open a string file, I can't switch the radix to hex or dec.
Example: I'd like to store the ASCII equivalent of hex 1B0241 in a string file.
I can enter the codes in an ASCII data file, though the transmit functions apparently require string data type. I guess either a way to manually enter the codes (in string data file) or some logic to do ASCII->STR conversion is what I need. Did I miss an instruction to do this?
Thanks
Example: I'd like to store the ASCII equivalent of hex 1B0241 in a string file.
I can enter the codes in an ASCII data file, though the transmit functions apparently require string data type. I guess either a way to manually enter the codes (in string data file) or some logic to do ASCII->STR conversion is what I need. Did I miss an instruction to do this?
Thanks