Mitsubishi PLC Comparison Instruction Application

Create Date: 2024-8-30 12:03:23|Source: Mitsubishi Electric/Mitsubishi Electric

1. Compare the instruction CMP

                                 Mitsubishi PLC Comparison Instruction Application

1)。 16-bit arithmetic (CMP, CMPP) compares the contents of the comparison value S1 with the comparison source S2, and according to the results (small, - zhi, large), D, D+1, D+2 - one is ON.

2)。 32-bit operations (DCMP, DCMPP) compare the contents of the comparison value [S1+1, S1] and the comparison source [S2+1, S2], and according to the results (small, common, large), make D, D+1, D+2 - one is ON.

Keep an eye on the main points

The number of points occupied by a soft component starts with the number of points specified in D, and 3 points are used. Note that the bad ones are duplicated with the soft components used in other controls.

2. Interval comparison ZCP

Description of functions and actions

1)。 16-bit operations (ZCP, ZCPP) compare the contents of the comparison source S1 with the lower comparison value S2 and the upper comparison value S, and make D, D+1, and D+2 ON according to the results (small, regional, large).

2)。 The 32-bit operation (DZCP, DZCPP) compares the contents of the comparison source [S+1, S] with the lower comparison value [S1 +1, S1] and the upper comparison value [S2+1, S2], and according to the result (small, regional, large), D, D+1, D+2 - one is ON.

Keep an eye on the main points

1. The number of points occupied by the soft component starts with the soft component specified in D, and the number of points occupied is 3 points. Be careful not to duplicate with other soft components used in control.

2. According to the precautions of the upper and lower comparison values, the value of the comparison value needs to be smaller than the comparison value.
More on that
Mitsubishi Electric develops production line improvement technology Mitsubishi Electric develops production line improvement technology

TOKYO, March 26, 2020 – Mitsubishi Electric Corporation (TSE: 6503) announced today that it has developed a new technology for efficient design and material flow of production floor layouts and accurate estimates ® of productivity using Mitsubishi Electric's Maisart *AI.

Mitsubishi servo motor one-button adjustment function Mitsubishi servo motor one-button adjustment function

In the MR Configurator2 servo commissioning software, Mitsubishi has developed a "one-button adjustment" function to solve the problem of rigid noise of servo motors, as follows: 1. Set PA08 to 0003 and adjust the gain to ...

Mitsubishi servo system common alarms and solutions Mitsubishi servo system common alarms and solutions

The use of Mitsubishi AC servo system is mainly composed of three series: MR-ES, MR-J2S, MR-J3. In general, the cause of the fault can be preliminarily determined based on the code displayed on the servo drive, and then troubleshooting: 1、AL. E6 - Indicates ...

Mitsubishi inverter FR-E024-0.75K repair Mitsubishi inverter FR-E024-0.75K repair

Type: FR-E024-0.75K Fault: The boot cannot be started Maintenance: This machine does not provide any symptom information, and the display screen shows an "E.THT" error when the motor is to be started after powering on. Check the instructions refer to the ...

Mitsubishi catalogue of some small PLC models and commonly used touch screens Mitsubishi catalogue of some small PLC models and commonly used touch screens

Commonly used touch screen model description Economical touch screen GS2107-WTBD 7 inch widescreen, 800*480, 65535 colors, USB/232/422/Ethernet, DC Pass through...

Mitsubishi PLC program lost backup program write method Mitsubishi PLC program lost backup program write method

The reasons for the loss of the PLC program are the lack of battery power supply for the user's saved program, the internal circuit of the PC, the motherboard burned out due to the impact of external high voltage such as lightning strikes, etc., which will be encountered in our PLC control system. For example, the old type of plc such as the FX2N series, which has been discontinued...

How to deal with Mitsubishi PLC failures - Mitsubishi How to deal with Mitsubishi PLC failures - Mitsubishi

01. Base system problem In Mitsubishi PLC, binary, octal, decimal 10, hexadecimal, 2-10 (BCD), etc., we need to master the conversion of 2-8 base. 2-8, the binary number is remembered from the back, every 3 dividends in a group, each group is separated into 8 bases, such as 1 ...

Mitsubishi PLC control servo motor method Mitsubishi PLC control servo motor method

1. The transistor output type of the FX series generally sends pulses to the servo through the output point of Y0, Y1 or the positioning module, and the speed and direction of the servo depend on the frequency and direction of the pulse in your program. Mitsubishi FX3U series ...

Mitsubishi servo motor is now commonly used Mitsubishi servo motor is now commonly used

1. Torque control: Torque control is based on external simulation imitation type or direct address assignment to set the output torque of the motor shaft. For example, 10V matches 5Nm. When the external simulation simulation is set to 5V, the output of the motor shaft is 2.5Nm. Assuming that the load on the motor shaft is less than 2.5Nm, then ...

Ground leakage current of Mitsubishi inverter and countermeasures thereof Ground leakage current of Mitsubishi inverter and countermeasures thereof

There is electrostatic capacitance between the input and output wiring of Mitsubishi inverters and other wires, between the ground and the motor, and there is a leakage current flow. The leakage current value is affected by factors such as electrostatic capacitance and carrier frequency, and the leakage current is high when the carrier frequency of the inverter is set high and the leakage current is operated under low noise conditions.

Modbus communication and address assignment for Mitsubishi PLC Modbus communication and address assignment for Mitsubishi PLC

When using Modbus communication in Mitsubishi PLCs, it is necessary to understand the address allocation of different register types. The following are the common types of Mitsubishi PLC Modbus addresses and their corresponding functions: 1. Coil Register: ...

Low-voltage electrical faults and maintenance methods - Mitsubishi Low-voltage electrical faults and maintenance methods - Mitsubishi

In the process of operation, low-voltage electrical appliances will present problems due to improper use or long-term operation of aging components, and there are many kinds of problems, and the common problems are analyzed and dealt with. 1. Contact problems and repairs The contact is the primary component of the low-voltage switching coupon, ...

What is the difference between the Mitsubishi PLC FX3U and FX5U What is the difference between the Mitsubishi PLC FX3U and FX5U

1. The speed of the system bus is different. Although the FX5U series is small but precise, compared with the previous product FX3U, the system bus speed is greatly increased by 150 times, and the maximum expansion module can be expanded by 16 intelligent expansion modules, built-in 2-in and 1-out analog functions, built-in Ethernet interface and 4-axis 200kHz high-speed positioning function. ...

Mitsubishi inverter OC causes the failure Mitsubishi inverter OC causes the failure

1. The ERR problem is an under-voltage problem, which is usually caused by the problem of voltage detection loop resistance or wiring, rather than the actual input voltage showing undervoltage. Most of the OC problems of the A200 series are caused by the damage of the drive circuit, and its drive circuit ...

Mitsubishi FX5U series PLC ten advantages Mitsubishi FX5U series PLC ten advantages

1. CPU function As a MELSEC IO-F series PLC actuator, it is equipped with executable structured programs and multiple program actuators, and can be written to ST language and FB. 2. Built-in analog input and output (alarm output by the way) Built-in 12-bit 2-channel analog input ...

Mitsubishi Electric develops satellites for greenhouse gas and water cycle observations Mitsubishi Electric develops satellites for greenhouse gas and water cycle observations

TOKYO, March 30, 2020 – Mitsubishi Electric Corporation (Tokyo: 6503) announced today that it has been appointed by the Japan Aerospace Agency (JAXA) as the contractor for the Global Satellite Observing Satellite for the Greenhouse Gas and Water Cycle (GOSAT-GW), the third satellite in the GOSAT series, ...

The interaction between the PLC and the touch screen is consistent - Mitsubishi The interaction between the PLC and the touch screen is consistent - Mitsubishi

When the contact screen is connected with the PLC, in fact, the memory of the PLC is used, (the contact screen also has a small amount of memory, which is only used to store system data, that is, the screen, controls, etc.), the contact screen and the PLC communication is generally a master/slave relationship, that is, the contact screen reads data from the PLC, and after making a judgment, it is displayed in the display ...

Mitsubishi PLC adjusts the built-in time Mitsubishi PLC adjusts the built-in time

1. TWR (Time Write) command Write the time preset value to the built-in real-time clock: Clock information is written to the TWR (Time Write) command. The sequence number of the action instruction is FNC167, [S ·] T, C and D can be used, and only 16-bit operations can be used, accounting for 5 program steps. The work of the directive ...

How Mitsubishi PLC works How Mitsubishi PLC works

A. A scanning cycle is divided into input sampling, program fulfillment, and output rewriting. B. Each scanning process. The convergence samples the input signal. The convergence rewrites the output signal. C. Component image register ...

Mitsubishi PLC has a built-in time adjustment step Mitsubishi PLC has a built-in time adjustment step

1. TWR (Time Write) command Instructions to write time presets to the built-in real-time clock: Clock information is written to the TWR (Time Write) command. The sequence number of the action instruction is FNC167, [S ·] T, C and D can be used, and only 16-bit operations can be used, accounting for 5 program steps. The work of the directive ...

CATEGORIES BYPASS
Customer Service Center

Online Consultation:QQ


ContactContact

Contact: Manager Huang

Contact QQ: 3271883383

Contact number: 13522565663


Scan the code to add WeChat (please save the picture first on the mobile phone)

working hoursworking hours

Weekdays: 9:00-17:00

Holidays: Only emergencies are handled

Contact us

Contact us

Contact number QQ consultation
QQ consultation

3271883383

Company address
Back to top