EasyManua.ls Logo

Siemens Simatic S7 Series

Siemens Simatic S7 Series
726 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Program instructions
7.5 Convert
S7-200 SMART
System Manual, 09/2015, A5E03822230-AC
207
Example: Integer to ASCII
LAD
STL
Convert the integer value at VW2 to
8 ASCII characters starting at VB10,
using a format of 16#0B (a comma
for the decimal point, followed by 3
digits).
Network 1
LD I2.3
ITA VW2, VB10, 16#0B
Example: Real to ASCII
LAD
STL
Convert the real value at VD2 to 10
ASCII characters starting at VB10,
using a format of 16#A3 (a period for
the decimal point, followed by 3 dig-
its).
Network 1
LD I2.3
RTA VD2, VB10, 16#A3
See also
Assigning a constant value for instructions (Page 69)

Table of Contents

Other manuals for Siemens Simatic S7 Series

Related product manuals