Details of the Explicit exchange objects of the IODDT of the T_COM_STS_GEN type
(Original Document)
At a Glance
This part presents the explicit exchange objects of the IODDT of the T_COM_STS_GEN type that applies to all the communication protocols except Fipio and Ethernet. This groups together word type objects, the bits of which have a particular meaning. These objects are presented in detail below
Example of declaration of a: IODDT_VAR1 variable of type T_COM_STS_GEN.
Notes
Explicit exchange indicator: EXCH_STS
The following table presents the meanings of the exchange control bits of the channel EXCH_STS (%MWr.m.c.0).
Standard symbol
Type
Access
Meaning
Address
STS_IN_PROGR
BOOL
R
Reading of the status words of the current channel.
%MWr.m.c.0.0
CMD_IN_PROGR
BOOL
R
Command parameters exchange in progress.
%MWr.m.c.0.1
ADJ_IN_PROGR
BOOL
R
Command parameters adjustment in progress.
%MWr.m.c.0.2
Explicit exchange report: EXCH_RPT
The table below presents the meanings of the report bits EXCH_RPT (%MWr.m.c.1).
Standard symbol
Type
Access
Meaning
Address
STS_ERR
BOOL
R
Channel status words reading error.
%MWr.m.c.1.0
CMD_ERR
BOOL
R
Fault during a command parameters exchange.
%MWr.m.c.1.1
ADJ_ERR
BOOL
R
Fault during an adjustment parameters exchange.
%MWr.m.c.1.2
Standard channels faults, CH_FLT
The table below presents the meanings of the status word bitsCH_FLT (%MWr.m.c.2). The reading is performed by a READ_STS(IODDT_VAR1).
Standard symbol
Type
Access
Meaning
Address
NO_DEVICE
BOOL
R
No device is working on the channel.
%MWr.m.c.2.0
1_DEVICE_FLT
BOOL
R
A device on the channel is faulty.
%MWr.m.c.2.1
BLK
BOOL
R
Terminal strip error (not connected).
%MWr.m.c.2.2
TO_ERR
BOOL
R
Timeout error (faulty wiring).
%MWr.m.c.2.3
INTERNAL_FLT
BOOL
R
Internal fault or channel self-test.
%MWr.m.c.2.4
CONF_FLT
BOOL
R
Different hardware and software configurations.
%MWr.m.c.2.5
COM_FLT
BOOL
R
Problem communicating with the PLC.
%MWr.m.c.2.6
APPLI_FLT
BOOL
R
Application fault (adjustment or configuration fault).
%MWr.m.c.2.7