Page top

Lead Contents

FAQ00925 of Programmable Controllers FAQ

FAQ No. FAQ00925

Primary Contents

Question

How do I make a program to transfer a 2.5-digit BCD data stored in the DM Area to display it on a static-input digital display (CIO 2.00 to CIO 2.09)?

Answer



We will assume that CIO 2.10 to CIO 2.15 are allocated to other output bits. The main point of this program is how to process the combination with the other output bits. This time, we will combine the bits using the LOGICAL AND (ANDW) instruction and LOGICAL OR (ORW) instruction.

Note:The display data storage area is D100.

Program and Operation Explanation