This section introduces the functional core of a channel of the TSX CTY2C module, consisting of the following blocks:
Hardware or software counter enable is a particular function, intrinsically related to the up/down counting function. For this reason, unlike the other functions, the counter enable function is present in this case.
The following illustration shows the main functions of a channel of the TSX CTY2C module. The associated language objects are described in
implicit objects part
The TSX CTY 2C module accepts five hardware input configurations, which are described in the table below (for each channel).
Module involved
|
TSX CTY 2C
|
Input configuration
|
-
One physical input IA ST_IA (%IWr.m.c.2.0) and a software input (counting direction).
-
Two physical inputs: IA (main) and IB ST_IB (%IWr.m.c.2.1) (counting direction).
-
Two physical inputs: IA (counting) and IB (down counting).
-
Three physical inputs: IA and IB on the incremental encoder and IZ ST_IZ (%IWr.m.c.2.6) on the encoder turn pulse.
-
A SSI series absolute encoder input/output interface, with:
|
Up/down counting enable
|
-
hardware: IVal input ST_IVAL (%IWr.m.c.2.2) (combined with Q2 output ST_Q2 (%IWr.m.c.2.12), to be configured), conditioned by the Enable software command ENAB_IENAB (%Qr.m.c.5),
-
directly using the software (Direct enable command DIR_ENAB (%Qr.m.c.0)).
|