 |
ApossC SDK
V01.15
|
Go to the documentation of this file.
51 print(
"sdkSetupPwmGenerator_UserParamMode:");
108 print(
"sdkSetupPwmGenerator_AxisModeVel:");
127 long sdkScaleAnalogInput(
long analogInputNo,
long minVoltage,
long maxVoltage,
long offsetVoltage,
long minValue,
long maxValue)
132 maxVoltage = ((double)0x8000/10000)* maxVoltage;
133 minVoltage = ((double)0x8000/10000)* minVoltage;
136 scale = ((double)maxValue-(
double)minValue)/ ((
double)maxVoltage-(double)minVoltage);
149 offsetVoltage = -((double)0x8000/10000)* offsetVoltage;
152 print(
"sdkScaleAnalogInput: ", analogInputNo);
#define HWANIN_PARAM(modno, parno)
HW Analog Input Parameters: Setter.
#define VIRTANIN_UUFACT_DIGNO
Scale factor.
#define VIRTAMP_PROCESS_SRCINDEX(modno, parno)
Virtual Amplifier Process Data: Source Index.
#define HWANIN_OFFSET
Offset which will be added to the output value.
long sdkSetupPwmGenerator_UserParamMode(long userParam, long digOutPWM, long frequency, long cycleRange, long polarity)
Setting up a PWM output with a user parameter as input source.
#define VIRTAMP_REFOUTN
Number of output which must be set if reference is negative (reset if positive)
#define HWPWMGEN_POLARITY
Polarity of the reference signal.
#define HWDIGOUT_PARAM(modno, parno)
HW Digital Output Parameters: Setter.
#define USER_PARAM_SRCINDEX(parno)
User Parameters: Source Index.
#define KDER
Derivative Factor for PID position control loop.
#define VIRTAMP_REF100PERC
Output reference value to use at 100 percent.
#define HWPWMGEN_FREQUENCY
Frequency of the PWM output.
#define POSERR
Maximum tolerated position error.
#define PO_VIRTAMP_REFVEL
Output reference velocity.
#define HWDIGOUT_PISRC_BIT1
Source for input signal.
#define VIRTAMP_PARAM(modno, parno)
Virtual Amplifier Parameters: Setter.
#define HWPWMGEN_PISRC_DUTYCYCLE
Source for pwm duty cycle.
#define VIRTAMP_REFOUTP
Digital output for positive direction signal.
long sdkSetupPwmGenerator_AxisModeVel(long axisNo, long digOutEnable, long digOutPWM, long frequency, long cycleRange, long polarity)
Setting up a PWM output with a virtual amplifier as input source.
#define HWPWMGEN_PARAM(modno, parno)
HW PWM Generator Parameters: Setter.
#define HWPWMGEN_MODE_UNSIGNED
#define VIRTANIN_UUFACT_UNITNO
Scale factor.
Declaration of the IO functions.
#define AXE_PARAM(modno, parno)
Axis Parameters: Setter.
#define VIRTANIN_PARAM(modno, parno)
Virtual Analog Input Parameters: Setter.
#define HWPWMGEN_DUTYCYCLE_RANGE
Duty cycle range.
long sdkScaleAnalogInput(long analogInputNo, long minVoltage, long maxVoltage, long offsetVoltage, long minValue, long maxValue)
Scaling of an analog input with user units.
#define HWPWMGEN_MODE_SIGNED
#define HWPWMGEN_MODE
Mode.
#define FFVEL
Velocity Feed forward.
#define KPROP
Proportional value for PID position control loop.
#define KINT
Integral value for PID position control loop.
Data Sheets |
Released Software |
Software Manuals |
Hardware Manuals |
Maxon Shop
Maxon Support Center