Achk (Ascii Data Check) - Panasonic FP7 Series Command Reference Manual

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

Advertisement

14.10 ACHK (ASCII Data Check)

14.10 ACHK (ASCII Data Check)
Ladder diagram
Available operation units (●: Available)
Operatio
bit
n unit
i
List of operands
Operand
Description
S1
Control string (2 to 16 characters)
S2
Starting number of the area that stores an ASCII code
N
Conversion method
Available devices (●: Available)
Operan
d
W
W
X
Y
S1
S2
(Note 1)
N
(Note 1)
To be handled as a 32-bit integer (UL), regardless of operation unit.
Outline of operation
● This instruction checks whether the specified ASCII code string can be converted using the
ATOB instruction.
● According to the control characters specified by [S1], this instruction checks whether the
ASCII code stored in the area specified by [S2] can be normally converted using the
conversion method specified by [N].
● If the check result is normal, the system relay SRB turns ON (1), and if abnormal, SRB turns
OFF (0).
● Specify the same value as the ATOB instruction for [S1] the control string, [S2] the beginning
of the source data, and [N] the conversion method.
14-44
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
D
IX
K
H
SF
F
WUME-FP7CPUPGR-12
DF
St
rin
g
Index
modifie
r
" "

Advertisement

Table of Contents
loading

Table of Contents