The cool muscle motor is capable of performing an origin search and home itself automatically, or on command. Homing can be performed to an origin switch or to a hard stop. There are six different K parameters that define the operation of the origin search:
Parameter | Description |
---|---|
K42 | Origin Search Speed |
K43 | Origin Search Accleration |
K45 | Origin Search Direction |
K46 | Origin Search Method |
K47 | Origin Stopper Torque |
K48 | Origin Offset Distance |
The origin search can be performed in either the clockwise or counter clockwise directions, on power up or on command, as well as to a home sensor or hard stop.
Home to Hard Stop
When the motor homes to a hard stop, it will move in the direction specified in K45 until it encounters a resistance where the motor torque rises above the value specified in K47. When the motor stops, it will then travel a small amount in the opposite direction to the nearest tooth top dead center on the magnetic encoder, and then one full tooth more. This is to reduce any variability in the home location. Any small variance in the origin location is eliminated because it will always move to that tooth. The magnetic encoder has 50 teeth, so the maximum amount this move could be is 1/50th of a rotation. When the motor hits the hard stop, it will send out a message indicating how far between teeth the hard stop was encountered. This number could be anywhere from 0-1000. The motor will report this as "Origin.1=xxx" where xxx is the number of pulses between teeth that the origin was encountered. For improved repeatability, it is best if this number is as close as possible to the mid point, 500.
If there is an offset programmed in K48, the motor will then move this distance after the mechanical origin is found.
Home to Origin Sensor
When the motor is set to home to an origin sensor, it will proceed again in the direction indicated by K45. The torque for this move can also be set in K47, however, if the torque is exceeded it will not register this as home. The origin location will be set when an input programmed as 'origin sensor' in K27 or K30 is triggered. The motor will rotate until the rising edge of the input is detected, and then back off until the falling edge is detected so that the origin becomes the very edge of when the sensor is detected.
If the origin search is started and the origin sensor input is already triggered, the motor will rotate in the opposite direction of K45 until the input turns off. The motor will then begin the regular home procedure as described above.
If there is an offset programmed in K48, the motor will then move this distance after the mechanical origin is found.