![Moeller XIOC Hardware And Engineering Download Page 40](http://html1.mh-extra.com/html/moeller/xioc/xioc_hardware-and-engineering_1819287040.webp)
04/03 AWB2725-1452GB
36
Functional sequence for pulse processing (example)
The following examples illustrate the functional sequence for
processing pulses.
Actions that you can perform yourself are marked by the
X
symbol. The functions are executed by commands that you can
enter at the function block inputs, or by applying “0” or “1”
signals to the inputs of the “CounterControl” block. Commands
are shown in capital (upper case) letters, inputs are shown in lower
case letters. The values shown in brackets represent the initial
state.
Linear counter
Ring counter
Function
Command or input
X
Set comparison value 1
WRITESETTINGVALUE1
X
Set the output specification
(the module outputs must be
assigned to the comparison value 1
in order to set the specification)
SPECIFYOUTPUT
X
Set the preset value
(when using referencing)
WRITEPRESETVALUE
X
Enable counter inputs
1)
Counter
n
Enable (1)
X
Enable Latch/Level outputs
1)
CompareOutput
n
Enable (1)
For referencing
X
Enable reference inputs
1)
ReferenceMarker
n
Enable (1)
Initiate referencing
When the reference signal is received, the preset value will overwrite the
actual value, e.g. actual value = 0.
X
Inhibit reference inputs
ReferenceMarker
n
Enable (0)
Start counting (pulses are counted)
• If actual value = comparison value 1:
– Latch output (=) is set to a “1” signal
– Equal flag is set to a “1” signal
– Stop counting
• If actual value > comparison value 1:
– Level output (>) is set to “1”
X
Reset Latch output and Equal flag
– Set the ClearEqual flag (Equal flag is
set to “0”, Latch output (=) is set to
“0”)
Clear Equal
n
(1)
X
Reset the ClearEqual flag
ClearEqual
n
(0)
X
Set new comparison value
WRITESETTINGVALUE1
...
The Overflow flag is set when the count
changes from FFFFFFFF
hex
l
0:
X
Reset Overflow flag
CLEAROVERFLOW
The Underflow flag is set when the count changes from 0
l
FFFFFFFF
hex
X
Reset Underflow flag
CLEARUNDERFLOW
1) Can be performed simultaneously, by using a pulse at the “Strobe”
input of the “CounterControl” block.
Function
Command or input
X
Set start value
WRITEPRESETVALUE
X
Set end value
WRITESETTINGVALUE1
X
Set comparison value 2
WRITESETTINGVALUE2
X
Set the output specification
(the module outputs must be
assigned to the comparison value 2
in order to set the specification)
SPECIFYOUTPUT
X
Enable counter inputs
1)
Counter
n
Enable (1)
X
Enable Latch output
1)
CompareOutput
n
Enable (1)
Start counting (pulses are counted)
• If actual value = comparison value 2:
– Latch output (=) is set to a “1” signal
– Equal flag is set to a “1” signal
– Stop counting
X
Reset Latch output and Equal flag
– Set the ClearEqual flag (Equal flag is
set to “0”, Latch output (=) is set
to “0”)
Clear Equal
n
(1)
X
Reset the ClearEqual flag
ClearEqual
n
(0)
X
Set new comparison value 2
WRITESETTINGVALUE2
...
1) Can be performed simultaneously, by using a pulse at the “Strobe”
input of the “CounterControl” block.
For Immediate Delivery call KMParts.com at (866) 595-9616
Summary of Contents for XIOC
Page 4: ...II For Immediate Delivery call KMParts com at 866 595 9616...
Page 8: ...04 03 AWB2725 1452GB 4 For Immediate Delivery call KMParts com at 866 595 9616...
Page 24: ...04 03 AWB2725 1452GB 20 For Immediate Delivery call KMParts com at 866 595 9616...
Page 52: ...04 03 AWB2725 1452GB 48 For Immediate Delivery call KMParts com at 866 595 9616...