PmpDriveSimu (FB)
FUNCTION_BLOCK PmpDriveSimu EXTENDS AbbLConC3
This function block PmpDriveSimu is Simple simualtion of the VFD and PLC communication.
The function block is not similar to the PS553 drives library function block.
The outputs of the function block may or may not be as accurate as real drive communication blocks.
Use this function block only for simulation testing and not on the actual system.
- InOut:
Scope
Name
Type
Initial
Comment
Input
StartBOOLFALSE
- 2: The input Start provides Start command to the VFD. This must come from the StartCmd of PmpInterfaceVFD or PmpInterfaceDol.
When input is TRUE, the execution starts.
When input is FALSE, the execution stops if running.
SpeedRefINT0
- 3: The output SpeedRef of the interface function block PmpInterfaceVFD shows the speed reference of the variable frequency drive (VFD) in rpm. Range-Value>=0
Note
The speed reference can be given to the drive only if it is connected to the correct parameter.
Note
This can be done using the PLC - VFD communication library, which is not in the scope of the pump library.
The input SpeedRef of the function block PmpDriveSimu comes from the output Speedref of the interface function block PmpInterfaceVFD.
DriveMaxSpeedREAL1500.0
4: Maximum speed of the VFD in rpm. Range-[1.0 to 1500.0]
DriveMaxPwrREAL5.0
5: The input DriveMaxPower defines the maximum power of the variable frequency drive (VFD) in kW. Range-[1.0 to 5.0]
LocalRemoteBOOLFALSE
- 6: Local Remote selection for the VFD.
For Remote mode = FALSE
For Local mode = TRUE
ExternalFaultBOOLFALSE
- 7: The input ExternalFault simulates the external fault condition.
When input is TRUE, external fault condition is simulated.
When input is FALSE, no simulation.
ResetBOOLFALSE
- 8: The input Reset resets the variable frequency drive (VFD) fault and the value in output ErrorID.
When input is TRUE, softfill fault is reset.
When input is FALSE, no reset.
AntijamStatusINT0
- 9: The input AntijamStatus receives the status of antijam operation. The input comes from the output AntijamStatus of the function block PmpAntijam. Range-[0 to 2]
0 = Not started (Antijam operation has not started)
1 = Busy (Antijam operation has started)
2 = Done (Antijam operation is completed)
Output
ErrorID3: At output ErrorID the identifier of an occurred error is provided.
ReadyBOOLFALSE
- 4: The output Ready indicates that the used system (DOL/VFD) is ready for operation.
When output is TRUE, system is ready for operation.
When output is FALSE, system is not ready for operation.
OperatingBOOLFALSE
- 5: The output Operating indicates that the device is operating.
When output is TRUE, device is operating.
When output is FALSE, device is not operating.
TrippedBOOLFALSE
- 6: The output Tripped indicates that the used system (DOL/VFD) has tripped.
When output is TRUE, system tripped.
When output is FALSE, system is healthy.
LocalRemoteStatusBOOLFALSE
- 7: The output LocalRemoteStatus indicates the operating mode of the pump system (DOL/VFD).
When output is TRUE, pump system is in local mode.
When output is FALSE, pump system is in remote mode.
ActSpeedINT0
8: The Output ActSpeed indicates the Actual speed in rpm. Range-Value>=0
DriveActPwrREAL0.0
9: The output DriveActPwr indicates the actual power of the variable frequency drive (VFD) in kW. Range-Value>=0.0
Methods:
A_StartAction
B_CyclicAction
C_CleaningAction
D_AbortAction
E_ResetAction
Structure: