Mitsubishi — 3.14.3.1 Arithmetic Operation

Chapter 3 Creating and Editing Screens Multiply the value of $1 by $2 and store the value in $3 (this is an operation of signed 16-bit data). Multiply the value of $4 by $6 and store the value in $8 (this is an operation of signed 32-bit data).  sion) / (Divi Equation Var1 = Var2 / Var3 Explanation Perform the division of Var2 and Var3, and store the division result in Var1. Remark  The calculation result can be stored as signed or unsigned WORD and DWORD. When the data exceeds the length of designated unit, the data out of range will be discarded.  Var1 can b e internal memory only. Var2 and Var3 can be internal memory or constant.

 The value contained within Var3 cannot be equal to 0 (zero). 3-304 Revision May, 2010