The library EventData.lib
**) moduleType
Index number for the input/output module:
CECX-D-8E8A-NP = 6,
CECX-D-6E8A-PN = 7,
CECX-D-16E = 8,
CECX-D-14A-2 = 9.
***) E
v
entMask
The data of both interrupt-capable digital inputs are available (bit-coded) and can be masked out with the
following bit mask:
DI0 Falling Edge = 0x00000001,
DI0 Rising Edge = 0x00000002,
DI1 Falling Edge = 0x00000004,
DI1 Rising Edge = 0x00000008;
Example:
In order to determine if the last interrupt was triggered by a rising edge on the digital input DI0, the
EventMask parameter must be masked with 0x00000002.
IF (lastValidIntrEdge.eventMask AND 2) = 2 THEN ...
Output variable Data type Description
GetLastIntrEdge BOOL Return value:
TRUE ... Function successfully executed,
FALSE ... Function was not successfully
completed.
CECX-IV 2