PMAC Product Guide Full speed execution along the path will commence again on an R or S command. The ramp up to full speed will also take place at a rate determined by Ix95 (full time-base value, either internally or externally set). Once the full speed is reached, Ix94 determines any time-base changes. HOME Function : Start Homing Search Move Scope : Motor specific Syntax : HOME HM This command causes the addressed motor to perform a homing search routine. The characteristics of the homing search move are controlled by motor I-Variables Ix03 and Ix19-Ix26, plus encoder I-Variables 2 and 3 for that motor’s position encoder. The on-line home command simply starts the homing search routine.
PMAC provides no automatic indication that the search has completed (although the In-Position interrupt can be used for this purpose) or whether the move completed successfully. Generally, polling or a combination of polling and interrupts, is used to determine completion and success. By contrast, when a homing search move is given in a motion program (e.g. HOME1,2 ), the motion program will keep track of completion by itself as part of its sequencing algorithms.
If there is an axis offset in the axis-definition statement for the motor and/or following error in the motor servo loop, the reported position at the end of the homing search move will be equal to the axis offset minus the following error, not to zero. Examples: HOME ; Start homing search on the addressed motor #1HM ; Start homing search on Motor 1 #3HM#4HM ; Start homing search on Motors 3 and 4 HOMEZ Function : Do a Zero-Move Homing Scope : Motor specific Syntax : HOMEZ HMZ This command causes the addressed motor to perform a zero-move homing search.
Instead of jogging until it finds a pre-defined trigger and calling its position at the trigger the home position, with this command the motor calls wherever it is (commanded position) at the time of the command the home position. If there is an axis offset in the axis-definition statement for the motor and/or following error in the motor servo loop, the reported position at the end of the homing operation will be equal to the axis offset minus the following error, not to zero. Example:
On-line Command Examples HOMEZ ; Do zero-move homing search on the addressed motor #1HMZ ; Do zero-move homing search on Motor 1 #3HMZ#4HMZ ; Do zero-move homing search on Motors 3 and 4 Buffered Motion Program Examples HOMEZ1 HOMEZ2,3 On-line Commands Issued from PLC Program IF (P1=1) CMD"#5HOMEZ" ; Program issues on-line command Online Commands 163