Ra PF4 Mbus
Ra PF4 Mbus
Version
2012-Jun-01
Description
This UDFB provides logic status, speed feedback, current, and voltage information from a PowerFlex 4 class drive.
Inputs
Variable Data type Description
FBEN BOOL Set this bit TRUE to enable the function block.
Channel UINT Set this value to the channel of the serial port that you are communicating to the
drive with.
NodeAddress USINT Set this value to the Modbus node address of the drive.
Interval UINT Set this value to the rate in milliseconds, in which to update the drive status
variables.
Outputs
Variable Data type Description
FBENO BOOL This bit is TRUE when the function block is enabled.
FB_Err BOOL This bit is TRUE when an error in the function block occurs.
FB_ErrCode UDINT This value is the enumerated function block error code if an error occurs.
Bit 0 - Modbus Message Error
Bit 1 - Invalid Channel
Bit 2 - Invalid Node Address
Bit 3 - Invalid Drive Type
Ready BOOL This bit is TRUE when the drive is in the Ready state.
Active BOOL This bit is TRUE when the drive is Active.
CmdFwd BOOL This bit is TRUE when the drive is set to Forward rotation.
CmdRev BOOL This bit is TRUE when the drive is set to Reverse rotation.
Alarm BOOL This bit is TRUE when an active drive alarm is present.
Fault BOOL This bit is TRUE when a drive fault is present.
AtRef BOOL This bit is TRUE when the drives speed feedback is equal to its commanded speed.
DriveFltCode UINT This value provides the drive fault code. Please reference your drive's user manual
for fault code definitions.
CmdSpeed REAL This value is the drive's commanded speed, in hertz.
SpeedFeedback REAL This value is the drive's speed feedback, in hertz.
OutputCurrent REAL This value is the output current of the drive, in amps.
DCBusVoltage REAL This value is the DC bus voltage of the drive, in volts.
OutputVoltage REAL This value is the output voltage of the drive, in volts.
RA_PF4_MBUS_CMD
Version
2012-Jun-01
Description
This UDFB provides basic logic control and speed reference command of a PowerFlex 4 class drive.
Inputs
Variable Data type Description
FBEN BOOL Set this bit TRUE to enable the function block.
Channel UINT Set this value to the channel of the serial port that you are communicating to the
drive with.
NodeAddress USINT Set this value to the Modbus node address of the drive.
Stop BOOL Set this bit TRUE to stop the drive.
Start BOOL Set this bit TRUE to start the drive.
Jog BOOL Set this bit TRUE to jog the drive.
ClrFlt BOOL Set this bit TRUE to clear a drive fault.
SetFwd BOOL Set this bit TRUE to set the drive rotation to forward.
SetRev BOOL Set this bit TRUE to set the drive rotation to reverse.
SpeedRef REAL Set this value to the speed you want to the drive to operate, in hertz.
Outputs
Variable Data type Description
FBENO BOOL This bit is TRUE when the function block is enabled.
FB_Err BOOL This bit is TRUE when an error in the function block occurs.
FB_ErrCode UDINT This value is the enumerated function block error code if an error occurs.
Bit 0 - Modbus Message Error
Bit 1 - Invalid Channel
Bit 2 - Invalid Node Address
Bit 3 - Invalid Drive Type