<Toc> <Ind>
<2. Functions and Operation >
2-7
IM 34M6H54-01E
■
Comparing Counter Values with Preset Values
This module can provide two preset values (1 and 2) per input channel.
Counter values are always compared with these preset values.
•
Equal (counter value = preset value)
•
Counter value is smaller than the preset value (counter value < preset value)
•
Counter value is equal to or greater than the preset value (counter value
≥
preset
value)
These comparisons are applied to the input relays X
uuu
01 to X
uuu
31 (not including
X
uuu
04, X
uuu
08, X
uuu
12, X
uuu
16, X
uuu
19, X
uuu
20, X
uuu
23, X
uuu
24,
X
uuu
27, and X
uuu
28).
Input relays X
uuu
01 to X
uuu
15 (not including X
uuu
04, X
uuu
08, and X
uuu
12) and
the corresponding external outputs will be off (0) if the related output relays Y
uuu
33
through Y
uuu
47 (not including Y
uuu
36, Y
uuu
40, and Y
uuu
44) change from off (0) to
on (1).
Preset value 2 is applicable as a maximum value of the ring up-counter.
The following gives an example of the coincidence of a counter value and the preset value.
When the set value is 0 (initial value):
The coincidence is detected when a counter value exceeds its maximum value and
returns to 0.
When $FFFF is set for the set value:
The coincidence is detected when the counter value exceeds $FFFE and then
reaches $FFFF.
TIP
The coincidence of a counter value with a preset value is detected when the counter value reaches the
preset value. However, when an output relay resets a counter value to 0 and the preset value is 0, or
when the set value has been changed to agree with the current counter value, the coincidence will not be
detected.
■
Interrupts
An interrupt can be allowed in the following states:
(1)
When the counter value and preset value 1 coincide;
(2)
When the counter value and preset value 2 coincide; and
(3)
When the counter value resets to 0 (zero).
This interrupt is allowed by declaring an interrupt.
1st Edition : Feb.01,1999-00
Summary of Contents for F3XS04-3N
Page 2: ...Blank Page ...
Page 8: ...Blank Page ...
Page 10: ...Blank Page ...
Page 56: ...Blank Page ...
Page 66: ...Blank Page ...