How to configure a special function (TSX CTY2C)
(Original Document)
At a Glance
The special functions of the TSX CTY2C module are used to respond to certain particular needs that are not covered by the standard functions.
The table below shows the objects of these functions and the numbers of the version required for the module:
Function No.
Description
Version
module
1
Time lapsed between the last pulse and a hardware capture occurrence.
1.0
2
Triggering a direct and synchronized capture and preset with each rising edge of the programmable frequency output.
1.0
3
Speed checks correct and moving part stationary.
1.1
Functions that are specific to a case can also be developed.
Compatibility of special functions
Any attempt to configure a counting module with an unsupported special function will result in an application error.
The counting module version is indicated on the product reference label found on the module's right side.
Configuring several special functions
It is possible to configure two special functions simultaneously if they are not exclusive, that is to say if there is no overlap between their language objects. In practice, these are functions nos. 1 and 2.
The table below summarizes the properties of reciprocal exclusions.
Funct. No. 1
Funct. No. 2
Funct. No. 3
Funct. No. 1
-
Non exclusive (1)
Exclusive
Funct. No. 2
Non exclusive (1)
-
Exclusive
Funct. No. 3
Exclusive
Exclusive
-
(1) When special functions 1 and 2 are used simultaneously, the time calculation of special function number 1, %IDr.m.c.11, can only be accessed in a Fast or Mast task, on capture done CAPT_DONE (%Ir.m.c.2=1).
Procedure
The table below summarizes the procedure for configuring the special functions of the TSX CTY2C module.
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 the counting function and the task.
Result: the configuration screen appears.
4
In the Special functions zone, enter the number of the special function in one of the Num fields.
Enter the number of the second special function, if necessary. A zero means that no function has been selected.
5
Complete the Parameter field if necessary, for special function number 3 for example.
6
Special function(s) 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.