Figure 4-36: velocity profile example – ADLINK HSL-4XMO User Manual

Page 89

Advertising
background image

Operation Theory

79

if((Sensor1==High) && (Sensor2==Low) &&
(Sensor3 == Low))

HSL_M_v_change(axis, 25000, 0.02);

else if((Sensor1==Low) && (Sensor2==High) &&
(Sensor3 == Low))

HSL_M_v_change(axis, 50000, 0.02);

else if((Sensor1==Low) && (Sensor2==Low) &&
(Sensor3 == High))

HSL_M_v_change(axis, 100000, 0.02);

}

The information of the three sensors is acquired from another I/O
card, and the resulting velocity profile from experiment is shown
below:

Figure 4-36: Velocity Profile Example

X

Relative Functions:

HSL_M_v_change()
HSL_M_sd_stop()
HSL_M_emg_stop()
HSL_M_fix_speed_range()
HSL_M_unfix_speed_range()
HSL_M_get_currebt_speed()

Advertising