Download Print this page

Danfoss MCO 305 Design Manual page 153

Hide thumbs Also See for MCO 305:

Advertisement

MCO 305 Design Guide
SWAPMENC
Summary
Syntax
Parameter
Description
Command Group
Cross Index
Syntax Example
Sample
__ Software Reference __
Swap master and slave encoder internally.
SWAPMENC s
s =
condition
ON
= master encoder input is feedback input
OFF
= slave encoder input is feedback input
This command allows swapping
of the master and slave
encoders. This is particularly
meaningful if one wishes to
alternately use two motors with
one control.
Prior to the command
SWAPMENC ON/OFF, a MOTOR
OFF must always be executed in
order to avoid a tolerated
position error exceeded. Also,
the controller parameters or axis
parameters must be changed if
both motors are different.
The motor leads can be
switched via relay.
NB! :
In this changeover, no positions are lost, even if the motors are moved by hand
while the other motor is controlled. It is possible to always access the uncontrolled
motor through MAPOS as well.
INI
MAPOS
SWAPMENC ON
// Swap slave encoder internally with master encoder
MOTOR OFF
OUT 1 1
SET KPROP ...
SWAPMENC ON
MOTOR ON
POSA 10000
// move the motor which is connected to the master encoder
MOTOR OFF
OUT 1 0
SET KPROP ...
SWAPMENC OFF
MOTOR ON
POSA 0
// Move the motor again which is connected to the slave encoder
Normally the upper socket X56 reads signal from the Master drive and X55 reads
signals from the Slave drive. After a SWAPMENC ON, the master makes a
positioning of 1000.
And then after a SWAPMENC OFF then slave makes the positioning.
The two drives need not necessarily be Master and Slave. They can just be two
different motors with one FC 300 / MCO 305.
®
MG.33.L4.02 – VLT
is a registered Danfoss trademark
// switch motor leads
// change axis parameters
// swap encoder internally
// turn on control again
// Switch motor leads
// Change axis parameters
// Swap encoder
// Turn on control again
153

Advertisement

loading