StringToHex
Contents

1.Description

Each character of a text is converted into its ASCII code in the hexadecimal format.
Important
Only a single-digit hexadecimal value is created for characters whose hexadecimal ASCII code is less than or equal to '0F'!
Note
The hexadecimal values for all printable characters are in the range above '0F'.

2.Inputs

No.NameInitialisationDescription
1E1 Text""
Text (Text)

3.Outputs

No.NameInitialisationSBCDescription
1A1 Hex""s
Concatenated ASCII codes in hexadecimal format (text)
s = send, sbc = send by change

4.Value table as an example

Input 1ASCII codes, comma separatedOutput 1
abcde97,98,99,100,1016162636465
This is an example68,97,115,32,105,115,116,32,101,105,110,32,66,101,105,115,112,105,101,108446173206973742065696e20426569737069656c

5.Other

Recalculation during start:No
Module is retentive:No
Internal designation:17772
Category:Converter

6.Similar functions

Status machine, 1 outp
Status machine, 8 outp
ShiftLeft
ShiftRight
BitCutter
StringToFloat
DecToHex
TextToBase64
IntToString
HexToString
ChrToASCII
StringToNumber
2ByteTo16Bit
4ByteTo32Bit