Integer To Ascii - Siemens SIMATIC S7-200 System Manual

Hide thumbs Also See for SIMATIC S7-200:
Table of Contents

Advertisement

SIMATIC Instructions

Integer to ASCII

L
A
EN
D
F
IN
B
D
FMT
S
T
ITA IN, OUT, FMT
L
221
222 224
Inputs/Outputs
IN
VW, IW, QW, MW, SW, SMW, LW, AIW, T, C, AC, Constant, *VD,
*AC, *LD
FMT
VB, IB, QB, MB, SMB, LB, AC, Constant, *VD, *AC, SB, *LD
OUT
VB, IB, QB, MB, SMB, LB, *VD, *AC, SB, *LD
9-140
The Integer to ASCII instruction converts an integer
word (IN) to an ASCII string. The format (FMT) specifies
ITA
ENO
the conversion precision to the right of the decimal, and
whether the decimal point is to be shown as a comma or
OUT
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)
226
Operands
S7-200 Programmable Controller System Manual
Data Types
INT
BYTE
BYTE
A5E00066097-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents