EasyManua.ls Logo

Siemens SIMATIC S7-200 - Integer to ASCII

Siemens SIMATIC S7-200
606 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...
SIMATIC Instructions
9-140
S7-200 Programmable Controller System Manual
A5E00066097-02
Integer to ASCII
The Integer to ASCII instruction converts an integer
word (IN) to an ASCII string. The format (FMT) specifies
the conversion precision to the right of the decimal, and
whether the decimal point is to be shown as a comma or
a period. The resulting conversion is placed in 8
consecutive bytes beginning with OUT. The ASCII string
is always 8 characters.
Error conditions that set ENO = 0: SM4.3 (run-time),
0006 (indirect address), no output (illegal format)
Inputs/Outputs Operands Data Types
IN VW, IW, QW, MW, SW, SMW, LW, AIW, T, C, AC, Constant, *VD,
*AC, *LD
INT
FMT VB, IB, QB, MB, SMB, LB, AC, Constant, *VD, *AC, SB, *LD BYTE
OUT VB, IB, QB, MB, SMB, LB, *VD, *AC, SB, *LD BYTE
L
A
D
S
T
L
ITA IN, OUT, FMT
ITA
EN
IN
FMT
F
B
D
ENO
OUT
222 224
✓✓
221
226

Table of Contents

Other manuals for Siemens SIMATIC S7-200

Related product manuals