Conversion instructions
663
Part III FP Instructions
HT
BS
BEL
ACK
ENQ
EOT
ETX
STX
SOH
DELNUL
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
b
3
b
2
b
1
b
0
b
6
b
5
b
4
0 0 0 0 1 1 1 1
0 0 1 1 0 0 1 1
0 1 0 1 0 1 0 1
0 1 2 3 4 5 6 7
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
b4
b5
b6
SP AC E
?
DEL
LF
VT
FF
CR
SO
SI
DC1
DC2
DC3
DC4
NAK
SYN
ETB
CAN
EM
SUB
ESC
FS
GS
RS
US
~
}
{
!
”
#
$
%
&
’
(
)
*
+
,
–
.
/
0
1
2
3
4
5
6
7
8
9
:
;
<
=
>
?
@
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
[
\
]
^
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
b
7
b7
Most significant digit
Least significant digit
ASCII
HEX code
ASCII
Hex-Code
Example
In this example, the same POU header is used for all programming languages. For an example
using IL (instruction list), please refer to the online help.
POU header
All input and output variables used for programming this function have been declared in the POU
header.
Body
When the variable Enable is enabled, the character constants entered at the input s are converted
to ASCII code and stored in the variable ASCII_Output.