DrvControlCANCiA402 (FB)
FUNCTION_BLOCK DrvControlCANCiA402 EXTENDS AbbLConCA
This function block is used for the control of ABB ACS Drive or non ABB drives from AC500 using CANopen CiA 402 profile.
The DrvControlCANCiA402 function block and visualization VisuDrvControlCANCiA402 can also be used for 3rd party drives which comply to the CANopen CiA 402 profile.
This function block helps to set different drive’s mode of operation using the above profile.
The StatusWord from drive is taken and subsequently ControlWord will be build according to CANopen CiA 402 Profile state machine.
- InOut:
Scope
Name
Type
Initial
Comment
Inherited from
Input
EnableBOOLFALSE
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.
AbbLConCA
Output
BusyBOOLFALSE
Operation is running (while output Error is FALSE)
AbbLConCA
ErrorBOOLFALSE
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.
AbbLConCA
Input
SwitchOnBOOLFALSE
2: High active, enable switch on the drive
EnableOperationBOOLFALSE
3: High active, enable drive operation
EnableVoltageBOOLTRUE
4: High active, enable high voltage to the drive
QuickStopBOOLTRUE
5: Low active, enable quick stop of the drive
ControlWordBit4BOOLFALSE
6: Bit 4 on control word - according to user specific drive configuration.
ControlWordBit5BOOLFALSE
7: Bit 5 on control word - according to user specific drive configuration.
ControlWordBit6BOOLFALSE
8: Bit 6 on control word - according to user specific drive configuration.
ResetBOOLFALSE
9: Rising edge, resets drive faults
HaltBOOLFALSE
10: High active, enables drive to halt
ControlWordBit11BOOLFALSE
11: Bit 11 on Control Word - according to user specific drive configuration.
ControlWordBit12BOOLFALSE
12: Bit 12 on Control Word - according to user specific drive configuration.
ControlWordBit13BOOLFALSE
13: Bit 13 on Control Word - according to user specific drive configuration.
ControlWordBit14BOOLFALSE
14: Bit 14 on Control Word - according to user specific drive configuration.
ControlWordBit15BOOLFALSE
15: Bit 15 on Control Word - according to user specific drive configuration.
StatusWordWORD0
16: Status word from drive
Output
ErrorID3: Error code
NoConToDriveBOOLFALSE
4: No connection to drive, StatusWord = 0
ReadyOnBOOLFALSE
5: Ready to switch on
SwitchedOnBOOLFALSE
6: Switched on
OperationEnabledBOOLFALSE
7: Operation enabled
FaultBOOLFALSE
8: Drive is in fault
VoltageEnabledBOOLFALSE
9: High voltage to the drive is enabled
QuickStoppedBOOLFALSE
10: Quick stop is activated
OnDisabledBOOLFALSE
11: Switch on disabled - start not possible
WarningBOOLFALSE
12: Drive has a warning
StatusWordBit8BOOLFALSE
13: Bit 8 on Status Word -Drive Specific bit
RemoteBOOLFALSE
14: Drive control location: FALSE = local drive panel, TRUE = remote via AC500
TargetReachBOOLFALSE
15: Actual value is in setpoint tolerance zone
IntLimitActivateBOOLFALSE
16: Drive internal limit activated
StatusWordBit12BOOLFALSE
17: Bit 12 on status word - according to operation mode drive configuration
StatusWordBit13BOOLFALSE
18: Bit 13 on status word - according to operation mode drive configuration
StatusWordBit14BOOLFALSE
19: Bit 14 on status word - according to manufacturer specific drive configuration
StatusWordBit15BOOLFALSE
20: Bit 15 on status word - according to manufacturer specific drive configuration
ControlWordWORD0
21: Control word to be send to the drive
MessageSTRING(80)‘’
22: Textmessage - the state machine status of CANopen CiA 402 profile
Methods:
A_StartAction
B_CyclicAction
C_CleaningAction
D_AbortAction
E_ResetAction
Structure: