EasyManuals Logo

Rockwell Automation 2080-L70E-24QWB User Manual

Rockwell Automation 2080-L70E-24QWB
390 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #196 background imageLoading...
Page #196 background image
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).

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Rockwell Automation 2080-L70E-24QWB and is the answer not in the manual?

Rockwell Automation 2080-L70E-24QWB Specifications

General IconGeneral
BrandRockwell Automation
Model2080-L70E-24QWB
CategoryController
LanguageEnglish

Related product manuals