Mitsubishi PLC contact comparison instruction and comparison instruction CMP application - Database & Sql Blog Articles

Manufacturers supply LED lamp bead SMD LED 0805 yellow light super bright indicator light dedicated
Crystal oscillator 2.5*2.0mm 2520 0.67M~170M OSC can be supplied at any frequency
The probe capacitor polarity needle has a head diameter of 5.8. The total length of the 7-pin and 12-pin needles is 5.

The use of contact comparison instructions and comparison instructions is very extensive, and a general program has one of these two instructions. I will talk about their differences and application methods. The instruction format of the contact comparison is: LD<> D0 D2 The instruction of this instruction means that it is turned on when the value in the data register D0 is not equal to the value in the data register D2. LD<= D0 D2 The meaning of this instruction is that the value in the data register D0 is less than or equal to the value in the data register D2. LD>= D0 D2 The meaning of this instruction is that the value in the data register D0 is greater than or equal to the value in the data register D2. LD= D0 D2 The meaning of this instruction is that the value in data register D0 is equal to the value in data register D2. What LD means start at the left bus, AND if it is in series with LD, and OR for parallel. It should be noted that this instruction can be 16-bit and 32-bit operations, but not bit-executable. Comparison instruction CMP application: This instruction format is CMP D0 D2 M0. Its meaning is to compare D0 and D2, then pass the three outputs of M0, M1, M2. When the data in D0 is larger than the data in D2, then MO Turn on. When the data in D0 is equal to the data in D2, M1 is turned on. When the data in D0 is smaller than the data in D2, M2 is turned on. This instruction can be either 16-bit or 32-bit or pulse-executable. If it is a 32-bit operation, then DCMP D0 D2 M0. If it is a 32-bit pulse execution type, DCMP D0 D2 M0, it should be noted that the data register occupied by the 32-bit operation is 4 data registers, they are D0.D1.D2 .D3 is 32 bits because a data register is 16 bits consecutively 2 data registers. Once a 32-bit operation, it automatically takes up the four data registers D0.D1.D2.D3, so be careful not to write data to these four data registers in other programs, otherwise an unknown error will occur. Another note is the pulse execution type. If it is a pulse execution type, only one execution of this instruction is executed when the execution condition is satisfied. If it is a continuous execution type, each scan cycle is executed, so care must be taken.

Direct drive motor

Direct Drive Motor,Ex Direct Drive Motor,Direct Drive Motor Sewing Machine,Overlock Sewing Machine Motor

LISHUI SHUANGZHENG MOTOR CO.,LTD. , https://www.szservomotor.com