EasyManua.ls Logo

Newport MM4005 - Page 284

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...
3.201 EDH0162En1040 06/99
MM4005 YY Copy variable
Usage IMM PGM MIP
Syntax xxYYnn
Parameters
Description x
x [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 copies the values of one variable to another. The value of
variable nn is copied to variable xx. After execution, both variables will
have the same value.
Returns None.
Errors A Unknown message code.
O Variable number out of range.
Rel. Commands YC Add variables.
YD Divide variables.
YM Multiply variables.
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 | Ssubtract 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