Fieldgate FXA42
Operation
Hauser
47
Unit
Description
Div
A0034222
This unit performs a division. It divides the first input port by all the subsequent input ports and writes
the quotient to its output port. If one of the input ports has the value
0
, the output port is set to
0
.
The division is performed in the largest numeric data type of all the output ports that are connected to
the input ports of the unit. All the ports of the unit adopt this data type.
X
N
Extract
A0034228-EN
This unit extracts a single bit from the value of its input port
X
(32-bit unsigned integer). The relevant
bit is selected by the input port
N
(8-bit unsigned integer). The bit is written to the Boolean output
port. Bit numbering starts at 0.
First Cycle
A0034229-EN
This unit has a single Boolean output port that is set to
1
only during the first cycle after the PLC has
been started.
This unit is processed in the input stage of the IPO cycle.
Max
A0034230
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 largest numeric data type of all the output ports that are connected
to the input ports of the unit. All the ports of the unit adopt this data type.
Min
A0034231
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 largest numeric data type of all the output ports that are connected
to the input ports of the unit. All the ports of the unit adopt this data type.
Mul
A0034232
This unit performs a multiplication. It multiplies the values of its input ports and writes the result to
its output port.
The multiplication is performed in the largest numeric data type of all the output ports that are
connected to the input ports of the unit. All the ports of the unit adopt this data type.
Mux
K
In0
In1
A0034233
This unit represents a multiplexer. It copies the value of the input port
In<K>
to the output port. The
relevant input port is selected by the input port
K
(8-bit unsigned integer).
In0
is selected if
K
equals
0
.
If the value for
K
is too low,
In0
is selected. If the value for
K
is too high, the input port with the
highest index value is selected.
The input ports
In<K>
and the output port adopt the largest data type of all the output ports
connected to one of the input ports
In<K>
.