Table 4-2 Calculating Binary Conversion - Microscan MS-3000 User Manual

Single head decoder
Hide thumbs Also See for MS-3000:
Table of Contents

Advertisement

Binary Calculations
Data switch settings for values 51 to 255 must be determined by the user
with binary calculation. (Specifically, the timeout values for 51 to 255 in
mode 9 and various serial trigger character selections in mode 10.)
The eight data switches on the profile card represent the eight data bits that
define any number from 0 to 255 in binary format. To convert a number to
its binary equivalent:
1. Determine which decimal equivalent (1, 2, 4, 8, 16, 32, 64, 128) is the
largest number not exceeding the number to convert.
2. Put a one (1) above that number to indicate an ON position.
For example, table
4-2
The first one (1) is placed in the eighth bit column over the number 128,
since that is the largest possible decimal equivalent to use.

Table 4-2 Calculating Binary Conversion

Data Switches
1
2
3
1
2
1
2
4
3. Subtract the decimal equivalent from the original number.
4. Place the remainder above the next largest decimal equivalent that
does not exceed the remainder number.
5. Put a one (1) above that number.
6. Continue this process until the remainder equals zero (0), as follows:
250 -128=122, -64=58, -32=26, -16=10, -8=2, -2=0
OFF positions on the data switches result from:
• Decimal equivalent numbers passed over because they are greater than
the remainder (the third bit in table 4-2),
• Decimal equivalent numbers not used because the formula has termi-
nated with a remainder of zero (0) (the first bit in table 4-2).
MS-3000 Single Head Decoder User's Manual
Profile Card Configuration
shows the calculation process for the number 250.
4
5
6
7
8
Data Switches (bit representation)
Data Switch Settings
1
1
1
1
1
Binary Code
10 26 58 122
Remainder Numbers
250
<--- Number to Convert
8
16 32 64 128
Decimal Equivalent
= On
= Off
4-13

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MS-3000 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents