Mitsubishi PLC functional instructions

Author: zhddq
Published on: 2025-02-25
Category: Industry News

1. Bit operation instructions: Bit operation instructions are used to read, write, and modify bit level data. Common bit manipulation instructions include LD (logical AND), ORR (logical OR), AND (logical AND), XOR (XOR), etc.

2. Data operation instructions: Data operation instructions are used to read, write, and modify byte, word, and doubleword level data. Common data operation instructions include MOV (assignment), ADD (addition), SUB (subtraction), MUL (multiplication), DIV (division), etc.

3. Counter instruction: Counter instruction is used to implement counting function. There are three types of counter instructions: rising edge counter, falling edge counter, and stage counter. The counter instruction can be used for applications such as quantity statistics and progress monitoring.

4. Timer instruction: The timer instruction is used to implement the timing function. There are two types of timer instructions: rising edge timer and falling edge timer. Timer instructions can be used for applications such as time monitoring and delay operations.

5. Shift instruction: The shift instruction is used to move the bits of data. Common shift instructions include SHL (left shift), SHR (right shift), etc. Shift instructions are commonly used in applications such as data processing and bit concatenation.

6. Comparison instruction: The comparison instruction is used to compare the size of two numerical values. Common comparison commands include CMP (compare), EQ (equal to), NE (not equal to), GT (greater than), etc. Comparative instructions can be used to implement applications such as conditional judgment and logical control.

7. Transfer instructions: Transfer instructions are used to control the flow of a program. Common transfer instructions include JMP (unconditional jump), JE (equal to time jump), JNE (not equal to time jump), JG (greater than time jump), etc. Transfer instructions can be used to implement applications such as program loops and conditional judgments.

8. Memory control instructions: Memory control instructions are used to read and write data to the memory. Common memory control instructions include LD (read), ST (write), etc. Memory control instructions can be used to implement applications such as data storage and loading.

9. Mathematical instructions: Mathematical instructions are used to implement various mathematical operations. Common mathematical instructions include SIN (sine), COS (cosine), SQRT (square root), etc. Mathematical instructions can be used to implement applications such as data processing and numerical calculations.

10. Basic operation instructions: Basic operation instructions are used to implement basic numerical operations. Common basic operation instructions include addition, subtraction, multiplication, and division. Basic arithmetic instructions are typically used to implement applications such as logical calculations and data processing.

The above are some common Mitsubishi PLC function instructions. These instructions can be combined and applied according to specific needs to achieve various industrial automation control and monitoring tasks.

 

Share

Recommended Posts

  • 返回顶部