X20 system modules • Counter modules • X20DC4395
X20 system User's Manual 3.10
865
4.11.17.12.4.4 Input states of the channels
Name:
see "Name in the AS I/O configuration"
This register reads the input status of a physical channel. The polarity settings are accounted for in the value (bit
2 in 4.11.17.12.4.1 "CfO_CFGchannel[x]" register).
The bits in this register are shown in the AS I/O mapping table under different names based on the function used
in order to improve readability.
Data type
Value
USINT
See bit structure.
Bit structure:
Bit
Physical input channel
Value
Name in the AS I/O configuration
0
Channel 1
0 or 1
DigitalInput01
1
Channel 2
0 or 1
DigitalInput02
StatusDigitalOutput02
ComparatorActualValue02
ComparatorActualValue03
2
Channel 3
0 or 1
DigitalInput03
3
Channel 4
0 or 1
DigitalInput04
StatusDigitalOutput04
ReferenceEnableSwitch01
ComparatorActualValue01
ComparatorActualValue02
ComparatorActualValue03
4
Channel 5
0 or 1
DigitalInput05
5
Channel 6
0 or 1
DigitalInput06
StatusDigitalOutput06
ComparatorActualValue01
6
Channel 7
0 or 1
DigitalInput07
7
Channel 8
0 or 1
DigitalInput08
StatusDigitalOutput08
ReferenceEnableSwitch02
ComparatorActualValue01
ComparatorActualValue02
ComparatorActualValue03
4.11.17.12.4.5 Output states of the channels
Name:
DigitalOutput02 to DigitalOutput08
The output status of a physical channel can be written using this register. In order to configure a channel as an
output:
1 Bit 0 "Push" and/or bit 1 "Pull" must be enabled in the 4.11.17.12.4.1 "CfO_CFGchannel[x]" register.
2 Bits 4 to 7 in the 4.11.17.12.4.1 "CfO_CFGchannel[x]" register must be set to Direct I/O.
3 0 must be set for the respective channel in the 4.11.17.12.4.2 "CfO_OutClearMask" and 4.11.17.12.4.3
Data type
Value
USINT
See bit structure.
Bit structure:
Bit
Description
Value
Information
0
Reserved
-
1
DigitalOutput02
0 or 1
Output status of channel 2
2
Reserved
-
3
DigitalOutput04
0 or 1
Output status of channel 4
4
Reserved
-
5
DigitalOutput06
0 or 1
Output status of channel 6
6
Reserved
-
7
DigitalOutput08
0 or 1
Output status of channel 8
Summary of Contents for X20 System
Page 2: ......