Description (task) In absolute value encoders, the "Set reference point" function is used to synchronize the absolute value encoder with the machine coordinate system. This enters the reference point coordinate and the absolute value encoder adjustment online into the FM's machine data. However, this machine data is overwritten by transfer of the system data blocks the next time the CPU is restarted. The absolute value encoder adjustment from the user program should likewise also be retained upon restart of the CPU or FM.
Validity This FAQ describes how to perform encoder adjustment without a PG/PC and thus without parameterization interface.
The solution described here is only relevant for using absolute value encoders on the FM and is valid for:
- FM 351
- FM 352
- FM 451
- FM 452
Setting the reference point and retaining the machine data
More information on this is available in the following manuals:
- FM 351, sections 9.6 and 8.1, in Entry ID: 2103043
- FM 451, section 9.8, in Entry ID: 2126468
- FM 352, sections 10.4 and 9.3, in Entry ID: 2103044
- FM 452, sections 10.4 and 9.3, in Entry ID: 1123332
| No. |
Procedure |
| 1 |
Turn the axis to a defined, reproducible reference point coordinate, e.g. the machine zero point. |
| 2 |
Enter the value of the reference point coordinate for REFPT in the channel DB. |
| 3 |
Setting REFPT_EN (set reference point) in the channel DB causes the encoder adjustment to be stored in the online machine data. |
| 4 |
After the "Finished" message of the function (indicated by REFERT_D (set reference point) and SYNC in the channel DB), you must read the FM's machine data into the parameter DB. |
| 5 |
Setting the read machine data job (MDRD_EN) in the channel DB causes the online machine data including the encoder adjustment to be transferred from the FM into the parameter DB. |
Now the current machine data and the FM's encoder adjustment are located in the CPU's parameter DB and will be retained there.
Loading machine data and encoder adjustment after CPU startup
More information on this is available in the following manuals:
- FM 351, section 8.1, in Entry ID: 2103043
- FM 352, section 9.2, in Entry ID: 2103044
- FM 452, section 9.2, in Entry ID: 1123332
| No. |
Procedure |
| 1 |
After a restart, the FM's machine data is written by the system data blocks. This is completed when the PARA checkback signal is set in the channel DB with a rising edge. |
| 2 |
Now you must program transfer of the machine data from the parameter DB into the FM. For this you set the write machine data trigger bit (MDWR_EN). |
| 3 |
Set the enable machine data trigger bit (MD_EN). |
Now the machine data and the encoder adjustment are stored again in the FM.
Applications for "Change cam flanks" and "Fast cam change" You can also apply this procedure if through the "Change cam flanks" function (FM 352 manual, section 10.5, in Entry ID: 2103044) or the "Fast cam change" function (FM 352 manual, section 10.6, in Entry ID: 2103044) the cam data has been changed online on the FM and is to be active again after the next restart. For this, after a change in the parameter DB, the cam data has to be read and also written after CPU startup (FM 352 manual, section 9.1, in Entry ID: 2103044).
|