Please enable JavaScript to view this site.

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

Syntax

real mv_phase_adj2 (i32 state, stru_phadj2 stru)

state

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

Value

Description

0

Function not active, slave copies the reference speed

1 [M_INITIALIZING]

Start of correction (set by the user)

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)

10 [M_SPEED_LIMITED]

Speed has been limited to minimum or maximum values (correction will be partial)

9 [M_ACCEL_LIMITED]

Speed has been limited to meet the maximum acceleration value (correction will be partial)

stru

Structure of type stru_phadj2 containing motion-related parameters

Result

Updated velocity value of the slave axis returned by the function

Validity

Rule

Note

The master axis must always evolve in the positive direction, not necessarily at constant speed

 

  

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