Integer Math Instructions
Statement List (STL) for S7-300 and S7-400 Programming
A5E00706960-01
7-7
Example: 13 divided by 4
Contents of ACCU 2-L before instruction (IW10): "13"
Contents of ACCU 1-L before instruction (MW14): "4"
Instruction /I (ACCU 2-L / ACCU 1-L): "13/4"
Contents of ACCU 1-L after instruction (quotient): "3"
Contents of ACCU 1-H after instruction (remainder): "1"
Comments to this Manuals