EasyManua.ls Logo

Mitsubishi Q02CPU

Mitsubishi Q02CPU
692 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...
3
- 75
3.9 Numeric Values which can be Used in Sequence Programs
3
SEQUENCE PROGRAM CONFIGURATION AND
EXECUTION CONDITIONS
(2) Numeric value output from CPU module to outside
A digital display or similar device is available to externally display the numeric value
operated by the CPU module.
(a) How to output numeric value
The CPU module performs operation in BIN.
If binary values used in the CPU module are output as they are to a digital display,
they will not displayed correctly.
Therefore, the BCD instruction is used to convert the data operated in BIN into
BCD used by the external display or similar device.
Using the BCD instruction allows the same display as in DEC (decimal) to be
provided on the external display or similar device.
Remark
Refer to the following manual for details of the BCD instruction.
QCPU (Q Mode)/QnACPU Programming Manual (Common Instructions)
Diagram 3.65 Display of CPU module operation data by digital display
[Numeric data designation]
Digital display
Y3F Y30to
CPU module
BCD output
BIN data
BINP K4X0 D0
BCD D5 K4Y30

Table of Contents

Other manuals for Mitsubishi Q02CPU

Related product manuals