
Train ing Kit O peratio n Manua l
2-3 2
Data
Type
State Counts Memory Address
LSB/LSB
(Support
State 0)
The examples in the following table show how the state value is determined with the
lowest non-zero element after converting from a decimal value into a binary value.
There are also examples demonstrating how DOPSoft determines the state value
displayed with the lowest bit when the decimal values are 3 and 7.
Decimal
Binary Sate Value
0 0000000000000000
State=0 when all bits are 0
LSB (Support State 0) must be selected
1 0000000000000001
The lowest non-zero bit is bit 0, State=1.
2 0000000000000010
The lowest non-zero bit is 1, State=2.
3 0000000000000011
The lowest non-zero bit is bit 0, State=1.
4 0000000000000100
The lowest non-zero bit is bit 2, State 3.
7 0000000000000111
The lowest non-zero bit is bit 0, State=1.
8 0000000000001000
The lowest non-zero bit is bit 3, State=4.
16 0000000000010000
The lowest non-zero bit is bit 4, State=5.
32 0000000000100000
The lowest non-zero bit is bit 5, State=6.
64 0000000001000000
The lowest non-zero bit is bit 6, State=7.
128 0000000010000000
The lowest non-zero bit is bit 7, State=8.
256 0000000100000000
The lowest non-zero bit is bit 8, State=9.
512 0000001000000000
The lowest non-zero bit is bit 9, State=10.
1024 0000010000000000
The lowest non-zero bit is bit 10, State=11.
2048 0000100000000000
The lowest non-zero bit is bit 11, State=12.
4096 0001000000000000
The lowest non-zero bit is bit 12, State=13.
8192 0010000000000000
The lowest non-zero bit is bit 13, State=14.
16384 0100000000000000
The lowest non-zero bit is bit 14, Statep15.
32768 1000000000000000
The lowest non-zero bit is bit 15, State=16.
Bit
If the data type is “Bit”, only 2 states
are available.
If the data type is “Bit”, “Bit” is the data type
of the memory address.
Commentaires sur ces manuels