Influence of C2570 (phase/position control) on the electronic cam profiler (cam data in the function block L_CamProfiler)


Question:
Why does the function block L_CamProfiler indicate an error at the status output bError when code C2570/0 is changed (L_CamProfiler.dnState = -2101345280)?

Answer:
Under certain conditions, a change of position control via code C2570 (establishment of position control) will internally change the effective gearbox factors in the axis measuring system. If C2570 = 1 (phase controller active), the gearbox factors set under C2520 and C2521 will be valid. If C2570 = 2 (position controller active FW<5.0) or C2570 = 3 (position controller active) and if an external position feedback system is selected, the gearbox factors set under C2522 and C2523 will be valid. Since the incremental profile data table will no longer correspond to the physical machine configuration when the effective gearbox factor is changed, the incremental profile data will be marked as invalid and an error message will be output via the output L_CamProfiler.bError = TRUE.

Remedy:
Since C2570 is usually not dynamically changed, but only once as part of commissioning, the error status can be removed by recalculating the incremental profile data using the controller command C0002 = 503. As an alternative, the incremental profile data will always be calculated whenever the controller is initialised after power-on.

URL for linking this AKB article: https://www.lenze.com/en-de/go/akb/201011912/1/
Contact form