I need to use Homing mode 12 (Find Home switch, including end stop detection) but the drive does not detect the hard stop. When it goes to the hard stop, the foldback protection ends to disable the drive.
I tried Homing mode 8 (Find end stop) ans it works well with the same parameters, BUT the move direction is reversed (with the same parameters).
This article is related Cam Build & Release Organization.
The attached file consists of a FB you may use in your project. In some machines, we need different cam profiles and we change these profiles for system expectations.
As you know Kollmorgen uses PLC Open Motion Library (also Pipe Network) to create cam profiles. We using MC_CamTblSelect, MLProfileBuild, and MLProfileRelease block to be able to do this. This FB carries out this process.
The AKD command source (DRV.CMDSOURCE) is set automatically by the EtherCAT/CANopen master controller. There is no need to set this in Workbench when using the fieldbus. And there is no need to read DRV.CMDSOURCE to verify that it's set correctly as long as there is nothing configured in the drive that would change it, such as a digital input. Set the fieldbus mode of operation with object 6060h and let that automatically set the correct command source.
This allows communication between Workbench (installed on the EtherCAT master PC) and the AKD using Telnet communication over the EtherCAT network. It allows connecting to the drive with Workbench without needing a separate PC or Ethernet port.
Types of Connections
EtherCAT Master PC with Workbench installed ---> Telnet over EtherCAT ---> AKD X5 EtherCAT Port
Commutation is the means by which a servo drive controls the torque of a motor by determining the position of the motor and applying current to the appropriate motor phases. If the rotor position of the motor is not determined correctly or the motor power phase wires are wired to the wrong terminals, the drive will apply current to the wrong phase at the wrong time (or at the wrong rotor position). This will cause the motor to run away or lock up.