How to configure the capture of a counting register
(Original Document)
At a Glance
This parameter defines how to capture the current counting register value at a precise moment defined by the signal on the physical input ICapt ST_CAPT (%IWr.m.c.2.4). This function only exists in up/down counting (TSX CTY 2A / 4A) and up/down counting and measurement (TSX CTY 2C).
Hardware capture configuration is defined in the Capture on ICapt zone in the configuration screen. There are two available options:
Notes
So that capture takes place correctly, it must be enabled beforehand by the software using the corresponding language objects, run by the project.
Direct capture by the software does not require the following procedure to be set up.
Procedure
The table below summarizes the procedure for configuring hardware capture with TSX CTY 2A, 4A and 2C modules.
Step
Action
1
Open the module to be configured.
2
In the channel field: select the counter (i.e. the channel) concerned.
3
In the general parameters field: select or enable the counting function and the task.
Result: the configuration screen appears
4
In the Capture on ICapt zone click on the drop-down menu button.
Result: the list of options below appears.
5
Select the hardware capture edge required.
6
Hardware capture configuration is complete.
If there are no more parameters to configure, enable the new configuration. To do this:
  • scroll down the Edit menu and select the Enable command.