4. Motion Control Instructions 4.6.9. MUL_R Explanation of the instruction: MUL_R is used for multiplying operation of 32-bit floating number. As EN is on, multiply S1 by S2 and their result value is saved in D register. Explanation of input and output parameter of the instruction: 4.6.10. DIV DIV is used for division operation of 16-bit integer. As EN is on, divide S1 by S2 and their result value is saved in D register. Explanation of the instruction: Explanation of input and output parameter of the instruction:
DVP-MC operating manual 4-111 API Multiplication of floating number Controller MUL R 136 _ 10MC11T Parameter Data Available Explanation name type device EN “MUL R” instruction is executed as “EN” turns on _ BOOL M,I,Q, constant S1 Multiplicand REAL Constant, D S2 Multiplier REAL Constant, D D Product REAL D API Division of 16-bit integer Controller DIV 137 10MC11T Parameter Data Available Explanation name type device EN “DIV” instruction is executed as “EN” turns on BOOL M,I,Q, constant S1 Dividend INT Constant, D S2 Divisor (0 is forbidden) INT Constant, D D Quotient INT D