284 Rockwell Automation Publication 1756-RM006K-EN-P - November 2018
back in during the next scan. In this manner, position information is not lost over
the course of the operation.
In the Absolute mode, the instruction can scale an input, such as position, without
losing any information from one scan to the next.
Calculating the Output and Remainder
The PMUL instruction uses these equations to calculate Out in either relative or
absolute mode:
Ans = ((DiffInput x Multiplier) + INT_Remainder)
INT_Out = Ans / 100,000
INT_Remainder= Ans - (INT_Out * 100,000)
Out = INT_Out
Affects Math Status Flags
No
Major/Minor Faults
None specific to this instruction. See Common Attributes for operand-related
faults.