PLC API
TS505534 Version: 1.3
Deceleration:LREAL;
Jerk:LREAL;
BufferMode:MC_BufferMode;
Options:ST_GearInVeloOptions;
END_VAR
Execute The command is executed with a rising edge at Execute input.
RatioNumerator Gear ratio numerator.
Alternatively, the gear ratio can be specified as a floating point value, if
the denominator is 1.
RatioDenominator Gear ratio denominator
SyncMode
In the data structure SyncMode [}41] boundary conditions for the
synchronization process are specified via individual flags.
Velocity Maximum slave velocity in the synchronization phase. If a velocity is
not specified, the maximum velocity of the axis from the System
Manager data is used.
The velocity given here is only checked if this checking is
activated through the SyncMode [}41] variable.
Acceleration Maximum slave acceleration in the synchronization phase. If an
acceleration is not specified, the maximum acceleration of the axis
from the System Manager data is used.
The acceleration given here is only checked if this checking is
activated through the SyncMode [}41] variable.
Deceleration Maximum slave deceleration in the synchronization phase. If a
deceleration is not specified, the maximum deceleration of the axis
from the System Manager data is used.
The deceleration given here is only checked if this checking is
activated through the SyncMode [}41] variable.
Jerk Maximum slave jerk in the synchronization phase. If a jerk is not
specified, the maximum jerk of the axis from the System Manager data
is used.
The jerk given here is only checked if this checking is activated
through the SyncMode [}41] variable.
BufferMode Currently not implemented
Options Currently not implemented
For a 1:4 ratio the RatioNumerator must be 1, the RatioDenominator must be 4. Alternatively, the
RatioDenominator may be 1, and the gear ratio can be specified as floating point number 0.25 under
RatioNumerator. The RatioNumerator may be negative.
Outputs
VAR_OUTPUT
StartSync: BOOL;
InSync: BOOL;
Busy: BOOL;
Active: BOOL;
CommandAborted: BOOL;
Error: BOOL;
ErrorID: UDINT;
END_VAR
StartSync Becomes TRUE when the synchronization with the master axis was started.
InSync Becomes TRUE, if the coupling was successfully completed and the slave
axis is synchronized with the master axis.
Busy The Busy output becomes TRUE when the command is started with
Execute and remains TRUE as long as the command is processed. When
Busy becomes FALSE again, the function block is ready for a new
command. At the same time one of the outputs, InSync, CommandAborted
or Error, is set.