Specifications

BASIC commands
PROGRAMMING MANUAL 58
Revision 5.0
fig. 14/i
fig. 15/i
CONNECT (1,1) CONNECT (0.5,1) CONNECT (2,1)
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)
Example A machine has an automatic feed on axis 1 that must move at a set ratio to
axis 0. This ratio is selected using inputs 0-2 to select a particular “gear”. This
ratio can be updated every 100 ms. Combinations of inputs select the inter-
mediate gear ratios. For example, 1 ON and 2 ON gives a ratio of 6:1.
BASE(1)
FORWARD AXIS(0)
WHILE IN(3)=ON
WA(100)
gear = IN(0,2)
CONNECT(gear,0)
WEND
RAPIDSTOP cancel the FORWARD and the CONNECT