Specifications

BASIC commands
PROGRAMMING MANUAL 135
Revision 5.0
3.2.191 NOT
/i
/i
/i
3.2.192 NTYPE
/i
3.2.193 OFF
/i
Description Returns the number of inputs/outputs fitted to the system, or connected on the
MECHATROLINK-II expansion bus. A TJ-MC__ with no MECHATROLINK-II
I/O will return NIO=32. The built-in inputs are channels 0 to 15. The built-in
outputs are channels 8 to 15. Channels 16 to 27 can be used as "virtual" I/Os
which are connected together. Input channels 28 to 31 are reserved to allow
each axis to use the MECHATROLINK-II driver input channels for axis control
functions.
Arguments N/A
Example No example.
See also N/A
Type Mathematical operation
Syntax NOT expression
Description The NOT operator performs the logical NOT function on all bits of the integer
part of the expression.
The logical NOT function is defined as in the table below.
Bit Result
01
10
Arguments expression.
Any valid BASIC expression.
Example >> PRINT 7 AND NOT 1
6.0000
See also N/A
Type Axis parameter (read-only)
Syntax NTYPE
Description The NTYPE parameter contains the type of the move in the next
move buffer. Once the current move has finished, the move
present in the NTYPE buffer will be executed. The values are the
same as those for the MTYPE axis parameter.
NTYPE is cleared by the CANCEL(1) command.
Arguments N/A
Example No example.
See also AXIS, MTYPE.
Type Constant (read-only)
Syntax OFF
Description The OFF constant returns the numerical value 0.
Arguments N/A
Example OP (lever,OFF)
The above line sets the output named lever to OFF.
See also N/A