Please enable JavaScript to view this site.

Validity: Rule

Case 1: the axis starts from the PS point in area A

zc_micro_1

 

Phases:

The state of the micro is read in order to define the sign of the movement speed.
Assuming parameter zcFlag.0 = 0, since if the axis is in zone A the velocity contained in parameter velPos will be assumed positive.

Preliminary Mission 1: The axis moves at the velocity (+velPos) until it encounters the rising edge of the micro, then decelerates and stops at position P1.

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 axis performs the final movement with a maximum stroke equal to the value of the spSch parameter, with the new speed set (+velZc).
When the micro rising edge is found, the mission is stopped and the axis stops in PF.

The new actual real position is assigned by the value obtained by summing the delta position (PF-quote read on the rising edge of the micro) to the Preset parameter.

The predefined variable c0_done is updated by setting to 1 the axis bit.

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 1

P2, intermediate point 2

Qmin, axis minimum position

Qmax, axis maximum position

 

Case 2: the axis starts from the PS point in area B

zc_micro_2

Phases:

The state of the micro is read in order to define the sign of the movement speed.
Assuming parameter zcFlag.0 = 0, since if the axis is in zone B, the velocity contained in parameter velPos will be assumed negative.

Preliminary Mission 1: The axis moves at the velocity (-velPos) until it encounters the falling edge of the micro, then decelerates and stops at position P1.

Final Mission (CYCLE0): The axis performs the final movement, whose max stroke is equal to the value of the parameter spSch, with the new programmed speed (+velZc).
When the micro rising edge is found, the mission is stopped and the axis stops in PF.

The new actual real position is assigned by the value obtained by summing the delta position (PF-quote read on the rising edge of the micro) to the Preset parameter.

The predefined variable c0_done is updated by setting to 1 the axis bit.

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 1

P2, intermediate point 2

Qmin, axis minimum position

Qmax, axis maximum position

 

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC