X20 system modules • Counter modules • X20DC2395
X20 system User's Manual 3.10
811
Configure the comparator mask for the input function
Name:
CfO_Ev0CompMask
If a bit is set, then the input status of the respective channel is compared with that bit in the
"CfO_DIREKTIOeventcompState" register.
Data type
Value
USINT
See bit structure.
Bit structure:
Bit
Description
Value
Information
0
Do not compare bit
0
Channel 1
1
Compare bit in register
...
...
0
Do not compare bit
3
Channel 4
1
Compare bit in register
4 - 7
Reserved
0
4.11.14.12.5.4 Direct output functions
The module has 2 of these event functions
The effect of executing this event function is similar to writing to the 4.11.14.12.4.5 "DigitalOutput02 and 04" reg-
isters. When this event function is triggered, however, the changed output states are passed on to the hardware
immediately, regardless of the X2X cycle.
When this event function is used, the masks of the respective outputs (see 4.11.14.12.4.2 "CfO_OutClearMask"
and 4.11.14.12.4.3 "CfO_OutSetMask" registers) must be set to 1. Otherwise the output status would constantly
be overwritten by the values in the 4.11.14.12.4.5 "DigitalOutput02 and 04" registers.
Configure event ID for output function
Name:
CfO_DIREKTIOevent0IDwr to CfO_DIREKTIOevent1IDwr
These registers hold the event IDs that trigger the direct output function. For a list of all possible event IDs, see
4.11.14.12.5.1 "List of event IDs"
Data type
Value
Information
INT
192 to 7,233
ID of event function
Configure channels for resetting
Name:
CfO_DIREKTIOoutclearmask0 to CfO_DIREKTIOoutclearmask1
Writing "1" to the bit position that corresponds to a channel resets the output if the output event function is being
executed. This corresponds to writing "0" to the 4.11.14.12.4.5 "DigitalOutput 02 and 04" registers.
The bit that corresponds to channels that should be reset should be set to "1" in the 4.11.14.12.4.2
Data type
Value
USINT
See bit structure.
Bit structure:
Bit
Description
Value
Information
0
Reserved
-
0
Reset channel 2
1
Channel 2
1
Do not reset channel 2
2
Reserved
-
0
Reset channel 4
3
Channel 4
1
Do not reset channel 4
4 - 7
Reserved
-
Summary of Contents for X20 System
Page 2: ......