BASIC commands
PROGRAMMING MANUAL
82
R
e
vi
si
o
n
1
.0
/i
3.2.88 DIR
/i
3.2.89 DISABLE_GROUP
/i
10
0
No node address duplication error
1
Node address duplication error
Arguments
•
unit_number
Specifies the unit number of the TJ1-DRT in the Trajexia system.
•
VR_start_outputs
The starting address in VR memory of the controller where the output
data from the DeviceNet master is located.
•
no_outputs
The number of output words from the DeviceNet master in VR memory.
•
VR_start_inputs
The starting address in VR memory of the controller where the input data
for the DeviceNet master is located.
•
no_inputs
The number of input words to the DeviceNet master in VR memory.
Example
DEVICENET (0,2,1,10,16,150,31)
In this example, the TJ1-DRT is configured to exchange data with DeviceNet
master with 16 output words (received from the master) located at VR(10) to
VR(25), and 31 input words (sent to the master) located at VR(150) to
VR(180).
See also
N/A
Type
Program command
Syntax
DIR
LS
Description
The
DIR
command shows a list of the programs held in the controller, the
memory size and the
RUNTYPE
. DIR also shows the available memory size,
power up mode and current selected program of the controller.
Note: This command is implemented for the Command Line Terminal only.
Arguments
N/A
Bit
Value
Description
Example
No example.
See also
FREE
,
PROCESS
,
RUNTYPE
,
SELECT
.
Type
Axis command
Syntax
DISABLE_GROUP(-1)
DISABLE_GROUP(axis_1 [, axis_2 [, ...]] )
Description
The
DISABLE_GROUP
is used to create a group of axes which will be disa-
bled if there is a motion error in any or more axes in the group. After the group
is made, when an error occurs on
one
they will all have their
AXIS_ENABLE
set OFF and
SERVO
set OFF. Multiple groups can be made, although an axis
cannot belong to more than one group. All groupings can be cleared using
DISABLE_GROUP(-1)
.
Note: For use with MECHATROLINK-II only..
Arguments
•
axis_i
A BASIC expression that evaluates to an axis number.
Example
A machine has 2 functionally separate parts, which have their own emergency
stop and operator protection guarding. If there is an error on one part of the
machine, the other part can continue to run while the cause of the error is
removed and the axis group restarted. For this, 2 separate axis groupings
must be set up.
DISABLE_GROUP(-1) ' remove any previous axis groupings
DISABLE_GROUP(0,1,2,6) ' group axes 0 to 2 and 6
DISABLE_GROUP(3,4,5,7) ' group axes 3 to 5 and 7
WDOG=ON ' turn on the enable relay and the remote drive enable
FOR ax=0 TO 7
AXIS_ENABLE AXIS(ax)=ON ' enable the 8 axes
SERVO AXIS(ax)=ON ' start position loop servo for each axis
NEXT ax