Panasonic FP7 Series Command Reference Manual page 42

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

Advertisement

1.2 List of High-level Instructions
Operatio
Name
US, SS,
ASCII data
UL, SL,
Check
SF, DF
US, SS,
Conversion:
UL, SL,
ASCII → BIN
SF, DF
Conversion:
Character
Constant →
ASCII Code
Text creation
Date and Time
Character
String
Conversion
String operation instructions
Operatio
Name
String
compare
String Addition −
Obtainment of
String Length
Search String
Length
(Terminating
NULL)
String Search
Takeout of the
Right Side of a
String
1-24
n
Mnemonic
Unit
ACHK
(P)
ATOB
(P)
SSET
(P)
PRINT
(P)
TIMEstr
(P)
n
Mnemonic
Unit
SCMP
(P)
SADD
(P)
LEN
(P)
LENGTH (P)
SSRC
(P)
RIGHT
(P)
Operand
Function overview
Checks whether ASCII data converted with
S1, S2,
ATOB instruction can be converted under
N
normal conditions.
Converts the ASCII data stored in the area
S1, S2,
starting with [S2] to BIN data, and stores it
in the area starting with [D]. The conversion
N, D
method is specified by [S1] and [N].
Converts the character constant specified
S, D
by [S] to ASCII code, and stores it in the
area starting with [D].
Inserts the data to be output [S2] to the text
S1, S2,
creation form [S1], creates the text, and
D
stores it in the area specified by [D].
Converts the date and time information
specified by [S1] according to the
S1, S2,
conversion pattern specified by [S2], and
D
stores the character string in the storage
location specified by [D].
Operand
Function overview
Compares the character string of [S1] with
the character string of [S2], and outputs the
result to the system relay (SRA to SRC).
S1, S2
(S1) > (S2) → SRA:ON
(S1) = (S2) → SRB:ON
(S1) < (S2) → SRC:ON
Couples the character string of [S1] with
S1, S2,
the character string of [S2], and stores it in
D
[D].
The number of characters stored in the
S, D
character string table data starting with [S]
is stored in [D].
Detects a termination character (null) from
S1, S2,
a string and acquires the number of
D
characters.
Searches for data [S1] from the character
S1, S2,
string table data starting with [S2], and the
D
relative position of the first match is stored
in [D].
Retrieves the number of characters [S2]
from the right side (the side where the
S1, S2,
device address is larger) of the character
D
string table starting with [S1], and stores it
in [D].
Page
"P.14-44"
"P.14-46"
"P.14-60"
"P.14-64"
"P.14-75"
Page
"P.14-81"
"P.14-83"
"P.14-85"
"P.14-87"
"P.14-89"
"P.14-92"
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents