Confirming the events
(Original Document)
Event sources
The TSX CCY 1128 module includes 7 sources of events. Each of these can produce a maximum of one event per ms.
Confirming events
For a source to be able to produce its events, its validation bit must be set to 1. (for example: EVT_CAPT0_ENABLE for the capture event 0).
Processing
All the events sent by the module, regardless of the source, call up the same single event task in the PLC system.
There is normally only one type of event signaled per call. The switch to angle modulo information is signaled when the switch to Cycle modulo occurs. The source producing the call is determined in the event task via the Events input variable (%IWxy.0.12). This variable is updated at the beginning of event task processing.
Conditions
The number of the event task must be declared on the module configuration screen.
The module cannot send out more than one event per ms. This flow can be stopped if several modules send out events simultaneously on bus X.
The module has a buffer with 7 spaces that can be used to store several events awaiting transmission.
If the module cannot send all the internally produced events, the OVERRUN_EVT bit of the Events variable switches to 1.
For the "Modulo crossing" event, the configured current value format must be either type 2 (cyclic) or type 3 (infinite).