Standard function blocks362CTD_DINT(10046)IllustrationExecution time 0.92 μsOperation The counter output (CV) value is decreased by 1 if the counter input (CD) valuechanges from 0 -> 1 and the load input (LD) value is 0. If the load input (LD) value is 1,the preset input (PV) value is stored as the counter output (CV) value. If the counteroutput has reached its minimum value -2147483648, the counter output remainsunchanged.The status output (Q) is 1 if the counter output (CV) value < 0.Example:Inputs Load input (LD): BooleanCounter input (CD): BooleanPreset input (PV): DINTOutputs Counter output (CV): DINTStatus output (Q): BooleanCTU(10049)IllustrationExecution time 0.92 μsCTD_DINT 94TLA1 1 msec (1)LD>CDPVCV CV(94)Q Q(94)LD CD PV Q CV prev CV0 1 -> 0 10 0 5 50 0 -> 1 10 0 5 5 - 1 = 41 1 -> 0 -2 1 4 -21 0 -> 1 1 0 -2 10 0 -> 1 5 1 1 1 -1 = 01 1 -> 0 -2147483648 1 0 -21474836480 0 -> 1 10 1 -2147483648 -2147483648CVprev is the previous cycle counter output value.CTU 95TLA1 1 msec (1)>CURPVCV CV(95)Q Q(95)