Mitsubishi PLC floating-point number comparison and arithmetic instruction usage

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

The floating-point arithmetic instruction (FNC110-FNC1320) is used to process floating-point numbers, which are 32 digits and contain 13 instructions such as floating-point number comparison, transformation, four-rule operation, open-squared operation and trigonometric function.

All floating-point number processing instructions are 32-bit instructions, and it is necessary to prefix the mnemonic of most instructions with the identifier "D" of the 32-bit operation.

They are scattered among the directive numbers FNC110 - FNC119, FNC120 - FNC129, FNC130 - FNC139.

                              Mitsubishi PLC floating-point number comparison and arithmetic instruction usage

Binary floating-point number comparison instruction ECMP

(1) Binary floating-point number comparison instruction ECMP(FNC110) DECMP(P) instruction

The two source operands are compared, and the results of the comparison are reflected in the policy operands. If the operand is constant, it is actively converted to binary floating-point value processing.

The source operands of this command can be K, H, and D, and the policy operands can be Y, M, and S. It is a 32-bit operation instruction, accounting for 17 program steps.

Binary floating-point interval comparison instruction EZCP

(2) Binary floating-point interval comparison instruction EZCP(FNC111) The function of the EZCP(P) instruction is to compare the content of the source operand with the scale of the upper and lower two points specified by the binary floating-point value, and the corresponding result is reflected in the policy operands with ON/OFF. This instruction is a 32-bit operation instruction, accounting for 17 program steps. Source operands can be K, H, and D; The policy operands are Y, M and S. [S1.] should be less than [S2.], and when the operand is constant, it will be actively converted to binary floating-point value.

Addition instruction EADD

Subtraction instruction ESUB

Multiplication instruction EMVL

Division instruction EDIV

(3) Four operation instructions for binary floating-point numbers There are four operation instructions for floating-point numbers: addition instruction EADD (FNC120), subtraction instruction ESUB (FNC121), multiplication instruction EMVL (FNC122) and division instruction EDIV (FNC123). Instructions for the use of the four operation instructions, which are all to feed the floating-point number in the two source operands into the policy operand. When the divisor is 0, there is an arithmetic error, and the instruction is not executed. This type of instruction has only 32 bits of arithmetic and accounts for 13 program steps. The result of the calculation affects the flag M8020 (zero flag), M8021 (borrow flag), and M8022 (carry flag). The source operands can be K, H, and D, and the policy operands are D. If there is a constant involved in the operation, it is actively converted to a floating-point number.

Binary floating-point arithmetic also has instructions such as open squared and trigonometric function operations, which are not explained here.

More on that
Introduction of Mitsubishi servo motor Introduction of Mitsubishi servo motor

Servo motor refers to the engine that controls the operation of mechanical components in the servo system, and is a kind of auxiliary motor indirect transmission device. The servo motor can make the control speed, azimuth accuracy is very precise, and can convert the voltage signal into torque and speed to drive the control target. Servo motor rotor speed ...

The connection of the Mitsubishi inverter FR-A800 The connection of the Mitsubishi inverter FR-A800

The connection of the Mitsubishi inverter FR-A800

Inverter life extension method - Mitsubishi Inverter life extension method - Mitsubishi

First, the frequency converter should not be installed on the equipment with a sensation, because the main circuit connection screw in the frequency converter is simply loose, and many frequency converters are damaged due to this reason. Second, the wiring problem: the input end of the inverter is connected to an air The initial maintenance current should not be too large, ...

The cause of the failure caused by OC - Mitsubishi inverter The cause of the failure caused by OC - Mitsubishi inverter

1. Aging of drive circuit Due to the long-term use, it will inevitably lead to the aging of components, and then cause the drive waveform to be distorted, and the output voltage will be unstable, so OC alarm often appears as soon as it is running. ...

Mitsubishi GM AC Servo MR-JE Mitsubishi GM AC Servo MR-JE

One-click adjustments Servo adjustment can be completed with one-button operation without the need for a computer. In addition, the oscillation button control and robust filter can be automatically adjusted. Instantaneous stop tolerance increases It is equipped with an instantaneous stop TOUGH DRIVE function and a large capacitance ft main circuit capacitor. ...

Functional characteristics of Mitsubishi's various series of servo motors Functional characteristics of Mitsubishi's various series of servo motors

Mitsubishi servo motor system series: MR-J2S series, MR-J3 series, MR-ES series, MR-E series. Mitsubishi servo motor MR-J2S series 1. The product also has RS-232 and RS-422 serial communication functions, which can be used by a personal computer equipped with servo setting software.

Advantages and disadvantages of different output types of PLC – Mitsubishi Advantages and disadvantages of different output types of PLC – Mitsubishi

The three output types of PLC are: transistor output, thyristor output and relay output, what is the difference between these three different output types? (1) Transistor output: The big advantage is that it is accustomed to high-frequency action, and the echo time is short, generally about 0.2ms, but ...

The matching relationship between the inverter and the motor - Mitsubishi The matching relationship between the inverter and the motor - Mitsubishi

It has become an irreversible trend to drive the motor through the inverter, and in the actual application process, because the matching relationship between the inverter and the motor is not very reasonable, it often leads to some problems. When selecting an inverter, you should fully understand the load characteristics of the equipment driven by the inverter. Ms. Ginseng ...

Introduction to Mitsubishi PLCFX3U positioning control Introduction to Mitsubishi PLCFX3U positioning control

1. The workbench runs in the direction of the decrease of the value of the current value register (generally M8342=OFF in the opposite direction), and when it encounters the near-point signal, it becomes a creeping speed, and the zero-point signal after leaving the near-point signal arrives with a delay of 1ms, and the pulse output is immediately aborted. ...

Mitsubishi inverter fault visual inspection method Mitsubishi inverter fault visual inspection method

The intuitive method refers to the search and analysis of faults based on the external manifestations of Mitsubishi inverter defects without any instruments. The visual method includes an unpowered view and a power-on survey. In the overhaul, the first thing to do is to check without power, that is, to use the human sensory organs (eyes, ears, hands, nose) to check the relevant plug-in.

Mitsubishi Electric instruction format Mitsubishi Electric instruction format

(1) Arbitrary axis AC command (G140) G140 Instruction Address = Axis Address Instruction Address = Axis Address ... ; Command Address: Arbitrary Axis AC Command (G140) After that, specify the 1-character address set by the parameter (#12071-#12078) to be used for moving commands, etc.

Introduction to Mitsubishi PLC network structure Introduction to Mitsubishi PLC network structure

1. The equipment layer/fieldbus CC-Link equipment layer is a field network that connects PLC and other control equipment, sensors and drive equipment, which is the lowest layer of the entire network system. The CC-Link fieldbus connection is adopted, and the number of wiring is greatly reduced, and the maintainability of the system is improved. Combine...

What are the main factors of interference in Mitsubishi PLC system? What are the main factors of interference in Mitsubishi PLC system?

(1) Radiative dry disturbance from space The radiated electromagnetic field (EMI) in space is mainly caused by power networks, transient processes of electrical equipment, lightning, radio broadcasting, television, radar, frequency induction heating equipment, etc., generally known as radiation disturbance, and its dispersion is extremely chaotic. ...

Mitsubishi servo motor alarm code and processing skills Mitsubishi servo motor alarm code and processing skills

1. Mitsubishi servo drive alarm code AL31.1 Fault analysis: It is the motor overspeed alarm. Cause analysis: 1. The frequency of a single pulse of the input command is too high; 2. The acceleration and deceleration time is too small, resulting in overshoot and too large; 3. Mitsubishi servo system is unstable; 4. Electricity ...

Mitsubishi servo system selection Mitsubishi servo system selection

Mitsubishi servo system mainly has MR-J4, MR-JE, MR-JE-AS and other series, MR-J2S, MR-J3, MR-ES has been discontinued, gradually withdrawn from the shopping mall, the first three are considered. When selecting a Mitsubishi servo, the first thing is to choose the MR-J4 series or MR-JE series according to the application, and the driver uses the A-type ...

Confirmation and clearing of Mitsubishi inverter alarm history Confirmation and clearing of Mitsubishi inverter alarm history

When the FR-CS80 inverter detects an abnormality, it will display an error message or alarm in the operation panel according to the abnormal content, or maintain the function action and block the output of the inverter. When maintaining a function operation, please deal with the cause of its operation before resetting the inverter, and then start working. ...

Which components in the Mitsubishi inverter need to be replaced regularly Which components in the Mitsubishi inverter need to be replaced regularly

Mitsubishi inverter is composed of many electronic parts, such as semiconductor components, etc., in the application and protection involves the replacement of a related component, because of the composition or physical characteristics of the inverter, in a certain period of time will deteriorate, thus reducing the characteristics of the inverter, is ...

Advantages of Mitsubishi inverter installation reactor Advantages of Mitsubishi inverter installation reactor

Features of the output reactor: 1. It is suitable for reactive power compensation and harmonic management 2. The primary effect of the output reactor is to compensate for the influence of long-line distributed capacitance, and output harmonic current according to the press; 3. Effectively maintain Mitsubishi inverters and improve the power factor, which can thwart the ...

Introduction of Mitsubishi PLC series Introduction of Mitsubishi PLC series

1. Main substrate There are a variety of models such as Q32SB, Q33SB, Q35SB, Q33B, Q35B, Q38B, Q312B and other main substrates for Q series PLC, and the meaning of the model is as follows: In the meantime, the "S" stands for ultra-thin main substrate, and only Q61SP power modules can be used, and they cannot be ...

Mitsubishi PLC selection 5 elements Mitsubishi PLC selection 5 elements

Mitsubishi PLC selection - element 1: IO points The number of ZUI IOs that can be accessed by the Mitsubishi PLC control system. Mitsubishi PLC FX series now commonly used basic unit host is: FX1SFX1N, FX1NC, FX2N, FX2NC, FX3U. FX3UCFX3G, FX5U, 9 series. ...

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