HMS Sequence Editor 12 (148)
This unit represents a counter. Every rising edge (transition from 0to 1) on the
boolean Clk input port will increase the numeric value on the Val output port (32-bit unsigned
integer) by one. If the value on the boolean Down input port is 1, the counter value will be
decremented instead. The maximum value that can be put out on the Val port
is 4,294,967,295 (232-1). The minimum value is 0. An overflow (from 4,294,967,295 to 0 or
vice versa) will be indicated through the boolean Over output port. Its value will be 1until the
next clock pulse increments or decrements the counter value again or the counter is reset.
If the value on the boolean Rst input port is 1, the counter value will be reset to the current
value of the RVal input port (32-bit unsigned integer).
The IVal input port can be used to assign an initial value to the counter.
This unit represents a demultiplexer. It copies the value of the In input port to
the Out<K> output port. The respective output port is selected through the Kinput port (8-bit
unsigned integer). Out0 is selected when Kis 0.
If the value of Kis too low, Out0 is selected. If the value of Kis too high, the output port with
the highest index is selected.
The value of the boolean Store input port determines whether a previously selected output
port will keep its value (Store 1) or will be reset to 0(Store 0).
The In input port and all the output ports will adopt the data type of the output port
connected to the In input port.
This unit performs a division. It devides the first input port through all subsequent input ports
and writes the quotient to its output port. If one of the input ports is 0, the output port is set
to 0.
The division is performed in the greatest numeric data type of all output ports connected to
the unit's input ports. All ports of the unit will adopt this data type.
This unit extracts a single bit from the value of its Xinput port (32-bit unsigned integer). The
respective bit is selected through the Ninput port (8-bit unsigned integer). The bit is written
to the boolean output port. Bit numbering starts at 0.
This unit has a single boolean output port which is set to 1only during the first cycle after the
PLC has been started.
This unit is processed during the input stage of the IPO cycle.
With this unit a load profile can be captured. At a rising edge on the Trigger input port the
current value of the Counter input port as well as the absolute difference between the values
of the Counter input port and the Prev output port will be stored. The difference will be put
out on the Diff output port. The stored counter value will be put out on the Prev output port
from the following cycle.
This unit determines the maximum value of all of its input ports and writes this value to its
output port.
The function is performed in the greatest numeric data type of all output ports connected to
the unit's input ports. All ports of the unit will adopt this data type.
This unit determines the minimum value of all of its input ports and writes this value to its
output port.
The function is performed in the greatest numeric data type of all output ports connected to
the unit's input ports. All ports of the unit will adopt this data type.
This unit performs a multiplication. It multiplies all input ports and writes the product to its
output port.
The multiplication is performed in the greatest numeric data type of all output ports
connected to the unit's input ports. All ports of the unit will adopt this data type.
This unit represents a multiplexer. It copies the value of the In<K> input port to the output
port. The respective input port is selected through the Kinput port (8-bit unsigned
integer). In0 is selected when Kis 0.
If the value of Kis too low, In0 is selected. If the value of Kis too high, the input port with the
highest index is selected. The In<K> input ports and the output port will adopt the greatest
data type of all output ports connected to one of the In<K> input ports.
This unit represents an on/off controller. It switches its boolean output port on or off when
the value of the Act input port crosses the values of the SetOn or SetOff input ports
respectively. The boolean En input port can be used to enable the unit. If it is 0, the output
port will always be 0, too.
When SetOn =SetOff, the unit's behaviour is represented by diagram 1. The output port will
be switched on, when Act SetOn. The output port will be swiched off, when Act <= SetOff.
Anybus Edge Gateway Reference Guide SCM-1202-154 1.0 en-US