NAiS FP Series User Manual page 304

Applicable plc
Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

FPΣ
No.
Name
F80
16-bit binary
data → 4-digit
BCD data
F81
4-digit BCD
data → 16-bit
binary data
F82
32-bit binary
data → 8-digit
BCD data
F83
8-digit BCD
data → 32-bit
binary data
F84
16-bit data in-
vert
F85
16-bit data
complement of
2
F86
32-bit data
complement of
2
F87
16-bit data ab-
solute
F88
32-bit data ab-
solute
F89
16-bit data sign
extension
F90
Decode
F91
7-segment
decode
F92
Encode
F93
16-bit data
digit combine
F94
16-bit data
digit distribute
F95
ASCII code
conversion
F96
16-bit table
data search
F97
32-bit table
data search
Boolean
Operand Description
BCD
S, D
Converts the 16 bits of binary data specified by "S" to
four digits of BCD data and stores it in "D".
Example: K100 → H100
BIN
S, D
Converts the four digits of BCD data specified by "S" to
16 bits of binary data and stores it in "D".
Example: H100 → K100
DBCD
S, D
Converts the 32 bits of binary data specified by (S+1,
S) to eight digits of BCD data and stores it in (D+1, D).
DBIN
S, D
Converts the eight digits of BCD data specified by
(S+1, S) to 32 bits of binary data and stores it in (D+1,
D).
INV
D
Inverts each bit of data of "D".
NEG
D
Inverts each bit of data of "D" and adds 1 (inverts the
sign).
DNEG
D
Inverts each bit of data of (D+1, D) and adds 1 (inverts
the sign).
ABS
D
Gives the absolute value of the data of "D".
DABS
D
Gives the absolute value of the data of (D+1, D).
EXT
D
Extends the 16 bits of data in "D" to 32 bits in (D+1, D). 3
DECO
S, n, D
Decodes part of the data of "S" and stores it in "D". The
part is specified by "n".
SEGT
S, D
Converts the data of "S" for use in a 7-segment display
and stores it in (D+1, D).
ENCO
S, n, D
Encodes part of the data of "S" and stores it in "D". The
part is specified by "n".
UNIT
S, n, D
The least significant digit of each of the "n" words of
data beginning at "S" are stored (united) in order in "D".
DIST
S, n, D
Each of the digits of the data of "S" are stored in
(distributed to) the least significant digits of the areas
beginning at "D".
ASC
S, D
Twelve characters of the character constants of "S" are
converted to ASCII code and stored in "D" to "D+5".
SRC
S1, S2, S3 The data of "S1" is searched for in the areas in the
range "S2" to "S3" and the result is stored in DT90037
and DT90038.
DSRC
S1, S2, S3 The data of (S1+1, S1) is searched for in the 32-bit
data designated by "S3", beginning from "S2", and the
result is stored in DT90037 and DT90038.
13.8 Table of Instructions
Steps
5
5
7
7
3
3
3
3
3
7
5
7
7
7
15
7
9
13 - 55

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fps seriesFpg-c32tFpg-c32t2Fpg-c24r2

Table of Contents