Please enable JavaScript to view this site.

Function to correct the phase position of a controlled axis (slave), which must move according to the position of a reference master (e.g., for controlling phasor belts).

HINT: We recommend using the more performant function mv_phase_adj2().

Syntax

real mv_phase_adj (i32 state, stru_phadj stru)

state

Variable containing information about the state of the function (see returns codes).

Value

Description

11 [M_ADJUSTING_UP]

Correction in progress (triangle raising edge)

12 [M_ADJUSTING_DOWN]

Correction in progress (triangle falling edge)

8 [M_SYNCHRONIZED]

Movement completed (master has traveled the master space available for slave correction)

stru

Structure of type stru_phadj containing parameters related to the movement

Result

Updated velocity value of the slave axis returned by the function

Validity

Rule

Note

The master axis can also evolve in the negative direction; the function provides for treating the incoming parameters masterCycle and deltaMaster as absolute values. The slave axis must always evolve in the positive direction, and its velocity vRef must be positive

 

  

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