Comparison instruction, CMP K10 D10 Y0 When the decimal constant 10> D10, Y0=1; When the decimal constant 10 = D10, Y1 = 1; When the decimal constant 10 < D10, Y2 = 1; CMP D0 D2 M0 The instruction is a comparison instruction, and the results of the comparison <, =, > are respectively reported … Continue reading Mitsubishi plc “CMP” instruction
Author: arcozhang
Mitsubishi PLC instruction “DECP”
The DEC in the Mitsubishi PLC instruction is the minus 1 instruction in the application instruction. Adding P to the back indicates that the pulse is executed, that is, the instruction is activated once and executed once. For example, the instruction [DEC D100] means that the content in the register D100 is decremented by one, … Continue reading Mitsubishi PLC instruction “DECP”
Mitsubishi plc “FOR” instruction
The loop instruction, the program from the beginning of the FOR instruction to the NEXT instruction is repeatedly executed a specified number of times, and after repeating the specified number of times, the step processing after the NEXT instruction is executed, wherein FOR and NEXT are programmed in pairs, and nested programming is implemented. Up … Continue reading Mitsubishi plc “FOR” instruction
Mitsubishi PLC DIV, D1059, K2.D058
DIV, D1059, K2.D058 DIV: Division instruction. D1059: The data register is divided. K2: Divisor 2. D058: Store the operation result. The INCP instruction in Mitsubishi PLC is to add 1 instruction, and the P after the instruction indicates pulse execution. Adding the 1 command INC adds 1 to the contents of the operand [D], and … Continue reading Mitsubishi PLC DIV, D1059, K2.D058
LE3U Plc Analog and PID
1. Description of analog input and output of PLC: 1. Analog reading command: Reading instruction of analog input value of analog module M1: module number, host is set to K0 M2: analog input channel number K0-K5 (corresponding to AI 1-6) D: The instantaneous value of the read data is saved to D0, and the value … Continue reading LE3U Plc Analog and PID
Mitsubishi PLC “STL” instruction
Programming method using STL instructions First, the STL / RET instruction The STL instruction allows the programmer to generate procedures and procedures that work very close to the sequential function diagram. The meaning of the STL instruction is to activate a step (ie state), which is represented on the ladder diagram as a state contact … Continue reading Mitsubishi PLC “STL” instruction
Mitsubishi PLC instruction “DRVA”
The Mitsubishi PLC instruction DRVA refers to absolute positioning. “----||-----[DRVA K3000 K500 Y001 Y003]” I/O points can be accessed directly if immediate I/O instructions are used during program execution. Even if an I/O command is used, the value of the input process image register will not be updated. The program takes values directly from the … Continue reading Mitsubishi PLC instruction “DRVA”
Mitsubishi PLC instruction “DFLT D114 D340”
1, Mitsubishi PLC instruction DFLT D114 D340 means: the value of register D114 is converted to a floating point number and stored in the D340 register. 2. When a floating point instruction is used without a floating point flag (M8023=OFF), the source data will be converted to the corresponding value in floating point format and … Continue reading Mitsubishi PLC instruction “DFLT D114 D340”
Mitsubishi PLC “BIN” “BCD” instruction
BIN and BCD are data conversion instructions. These two instructions are the conversion between binary and bcd codes. Binary to BCD needs to be converted to decimal. The BIN code is a binary code. For example, the decimal number 9 is represented by an 8-bit BIN code, which is 00001001; BCD code is a four-digit … Continue reading Mitsubishi PLC “BIN” “BCD” instruction
Mitsubishi PLC INCP Directive
Use: Add 1 command INC is to increase the content of operand [D], and the result is still stored in [D]. Application examples: [INCP D1] means that when the instruction execution condition is satisfied, the operation is incremented by one. The value of the register D1 is incremented by one, and the operation result is … Continue reading Mitsubishi PLC INCP Directive







