beautypg.com

Rockwell Automation 1761 MicroLogix 1000 Programmable Controllers User Manual

Page 162

background image

Preface

MicroLogix 1000 Programmable Controllers User Manual

9–14

Overflow Trap Bit, S:5/0

Minor error bit (S:5/0) is set upon detection of a mathematical overflow or division
by zero. If this bit is set upon execution of an END statement, or a TND instruction,
a major error occurs.

In applications where a math overflow or divide by zero occurs, you can avoid a
controller fault by using an unlatch (OTU) instruction with address S:5/0 in your
program. The rung must be between the overflow point and the END or TND
statement.

Changes to the Math Register, S:13 and S:14

Move and logical instructions do not affect the math register.