ACS_DRIVE_DATA_TYPE Structure to Exchange Data Between Function Blocks for 1 Drive¶
Structure ACS_DRIVE_DATA_TYPE is used for the DRIVE_DATA variable to exchange the data for one drive.
Structure Information
Available as of PLC runtime system: | V1.3.2 |
Included in library: | ACSDrivesBase_AC500_V20.lib |
Visible Variable | Type | Default value | User Access *) | Description |
---|---|---|---|---|
sw | WORD | 0 | R | Actual Status Word from drive |
actValue1 | INT | 0 | R | Actual value 1 from drive - mostly actual speed |
actValue2 | INT | 0 | R | Actual value 2 from drive - mapping is made in drive configuration |
cw | WORD | 0 | R | Control Word to drive |
refValue1 | INT | 0 | R | Reference Value 1 to drive - mostly speed reference |
refValue2 | INT | 0 | R | Reference Value 2 to drive - mapping is made in drive configuration |
driveType | INT | 0 | R | Selected drive type – input of communication Function Block |
adapterType | INT | 0 | R | Seleceted fieldbus adapter type – built in communication Function Block according to chosen drive type and communication block for specific fieldbus type |
name | STRING[20] | “Default Drive Name” | R/W | Name for drive which can be set by user directly to DRIVE_DATA variable |
online | BOOL | R | Connection established – set in MODBUS communication Function Block after successful reading and writing one MODBUS job | |
config | ACS_DRIVE_CONFIG_TYPE | R | Some configuration and scaling parameters of the drive – read by the ACS3XX_DRIVES_CTRL_BASIC Function Block |
*) R = read only, R/W = read and write access
Structure Description
Structure ACS_DRIVE_DATA_TYPE is used for the DRIVE_DATA variable which must be connected to all Function Blocks related to the same drive.
Besides the variable “name” all variables should not be written by the user directly. They are read and written within the Function Blocks.
The ACS_DRIVE_DATA_TYPE contains some more internal, invisible variables which are used for interlocks and data transfer and not meant for user access.