9/24/2021 1:47 PM | |
Joined: 10/11/2006 Last visit: 4/24/2025 Posts: 6009 Rating:
|
Hello, Principle of operationThe axis is traversed in the setup mode to the starting position. The referencing sequence is then started. The axis traverses in a positive direction. If the reference cam responds or the fixed stop is detected, the actual position is saved. The axis is then stopped. The "Absolute encoder offset" is now calculated from the defined position of the reference cam (reference position) and the saved position (measured value) and the absolute encoder adjustment is executed. "Absolute encoder offset" = reference position - measured value The MC_MoveVelocity (position-controlled) is used for the procedure. If the reference point has been detected, the system is stopped using MC_Haltl. The absolute encoder offset is then calculated and the absolute encoder adjustment is carried out using MC_Home. The absolute encoder adjustment is executed in relative terms to allow an existing offset to be taken into account. To do this, the mode = 6 is used for the MC_Homing command. Absolute encoder adjustment (relative) The current position is offset by the value of the "Position" parameter. The calculated absolute value offset is retentively saved in the CPU. (<TO>.StatusSensor[1..4].AbsEncoderOffset) A detailed description of the commands can be found in the following documentation. SIMATIC S7-1500 S7-1500/S7-1500T axis functions https://support.industry.siemens.com/cs/de/de/view/109781849 |
With best regards, |
|
This contribution was helpful to
1 thankful Users |
Follow us on