ACS_GEN_DEV_DATA_TYPE Structure to Exchange Data between Function Blocks for 1 Generic Device\¶
Structure ACS_GEN_DEV_DATA_TYPE is used for the SLAVE_DATA variable to exchange the data for one generic MODBUS slave device.
Structure Data
Available as of PLC runtime system: | V1.3.2 | Remark: |
Included in library: | ACSDrivesComModRTU_AC500_V20.lib | ACSDrivesBase_AC500_V20.lib is needed in addition. |
Structure
Visible variable | Type | Default value | User access *) | Description |
online | BOOL | FALSE | R | Connection established – set in MODBUS communication Function Block after successfull reading and writing one MODBUS job. |
name | STRING(20) | Default Drive Name | R/W | Name for slave device which can be set by user directly to SLAVE_DATA variable – as information or use in visualizations. |
adapterType | INT | 1 | R | Will be set to 100 in ACS_COM_MOD_RTU_GEN for internal checks. |
*) R = read only, R/W = read and write access |
Description
Structure ACS_GEN_DEV_DATA_TYPE is used for the SLAVE_DATA variable which must be connected to all Function Blocks related to the same device.
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_GEN_DEV_DATA_TYPE contains some more internal, invisible variables which are used for interlocks and data transfer and not meant for user access.