Bina (Conversion: Bin → Decimal Ascii) - Panasonic FP7 Series Command Reference Manual

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

14.7 BINA (Conversion: BIN → Decimal ASCII)
Ladder diagram
Available operation units (●: Available)
Operatio
bit
n unit
i
List of operands
Operand
Description
S1
The area that stores the BIN data that express a decimal figure, or the constant
S2
The area that stores the number of bytes of the area to store the conversion result, or the constant
D
Starting number of the area that stores the ASCII code as the conversion result
Available devices (●: Available)
Operan
d
W
W
X
Y
S1
S2
D
(Note 1)
Only 16-bit devices, 32-bit devices, and integer constants can be modified. (Real number constants,
and character constants cannot be specified.)
(Note 2)
Can be specified only when the operation unit is signed integer (SS, SL).
(Note 3)
Can be specified only when the operation unit is unsigned integer (US, UL).
(Note 4)
Can be specified only when the operation unit is an integer (US, SS, UL, SL).
Outline of operation
● This instruction converts BIN data that expresses a decimal figure into an ASCII code string.
● The BIN data expressed as a decimal figure specified by [S1] is converted into an ASCII
code and stored in the area specified by [D].
● The start of the storage area is specified by [D] and its size is specified by [S2].
WUME-FP7CPUPGR-12
14.7 BINA (Conversion: BIN → Decimal ASCII)
US
16-Bit device:
W
W
W
S
D
L
R
L
S
D
T
D
SS
UL
32-Bit
device:
TS
TE
U
W
WI
C
C
M
O
S
E
SL
SF
Real
Integer
numbe
r
K
H
(N
(N
(N
D
IX
SF
F
ote
ote
ote
2)
3)
4)
DF
St
rin
g
Index
modifie
r
(Note 1)
" "
14-23

Advertisement

Table of Contents
loading

Table of Contents