
BASIC commands
PROGRAMMING MANUAL
81
R
e
vi
si
o
n
1
.0
3.2.85 DEL
/i
3.2.86 DEMAND_EDGES
/i
3.2.87 DEVICENET
/i
/i
Type
Program command
Syntax
DEL [program_name]
RM [program_name]
Description
The
DEL
command deletes a program from the controller.
DEL
without a pro-
gram name can be used to delete the currently selected program (using
SELECT
). The program name can also be specified without quotes.
DEL ALL
will delete all programs.
DEL
can also be used to delete the Table:
DEL "TABLE"
. The name
"TABLE"
must be in quotes.
Note: This command is implemented for the Command Line Terminal. Within
Trajexia Studio users can select the command from the
Program
menu.
Arguments
•
program_name
Name of the program to be deleted.
Example
>> DEL oldprog
See also
COPY
,
NEW
,
RENAME
,
SELECT
,
TABLE
.
Type
Axis parameter (read-only)
Syntax
DEMAND_EDGES
Description
The
DEMAND_EDGES
axis parameter contains the current value of the
DPOS
axis parameter in encoder edge units.
Arguments
N/A
Example
No example.
See also
AXIS
,
DPOS
.
Type
System command
Syntax
DEVICENET(unit_number, 2, 1, VR_start_outputs, no_outputs,
VR_start_inputs, no_inputs)
DEVICENET(unit_number, 4, 0)
Description
DEVICENET
function 2 configures the TJ1-DRT for data exchange with the
DeviceNet master unit and defines areas in the VR memory where I/O
exchange takes place.
DEVICENET
function 4 returns the data exchange sta-
tus of the TJ1-DRT. Refer to the table below for the description of the bits in
the data exchange status word.
Bit
Value
Description
0
0
Command
DEVICENET (unit_number, 2, ...)
not executed yet
1
Command DEVICENET (unit_number, 2, ...)
executed without error
1
0
No DeviceNet I/O connection
1
DeviceNet I/O connection running
2
0
VR variables in the output data range have been updated
1
VR variables in the output data range have not been updated yet
3
0
DeviceNet I/O connection size matches the
DEVICENET
(unit_number, 2,…)
command
1
DeviceNet I/O connection size does not match the
DEVICENET(unit_number, 2,…)
command
4-7
0
Always zero
8
0
Network power OK
1
Network power failure
9
0
No BUSOFF occurred
1
BUSOFF occurred