EasyManuals Logo

Brother TC-32B User Manual

Brother TC-32B
240 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #171 background imageLoading...
Page #171 background image
TC-32B Chapter 7 Macro
2004/01/22 7 - 13 eTCOMNCPR7-1.doc
7
7.3.3 Precautions for calculation
(Note 1) Formula
The right side of the equation can be connected using a constant,
variable, function, or operator. When using a constant, any value
without a decimal point is regarded as having a decimal point at its end.
[Example] #1 =12;, #1 is regarded as 12.000.
(Note 2) Angle calculation
The unit for SIN, COS, TAN, and ATAN functions is “degree”.
For example, 90 degrees and 30 minutes is designated as 90.5 degrees.
(Note 3) Logical calculation
Logical sum (OR), logical product (AND), and exclusive-or (XOR)
perform the following calculation for each bit of the integral number.
Decimal places are regarded as “as”.
(Note 4)
Calculation
object
Result for AND Result of OR Result of XOR
0 and 0 0 0 0
0 and 1 0 1 1
1 and 0 0 1 1
1 and 1 1 1 0
Conversion between BCD and BIN
BIN indicates binary number.
BCD indicates binary-coded decimal number.
The value of each digit in a decimal number is expressed as a 4-bit
binary number.
[Example] 12 = 0001 (4 bits) 0010 (4 bits)
The binary number 00010010 is the decimal number 18.
When 12 is converted from BIN to BCD, the result will be 18.
Conversion from BCD to BIN is performed in the reverse of the above.
Decimal places in the conversion source number are always regarded
as zero (0).
(Note 5) Range of constant
The range of constants that can be used in the formula is as below.
-999999999 ~ -0.000000010
+0.00000001 ~ +999999999
The maximum number of digits that can be designated is 9 for a decimal
number.
(Note 6) Calculation accuracy
When calculation is performed for the macro statement, small
calculation errors occur and these accumulate as the calculation is
repeated. However, the data is retained internally using up to
approximately 15 significant digits in floating-point format, thus
ensuring calculation accuracy.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Brother TC-32B and is the answer not in the manual?

Brother TC-32B Specifications

General IconGeneral
BrandBrother
ModelTC-32B
CategoryPrinter
LanguageEnglish

Related product manuals