Validity: Rule
Case 1: the axis starts from the PS point in area A
Phases: •The preliminary search for micro variation is enabled. •Preliminary Mission 1: the axis moves at speed (+velPos) until it encounters the first micro rising edge, then decelerates and stops at position P1. •Since the micro is in 1 and cycle0 is completed with micro in 1, an additional preliminary mission is needed. •Preliminary mission 2: the axis moves at speed (+velPos) until it encounters the falling edge of the micro, then decelerates and stops at position P2. •Final mission (CYCLE0): the final movement is performed with a maximum stroke equal to the value of the spSch parameter, with the set speed (+velZc). •The value obtained by summing the delta quote (PF-quote read at the rising edge of the micro) to the Preset parameter, is assigned as new real quote. •The predefined variable c0_done is updated by setting the axis related bit to 1. |
Legend: •A, area where the micro reads 0 •B, area where the micro reads 1 •PS, initial start point for mva_zc() •PF, target stop point for mva_zc() •P1, intermediate point •P2, intermediate point
|
Case 2: the axis starts from the PS point in area B
Phases: •The preliminary search for micro variation is enabled. •Preliminary Mission 1: the axis moves at speed (+velPos) until it encounters the first micro falling edge, then decelerates and stops at position P1. •Since the micro is in 0 and cycle0 is completed with micro in 1, no preliminary missions are required. •Final mission (CYCLE0): the final movement is performed with a maximum stroke equal to the value of the spSch parameter, with the set speed (+velZc). •The value obtained by summing the delta quote (PF-quote read at the rising edge of the micro) to the Preset parameter, is assigned as new real quote. •The predefined variable c0_done is updated by setting the axis related bit to 1. |
Legend: •A, area where the micro reads 0 •B, area where the micro reads 1 •PS, initial start point for mva_zc() •PF, target stop point for mva_zc() •P1, intermediate point
|
Example of use:
|