LD X0 AND X2 LD X1 ORI Y1 ANI X4 ORB LD X3 ORI X5 ANB OR X7 OUT Y6
OUT T0 K150.
D is the data register, and the internal is to save the data. K is a decimal constant. = D5 K6 means that when the data in data register D5 is equal to 6, the instruction turns on and runs the following instructions.
Comparison instructions include CMP (compare) and ZCP (interval) b. (1) compare CMP (d) CMP (p) order number is FNC10, and the source operand [S1.] And the source operand [S2.] Compared, the comparison with target element [d.] Expressed in the State. As shown in Figure 3-33, when X1 is switched on, the constant 100 compared to […]