CD

Top  Previous  Next

 

At a rising slope of the RLO when executing this instruction the counter value is decremented by one. If the counter value is already zero it will not be changed.

 

Syntax:                CD        C 38

         CD        C [#Widx]        //#WIdx is Word with the number of the counter

         CD        #Count1        //#Count1 is COUNTER-In-Parameter

 

See also:

Counter in general

Set counter

Set the counter to the preset value PV

PV

The counter is set to this value at a rising slope at S

Reset counter

If this input is “1” the counter value will be set to ‘0’

CU

The same as CD, but up

 

FR (not implemented)

 

List of operations