Up Counter - GE PACSystems RX7i Cpu Programmer's Reference Manual

Hide thumbs Also See for PACSystems RX7i:
Table of Contents

Advertisement

Chapter 4. Ladder Diagram (LD) Programming
4.7.3

Up Counter

The Up Counter (UPCTR) function counts up to the Preset Value (PV). The range is 0 to +32,767
counts. When the Current Value (CV) of the counter reaches 32,767, it remains there until reset.
When the UPCTR reset is ON, CV resets to 0. Each time the power flow input transitions from OFF to
ON, CV increments by 1. CV can be incremented past the Preset Value (PV). The output is ON
whenever CV  PV. The output (Q) stays ON until the R input receives power flow to reset CV to zero.
The state of UPCTR is retentive on power failure; no automatic initialization occurs at power-up.
Operands
Parameter Description
Address
The beginning address of a three-word WORD array:
(???? )
Word 1: Current Value (CV)
Word 2: Preset Value (PV)
Word 3: Control word
R
When R is ON, it resets the counter's CV to 0.
PV
Preset Value to copy into word 2 of the counter's address when the
counter is enabled or reset. 0  PV  32,767. If PV is out of range, it
does not affect word 2.
CV
The current value of the counter
Example – Up Counter
Every time input %I0012 transitions from OFF to ON, the Up Counter counts up by 1; internal coil
%M0001 is energized whenever 100 parts have been counted. Whenever %M0001 is ON, the
accumulated count is reset to zero.
136
PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual
Do not use the Address of the up counter with other
instructions. Overlapping references cause erratic
counter operation.
Warning
Allowed
Operands
R, W, P, L, symbolic No
Power flow
All except S, SA, SB,
and SC
All except S, SA, SB,
SC and constant
Optional
No
No
No
GFK-2950C

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pacsystems rx3iPacsystems rsti-ep

Table of Contents