Details concerning T_CSY_CMD-type IODDT explicit exchange objects
(Original Document)
At a Glance
This part introduces explicit exchange objects of the T_CSY_CMD IODDT which apply to the TSX CSY 84 module. It groups word-type objects whose bits have a particular meaning. These objects are presented in detail below.
Example of declaration of a variable: IODDT_VAR1 of the type T_CSY_CMD
Notes
Indicators of explicit exchange execution: EXCH_STS
The table below explains the meanings of the exchange control bits for the EXCH_STS channel (%MWr.m.c.0).
Standard symbol
Type
Access
Meaning
Address
CMD_IN_PROGR
BOOL
R
Command parameters exchange in progress
%MWr.m.c.0.1
Explicit exchange report: EXCH_RPT
The following table explains the meaning of the EXCH_RPT report bits (%MWr.m.c.1).
Standard symbol
Type
Access
Meaning
Address
CMD_ERR
BOOL
R
Fault during exchange of command parameters
%MWr.m.c.1.1
WRITE_CMD interface words
The following table explains the meanings of the variables associated with the WRITE_CMD whose action was specified in the word ACTION_CMD. These variables are updated by a WRITE_CMD (IODDT_VAR1).
Standard symbol
Type
Access
Meaning
Address
ERROR_CMD
INT
RW
Error during WRITE_CMD
%MWr.m.c.19
RETURN_CMD_1
DINT
RW
Return 1 of the function
%MDr.m.c.20
RETURN_CMD_2
REAL
RW
Return 2 of the function
%MFr.m.c.22
RETURN_CMD_3
REAL
RW
Return 3 of the function
%MFr.m.c.24
ACTION_CMD
INT
RW
Action to be carried out
%MWr.m.c.26
PARAM_CMD_1
DINT
RW
Parameter 1
%MDr.m.c.27
PARAM_CMD_2
DINT
RW
Parameter 2
%MDr.m.c.29
PARAM_CMD_3
REAL
RW
Parameter 3
%MFr.m.c.31
PARAM_CMD_4
REAL
RW
Parameter 4
%MFr.m.c.33