omron — HOMEZ

PMAC Product Guide motors specified in a single HOME command (e.g. HOME1,2 ) will start their homing cycles simultaneously. To home some motors sequentially, specify them in consecutive commands (e.g. HOME1 HOME2 ), even if on the same line. Any previous moves will come to a stop before the home moves start. No other program statement will be executed until all specified motors have finished homing. Homing direction, speed, acceleration, etc. are determined by motor I-Variables. If a motor is specified that is not in the coordinate system running the program, the command or portion of the command will be ignored, but an error will not be generated.

The speed of the home search move is determined by Ix23. If Ix23=0, then the programmed home command for that axis is ignored. Note: Unlike an on-line homing command, the motor numbers in a program homing command are specified after the word HOME itself, not before. In addition, an on- line homing command starts the homing search -- it does not give any indication when the search is complete; but a program homing command recognizes the end of the search automatically, and then continues on in the program. A PLC program can issue only an on-line home command. Examples:

HOME1 ;These are motion program commands HM1,2,3 HOME1..3,5..7 HM1..8 #1HOME ;These are on-line commands #1HM,#2HM,#3HM HOMEZ Function : Programmed zero-move homing Type : Motion program Syntax : HOMEZ {constant} [,{constant}...] HOMEZ {constant}..{constant} [,{constant}..{constant}...] HMZ {constant} [,{constant}...] HMZ {constant}..{constant} [,{constant}..{constant}...] where {constant} is an integer from one to eight representing a motor number. This commands causes the specified motors to go through pseudo-homing search cycles. In this operation, the present commanded position of the motor is made the zero position for the motor and the new commanded position for the motor.

If there is following error and/or an axis definition offset at the time of the HOMEZ command, the reported position after the command will be equal to the negative of the following error plus the axis definition offset. Motors must be specified directly by number, not the matching axis letters. Specify which motors are to be homed. All motors specified in a single HOMEZ command (e.g. HOMEZ1,2 ) will home simultaneously. Note: Unlike an on-line homing command, the motor numbers in a program homing command are specified after the word HOMEZ itself, not before. 218 Buffer Commands