EasyManua.ls Logo

NAiS FP1

Default Icon
280 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
192
6-4. Hints for Programming High-level Instructions
2) Processing BCD Data in the Programmable Controllers
• Since the data in the programmable controllers are basically processed in standard binary, it is recommended that
data in the programmable controllers be proceeded by the binary form using the F80 (BCD), F81 (BIN), F82
(DBCD), and F83 (DBIN) instructions.
[BCD data flow]
Application Example:
High-level instruction
F81 (4-digit BCD data
16-bit data)
Bit position
Binary data
0000
0111
11 8
1100
1001
30
15 ••12 •• ••
74
••
Decimal
BCD data
0001
1001
9
1001
0011
3
1
9
Decimal
BCD data
0001
1001
9
1001
0011
3
1
9
High-level instruction
F80 (16-bit data
4-digit BCD data)
FP1
Programmable
Controller
Digital switches
7-segment indicator
BCD BIN
BIN BCD
1 9 9 3
Input device Output deviceFP1
F81/F83 F80/F82
BCD data BCD data
BCD Binary
Data
processing
Binary BCD
• When data of a digital
switch is input to the
programmable controller,
use the F81 (BIN) or F83
(DBIN) instruction.
• When data is output to the
7-segment digital indicator,
use the F80 (BCD) or F82
(DBCD) instruction.

Table of Contents

Related product manuals