EasyManua.ls Logo

Newport MM4005 - Page 280

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.197 EDH0162En1040 06/99
MM4005 YR Read a value from an user analog port
and affect variable
Usage IMM PGM MIP
Syntax xxYRnn
Parameters
Description xx
[int] Analog port number.
nn [int] Variable number.
Range xx 1 to 4.
nn
1 to 100 (integers) and 101 to 120 (floats).
Units xx None.
nn None.
Defaults xx Missing: 0.
Out of range: Error E.
Floating point: Error A.
nn Missing: Error C.
Out of range: Error C.
Description This command reads an user analog port and saves the value in a variable.
The selected port xx is read and the value is loaded in variable nn.
NOTE
For the hardware definition of the analog input port, please see
Appendix, Connector Pinouts, Remote Control Connector.
Returns
None.
Errors A Unknown message code.
C Parameter out of limits.
O Variable number out of range.
Rel. Commands RA Read analog input.
Example 5YS0 | Initialize variable #5 to 0.
5WL18 | While variable #5 is less than 18 repeat next commands.
3PR1.2, WS |
Move axis #3 incremental 1.2 units and wait for stop.
1YR101 | Load analog port #1 value into float variable #101.
5YA1 | #5 is incremeted of 1.
WE | End while loop.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents

Related product manuals