The necessary mode setting for counter operation is described as follows.
For the details of each function used and how to set it, please refer to Function Reference.
Set external signal source to TTL, Photocoupler or Differential. (CntSelectChannelSignal function)
Set how to use input signal A phase and B phase. (CntSetOperationMode function)
Set how to count input signal A phase and B phase. (CntSetOperationMode function)
Set either synchronous clear or asynchronous clear. (CntSetOperationMode function)
Set whether to count up or count down for the input pulse. (CntSetCountDirection function)
Set Z phase usage count (Not Used / Next One Time / Every Time). (CntSetZMode function)
Set Z phase logic (Positive / Negative). (CntSetZLogic function)
Set the digital filter coefficient. (CntSetDigitalFilter function)