发表于:2007-03-22 22:06:00
楼主
FC: Encoder value reading
//open auxiliary DB encoder reading
OPN DB 16
L PIB 0
T IB 0
//encoder loading for codification
L IB 0
T DBB 1
NOP 0
//128 binary
A DBX 1.7
= M 7.7
//64 binary
AN DBX 1.6
A M 7.7
O
A DBX 1.6
AN M 7.7
= M 7.6
//32 binary
AN DBX 1.5
A M 7.6
O
A DBX 1.5
AN M 7.6
= M 7.5
//16 binary
AN DBX 1.4
A M 7.5
O
A DBX 1.4
AN M 7.5
= M 7.4
//8 binary
AN DBX 1.3
A M 7.4
O
A DBX 1.3
AN M 7.4
= M 7.3
//4 binary
AN DBX 1.2
A M 7.3
O