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

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

Advertisement

14.8 ABIN (Conversion: Decimal ASCII → BIN)
14.8 ABIN (Conversion: Decimal ASCII → BIN)
Ladder diagram
Available operation units (●: Available)
Operatio
bit
n unit
i
List of operands
Operand
Description
S1
Starting number of the area that stores the ASCII code to be converted
S2
The area that stores the number of bytes to be converted, or the constant
D
Area to store the conversion result
Available devices (●: Available)
Operan
d
W
W
X
Y
S1
(Note
S2
5)
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).
(Note 5)
To be handled as a 16-bit integer (US, SS), regardless of operation unit.
Outline of operation
● This instruction converts the ASCII code string into BIN data that express a decimal figure.
14-26
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)
WUME-FP7CPUPGR-12
DF
St
rin
g
Index
modifie
r
(Note 1)
" "

Advertisement

Table of Contents
loading

Table of Contents