
44
pxmc_state_t *pxmc_main_arr[] = {&mcsLeft};
pxmc_state_list_t pxmc_main_list = {
pxml_arr:pxmc_main_arr,
pxml_cnt:(sizeof(pxmc_main_arr)/sizeof(pxmc_main_arr[0]))
};
was defined as pxmc_state_t.
5.3.4. PXMC_BASE.H
functionality of the PXMC library. According to this, we have here such functions like:
It sets a power to given value and keeps it constant. It is used for
feed forward control.
pxmc_connect_controller_
prep*
It prepares axis (motor) to a connection of a controller.
It connects a motor and a controller.
It prepares the motor to a new generator.
It smoothly changes the generator to a new one.
It moves the motor to a new given position. The movement has
trapezoidal profile.
It moves the motor to a new given position with selected speed.
As above, the movement has trapezoidal profile.
It stops the motor and this stop is done by a smooth slow down.
It starts a constant speed motion.
A/a but in this case it has fine-grained characteristic.
It allows setting new value for actual position for the motor.
* - function is not accessible from outside of the library
5.3.5. PXMC_CON_PID.C
This file defines only one function: pxmc_pid_con. This is an implementation of PID
controller which should calculate power (pxms_ene). This last value should be later taken
into account when we set the PWM output.
Comentarios a estos manuales