Raptor:H-Bridge Output Block: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[ | [[Raptor-Platform|Return to the main Raptor page]] | ||
[[Raptor:Input & Output|Return to Input & Output page]] | [[Raptor:Input & Output|Return to Input & Output page]] | ||
Line 25: | Line 25: | ||
! Duty Cycle | ! Duty Cycle | ||
| int16 | | int16 | ||
| The duty cycle of the output in 0.01%. For example raw value 500 = 5%. | | The duty cycle of the output in 0.01%. For example raw value 500 = 5%. For reverse bridge operation, a negative duty cycle is used. | ||
|- | |- | ||
! Frequency | ! Frequency | ||
Line 32: | Line 32: | ||
|} | |} | ||
== Parameters == | == Parameters == |
Latest revision as of 18:41, 13 September 2023
Return to the main Raptor page
Description
This block sets the state of the selected H-bridge output. An H-Bridge output is an output which uses 2 pins where either pin can be connected to V+ or V-. This type of output is typically used to drive DC motors which must move in both directions.
Inputs
Input | Type | Description |
---|---|---|
Enable | boolean | Enables the output. When the output is disabled the output pins are not driven high or low. |
Brake | boolean | Causes the output to brake PWM the output in brake mode when enabled. |
Duty Cycle | int16 | The duty cycle of the output in 0.01%. For example raw value 500 = 5%. For reverse bridge operation, a negative duty cycle is used. |
Frequency | uint32 | The frequency of the output in 0.01Hz. For example raw value 40000 = 400Hz. |
Parameters
Parameter | Type | Description |
---|---|---|
Hardware Resource | Specifies which input from the hardware is being read. | |
Driver Type | Specifies the type of driver to be used on the selected output. |