Topic: DMD0131
Help File Version: 2.9.4.37
DEC - Decrement
|
|
The Decrement (DEC) instruction decrements the value in the specified
Element location by 1. Take note that 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 to open the Default Element Selection Tool (the Element Picker or the Element Browser) or use the Down-Arrow key (Auto-Complete) on
any parameter field to see a complete list of the memory locations that are valid for that parameter of the instruction.
Element - specifies the numeric memory location to decrement. This can
be any writable numeric location.
|
|
See Also:
DEC - Decrement
INC - Increment
|
|
Related Topics:
CNT - Up Counter
CNTDN - Down Counter
UDC - Up / Down Counter
|
|
Example:
|
|