Use function AioStartCnt to start counter action.
Ret = AioStartCnt ( Id CntChannel )
Starts the counter action according to the set condition. Sets the channel number of counter in the CntChannel.
Use function AioStopCnt to stop counter action.
Ret = AioStopCnt ( Id CntChannel )
Sets the channel number of counter in the CntChannel.
Use the AioPresetCnt function, the count value can be set directly.
Ret = AioPresetCnt ( Id CntChannel PresetData )
Sets the channel number of counter in the
CntChannel.
Specifies the count value to be preset in the PresetData.
Regardless of the start/stop of the counter action, it is possible to perform the preset with this function.