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

Start

BOOL

FALSE

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.

SpeedRef

INT

0

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.

DriveMaxSpeed

REAL

1500.0

4: Maximum speed of the VFD in rpm. Range-[1.0 to 1500.0]

DriveMaxPwr

REAL

5.0

5: The input DriveMaxPower defines the maximum power of the variable frequency drive (VFD) in kW. Range-[1.0 to 5.0]

LocalRemote

BOOL

FALSE

6: Local Remote selection for the VFD.
  • For Remote mode = FALSE

  • For Local mode = TRUE

ExternalFault

BOOL

FALSE

7: The input ExternalFault simulates the external fault condition.
  • When input is TRUE, external fault condition is simulated.

  • When input is FALSE, no simulation.

Reset

BOOL

FALSE

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.

AntijamStatus

INT

0

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

ErrorID

ERROR_ID

3: At output ErrorID the identifier of an occurred error is provided.

Ready

BOOL

FALSE

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.

Operating

BOOL

FALSE

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.

Tripped

BOOL

FALSE

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.

LocalRemoteStatus

BOOL

FALSE

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.

ActSpeed

INT

0

8: The Output ActSpeed indicates the Actual speed in rpm. Range-Value>=0

DriveActPwr

REAL

0.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: