1. Continuous execution and pulse execution
There are two types of function instructions: continuous execution and pulse execution. As shown in Figure 1, the instruction mnemonic MOV is followed by a "P" indicating pulse execution, that is, the instruction is executed only when X1 is turned on (from OFF to ON) (send the data in D10 to D12) once; If there is no "P", it means continuous execution, that is, every scan cycle instruction of X1 ON is executed.
Figure 1 The execution mode of the function instruction and the representation of the data length
2. Data length
Function instructions can process 16-bit data or 32-bit data. The instruction to process 32-bit data is preceded by a "D" flag in the mnemonic. Without this flag, it is an instruction to process 16-bit data. Note that a 32-bit counter (C200 to C255) has a 32-bit device and cannot be used as an operand for processing a 16-bit data instruction. As shown in Figure 3-27, if the MOV instruction is preceded by a "D", when X1 is turned on, D11D10 → D13D12 (32 bits) is executed. When using 32-bit data, it is recommended to use an operand whose first number is even, which is not easy to make mistakes.
Dongguan Yuantong Technology Co., Ltd. is a professional production of each block cutting machine, flat mouth machine, folding machine, express bag machine, Pearl Cotton Bag Cutting Machine, slicing machine, degradation bag cutting machine, all kinds of plastic bag mold, punching machine, electrosick machine and other supporting equipment, and according to the special requirements of customers design and production of special equipment.
Express bag making machine, bag making machine,Express bag all-in-one machine
Dongguan Yuantong Technology Co., Ltd. , https://www.ytbagmachine.com