MC_GearInPos_ISD51x
Master
ExecuteBOOL
GUIDE_VALUE_-
REF_ISD51x
Slave
AXIS_REF_-
ISD51x
BOOLStartSync
BOOLInSync
BOOLCommand
Aborted
BOOL
BOOLError
DD_ERROR_-
ISD51x
ErrorInfo
Busy
RatioNumeratorINT
MasterSyncPositionUDINT
SlaveSyncPositionDINT
SyncModeMC_SYNC_-
MODE_ISD51x
MasterSyncDirectionBOOL
MasterStartDistanceUDINT
VelocityDINT
AccelerationUDINT
DecelrationUDINT
RatioDenominatorINT
Illustration 6.70 MC_GearInPos_ISD51x
Variable
name
Data type Default
value
Description
VAR_IN_OUT
Master GUIDE_VALUE_REF_IS
D51x
Reference to the master
axis.
See Table 6.54.
Slave AXIS_REF_ISD51x Reference to the slave axis.
See
chapter 6.5.4.1 AXIS_REF_IS
D51x.
VAR_INPUT
Execute BOOL FALSE Start the gearing process
at rising edge.
RatioNum-
erator
INT 1 Gear ratio numerator.
RatioDeno-
minator
INT 1 Gear ratio denominator.
MasterSync-
Position
UDINT 0 The position of the master
where the slave is in sync
with the master.
SlaveSyncPo-
sition
DINT 0 Slave position [user-
dened position unit] at
which the axes are
running in sync.
SyncMode MC_SYNC_
MODE_ISD
51x
mcShort
est_ISD5
1x
Denes the mode for
synchronizing.
See Table 6.50.
Variable
name
Data type Default
value
Description
MasterSync-
Direction
BOOL FALSE FALSE = Master start
distance is in the positive
direction of the guide
value.
TRUE = Master start
distance is in the negative
direction of the guide
value.
MasterStart-
Distance
UDINT 0 Master distance for gear in
procedure (when the slave
axis is starting to be
synchronized).
Velocity DINT 0 Value of the maximum
velocity (not necessarily
reached) during the
synchronization process
[user-dened velocity unit].
Only values >0 are
allowed.
Acceleration UDINT 0 Value of the acceleration
(increasing energy of the
motor) during synchroni-
zation [user-dened
acceleration unit]. Only
values >0 are allowed.
Deceleration UDINT 0 Value of the deceleration
(decreasing energy of the
motor) during synchroni-
zation [user-dened
acceleration unit]. Only
values >0 are allowed.
VAR_OUTPUT
InSync BOOL Is TRUE if the set value
equals the commanded
value.
Busy BOOL The function block is not
nished and new output
values are to be expected.
CommandA-
borted
BOOL Command is aborted by
another command.
Error BOOL An error has occurred
within the function block.
ErrorInfo DD_ERROR_ISD51x Error identication and
instance identier.
See chapter 6.5.2.3 Error
Indication.
Table 6.49 MC_GearInPos_ISD51x
Programming Programming Guide
MG36D102 Danfoss A/S © 01/2017 All rights reserved. 211
6
6