DrvControlACS (FB)
FUNCTION_BLOCK DrvControlACS
This function block can be used to control ACS drives with ABB Drives profile using direct input of status word (SW) from drive. Control word(CW) will be build by the function block according to the ABB drives profile state machine. Output ControlWord has to be send to the drive via fieldbus
Function block provides standard start/stop signals to control the drive and standard diagnosis signals are read from the drive.
- InOut:
Scope
Name
Type
Initial
Comment
Input
EnableBOOLFALSE
1: A rising edge (Enable = TRUE) starts the operation, the output Busy goes to TRUE. All other inputs are read and considered continuously. A falling edge (Enable = FALSE) aborts the operation. During Aborting the Busy is still TRUE. Afterward all outputs are reset.
SwitchOnBOOLFALSE
2: SwitchOn, TRUE = Start; FALSE = stop along currently active stop ramp - No rising edge needed to restart if input AutoStart = TRUE
RunBOOLFALSE
3: Start normal operation. Bit 3 on ControlWord. If Run = FALSE drive stops, Stop mode depends on parametrization of the drive, no rising edge needed
StopEmcyCoastBOOLTRUE
4: Low active, emergency coast stop to drive: FALSE = stop by coast, TRUE = no stop
StopEmcyRampBOOLTRUE
5: Low active, emergency ramp stop to drive: FALSE = stop by ramp, TRUE = no stop
ResetBOOLFALSE
6: Reset drive faults
AutoStartBOOLFALSE
- 7: Enables the autostart function, together with input SwitchOn and Run an internal retry to restart the drive is performed steadily.
Eg. after return from local control. Be careful, Drive will restart automatically! Check the settings made in the Start mode parameter group of the drive Ex: 21.01 Start Mode in ACS380/ ACS880
ExtCtrlLocBOOLFALSE
8: External control location EXT2, mapped to control word 11 in the drive.
ControlWordB12BOOLFALSE
9: Bit 12 on Control Word - according to user specific drive configuration.
ControlWordB13BOOLFALSE
10: Bit 13 on Control Word - according to user specific drive configuration.
ControlWordB14BOOLFALSE
11: Bit 14 on Control Word - according to user specific drive configuration.
ControlWordB15BOOLFALSE
12: Bit 15 on Control Word - according to user specific drive configuration.
StatusWordWORD0
13: Status Word from drive. Value must be > 0.
Output
BusyBOOLFALSE
1: Operation is running (while output Error is FALSE)
ErrorBOOLFALSE
2: Operation is stopped with error (while output Busy is FALSE). This output is TRUE for at least one cycle or until Enable is set to FALSE. The output ErrorID gives more details about the error.
ErrorID3: Error Code
NoConToDriveBOOLFALSE
4: No connection to drive can be established, StatusWord = 0
ReadyBOOLFALSE
5: Ready to switch on - Bit 0 in SW
OperatingBOOLFALSE
6: Operating - drive is modulating Ready reference, Bit 2 in SW
OnInhibitedBOOLFALSE
7: On inhibited active - start not possible, Bit 6 in SW
AtSetpointBOOLFALSE
8: Actual value is in setpoint tolerance zone, Bit 8 in SW
TrippedBOOLFALSE
9: Drive is tripped, Bit 3 in SW
AlarmBOOLFALSE
10: Drive has an alarm, Bit 7 in SW
LocalCtrlBOOLFALSE
11: Drive control location: Local - NOT(Bit 9) in SW (Not Remote)
ExtCtrlLocActBOOLFALSE
12: Actual external control location EXT2 selected
ExtRunEnableBOOLFALSE
13: External Run Enable signal received, must be set to run. Source is chosen via 20.12 (ACS880 / ACS580)
ControlWordWORD0
14: Control Word to be send to the drive
MessageSTRING(65)‘’
15: Text message, state of ABB-Drives profile state machine