Specifications

BASIC commands
PROGRAMMING MANUAL 57
Revision 5.0
/i
3.2.56 COMMSTYPE
/i
/i
/i
3.2.57 COMPILE
/i
3.2.58 CONNECT
/i
Arguments N/A
Example No example.
See also N/A
Type Slot parameter
Syntax COMMSTYPE SLOT(unit_number)
Description This parameter returns the type of unit in a controller unit. The table below
lists the return values.
Return value Description
0 Unused unit
31 TJ1-ML__
33 TJ1-FL02
34 TJ1-PRT
35 TJ1-DRT
38 TJ1-CORT
Arguments unit_number
Unit numbers are 0 to 6, with 0 being the unit immediately to the right of
the TJ1-MC__.
Example No example.
See also N/A
Type Program command
Syntax COMPILE
Description The COMPILE command forces the compilation of the currently selected pro-
gram to intermediate code. Program are compiled automatically by the sys-
tem software prior to program execution or when another program is selected.
This command is not therefore normally required.
Arguments N/A
Example No example.
See also N/A
Type Axis command
Syntax CONNECT(ratio, driving_axis)
CO(ratio, driving_axis)
Description The CONNECT command connects the demand position of the base axis to
the measured movements of the axis specified by driving_axis to achieve an
electronic gearbox.
The ratio can be changed at any time by executing another CONNECT com-
mand on the same axis. To change the driving axis the CONNECT command
needs to be cancelled first. CONNECT with different driving axis will be
ignored. The CONNECT command can be cancelled with a CANCEL or
RAPIDSTOP command. The CLUTCH_RATE axis parameter can be used to
set a specified connection change rate.
CONNECT works on the default basis axis (set with BASE) unless AXIS is
used to specify a temporary base axis.