FANUC PMC-MODEL SD7
EDIT DATE DESIG.
4.2.4 Up Counter
126.96.36.199 UPCTR(address, r, pv)
Each time UPCTR executes, it checks the current value of the Boolean accumulator. If that value has transitioned to
ON, then UPCTR increments the current value 'CV'; otherwise, CV remains the same. When the 'PV' value is reached,
the enable output turns ON and stays on until 'r' input becomes True to reset 'CV' to zero.
address: WORD variable; the beginning address of a three-word WORD array. Word 1 - Current Value 'CV', Word 2 -
Preset Value 'PV', Word 3 - Control Word.
r: BOOL variable; resets the counter when True.
pv: INT variable or constant (0 - 32,767); preset value.
For more details, see LD Functions.
Note: IL and LD functions are generally the same, with some differences in data types for operands.