EasyManua.ls Logo

Newport MM4005 - Page 144

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.61 EDH0162En1040 06/99
MM4005 IE If I/O input is equal
Usage IMM PGM MIP
Syntax xxIEnn
Parameters
Description xx
[int] I/O input bit number.
nn [int] I/O input bit or byte state.
Range xx 0 to 8.
nn
0 to 1 or 0 to 255.
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.
Floating point: Error C.
Description This command is one of the flow control instructions, enabling a condition-
al execution of a command line depending on the state of an I/O input bit. It
must be placed at the beginning of the command line of which execution it
controls. If the selected bit xx has the specified state nn, all following com-
mands on that line are executed. If xx is set to 0 or missing, the test is per-
formed on the entire I/O input byte and then nn could have a value from 0
to 255, representing the byte value to compare it with.
As described in the Command Syntax paragraph, a line is defined as all
commands between two line terminators.
Even though the command can be used on a line in immediate mode, its
real value is inside a program.
Returns None.
Errors A Unknown message code.
C Parameter out of limits.
E Incorrect I/O channel number.
L Command not at the beginning of a line.
Rel. Commands OE Test I/O output.
Example
3IE0
, 1PA2.34 | If I/O input bit #3 is low, move axis #1 to position 2.34.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents

Related product manuals