Chapter 6 Applied Instructions The following table shows the execution results. Example 2 When M0 is ON, the instruction adds -10000 or 10000 to the value in (D0, D1), and stores the sum in (D11, D10). The following table shows the execution results. 6_ 6-391 Negative Positive Input value in Output value in D10 Function deviation deviation D0 -100 100 -10 D0 D10=(-10)+(-100) -110 0 D0=0=>D10=0 0 50 D0>0=>D10=50+100 150 Negative Positive Input value in (D1, Function Output value in (D11, deviation deviation D0) D10) -10000 10000 -10 (D1,D0) (D11,D10) =(-10)+(-10000) -10010 0 (D1,D0)=0 =>(D11,D10)=0 0 50 (D1,D0)>0 =>(D11,D10)=50+10000 10050