Capture function for data module counters
(Original Document)
Description
Capture is used to copy the current value of the up/down counting register to a capture register. It therefore fixes the immediate value at the precise moment the operation started.
Capture is only possible in combined up/down counting mode (all modules).
Module TSX CTY 2C also has a combined captured mode in the hardware preset (see: Capture, TSX CTY 2C module specific features).
Capture done CAPT_DONE information (%Ir.m.c.2) is an event which can undergo an event processing operation.
Triggering a capture
The operation is triggered:
NOTE: time performances are at a maximum when ICapt input is configured on the rising or falling edge.
Function hardware structure
The figure below shows the hardware structure of the capture function. The associated language objects are described in the default objects section.
Operation
The time diagram below shows the capture mode on the rising edge of ICapt. The other modes (capture on falling edge, on rising and falling edges) are similar.