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

Enable

BOOL

FALSE

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

Busy

BOOL

FALSE

Operation is running (while output Error is FALSE)

AbbLConCA

Error

BOOL

FALSE

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

SwitchOn

BOOL

FALSE

2: High active, enable switch on the drive

EnableOperation

BOOL

FALSE

3: High active, enable drive operation

EnableVoltage

BOOL

TRUE

4: High active, enable high voltage to the drive

QuickStop

BOOL

TRUE

5: Low active, enable quick stop of the drive

ControlWordBit4

BOOL

FALSE

6: Bit 4 on control word - according to user specific drive configuration.

ControlWordBit5

BOOL

FALSE

7: Bit 5 on control word - according to user specific drive configuration.

ControlWordBit6

BOOL

FALSE

8: Bit 6 on control word - according to user specific drive configuration.

Reset

BOOL

FALSE

9: Rising edge, resets drive faults

Halt

BOOL

FALSE

10: High active, enables drive to halt

ControlWordBit11

BOOL

FALSE

11: Bit 11 on Control Word - according to user specific drive configuration.

ControlWordBit12

BOOL

FALSE

12: Bit 12 on Control Word - according to user specific drive configuration.

ControlWordBit13

BOOL

FALSE

13: Bit 13 on Control Word - according to user specific drive configuration.

ControlWordBit14

BOOL

FALSE

14: Bit 14 on Control Word - according to user specific drive configuration.

ControlWordBit15

BOOL

FALSE

15: Bit 15 on Control Word - according to user specific drive configuration.

StatusWord

WORD

0

16: Status word from drive

Output

ErrorID

ERROR_ID

3: Error code

NoConToDrive

BOOL

FALSE

4: No connection to drive, StatusWord = 0

ReadyOn

BOOL

FALSE

5: Ready to switch on

SwitchedOn

BOOL

FALSE

6: Switched on

OperationEnabled

BOOL

FALSE

7: Operation enabled

Fault

BOOL

FALSE

8: Drive is in fault

VoltageEnabled

BOOL

FALSE

9: High voltage to the drive is enabled

QuickStopped

BOOL

FALSE

10: Quick stop is activated

OnDisabled

BOOL

FALSE

11: Switch on disabled - start not possible

Warning

BOOL

FALSE

12: Drive has a warning

StatusWordBit8

BOOL

FALSE

13: Bit 8 on Status Word -Drive Specific bit

Remote

BOOL

FALSE

14: Drive control location: FALSE = local drive panel, TRUE = remote via AC500

TargetReach

BOOL

FALSE

15: Actual value is in setpoint tolerance zone

IntLimitActivate

BOOL

FALSE

16: Drive internal limit activated

StatusWordBit12

BOOL

FALSE

17: Bit 12 on status word - according to operation mode drive configuration

StatusWordBit13

BOOL

FALSE

18: Bit 13 on status word - according to operation mode drive configuration

StatusWordBit14

BOOL

FALSE

19: Bit 14 on status word - according to manufacturer specific drive configuration

StatusWordBit15

BOOL

FALSE

20: Bit 15 on status word - according to manufacturer specific drive configuration

ControlWord

WORD

0

21: Control word to be send to the drive

Message

STRING(80)

‘’

22: Textmessage - the state machine status of CANopen CiA 402 profile