EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 428

Mitsubishi Electric MELSEC-Q/L
1084 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...
426
7 APPLICATION INSTRUCTIONS
7.5 Data Processing Instructions
Program example
The following program encodes the 3 bits from M10 when X20 is ON, and stores the results at D8.
[Ladder Mode] [List Mode]
[Operation]
Step
Instruction
Device
0 0 0 0 0 000 0
11
Storage device D8
0
The location of the ON bit, counted from M10, is stored in BIN.
Encoding result
0000
0 0 0 0 0 001 0 00
M10M17
0
If 3 bits are designated as significant bits, 8 points are occupied.

Table of Contents

Related product manuals