Ny-Series Instructions Reference Manual (W560 - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

The following table shows the relationship between Reset, Load, CV, QU, and QD. This assumes that
the value of PV is larger than 0.
Reset
Load
FALSE
FALSE
TRUE
FALSE
FALSE
TRUE
TRUE
TRUE
The following figure shows a programming example and timing chart for a PV of INT#3.
LD
CTUD_instance
A
CU
CD
B
abc
Reset
def
Load
PV
INT#3

NY-series Instructions Reference Manual (W560)

CV
QU
QD
0 or
FALSE
TRUE
lower
Between
FALSE
FALSE
0 and PV
PV or
TRUE
FALSE
higher
0
FALSE
TRUE
PV
TRUE
FALSE
0
FALSE
TRUE
ST
CTUD_instance(A, B, abc, def, INT#3, ghi, jkl, mno);
ghi
CTUD
QU
QD
jkl
CV
mno
2 Instruction Descriptions
Operation
Only up counter operation is performed.
• CV is incremented when CU changes to TRUE. It is
not decremented when CD changes to TRUE.
Both up and down counter operation is performed.
• CV is incremented when CU changes to TRUE and
decremented when CD changes to TRUE.
Only down counter operation is performed.
• CV is decremented when CD changes to TRUE. It is
not incremented when CU changes to TRUE.
The up counter is reset.
• The value of CV is set to 0.
The down counter is reset.
• The value of CV is set to PV.
The up counter is reset. Reset take priority over Load.
• The value of CV is set to 0.
2
2-157

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents