Mitsubishi — 3.14.3.1 Arithmetic Operation

Chapter 3 Creating and Editing Screens 3.14.3 Macro Operation 3.14.3.1 Arithmetic Operation There are two Arithmetic Operations, which include Integer Operation and Float Operation. Each operand can be the internal memory or constant. The operands that store output results must be the internal memory. For details, refer to this table and examples below.  + (Addition) Equation Var1 = Var2 + Var3 Explanation Perform the addition on Var2 and Var3, and store the addition 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 be internal memory only. Var2 and Var3 can be internal memory or constant. 3-300 Revision May, 2010