DDT
|
Description
|
|
---|---|---|
T_M_COM_ASI_CH_STS
|
Structure to read the channel status
|
The DDT can be connected to the STS output parameter of the EFB READ_STS_MX.
|
T_M_COM_ASI_CH_CMD
|
Structure to send a command to the module
|
The DDT can be connected to the CMD input parameter of the EFB WRITE_CMD_MX.
|
T_M_COM_ASI_CH_PRM
|
Structure for adjustment parameters (1) of a channel.
|
The DDT can be connected to the PARAM output parameter of the EFB:
|
(1)Parameter management is only possible for explicit exchange with I/O modules in M580 local rack. NOTE: Targeted channel address (ADDR) can be managed with ADDMX EF (connect the output parameter OUT to the input parameter ADDR of the communication functions). |
Name
|
Type
|
Bit
|
Meaning
|
Access
|
---|---|---|---|---|
CH_FLT
|
INT
|
Channel faults
|
read
|
|
SLAVE_FLT
|
BOOL
|
1
|
detected error in one or more devices
|
|
APF_PIC_FLT
|
BOOL
|
2
|
APF Line detected error or PIC fault
|
|
ASI_CONF_FLT
|
BOOL
|
3
|
physical configuration different from software configuration
|
|
INTERNAL_FLT
|
BOOL
|
4
|
detected internal error or channel self-testing.
|
|
CONF_FLT
|
BOOL
|
5
|
detected hardware or software configuration error.
|
|
COM_FLT
|
BOOL
|
6
|
problem communicating with the PLC
|
|
APPLI_FLT
|
BOOL
|
7
|
detected error in application (adjustment or configuration)
|
|
EX_CONTROL_FLAGS
|
INT
|
execution control flags
|
read
|
|
CONFIG_OK
|
BOOL
|
0
|
correct configuration
|
|
SLAVE_0_PRESENT
|
BOOL
|
1
|
slave 0 present on the bus
|
|
AUTO_ADDRESS_ASSIGN
|
BOOL
|
2
|
automatic addressing
|
|
AUTO_ADDRESS_AVAILABLE
|
BOOL
|
3
|
automatic addressing authorized
|
|
CONFIGURATION_ACTIVE
|
BOOL
|
4
|
operation in AS-interface configuration mode
|
|
NORMAL_OPERATION_ACTIVE
|
BOOL
|
5
|
operation in normal mode
|
|
ASI_SUPPLY_FLT
|
BOOL
|
6
|
detected AS-interface power supply error
|
|
OFFLINE_MODE_ACTIVE
|
BOOL
|
7
|
offline mode active
|
|
DATA_EXCHANGE_OFF
|
BOOL
|
8
|
data exchenge inactive
|
|
PERIPH_FAULT
|
BOOL
|
9
|
detected peripheral error on a bus device
|
|
LDS_0A_15A
|
INT
|
list of detected slaves from 0 to 15 of bank A (1 bit per slave)
|
read
|
|
LDS_16A_31A
|
INT
|
list of detected slaves from 16 to 31 of bank A (1 bit per slave)
|
read
|
|
LDS_0B_15B
|
INT
|
list of detected slaves from 0 to 15 of bank B (1 bit per slave)
|
read
|
|
LDS_16B_31B
|
INT
|
list of detected slaves from 16 to 31 of bank B (1 bit per slave)
|
read
|
|
BANKA
|
ARRAY [0..31] of T_M_COM_ASI_CDI
|
actual configuration of the slaves of bank A)
|
read
|
|
BANKB
|
ARRAY [0..31] of T_M_COM_ASI_CDI
|
actual configuration of the slaves of bank B)
|
read
|
|
LAST_PARAM_SLAVE_VALUE
|
INT
|
contains the value of parameters of the last parameterized slave
|
read
|
|
LAST_PARAM_SLAVE_ADR
|
INT
|
contains the address of the last parameterized slave
|
read
|
Name
|
Type
|
Bit
|
Meaning
|
Access
|
|
---|---|---|---|---|---|
CDI
|
INT
|
–
|
actual configured profile of slave
|
read
|
Name
|
Type
|
Bit
|
Meaning
|
Access
|
---|---|---|---|---|
HI_FLAGS
|
INT
|
Host Interface Flags
|
read/write
|
|
ENTER_OFFLINE
|
BOOL
|
0
|
switch to offline mode
|
|
LEAVE_OFFLINE
|
BOOL
|
1
|
exit from offline mode
|
|
DATA_EXCHANGE_INACTIVE
|
BOOL
|
2
|
data exchange inactive
|
|
DATA_EXCHANGE_ACTIVE
|
BOOL
|
3
|
data exchange active
|
Name
|
Type
|
Bit
|
Meaning
|
Access
|
---|---|---|---|---|
PARAM_A
|
ARRAY [0..31] of INT
|
–
|
parameter values of slaves 0A to 31A (1 word per slaves, only 4 bits used)
|
read/write
|
PARAM_B
|
ARRAY [0..31] of INT
|
–
|
parameter values of slaves 0B to 31B (1 word per slaves, only 4 bits used)
|
read/write
|
EPARAM_A
|
ARRAY [0..31] of INT
|
–
|
parameter values echoed by slaves 0A to 31A (1 word per slaves, only 4 bits used)
|
read
|
EPARAM_B
|
ARRAY [0..31] of INT
|
–
|
parameter values echoed by slaves 0B to 31B (1 word per slaves, only 4 bits used)
|
read
|