BASIC commands
PROGRAMMING MANUAL
155
R
e
vi
si
o
n
1
.0
3.2.207 NEG_OFFSET
/i
3.2.208 NEW
/i
3.2.209 NEXT
See
FOR..TO..STEP..NEXT
.
3.2.210 NIO
/i
3.2.211 NOT
/i
/i
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
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 memory.
NEW "TABLE"
The name
"TABLE"
must be in quotes.
Note: This command is implemented for a Command Line Terminal. Within
Trajexia Studio 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 TJ2-MC64 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 Drive 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
0
1
1
0