Introduction
This topic describes the Control Expert Discrete Device DDT. The instance default naming is described in Device DDT Instance Naming Rule.
Regarding the device DDT, its name contains the following information:
platform with:
U for unified structure between Modicon X80 module and Quantum
device type (DIS for discrete)
function (STD for standard)
direction:
IN
OUT
max channel (1, 2, 4 …64)
Example
For a Modicon X80 module with 16 standard inputs/outputs: T_U_DIS_STD_IN_16_OUT_16
List of Implicit Device DDT
The following table shows the list of device DDT and their X80 modules:
Device DDT Type |
Modicon X80 Devices |
---|---|
|
BMX DAI 0805 BMX DAI 0814 |
|
BMX DAI 1602 BMX DAI 1603 BMX DAI 1604 BMX DAI 1614 BMX DAI 1615 BMX DDI 1602 BMX DDI 1603 BMX DDI 1604 |
|
BMX DDI 3202K BMX DDI 3203 BMX DDI 3232 |
|
BMX DDI 6404K |
|
BMX DRA 0804 BMX DRA 0805 BMX DRA 0815 BMX DRC 0805 |
|
BMX DDO 1612 BMX DDO 1602 BMX DAO 1605 BMX DAO 1615 BMX DRA 1605 |
|
BMX DDO 3202K |
|
BMX DDO 6404K |
|
BMX DDM 16022 BMX DDM 16025 |
|
BMX DDM 3202K |
Implicit Device DDT Description
The following table shows the T_U_DIS_STD_IN_x
and the T_U_DIS_STD_OUT_y
status word bits:
Standard Symbol |
Type |
Meaning |
Access |
---|---|---|---|
MOD_HEALTH |
BOOL |
0 = the module has a detected error |
read |
1 = the module is operating correctly |
|||
MOD_FLT1 |
BYTE |
internal detected errors byte of the module |
read |
DIS_CH_IN |
ARRAY [0...x-1]of |
array of structure |
|
DIS_CH_OUT |
ARRAY [0...y-1] of |
array of structure |
|
1 Module
Status is implicitly exchanged through the |
The following table shows the T_U_DIS_STD_IN_x_OUT_y
status word bits:
Standard Symbol |
Type |
Meaning |
Access |
---|---|---|---|
MOD_HEALTH |
BOOL |
0 = the module has a detected error |
read |
1 = the module is operating correctly |
|||
MOD_FLT1 |
BYTE |
internal detected errors byte of the module |
read |
DIS_CH_IN |
ARRAY [0...x-1] of |
array of structure |
|
DIS_CH_OUT |
ARRAY [x...(x+y-1)] of |
array of structure |
|
1 Module
Status is implicitly exchanged through the |
The following table shows the T_U_DIS_STD_CH_IN
[0...x-1
] and the T_U_DIS_STD_CH_OUT
[x...(x+y-1)
] structure meaning:
Standard Symbol |
Type |
Meaning |
Access |
---|---|---|---|
CH_HEALTH |
BOOL |
0 = the channel has a detected error |
read |
1 = the channel is operating correctly |
|||
VALUE |
EBOOL |
indicates the status of the sensor controlling the input channel c |
read1 |
1 |
Explicit DDT Instances Description
Explicit exchanges (Read Status or Write Command) - only applicable
to Modicon X80 I/O channels - are managed
with READ_STS_QX
or WRITE_CMD_QX
EFB instances for Modicon Quantum and by READ_STS_MX
or WRITE_CMD_MX
EFB instances for Modicon M580.
Targeted channel address (
ADDR
) can be managed with ADDMX EF (connectADDMX OUT
toADDR
)READ_STS_QX or READ_STS_MX output parameter (
STS
) can be connected to a "T_M_xxx_yyy_CH_STS
" DDT instance (variable to be created manually), where:xxx
represents the device typeyyy
represents the function
Example:
T_M_DIS_STD_CH_STS
WRITE_CMD_QX or WRITE_CMD_MX input parameter (
CMD
) can be connected to a ""T_M_DIS_STD_xxx_yyy_CMD
" DDT instancewhere:
xxx
represents the device typeyyy
represents the direction
Example:
T_M_DIS_STD_CH_IN_CMD
The following table shows the T_M_DIS_STD_CH_STS
structure status word bits:
Standard Symbol |
Type |
Bit |
Meaning |
Access |
|
---|---|---|---|---|---|
CH_FLT |
TRIP |
BOOL |
0 |
external detected error tripped |
read |
FUSE |
BOOL |
1 |
external detected error: fuse |
read |
|
BLK |
BOOL |
2 |
terminal block detected error |
read |
|
EXT_PS_FLT |
BOOL |
3 |
internal detected error: module out of order |
read |
|
INTERNAL_FLT |
BOOL |
4 |
external supply detected fault |
read |
|
CONF_FLT |
BOOL |
5 |
configuration detected fault: different hardware and software configurations |
read |
|
COM_FLT |
BOOL |
6 |
problem communicating with the PLC |
read |
|
-- |
BOOL |
7 |
reserved |
read |
|
SHORT_CIRCUIT |
BOOL |
8 |
external detected error: short-circuit on a channel |
read |
|
LINE_FLT |
BOOL |
9 |
Open wire detection(1) |
read |
|
(1) Only for BMX DAI 1614 and BMX DAI 1615 modules. |
The following table presents the T_M_DIS_STD_CH_IN_CMD
structure status word bits:
Standard Symbol |
Type |
Bit |
Meaning |
Access |
|
---|---|---|---|---|---|
CH_CMD [INT] |
PS_CTRL_DIS |
BOOL |
1 |
disable control of the external supply |
read / write |
PS_CTRL_EN |
BOOL |
2 |
enable control of the external supply |
read / write |
The following table presents the T_M_DIS_STD_CH_OUT_CMD
structure status word bits:
Standard Symbol |
Type |
Bit |
Meaning |
Access |
|
---|---|---|---|---|---|
CH_CMD [INT] |
REAC_OUT |
BOOL |
0 |
reactivation of tripped outputs (protected outputs) |
read / write |
PS_CTRL_DIS |
BOOL |
1 |
disable control of the external supply |
read / write |
|
PS_CTRL_EN |
BOOL |
2 |
enable control of the external supply |
read / write |
WRITE_CMD_QX
(in an EIO drop) can also define
the active or inactive state of the external power supply monitoring
and overrides the setting.WRITE_CMD_QX
only works over the first 8 channels (0...7, 16...23, 32...39 and
48...55) of the 16-channel groups, but affects all 16 channels of
the group.