Delta — 4.6.6. SUB_R

4. Motion Control Instructions 4.6.5. SUB_DI Explanation of the instruction: SUB_DI is used for subtraction operation of 32-bit integers. As EN is on, subtract S2 from S1 and their result value is saved in D register. Explanation of input and output parameter of the instruction. 4.6.6. SUB_R Explanation of the instruction: SUB_R is used for subtraction operation of 32-bit floating number. As EN is on, subtract S2 from S1 and their result value is saved in D register.

Explanation of input and output parameter of the instruction DVP-MC operating manual 4-109 API Subtraction of 32-bit integer Controller SUB DI 132 _ 10MC11T Parameter Data Available Explanation name type device EN “SUB DI” instruction is executed as “EN” turns on _ BOOL M,I,Q, constant S1 Minuend DINT Constant, D S2 Subtrahend DINT Constant, D D Remainder DINT D API Subtraction of floating number Controller SUB R 133 _ 10MC11T Parameter Data Available Explanation name type evice EN “SUB R” instruction is executed as “EN” turns on _ BOOL M,I,Q, constant S1 Minuend REAL Constant, D S2 Subtrahend REAL Constant, D D Remainder REAL D