Details of the IODDT's explicit exchange objects of type T_COUNT_STD
(Original Document)
At a Glance
This part shows the IODDT's explicit exchange objects of type T_COUNT_STD which applies to the modules TSX CTY 2A and TSX CTY 4A. It brings together word-type objects whose bits have a special meaning. This objects are described in detail below.
Example of declaration of a variable: IODDT_VAR1 of type T_COUNT_STD
Notes
Explicit exchange operation indicators: EXCH_STS
The table below shows the meanings of exchange control bits of the channel EXCH_STS (%MWr.m.c.0).
Standard symbol
Type
Access
Meaning
Address
STS_IN_PROGR
BOOL
R
Reading channel status words
%MWr.m.c.0.0
ADJ_IN_PROGR
BOOL
R
Adjust parameters exchange in progress
%MWr.m.c.0.2
RECONF_IN_PROGR
BOOL
R
Reconfiguring of the module
%MWr.m.c.0.15
Explicit exchange report: EXCH_RPT
The table below shows the meanings of report bits EXCH_RPT (%MWr.m.c.1).
Standard symbol
Type
Access
Meaning
Address
STS_ERR
BOOL
R
Reading fault of channel state words
%MWr.m.c.1.0
ADJ_ERR
BOOL
R
Fault when exchanging adjustment parameters
%MWr.m.c.1.2
RECONF_ERR
BOOL
R
Fault when reconfiguring the channel
%MWr.m.c.1.15
Standard channel faults, CH_FLT
The table below shows the meanings of status word bits CH_FLT (%MWr.m.c.2). The reading is made by a READ_STS (IODDT_VAR1).
Standard symbol
Type
Access
Meaning
Address
COUNT_INP_FLT
BOOL
R
Counting input error
%MWr.m.c.2.0
COUNT_APP_FLT
BOOL
R
Counting application fault
%MWr.m.c.2.1
AUX_IO_FLT
BOOL
R
Auxiliary I/O
%MWr.m.c.2.3
INTERNAL_FLT
BOOL
R
Internal error or channel self-testing
%MWr.m.c.2.4
CONF_FLT
BOOL
R
Different hardware and software configurations
%MWr.m.c.2.5
COM_FLT
BOOL
R
Communication error with the PLC
%MWr.m.c.2.6
APPLI_FLT
BOOL
R
Application fault (adjustment or configuration fault)
%MWr.m.c.2.7
CH_LED0
BOOL
R
Green indicator’s command bits CHx (channel state)
00 = off, 01 = blinking, 11 = lit
%MWr.m.c.2.8
CH_LED1
BOOL
R
%MWr.m.c.2.9
AUX_PS_FLT
BOOL
R
Auxiliary I/O supply fault
%MWr.m.c.2.11
SHORT_CIRCUIT
BOOL
R
Short-circuit fault on a channel
%MWr.m.c.2.12
ENC_PS_FLT
BOOL
R
Supply, encoder or potential difference error
%MWr.m.c.2.13
LINE_BRK_FLT
BOOL
R
Encoder line break or short-circuit error
%MWr.m.c.2.14
Specific channel faults, %MWr.m.c.3
The table below shows the meanings of channel status word bits %MWr.m.c.3. The reading is made by a READ_STS (IODDT_VAR1)
Standard symbol
Type
Access
Meaning
Address
CH_CONF_FLT
BOOL
R
Channel configuration error
%MWr.m.c.3.0
MEASURE_OVR
BOOL
R
Measurement overrun fault
%MWr.m.c.3.1
ABS_ENC_FLT
BOOL
R
Specific absolute encoder error
%MWr.m.c.3.2
OVERSPEED_FLT
BOOL
R
Overspeed fault
%MWr.m.c.3.3
Parameters
The table below shows different parameters, the requests used are (READ_PARAM,WRITE_PARAM , e.g.: READ_PARAM (IODDT_VAR1))
Standard symbol
Type
Access
Meaning
Address
PRESET
DINT
R/W
Preset value (parameter)
%MDr.m.c.4
THRESHOLD0
DINT
R/W
Value of threshold 0 (parameter)
%MDr.m.c.6
THRESHOLD1
DINT
R/W
Value of threshold 1 (parameter)
%MDr.m.c.8
HIGH_SP
DINT
R/W
High setpoint value
%MDr.m.c.10
LOW_SP
DINT
R/W
Low setpoint value
%MDr.m.c.12
0 counter output SET commands, %MWr.m.c.14
The table below shows the meanings of the bits of the command word %MWr.m.c.14. The requests used are those associated with parameters (READ_PARAM, WRITE_PARAM, e.g.: READ_PARAM (IODDT_VAR1)).
Standard symbol
Type
Access
Meaning
Address
S0_ENAB
BOOL
R/W
on confirmation
%MWr.m.c.14.0
S0_PRES
BOOL
R/W
on preset
%MWr.m.c.14.1
S0_CAPT
BOOL
R/W
on capture
%MWr.m.c.14.2
0 counter output SET commands, %MWr.m.c.15
The table below shows the meanings of the bits of the command word %MWr.m.c.15. The requests used are those associated with parameters (READ_PARAM, WRITE_PARAM, e.g.: READ_PARAM (IODDT_VAR1)).
Standard symbol
Type
Access
Meaning
Address
S0_TH0_INC
BOOL
R/W
on crossing threshold 0 + direction
%MWr.m.c.15.0
S0_TH0_DEC
BOOL
R/W
on crossing threshold 0 - direction
%MWr.m.c.15.1
S0_CAPT_GE_TH0
BOOL
R/W
if captured value ≥ at threshold 0
%MWr.m.c.15.2
S0_CAPT_LT_TH0
BOOL
R/W
if captured value < at threshold 0
%MWr.m.c.15.3
S0_TH1_INC
BOOL
R/W
on crossing threshold 1 + direction
%MWr.m.c.15.4
S0_TH1_DEC
BOOL
R/W
on crossing threshold 1 - direction
%MWr.m.c.15.5
S0_CAPT_GE_TH1
BOOL
R/W
if captured value ≥ at threshold 1
%MWr.m.c.15.6
S0_CAPT_LT_TH1
BOOL
R/W
if captured value < at threshold 1
%MWr.m.c.15.7
S0_HISP_INC
BOOL
R/W
on high setpoint crossing +direction
%MWr.m.c.15.8
S0_HISP_DEC
BOOL
R/W
on high setpoint crossing -direction
%MWr.m.c.15.9
S0_CAPT_GE_HISP
BOOL
R/W
if captured value ≥ with high setpoint
%MWr.m.c.15.10
S0_LOSP_INC
BOOL
R/W
on low setpoint crossing +direction
%MWr.m.c.15.12
S0_LOSP_DEC
BOOL
R/W
on low setpoint crossing -direction
%MWr.m.c.15.13
S0_CAPT_LT_LOSP
BOOL
R/W
if the captured value < at the low setpoint
%MWr.m.c.15.15
0 counter output RESET commands, %MWr.m.c.16
The table below shows the meanings of the bits of the command word %MWr.m.c.16. The requests used are those associated with parameters (READ_PARAM, WRITE_PARAM, e.g.: READ_PARAM (IODDT_VAR1)).
Standard symbol
Type
Access
Meaning
Address
R0_ENAB
BOOL
R/W
on confirmation
%MWr.m.c.16.0
R0_PRES
BOOL
R/W
on preset
%MWr.m.c.16.1
R0_CAPT
BOOL
R/W
on capture
%MWr.m.c.16.2
0 counter output RESET commands, %MWr.m.c.17
The table below shows the meanings of the bits of the command word %MWr.m.c.17. The requests used are those associated with parameters (READ_PARAM, WRITE_PARAM, e.g.: READ_PARAM (IODDT_VAR1)).
Standard symbol
Type
Access
Meaning
Address
R0_TH0_INC
BOOL
R/W
on crossing threshold 0 + direction
%MWr.m.c.17.0
R0_TH0_DEC
BOOL
R/W
on crossing threshold 0 - direction
%MWr.m.c.17.1
R0_CAPT_GE_TH0
BOOL
R/W
if captured value ≥ at threshold 0
%MWr.m.c.17.2
R0_CAPT_LT_TH0
BOOL
R/W
if captured value < at threshold 0
%MWr.m.c.17.3
R0_TH1_INC
BOOL
R/W
on crossing threshold 1 + direction
%MWr.m.c.17.4
R0_TH1_DEC
BOOL
R/W
on crossing threshold 1 - direction
%MWr.m.c.17.5
R0_CAPT_GE_TH1
BOOL
R/W
if captured value ≥ at threshold 1
%MWr.m.c.17.6
R0_CAPT_LT_TH1
BOOL
R/W
if captured value < at threshold 1
%MWr.m.c.17.7
R0_HISP_INC
BOOL
R/W
on high setpoint crossing +direction
%MWr.m.c.17.8
R0_HISP_DEC
BOOL
R/W
on high setpoint crossing -direction
%MWr.m.c.17.9
R0_CAPT_GE_HISP
BOOL
R/W
if captured value ≥ with high setpoint
%MWr.m.c.17.10
R0_LOSP_INC
BOOL
R/W
on low setpoint crossing +direction
%MWr.m.c.17.12
R0_LOSP_DEC
BOOL
R/W
on low setpoint crossing -direction
%MWr.m.c.17.13
R0_CAPT_LT_LOSP
BOOL
R/W
if the captured value < at the low setpoint
%MWr.m.c.17.15
1 counter output SET commands, %MWr.m.c.18
The table below shows the meanings of the bits of the command word %MWr.m.c.18. The requests used are those associated with parameters (READ_PARAM, WRITE_PARAM, e.g.: READ_PARAM (IODDT_VAR1)).
Standard symbol
Type
Access
Meaning
Address
S1_ENAB
BOOL
R/W
on confirmation
%MWr.m.c.18.0
S1_PRES
BOOL
R/W
on preset
%MWr.m.c.18.1
S1_CAPT
BOOL
R/W
on capture
%MWr.m.c.18.2
1 counter output SET commands, %MWr.m.c.19
The table below shows the meanings of the bits of the command word %MWr.m.c.19. The requests used are those associated with parameters (READ_PARAM, WRITE_PARAM, e.g.: READ_PARAM (IODDT_VAR1)).
Standard symbol
Type
Access
Meaning
Address
S1_TH0_INC
BOOL
R/W
on crossing threshold 0 + direction
%MWr.m.c.19.0
S1_TH0_DEC
BOOL
R/W
on crossing threshold 0 - direction
%MWr.m.c.19.1
S1_CAPT_GE_TH0
BOOL
R/W
if captured value ≥ at threshold 0
%MWr.m.c.19.2
S1_CAPT_LT_TH0
BOOL
R/W
if captured value < at threshold 0
%MWr.m.c.19.3
S1_TH1_INC
BOOL
R/W
on crossing threshold 1 + direction
%MWr.m.c.19.4
S1_TH1_DEC
BOOL
R/W
on crossing threshold 1 - direction
%MWr.m.c.19.5
S1_CAPT_GE_TH1
BOOL
R/W
if captured value ≥ at threshold 1
%MWr.m.c.19.6
S1_CAPT_LT_TH1
BOOL
R/W
if captured value < at threshold 1
%MWr.m.c.19.7
S1_HISP_INC
BOOL
R/W
on high setpoint crossing +direction
%MWr.m.c.19.8
S1_HISP_DEC
BOOL
R/W
on high setpoint crossing -direction
%MWr.m.c.19.9
S1_CAPT_GE_HISP
BOOL
R/W
if captured value ≥ with high setpoint
%MWr.m.c.19.10
S1_LOSP_INC
BOOL
R/W
on low setpoint crossing +direction
%MWr.m.c.19.12
S1_LOSP_DEC
BOOL
R/W
on low setpoint crossing -direction
%MWr.m.c.19.13
S1_CAPT_LT_LOSP
BOOL
R/W
if the captured value < at the low setpoint
%MWr.m.c.19.15
1 counter output RESET commands, %MWr.m.c.20
The table below shows the meanings of the bits of the command word %MWr.m.c.20. The requests used are those associated with parameters (READ_PARAM, WRITE_PARAM, e.g.: READ_PARAM (IODDT_VAR1)).
Standard symbol
Type
Access
Meaning: Switch 1 RESET condition
Address
R1_ENAB
BOOL
R/W
on confirmation
%MWr.m.c.20.0
R1_PRES
BOOL
R/W
on preset
%MWr.m.c.20.1
R1_CAPT
BOOL
R/W
on capture
%MWr.m.c.20.2
1 counter output RESET commands, %MWr.m.c.21
The table below shows the meanings of the bits of the command word %MWr.m.c.21. The requests used are those associated with parameters (READ_PARAM, WRITE_PARAM, e.g.: READ_PARAM (IODDT_VAR1)).
Standard symbol
Type
Access
Meaning: Switch 1 RESET condition
Address
R1_TH0_INC
BOOL
R/W
on crossing threshold 0 + direction
%MWr.m.c.21.0
R1_TH0_DEC
BOOL
R/W
on crossing threshold 0 - direction
%MWr.m.c.21.1
R1_CAPT_GE_TH0
BOOL
R/W
if captured value ≥ at threshold 0
%MWr.m.c.21.2
R1_CAPT_LT_TH0
BOOL
R/W
if the captured value is less than the 0 threshold
%MWr.m.c.21.3
R1_TH1_INC
BOOL
R/W
on crossing threshold 1 + direction
%MWr.m.c.21.4
R1_TH1_DEC
BOOL
R/W
on crossing threshold 1 - direction
%MWr.m.c.21.5
R1_CAPT_GE_TH1
BOOL
R/W
if captured value ≥ at threshold 1
%MWr.m.c.21.6
R1_CAPT_LT_TH1
BOOL
R/W
if captured value < at threshold 1
%MWr.m.c.21.7
R1_HISP_INC
BOOL
R/W
on high setpoint crossing +direction
%MWr.m.c.21.8
R1_HISP_DEC
BOOL
R/W
on high setpoint crossing -direction
%MWr.m.c.21.9
R1_CAPT_GE_HISP
BOOL
R/W
if captured value ≥ with high setpoint
%MWr.m.c.21.10
R1_LOSP_INC
BOOL
R/W
on low setpoint crossing +direction
%MWr.m.c.21.12
R1_LOSP_DEC
BOOL
R/W
on low setpoint crossing -direction
%MWr.m.c.21.13
R1_CAPT_LT_LOSP
BOOL
R/W
if the captured value < at the low setpoint
%MWr.m.c.21.15