|
Topic: DMD0131 DEC - Decrement |
|
|
|
|
|
The Decrement (DEC) instruction decrements the value in the specified Element location by 1.
Note - this instruction is power-flow-based - not edge triggered - which means that it will decrement the specified location each PLC scan in which the input logic is TRUE.
|
|
Parameters:Note: Use the F9 key (Element Browser) or Down-Arrow key (Auto-Complete) at any time to see a complete list of the memory locations that are valid in the current field of the instruction.
Element - designates the memory location to decrement. This can be any writable numeric location.
|
|
|
|
|
See Also:
|
|
|
|
|
Related Topics:
|
|
|
|
|
Example:
|
|
|
|
|