BASIC commands
3.2.61 CONNECT
/i
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.
/i
Arguments
•
ratio
The connection ratio of the gearbox. The ratio is specified as the encoder
edge ratio (not units). It holds the number of edges the base axis is
required to move per edge increment of the driving axis. The ratio value
can be either positive or negative and has sixteen bit fractional resolu-
tion.
•
driving_axis
The Master axis which will drive the base axis.
Note: To achieve an exact connection of fractional ratio's of values such
as 1024/3072 the MOVELINK command can be used with the continu-
ous repeat link option set to ON.
Example
In a press feed, a roller is required to rotate at a speed that is equal to one
quarter of the measured rate from an encoder installed on the incoming con-
veyor. The roller is wired to the master axis 0. The reference encoder is con-
nected to axis 1.
BASE(0)
SERVO=ON
CONNECT(0.25,1)
PROGRAMMING MANUAL
fig. 15
CONNECT (1,1)
CONNECT (0.5,1)
CONNECT (2,1)
65
Need help?
Do you have a question about the TJ2-MC64 - PROGRAMMING and is the answer not in the manual?
Questions and answers