📄 demo1103_io_ad_pwm3_v7_data.c
字号:
/*
* File: Demo1103_IO_AD_PWM3_V7_data.c
*
* Real-Time Workshop code generated for Simulink model Demo1103_IO_AD_PWM3_V7.
*
* Model version : 1.103
* Real-Time Workshop file version : 6.6 (R2007a) 01-Feb-2007
* Real-Time Workshop file generated on : Thu Apr 10 19:48:30 2008
* TLC version : 6.6 (Jan 16 2007)
* C source code generated on : Thu Apr 10 19:48:31 2008
*/
#include "Demo1103_IO_AD_PWM3_V7.h"
#include "Demo1103_IO_AD_PWM3_V7_private.h"
/* Block parameters (auto storage) */
Parameters_Demo1103_IO_AD_PWM3_ Demo1103_IO_AD_PWM3_V7_P = {
0.0, /* Memory1_X0 : '<S5>/Memory1'
*/
10.0, /* Constant1_Value : '<S2>/Constant1'
*/
20.0, /* Constant_Value : '<S2>/Constant'
*/
-1.0, /* Memory_X0 : '<S5>/Memory'
*/
-1.0, /* Gain_Gain : '<S5>/Gain'
*/
1.0, /* Constant_Value_h : '<S5>/Constant'
*/
0.0, /* Constant1_Value_b : '<S5>/Constant1'
*/
-1.0, /* Gain1_Gain : '<S5>/Gain1'
*/
-0.0015, /* DiscreteFilter_A : '<S4>/Discrete Filter'
*/
-0.0015, /* DiscreteFilter_C : '<S4>/Discrete Filter'
*/
1.0, /* DiscreteFilter_D : '<S4>/Discrete Filter'
*/
0.0, /* DataStoreMemory_InitialVal : '<Root>/Data Store Memory'
*/
1.0, /* Constant1_Value_p : '<S3>/Constant1'
*/
0.5687, /* PT2_A : '<S8>/PT2'
*/
0.4313, /* PT2_C : '<S8>/PT2'
*/
0.6, /* Saturation_UpperSat : '<S8>/Saturation'
*/
-0.6, /* Saturation_LowerSat : '<S8>/Saturation'
*/
1.0, /* to_fract_Gain : '<S8>/to_fract'
*/
1.0, /* toggle_Gain : '<S3>/toggle'
*/
1.0, /* Emergencystop_Value : '<S3>/Emergency stop'
*/
0.0, /* OriginalPosition_Value : '<S3>/Original Position'
*/
0.5, /* Switch_Threshold : '<S3>/Switch'
*/
0.6, /* controlout_UpperSat : '<S3>/control out'
*/
-0.6, /* controlout_LowerSat : '<S3>/control out'
*/
0.5, /* Duty_in_a_Value : '<S3>/Duty_in_a'
*/
0.1, /* Duty_in_a1_Value : '<S3>/Duty_in_a1'
*/
1.0, /* Saturation1_UpperSat : '<S3>/Saturation1'
*/
0.0, /* Saturation1_LowerSat : '<S3>/Saturation1'
*/
100.0, /* toggle1_Gain : '<S3>/toggle1'
*/
1.0, /* Saturation2_UpperSat : '<S3>/Saturation2'
*/
0.0, /* Saturation2_LowerSat : '<S3>/Saturation2'
*/
100.0, /* toggle2_Gain : '<S3>/toggle2'
*/
2.47, /* Aim_position_Value : '<S3>/Aim_position'
*/
1.0, /* SliderGain_Gain : '<S6>/Slider Gain'
*/
2.5, /* Constant2_Value : '<S3>/Constant2'
*/
1.0, /* SliderGain_Gain_f : '<S7>/Slider Gain'
*/
0.5687, /* PT1_A : '<S8>/PT1'
*/
0.4313, /* PT1_C : '<S8>/PT1'
*/
1.0, /* to_V_Gain : '<S8>/to_V'
*/
0.001, /* f_k_d_Gain : '<S8>/f_k_d'
*/
0.5687, /* DT1_A : '<S8>/DT1'
*/
-1.74650622, /* DT1_C : '<S8>/DT1'
*/
4.0494, /* DT1_D : '<S8>/DT1'
*/
0.001, /* f_k_d1_Gain : '<S8>/f_k_d1'
*/
0.5687, /* DT2_A : '<S8>/DT2'
*/
-1.74650622, /* DT2_C : '<S8>/DT2'
*/
4.0494, /* DT2_D : '<S8>/DT2'
*/
0.0, /* zero_Value : '<S10>/zero'
*/
0.0, /* Switch_Threshold_e : '<S10>/Switch'
*/
1.0, /* I_A : '<S8>/I'
*/
0.0635, /* I_C : '<S8>/I'
*/
1.0, /* f_k_p_Gain : '<S8>/f_k_p'
*/
1.0, /* k_p_Gain : '<S8>/k_p'
*/
0.0, /* f_k_i_Gain : '<S8>/f_k_i'
*/
0.5, /* Duty_in_c_Value : '<S3>/Duty_in_c'
*/
1.0, /* SliderGain_Gain_c : '<S9>/Slider Gain'
*/
1.0, /* Saturation3_UpperSat : '<S3>/Saturation3'
*/
0.0, /* Saturation3_LowerSat : '<S3>/Saturation3'
*/
40960U /* Gain_Gain_k : '<Root>/Gain'
*/
};
/* File trailer for Real-Time Workshop generated code.
*
* [EOF]
*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -