EasyManuals Logo
Home>Allen-Bradley>Controller>Micro830

Allen-Bradley Micro830 User Manual

Allen-Bradley Micro830
354 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 #145 background imageLoading...
Page #145 background image
Rockwell Automation Publication 2080-UM002K-EN-E - March 2019 131
Motion Control Chapter 7
POU PWM_Program
The POU defines four variables.
MC_MoveVelocity_1
MC_MoveVelocity
EN
AxisIn
Velocity
Execute
Acceleration
PWM0
TRUE
G_PWM_Frequency
50000.0
Axis
ENO
InVelocity
Busy
Active
Direction
CommandAborted
3
__SYSVA_FIRST_SCAN
Acceleration
50000.0
Deceleration
0.0
Jerk
1
DirectionIn
0
Error
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).
Variable MC_Power_1
(* *)
Direction: VAR
Data Type: MC_Power
Attribute: ReadWrite
Direct variable (Channel):
Variable MC_MoveVelocity_1
(* *)
Direction: VAR
Data Type: MC_MoveVelocity
Attribute: ReadWrite
Direct variable (Channel):
Variable Update_PWM_Duty_Cycle
(* *)
Direction: Var
Data type: BOOL
Attribute: ReadWrite
Direct variable (Channel):
Variable MC_Power_1
(* *)
Direction: VAR
Data Type: MC_Power
Attribute: ReadWrite
Direct variable (Channel):

Table of Contents

Other manuals for Allen-Bradley Micro830

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley Micro830 and is the answer not in the manual?

Allen-Bradley Micro830 Specifications

General IconGeneral
BrandAllen-Bradley
ModelMicro830
CategoryController
LanguageEnglish

Related product manuals