Delta DVP-ES3 — 6.13.2 Explanation of Data Processing Instructions

DVP-ES3 Series Programming Manual 2. The following graphs show how this instruction uses the zone: ZONE is executed. ZONE is not executed. Output value Output value Positive deviation Input value Input value Negative deviation 3. Only the 32-bit instructions can use the 32-bit counter but not the device E. 4. The negative deviation in S 1 , the positive deviation in S 2 , the input value in S 3 , and the output value in D must be within the range described below.  For the ZONE instruction, the negative deviation in S 1 , the positive deviation in S 2 , the input value in S 3 , and the output value in D must be between -32768 to 32767.

Suppose the negative deviation in S 1 is -100 and the input value in S 3 is -32768. The instruction calculates the output value in D as follows. Output value in D =(-32768)+(-100)=16#8000+16#FF9C=16#7F9C=32668 _6  For the DZONE instruction, the negative deviation in S 1 , the positive deviation in S 2 , the input value in S 3 , and the output value in D must be between -2147483648 to 2147483647. Suppose the negative deviation in ( S 1 +1, S 1 ) is -1000 and the input value in ( S 3 +1, S 3 ) is -2147483648. The instruction calculates the output value in ( D +1, D ) as follows.

Output value in ( D +1, D) =-2147483648+(-1000)=16#80000000+16#FFFFFC18=16#7FFFFC18=2147482648 Example 1 When M0 is ON, the instruction adds -100 or 100 to the value in D0, and stores the sum in D10. 6-390 N