DVP-ES3 Series Programming Manual Symbol S 1 : Data source1 S 2 : Data source2 S 3 : Comparison result Taking LDZ= and DLDZ= for example _6 Explanation 1. These instructions compare the absolute value of the difference between S 1 and S 2 with the absolute value of S 3 . Take the LDZ= instruction for example. If the comparison result is that the absolute value of the difference between S 1 and S 2 is equal to the absolute value of S 3 , the continuity condition of the instruction is met. If the comparison discontinuity condition of the instruction is met. result is that the absolute value of the difference between S 1 and S 2 is not equal to the absolute value of S 3 , the 2.
Only the 32-bit instruction can use the 32-bit HC device, but not the device E.
6-40 API Instruction code Operand Function 0066- 0071 D LDZ※ S1,S2,S3 Comparing contact type absolute values LDZ※ Device X Y M S T C HC D FR SM SR E K 16# “$” F S1 S2 S3 BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S1 S2 S3 Pulse Instruction 16-bit instruction 32-bit instruction - ES3 ES3 16-bit 32-bit Continuity Discontinuity API number instruction instruction condition condition 0066 LDZ= DLDZ= | S1- S2|=| S3| | S1- S2| ≠ | S3| 0067 LDZ<> DLDZ<> | S1- S2|≠| S3| | S1- S2|=| S3| 0068 LDZ> DLDZ> | S1- S2|>| S3| | S1- S2| ≦ | S3| 0069 LDZ>= DLDZ>= | S1- S2|≧| S3| | S1- S2|<| S3| 0070 LDZ< DLDZ< | S1- S2|<| S3| | S1- S2|≧ | S3| 0071 LDZ<= DLDZ<= | S1- S2|≦| S3| | S1- S2|>| S3|