SimpleFOClibrary  2.1
commands.h File Reference

Go to the source code of this file.

Macros

#define CMD_C_D_PID   'D'
 current d PID & LPF More...
 
#define CMD_C_Q_PID   'Q'
 current d PID & LPF More...
 
#define CMD_V_PID   'V'
 velocity PID & LPF More...
 
#define CMD_A_PID   'A'
 angle PID & LPF More...
 
#define CMD_STATUS   'E'
 motor status enable/disable More...
 
#define CMD_LIMITS   'L'
 limits current/voltage/velocity More...
 
#define CMD_MOTION_TYPE   'C'
 motion control type More...
 
#define CMD_TORQUE_TYPE   'T'
 torque control type More...
 
#define CMD_SENSOR   'S'
 sensor offsets More...
 
#define CMD_MONITOR   'M'
 monitoring More...
 
#define CMD_RESIST   'R'
 motor phase resistance More...
 
#define CMD_SCAN   '?'
 command scaning the network - only for commander More...
 
#define CMD_VERBOSE   '@'
 command setting output mode - only for commander More...
 
#define CMD_DECIMAL   '#'
 command setting decimal places - only for commander More...
 
#define SCMD_PID_P   'P'
 PID gain P. More...
 
#define SCMD_PID_I   'I'
 PID gain I. More...
 
#define SCMD_PID_D   'D'
 PID gain D. More...
 
#define SCMD_PID_RAMP   'R'
 PID ramp. More...
 
#define SCMD_PID_LIM   'L'
 PID limit. More...
 
#define SCMD_LPF_TF   'F'
 LPF time constant. More...
 
#define SCMD_LIM_CURR   'C'
 Limit current. More...
 
#define SCMD_LIM_VOLT   'U'
 Limit voltage. More...
 
#define SCMD_LIM_VEL   'V'
 Limit velocity. More...
 
#define SCMD_SENS_MECH_OFFSET   'M'
 Sensor offset. More...
 
#define SCMD_SENS_ELEC_OFFSET   'E'
 Sensor electrical zero offset. More...
 
#define SCMD_DOWNSAMPLE   'D'
 Monitoring downsample value. More...
 
#define SCMD_CLEAR   'C'
 Clear all monitored variables. More...
 
#define SCMD_GET   'G'
 Get variable only one value. More...
 
#define SCMD_SET   'S'
 Set variables to be monitored. More...
 

Macro Definition Documentation

◆ CMD_A_PID

#define CMD_A_PID   'A'

angle PID & LPF

Definition at line 11 of file commands.h.

◆ CMD_C_D_PID

#define CMD_C_D_PID   'D'

current d PID & LPF

Definition at line 8 of file commands.h.

◆ CMD_C_Q_PID

#define CMD_C_Q_PID   'Q'

current d PID & LPF

Definition at line 9 of file commands.h.

◆ CMD_DECIMAL

#define CMD_DECIMAL   '#'

command setting decimal places - only for commander

Definition at line 23 of file commands.h.

◆ CMD_LIMITS

#define CMD_LIMITS   'L'

limits current/voltage/velocity

Definition at line 13 of file commands.h.

◆ CMD_MONITOR

#define CMD_MONITOR   'M'

monitoring

Definition at line 17 of file commands.h.

◆ CMD_MOTION_TYPE

#define CMD_MOTION_TYPE   'C'

motion control type

Definition at line 14 of file commands.h.

◆ CMD_RESIST

#define CMD_RESIST   'R'

motor phase resistance

Definition at line 18 of file commands.h.

◆ CMD_SCAN

#define CMD_SCAN   '?'

command scaning the network - only for commander

Definition at line 21 of file commands.h.

◆ CMD_SENSOR

#define CMD_SENSOR   'S'

sensor offsets

Definition at line 16 of file commands.h.

◆ CMD_STATUS

#define CMD_STATUS   'E'

motor status enable/disable

Definition at line 12 of file commands.h.

◆ CMD_TORQUE_TYPE

#define CMD_TORQUE_TYPE   'T'

torque control type

Definition at line 15 of file commands.h.

◆ CMD_V_PID

#define CMD_V_PID   'V'

velocity PID & LPF

Definition at line 10 of file commands.h.

◆ CMD_VERBOSE

#define CMD_VERBOSE   '@'

command setting output mode - only for commander

Definition at line 22 of file commands.h.

◆ SCMD_CLEAR

#define SCMD_CLEAR   'C'

Clear all monitored variables.

Definition at line 42 of file commands.h.

◆ SCMD_DOWNSAMPLE

#define SCMD_DOWNSAMPLE   'D'

Monitoring downsample value.

Definition at line 41 of file commands.h.

◆ SCMD_GET

#define SCMD_GET   'G'

Get variable only one value.

Definition at line 43 of file commands.h.

◆ SCMD_LIM_CURR

#define SCMD_LIM_CURR   'C'

Limit current.

Definition at line 34 of file commands.h.

◆ SCMD_LIM_VEL

#define SCMD_LIM_VEL   'V'

Limit velocity.

Definition at line 36 of file commands.h.

◆ SCMD_LIM_VOLT

#define SCMD_LIM_VOLT   'U'

Limit voltage.

Definition at line 35 of file commands.h.

◆ SCMD_LPF_TF

#define SCMD_LPF_TF   'F'

LPF time constant.

Definition at line 32 of file commands.h.

◆ SCMD_PID_D

#define SCMD_PID_D   'D'

PID gain D.

Definition at line 29 of file commands.h.

◆ SCMD_PID_I

#define SCMD_PID_I   'I'

PID gain I.

Definition at line 28 of file commands.h.

◆ SCMD_PID_LIM

#define SCMD_PID_LIM   'L'

PID limit.

Definition at line 31 of file commands.h.

◆ SCMD_PID_P

#define SCMD_PID_P   'P'

PID gain P.

Definition at line 27 of file commands.h.

◆ SCMD_PID_RAMP

#define SCMD_PID_RAMP   'R'

PID ramp.

Definition at line 30 of file commands.h.

◆ SCMD_SENS_ELEC_OFFSET

#define SCMD_SENS_ELEC_OFFSET   'E'

Sensor electrical zero offset.

Definition at line 39 of file commands.h.

◆ SCMD_SENS_MECH_OFFSET

#define SCMD_SENS_MECH_OFFSET   'M'

Sensor offset.

Definition at line 38 of file commands.h.

◆ SCMD_SET

#define SCMD_SET   'S'

Set variables to be monitored.

Definition at line 44 of file commands.h.