Skip to main content

Energy Management

This library enables the user to control the BM51xx power unit.

TB_Energymanagement_BM51

TB_Energymanagement_BM51

The function block is used to control the BM51xx active front end unit. (AFE)
With executing the function block, the DC link starts to charge. Also discharging is possible.
Furthermore error message can be read out, and errors possible to acknowledge.

To have these possibilties some defined connection to the AFE is necesserey:
1.) external wiring of digital in and outputs to the PulseEnabling Input and the Mains-switch
2.) PDO Mapping with ProMaster

The AFE dosn't included as Motion Control unit.

Empfohlene Task: Event

Verwendete Bibliotheken: BM_TYPES_40bd04 oder higher ECM_SDO_40bd01 oder higher

Eingänge

Marking:Data type:Description:
x_EnableBOOLTRUE: Release of the function block.
x_PowerOnBOOLExecute the charging process (rising Edge)
Discharge the DC Link (falling Edge)
x_ErrorResetBOOLReset Error (rising Edge)
x_FeedbackMainContactorBOOLDI: Feedback fo Main Switch (s. detailed information)
u_Axis_NodeIdUINTEtherCat NodeID - Position of the AFE in the Ethercat connection (used for service data communication)
r_ActVoltageDClinkREALPDO Mapping: 0x2083:30
u_DriveManagerStatusUINTPDO Mapping: 0x206C:06

Ausgänge

Marking:Data type:Description:
x_ActiveBOOLTRUE: The function block is enabled and active.
x_ReadyForSwitchOnBOOLTRUE: AFE is ready for switch on. (Condition: DCvoltage = 40V AFE has no error)
x_SwitchMainBOOLDO: Output to control the Main Switch (connect a digital output of the PLC to the AFE)
x_SwitchPulseEnableBOOLDO: Ouput to control the PulseEnble Input of the AFE (connect a digital output of the PLC to the AFE)
x_PowerOnOkBOOLTRUE: AFE is in Status 4 with regulated voltage
u_ActualDCLinkVoltageUINTShows the actual DC Link voltage 1:1 [V]
w_ControlwordWORDPDO Mapping: 0x206C:01
x_BusyBOOLTRUE: While the charging and discharging process of the DC Link
x_WarningBOOLTRUE: The function block has identified an warning.
x_ErrorBOOLTRUE: The function block has identified an error.
w_ErrorIDWORDError number of the function block.
s_ErrorTextSTRINGError text of the function block.
x_DriveErrorBOOLTRUE: The function block has identified an drive error.
a_ErrorListINT_32_BMARRAYError/Warning Array shows every actual AFE Error and Warnings
[0]: Number of messages
[1..31]: Error/Warning numbers (sorted by appearance)

Ein-/Ausgänge

Marking:Data type:Description:
_BaseECM_PLC_MA_BMSTRUCTDPRAM-connection to theEtherCAT Master.
e.g. for the PCC
Representation in FBD

TB_Energymanagement_BM51

TB_Energymanagement_BM51

The function block is used to control the BM51xx active front end unit. (AFE)
With executing the function block, the DC link starts to charge. Also discharging is possible.
Furthermore error message can be read out, and errors possible to acknowledge.

To have these possibilties some defined connection to the AFE is necesserey:
1.) external wiring of digital in and outputs to the PulseEnabling Input and the Mains-switch
2.) PDO Mapping with ProMaster

The AFE dosn't included as Motion Control unit.

Empfohlene Task: Event

Verwendete Bibliotheken: BM_TYPES_40bd04 oder higher ECM_SDO_40bd01 oder higher

Eingänge

Marking:Data type:Description:
x_EnableBOOLTRUE: Release of the function block.
x_PowerOnBOOLExecute the charging process (rising Edge)
Discharge the DC Link (falling Edge)
x_ErrorResetBOOLReset Error (rising Edge)
x_FeedbackMainContactorBOOLDI: Feedback fo Main Switch (s. detailed information)
u_Axis_NodeIdUINTEtherCat NodeID - Position of the AFE in the Ethercat connection (used for service data communication)
r_ActVoltageDClinkREALPDO Mapping: 0x2083:30
u_DriveManagerStatusUINTPDO Mapping: 0x206C:06

Ausgänge

Marking:Data type:Description:
x_ActiveBOOLTRUE: The function block is enabled and active.
x_ReadyForSwitchOnBOOLTRUE: AFE is ready for switch on. (Condition: DCvoltage = 40V AFE has no error)
x_SwitchMainBOOLDO: Output to control the Main Switch (connect a digital output of the PLC to the AFE)
x_SwitchPulseEnableBOOLDO: Ouput to control the PulseEnble Input of the AFE (connect a digital output of the PLC to the AFE)
x_PowerOnOkBOOLTRUE: AFE is in Status 4 with regulated voltage
u_ActualDCLinkVoltageUINTShows the actual DC Link voltage 1:1 [V]
w_ControlwordWORDPDO Mapping: 0x206C:01
x_BusyBOOLTRUE: While the charging and discharging process of the DC Link
x_WarningBOOLTRUE: The function block has identified an warning.
x_ErrorBOOLTRUE: The function block has identified an error.
w_ErrorIDWORDError number of the function block.
s_ErrorTextSTRINGError text of the function block.
x_DriveErrorBOOLTRUE: The function block has identified an drive error.
a_ErrorListINT_32_BMARRAYError/Warning Array shows every actual AFE Error and Warnings
[0]: Number of messages
[1..31]: Error/Warning numbers (sorted by appearance)

Ein-/Ausgänge

Marking:Data type:Description:
_BaseECM_PLC_MA_BMSTRUCTDPRAM-connection to theEtherCAT Master.
e.g. for the PCC
Representation in FBD