
FANUC PMC-MODEL SD7
Programming Manual
01 01.11.26
Hanaoka
New
A-78550E
EDIT DATE DESIG.
DESCRIPTION
152/
316
TITLE
DRAW.NO.
4.2.4 Up Counter
4.2.4.1 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.