Publication 1763-RM001C-EN-P - October 2009
574
How to Use 40kHz PTO/PWM of MicroLogix 1100 Series B Controller
To solve this issue, variable type should be changed to Long Type (32-bit)
by CPW instruction before the execution of these instructions as shown
below.
•
ADD/ SUB/ MUL Instruction
To get an unsigned result without Math Overflow Error from ADD/ SUB/
MUL instructions, S:2/14 (Math Overflow Selected) bit should be set and
the S:5/0 (Math Overflow Trap) bit should be cleared after the execution
of these instructions.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive