Hardware manual

81
Function
int cmd_do_setindex (cmd_io_t * cmd_io, const struct cmd_des * des, char * * param)
Arguments
Description
It is implementation of setindex command. This function/command sets pxms_ptindx for 1st
motor by force. The new value of index must be given as parameter by calling proper command.
Function
int cmd_do_setvang (cmd_io_t * cmd_io, const struct cmd_des * des, char * * param)
Arguments
Description
It is implementation of setvang command. This function/command sets pxms_ptvang for 1st
motor by force. The new value of index must be given as parameter by calling this command.
Function
int cmd_do_setshift (cmd_io_t * cmd_io, const struct cmd_des * des, char * * param)
Arguments
Description
It is implementation of setshift command. This function/command sets pxms_ptshift for 1st motor
by force. The new value of index must be given as parameter by calling this command.
Function
int cmd_do_showene (cmd_io_t * cmd_io, const struct cmd_des * des, char * * param)
Arguments
Description
It is implementation of showene command. This function/command shows: pxms_ene,
pxms_ptindx, pxms_ptvang, pxms_ptshifts, pxms_ptofs, pxms_ap, pxms_rp, pxms_inp_info and
informs wheather PXMS_PTI_b and PXMS_PHA_b flags are enabled. All above information
belong to the 1st motor.