Jump to content

Component: Power Board (BL0110) (E-blocks 2)

From Flowcode Help
Revision as of 14:15, 13 July 2026 by SteveT (talk | contribs) (Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable"")
Author Matrix TSL
Version 1.0
Category E-blocks 2


Power Board (BL0110) component

A component to drive the power board BL0110 either as a full bridge or as two half bridges.

Detailed description

No detailed description exists yet for this component

Examples

No additional examples

Macro reference

SetDirection

SetDirection
Allows the direction of current to be reversed. Only applies to the Full Bridge mode.  
- BOOL Direction
0=Forwards, 1=Reverse 
- VOID Return


SetDuty

SetDuty
 
- BYTE Channel
0=A, 1=B 
- UINT Duty
Range: 0 to Resolution - 1 
- VOID Return


StartPWM

StartPWM
 
- VOID Return


StopPWM

StopPWM
 
- VOID Return


Property reference

Properties
Setup
Mode
Defines how the driver is connected. A full bridge is capable of controlling a load like a DC motor offering speed and direction control. A half bridge is capable of controlling a load like a DC motor with speed control only. 
PWM A
 
Enable A
 
PWM B
 
Enable B
 
Timer Properties
Timer
Timer Peripheral to use to monitor the passage of time. 
Frequency (Hz)
Sets the control frequency of the PWM output. Recommend between 100 and 5000 Hz 
Resolution
Defines how many possible steps there are in the output PWM duty. Recommend 100 - 256 100 would allow for duty control values in the range of 0 (fully off) to 99 (fully on) 
Interrupt Rate (Hz)
The overall timer interrupt rate. Try to keep this as low as possible to avoid slowing down the system with excessive interrupts. 

Component Source Code

Please click here to download the component source project: FC_Comp_Source_EB_Power_BL0110.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_EB_Power_BL0110.fcfx