Allen-Bradley LOGIX 5000 Reference Manual page 283

Controllers advanced process control and drives and equipment phase and sequence instructions
Hide thumbs Also See for LOGIX 5000:
Table of Contents

Advertisement

Drives
Mode
BOOL
WordSize
DINT
Multiplier
DINT
Output
Data Type
Parameter
EnableOut
BOOL
Out
REAL
Status
DINT
InstructFault
BOOL
(Status.0)
WordSizeInv
BOOL
(Status.1)
OutOverflow
BOOL
(Status.2)
LostPrecision
BOOL
(Status.3)
MultiplierInv
BOOL
(Status.4)
Description
The PMUL instruction operates in Relative or Absolute mode.
In Relative mode, the instruction's output is the differentiation of the input from
scan to scan, multiplied by the (Multiplier/100,000). In Relative mode, the
instruction saves any remainder after the divide operation in a scan and adds it
Rockwell Automation Publication 1756-RM006K-EN-P - November 2018
The mode input. Set to enable Relative mode. Clear to enable Absolute mode.
Default is set.
The word size in bits. Specify the number of bits to use when computing (In
Relative mode.
WordSize is not used in Absolute mode.
When the change in In is greater than 1/2 * 2
When WordSize is invalid,Out is held and the instruction sets the appropriate bit in
Status.
Valid = 2 to 32
Default = 14
The multiplier. Divide this value by 100,000 to control the ratio of In to Out. If invalid,
the instruction limits the value and sets the appropriate bit in Status.
Valid = -1,000,000 to 1,000,000
Default = 100,000
Description
Enable output.
The instruction's Out. If the Out calculation overflows, Out is forced to
appropriate bit in Status is set. Math status flags are set for this output.
Status of the function block.
The instruction detected one of the following execution errors. This is not a minor or
major controller error. Check the remaining status bits to determine what occurred.
Invalid WordSize value.
The internal output calculation overflowed.
Out < -2
or Out > 2
. When the instruction converts Out from an integer to a real
24
24
value, data is lost if the result is greater than |2
limited to 2
.
24
Invalid Multiplier value.
Chapter 2
-In
) in
n
n-1
(Wordsize-1)
, Out changes sign.
+
/-
and the
24
| because the REAL data type is
283

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents