FP
Σ
13.8 Table of Instructions
13 - 55
No.
Name
Boolean Operand Description
Steps
F80
16-bit binary
data
→
4-digit
BCD data
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
5
F81
4-digit BCD
data
→
16-bit
binary data
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
5
F82
32-bit binary
data
→
8-digit
BCD data
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).
7
F83
8-digit BCD
data
→
32-bit
binary data
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).
7
F84
16-bit data in-
vert
INV
D
Inverts each bit of data of “D”.
3
F85
16-bit data
complement of
2
NEG
D
Inverts each bit of data of “D” and adds 1 (inverts the
sign).
3
F86
32-bit data
complement of
2
DNEG
D
Inverts each bit of data of (D+1, D) and adds 1 (inverts
the sign).
3
F87
16-bit data ab-
solute
ABS
D
Gives the absolute value of the data of “D”.
3
F88
32-bit data ab-
solute
DABS
D
Gives the absolute value of the data of (D+1, D).
3
F89
16-bit data sign
extension
EXT
D
Extends the 16 bits of data in “D” to 32 bits in (D+1, D). 3
F90
Decode
DECO
S, n, D
Decodes part of the data of “S” and stores it in “D”. The
part is specified by “n”.
7
F91
7-segment
decode
SEGT
S, D
Converts the data of “S” for use in a 7-segment display
and stores it in (D+1, D).
5
F92
Encode
ENCO
S, n, D
Encodes part of the data of “S” and stores it in “D”. The
part is specified by “n”.
7
F93
16-bit data
digit combine
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”.
7
F94
16-bit data
digit distribute
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”.
7
F95
ASCII code
conversion
ASC
S, D
Twelve characters of the character constants of “S” are
converted to ASCII code and stored in “D” to “D+5”.
15
F96
16-bit table
data search
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.
7
F97
32-bit table
data search
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.
9
Содержание FP Series
Страница 15: ...FP Functions and Restrictions of the Unit 1 2...
Страница 25: ...FP Specifications and Functions of Control Unit 2 2...
Страница 37: ...FP Expansion 3 2...
Страница 44: ...Chapter 4 I O Allocation 4 1 I O Allocation 4 3...
Страница 45: ...FP I O Allocation 4 2...
Страница 51: ...FP Installation and Wiring 5 2...
Страница 77: ...FP High speed Counter and Pulse Output Functions 6 2...
Страница 133: ...FP High speed Counter and Pulse Output Functions 6 58...
Страница 135: ...FP Communication Cassette 7 2...
Страница 147: ...FP Communication Function 1 Computer Link 8 2...
Страница 169: ...FP Communication Function 2 General purpose Serial Communication 9 2...
Страница 205: ...FP Communication Function 2 General purpose Serial Communication 9 38...
Страница 207: ...FP Communication Function 3 PLC Link Function 10 2...
Страница 232: ...Chapter 11 Other Functions 11 1 Analog Potentiometer 11 3 11 2 Clock Calendar Function 11 4...
Страница 233: ...FP Other Functions 11 2...
Страница 238: ...Chapter 12 Self Diagnostic and Troubleshooting 12 1 Self Diagnostic Function 12 3 12 2 Troubleshooting 12 5...
Страница 239: ...FP Self Diagnostic and Troubleshooting 12 2...
Страница 249: ...FP Self Diagnostic and Troubleshooting 12 12...
Страница 251: ...FP Specifications 13 2...
Страница 323: ...Index FP I 4...
Страница 325: ...FP Record of changes R 2...