Validity: Rule
Case 1: the axis starts from the PS point in area A
Phases: •The preliminary search for the micro variation is enabled. •Preliminary Mission 1: the axis moves at the speed (+velPos) until it encounters the first micro front (in this case a 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 the 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 parameter spSch, with the set speed (+velZc). •The value obtained by adding the delta quote (PF-quote read on the first CH0 encoder with the micro in 1) to the Preset parameter, is assigned as the new real quote. •The predefined variable c0_done is updated by setting the axis related bit to 1. NOTE: The length of cam B read from the micro must be greater than one encoder revolution to ensure that CH0 is ready with the micro in 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 •CH0, 0 channel of the incremental encoder
|
Case 2: the axis starts from the PS point in area B
Phases: •The preliminary search for the micro variation is enabled. •Preliminary Mission 1: the axis moves at the speed (+velPos) until it encounters the first micro front (in this case a falling edge), then decelerates and stops at position P1. •Since the micro is in 0 and cycle0 is completed with micro in 1 no other preliminary missions are required. •Final Mission (CYCLE0): the final movement is performed with a maximum stroke equal to the value of parameter spSch, with the set speed (+velZc). •The value obtained by adding the delta quote (PF-quote read on the first CH0 encoder with the micro in 1) to the Preset parameter, is assigned as the new real quote. •The predefined variable c0_done is updated by setting the axis related bit to 1. NOTE: The length of cam B read from the micro must be greater than one encoder revolution to ensure that CH0 is ready with the micro in 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 •CH0, 0 channel of the incremental encoder
|
Example of use:
|