426
7 APPLICATION INSTRUCTIONS
7.5 Data Processing Instructions
• The following program encodes the 3 bits from M10 when X20 is ON, and stores the results at D8.
[Ladder Mode] [List Mode]
[Operation]
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.