Rockwell Automation Publication 1756-RM100F-EN-P - October 2018 115
Instruction Execution Chapter 6
XPY Instruction
This implementation matches the industry standard behavior for raising X to
the power of Y.
Mitigation
N/A
0.0 div 0.0
The special case of a floating point divide of zero by zero now results in a NAN
value. Legacy controllers produced infinity.
This implementation affects the DIV instruction.
Mitigation
Inspect your applications for the Divide operation and correct accordingly.
Language Affected
Ladder Logic (RLL) Yes
Struc tured Text (ST) Yes
Function Blocks (FBD) Yes
Sequential Function Chart (SFC) Yes
(1)
(1) Only affects embedded Structured Text.
5580/5380 Controllers 5570/5370 Controllers
Language Affected
Ladder Logic (RLL) Yes
Struc tured Text (ST) Yes
Function Blocks (FBD) Yes
Sequential Function Chart (SFC) Yes
(1)
(1) Only affects embedded Structured Text.
5580/5380 Controllers 5570/5370 Controllers
DIV(0.0, 0.0, dest) now produces NAN. DIV(0.0, 0.0, dest) used to produce infinity.