94
D320 PLC User's Manual
Instruction
Mnemonic
Up/Down Counter
Range
■
Bit
Word
UDC
Up/Down counter
Double words
Ladder
Description
1. When the up count input (U input) turns On, the Present Value (PV) increases by 1. When the
down count input (D input) turns On, PV decreases by 1. When PV is greater than or equal to
the Set Value (SV) or is reduced to 0, the output done contact turns On.
2. In the following cases, the output done contact changes from On to Off:
When the reset input is turned On.
When the PV is decreased below the SV by the down count pulse input.
When the PV increases from 0 to 1 by the up count pulse input.
3. If the reset input (R input) is On, the output is Off. In this state, the up/down counter input
pulses are ignored and the Present Value stays reset to 0.
4. When the up count input pulse and the down count input pulse occur at the same time, the PV
does not change.
5. When the PV is 0, if the down count pulse is input, the Present Value does not change, and
the output is On. When the Present Value is 65,535, even if the up-counter pulse is input, the
Present Value 65,535 is maintained.
6. When the counter Set Value is 0, if the reset input is On then the output is Off. If up or down
is input while the reset input is Off, the output changes to On.
7. The timer/counter channel can only be used once. It cannot be reused by other timer or
counter instructions (TIM, SST, TOF, UC, DC, RCT). The number of channels available is
256 (Ch 0 through Ch 255).
8. The SV can be set to a maximum value of 65,535.
CAUTION:
This instruction operates differently than the UDC instruction of the Cutler-
Hammer D50/D300 PLC. Please read and understand the above information
before using.
condition
1
condition
2
condition
3
UDC
U CH =
SV =
S
R
U input
(condition 1)
D input
(condition 2)
Reset
(condition 3)
Present
Value (PV)
Output (TC)
Set Value
(SV)
Содержание D320 PLC
Страница 1: ...D320 PLC User s Manual...
Страница 18: ...6 D320 PLC User s Manual...
Страница 28: ...16 D320 PLC User s Manual...
Страница 34: ...22 D320 PLC User s Manual...
Страница 78: ...66 D320 PLC User s Manual...
Страница 176: ...164 D320 PLC User s Manual...
Страница 210: ...198 D320 PLC User s Manual...
Страница 258: ...246 D320 PLC User s Manual...