Extended instructions
8.2 String and character
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
301
Table 8- 33 Examples of STRG_VAL conversion
"12,345.67" 0000 Real 12345.67 TRUE
"3.4e39" 0002 Real +INF TRUE
"1.1754943e-38"
0002 Real 0.0 TRUE
The following examples of VAL_STRG conversions are based on an OUT string initialized as
follows:
"
Current Temp = xxxxxxxxxx C"
where the "
x" character represents space characters allocated for the converted value.