Chapter 8 Logic Instructions
String to Bit String
Strings can be converted to bit strings. And some instructions are shown below.
The rule for the string-to-bit string conversion is the same as that for the string-to integer
conversion.
Precautions for Correct Use
The input variable is not allowed to omit. An error will occur during the compiling of the software if the
input variable is omitted. But the output variable is allowed to omit.
STRING_TO_BYTE
EN ENO
Out
In
STRING_TO_WORD
EN ENO
Out
In
STRING_TO_DWORD
EN
ENO
Out
In
STRING_TO_LWORD
EN
ENO
Out
In
8-175