Panasonic FP-E Programming Manual page 468

Fp series
Table of Contents

Advertisement

High−level Instructions
Relationship between number of bits and occupied data area for decoded result
Number of bits to be
decoded
1
2
3
4
5
6
7
8
* Invalid bits in the data area required for the result are set to "0".
Decoded example
When decoding 4-bit data, 16-bit data for the decoded result is shown below.
Decoding conditions (n)
Starting bit position: H0 (bit position 0)
Number of bits to be decoded: H4 (4 bits)
Data to be decoded
Data to be decoded
[Binary (decimal)]
0000 (K0)
0001 (K1)
0010 (K2)
0011 (K3)
0100 (K4)
0101 (K5)
0110 (K6)
0111 (K7)
1000 (K8)
1001 (K9)
1010 (K10)
1011 (K11)
1100 (K12)
1101 (K13)
1110 (K14)
1111 (K15)
3 − 204
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Data area required for the
result
1-word
1-word
1-word
1-word
2-word
4-word
8-word
16-word
Decoded result
15 ・ ・ 12 11 ・ ・ 8
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 1
0 0 0 0
0 0 1 0
0 0 0 0
0 1 0 0
0 0 0 0
1 0 0 0
0 0 0 1
0 0 0 0
0 0 1 0
0 0 0 0
0 1 0 0
0 0 0 0
1 0 0 0
0 0 0 0
Valid bits in the area for the
result
16-bit
32-bit
64-bit
128-bit
256-bit
7
・ ・ 4
3 ・ ・ 0
0 0 0 0
0 0 0 1
0 0 0 0
0 0 1 0
0 0 0 0
0 1 0 0
0 0 0 0
1 0 0 0
0 0 0 1
0 0 0 0
0 0 1 0
0 0 0 0
0 1 0 0
0 0 0 0
1 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
2-bit*
4-bit*
8-bit*

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents