
196
Rockwell Automation Publication 2080-UM002N-EN-E - November 2022
Chapter 9 Motion Control
Figure 16 - Example 2: PTO Axis as a PWM
Figure 17 - Example 3: PTO Axis as a PWM
MC_WriteParameter_1
MC_WriteParameter
EN
AxisIn
Parameter_Number
Execute
Value
PWM0
Update_PWM_Duty_Cycle
1005
G_PWM_Duty_Cycle
Axis
ENO
Done
Busy
Erro
ErrorID
2
Continually use MC_WriteParameter (Parameter 1005) to change the Duty Cycle from global variable G_PWM_Duty_Cycle (example: 0.5 => 50%)
MC_ExecutionMode
0
Update_PWM_Duty_Cycle
Update_PWM_Duty_Cycle
MC_MoveVelocity_1
MC_MoveVelocity
EN
AxisIn
Velocity
Execut
Acceleration
PWM0
TRUE
G_PWM_Frequency
50000.0
Axis
ENO
InVelocity
Busy
Active
Direction
CommandAborte
3
__SYSVA_FIRST_SCAN
Acceleration
50000.0
Deceleration
0.0
Jerk
1
DirectionIn
0
Erro
ErrorID
After first scan, use MC_MoveVelocity to continually set the PWM frequency (for example: 50,000 => 50 KHz) from global variable G_PWM_Frequency. PWM axis will run
forever (until Program Mode, MC_Halt, and so on).
Содержание 2080-L50E-24AWB
Страница 14: ...14 Rockwell Automation Publication 2080 UM002N EN E November 2022 Notes ...
Страница 54: ...54 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 4 Wire Your Controller Notes ...
Страница 128: ...128 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 7 Program Execution in Micro800 Notes ...
Страница 156: ...156 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 8 EtherNet IP Network Notes ...
Страница 198: ...198 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 9 Motion Control Notes ...
Страница 232: ...232 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 11 Controller Security Notes ...
Страница 260: ...260 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 12 Using microSD Cards Notes ...
Страница 266: ...266 Rockwell Automation Publication 2080 UM002N EN E November 2022 Appendix A Modbus Mapping for Micro800 Notes ...
Страница 275: ...Rockwell Automation Publication 2080 UM002N EN E November 2022 275 Appendix B Quickstarts 10 Click Finish to complete ...
Страница 332: ...332 Rockwell Automation Publication 2080 UM002N EN E November 2022 Appendix E PID Function Blocks Notes ...
Страница 352: ...352 Rockwell Automation Publication 2080 UM002N EN E November 2022 Appendix G Connect to Networks using DF1 Notes ...
Страница 388: ...388 Rockwell Automation Publication 2080 UM002N EN E November 2022 Index Notes ...