Ctud - Allen-Bradley Micro800 General Instructions Manual

Programmable controllers
Hide thumbs Also See for Micro800:
Table of Contents

Advertisement

CTUD

Parameter
CU
CD
RESET
LOAD
PV
QU
QD
CV
CTUD counts (integers) from 0 up to a given value, 1 by 1, or from a given value
down to 0 (1 by 1).
Arguments
Parameter type
Data type
Input
BOOL
Input
BOOL
Input
BOOL
Input
BOOL
Input
DINT
Output
BOOL
Output
BOOL
Output
DINT
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
Description
Up-counting (when CU is a rising edge).
Down-counting (when CD is a rising edge).
Reset dominant command.
(CV = 0 when RESET is TRUE).
Load command (CV = PV when LOAD is TRUE).
Programmed maximum value.
Overflow: TRUE when CV >= PV.
Underflow: TRUE when CV <= 0.
Counter result.
Chapter 11
Counter instructions
273

Advertisement

Table of Contents
loading

Table of Contents