I am having a lot of issues trying to implement a HOME move for a Geo Brick LV. I have a motor with an incremental encoder, and limit switches using Hall-effect sensors. The goal is to use the minus limit as the home position and define a zero position approximately mid-way between the plus and minus limits (this will be a number entered manually). The motor is Motor 3.
I am trying to follow the Turbo PMAC User Manual (particularly p. 228), along with the Geo Brick User Manual and the Turbo SRM.
I324=$800001 ; For Geo Brick (PMAC2, and Amp Fault)
I325=$078010 ; Register for channel 3
I7032=2 ; Capture on flag (NOTE: Error in manual -- digits 2&3 swapped)
I7032=2 ; Use minus limit (NOTE: Error in manual -- digits 2&3 swapped)
The HOME3 instruction is in a motion program.
As written, the mechanism goes to the minus limit, turns around, and keeps going at a high speed in the plus direction, passing the limit switch. According to the manual, it should stop on the minus limit (Note: this happens whether or not the limits are disabled with Bit 17 in I324 ($800001 -> $820001 -> HOME -> $800001).
The encoder position readings in the PEWIN32PRO2 Position window do not change at all, except when the minus limit is acquired, and then it has some large positive value. That stays fixed when it heads off in the plus direction.
Any suggestions would be most welcome.
The value of the offset (I326 has no effect).