EasyManua.ls Logo

Newport MM4005 - Page 275

Newport MM4005
417 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
Loading...
EDH0162En1040 06/99 3.192
MM4005 YM Multiply variables
Usage IMM PGM MIP
Syntax xxYMnn
Parameters
Description xx
[int] Variable number.
nn [int] Variable number.
Range xx 1 to 100 (integers) and 101 to 120 (floats).
nn 1 to 100 (integers) and 101 to 120 (floats).
Units xx None.
nn None.
Defaults xx Missing: Error O.
Out of range: Error O.
Floating point: Error A.
nn Missing: Error O.
Out of range: Error O.
Floating point: Decimal part truncated.
Description This command multiplies the values of two variables. Variable xx is multi-
plied by variable nn and the result placed in variable xx. If the result is out
of the -32767 to 32767 range, the operation is not performed and error H is
generated.
Returns None.
Errors A Unknown message code.
H Calculation overflow.
O Variable number out of range.
Rel. Commands YC Add variables.
YD Divide variables.
YF Scale variable.
YS Initialize variable.
Example 5YS5 | Initialize variable #5 to 5.
2YS9 | Initialize variable #2 to 9.
1YR3 | Load analog port #3 value into variable #1.
3YY1 | Copy variable #1 in variable #3.
3YA-32 | Subtract 32 from variable #3.
3YM5 | Multiply variable #3 with variable #5.
3YD2 | Divide variable #3 by variable #2; if variable #1 represents a tem-
perature measured in degrees Fahrenheit, variable #3 will be the
equivalent temperature in degrees Celsius.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents

Related product manuals