BASIC commands
PROGRAMMING MANUAL
117
Revi
si
on 3.0
3.2.185 NAIO
/i
3.2.186 NEG_OFFSET
/i
3.2.187 NEW
/i
3.2.188 NEXT
See
FOR..TO..STEP..NEXT
.
3.2.189 NIO
/i
21
CONNECT
22
MOVELINK
Type
System parameter (read-only)
Syntax
NAIO
Description
This parameter returns the number of analogue input channels connected on
the MECHATROLINK-II expansion bus. For example a TJ1-MC__ will return
8 if there are 2 x AN2900 Units connected as each has 4 analogue input
channels.
Arguments
N/A
Example
No example.
See also
N/A
Type
System parameter
Syntax
NEG_OFFSET=value
Description
For Piezo Operation. This allows a negative offset to be applied to the output
DAC
signal from the servo loop. The offset is applied after the
DAC_SCALE
function. An offset of 327 will represent an offset of 0.1 volts. It is suggested
that as offset of 65% to 70% of the value required to make the stage move in
an open loop situation is used.
Arguments
•
value
A BASIC expression.
Example
No example.
See also
N/A
Move number
Move type
Type
Program command
Syntax
NEW [ "program_name" ]
Description
The
NEW
command deletes all program lines of the program in the controller.
NEW
without a program name can be used to delete the currently selected
program (using
SELECT
). The program name can also be specified without
quotes.
NEW ALL
will delete all programs.
The command can also be used to delete the Table.
NEW "TABLE"
The name
"TABLE"
must be in quotes.
Note: This command is implemented for an offline (VT100) terminal. Within
Trajexia Tools users can select the command from the Program menu.
Arguments
N/A
Example
No example.
See also
COPY
,
DEL
,
RENAME
,
SELECT
,
TABLE
Type
System parameter
Syntax
NIO
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.
I52E-EN-03.book Seite 117 Freitag, 29. Juni 2007 11:55 11