EasyManuals Logo

Omron NJ501-1500 User Manual

Omron NJ501-1500
990 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #190 background imageLoading...
Page #190 background image
2 Instruction Descriptions
2-142
NJ-series Instructions Reference Manual (W502)
CTUD
The CTUD instruction creates an up-down counter that operates according to an up-counter input and a
down-counter input. The preset value and counter value must have an INT data type.
Instruction Name FB/FUN Graphic expression ST expression
CTUD Up-down Counter FB CTUD_instance (CU, CD,
Reset, Load, PV, QU, QD,
CV);
Variables
Name Meaning I/O Description Valid range Unit Default
CU Up-counter
input
Input
Up counter input
Depends on data type.
---
FALSE
CD Down-
counter
input
Down counter input
Reset Reset
signal
TRUE: Reset CV to 0.
Load Load signal TRUE: CV set to PV.
PV Preset
value
The final counter value
when operating as an up
counter
The initial counter value
when operating as a down
counter
0 to 32767 0
QU Up-counter
output
Output
TRUE: up-counter output
ON
FALSE: up-counter output
OFF
Depends on data type.
--- ---
QD Down-
counter
output
TRUE: down-counter output
ON
FALSE: down-counter out-
put OFF
CV Counter
value
Counter present value 0 to 32767
Boolean
Bit string Integers
Real
numbers
Times, durations,
dates, and text strings
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
CU OK
CD OK
Reset OK
Load OK
CTUD
CU QU
CD QD
Reset CV
Load
PV
CTUD_instance

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NJ501-1500 and is the answer not in the manual?

Omron NJ501-1500 Specifications

General IconGeneral
BrandOmron
ModelNJ501-1500
CategoryController
LanguageEnglish

Related product manuals