24 Common Mitsubishi PLC Programming Questions
12 Mar


【1】Which programming software is compatible with Mitsubishi PLCs?
Answer: FX-GPWIN is only suitable for programming FX series PLCs; GX-Developer is suitable for programming FX, Q, and A series PLCs; GX-WORK2 is suitable for programming FX, Q, and L series Mitsubishi PLCs.
【2】How should the contact comparison instruction [<= D10 K100] be input? Why can't it be input?
Answer: The input for the contact comparison instruction can be directly entered on the keyboard as LD<= D10 K100. Note that there should be no space between LD and <= symbols, but there should be spaces between the symbols and D10 and between D10 and K100. Also, if the contact comparison instruction is a 32-bit instruction [D<= D10 K100], then it should be entered as LDD<= D10 K100, with LD followed by D, unlike other function instructions such as DMOV where D is added before.
【3】What are K2M0 and K2Y0 in the instruction [MOV K2M0 K2Y0], and what does this instruction mean?
Answer: K2M0 and K2Y0 are composite bit components. K2 represents the number of composite bit components, where K2 represents two groups, and each group consists of four-bit components, totaling eight bits. Therefore, K2M0 represents M0-M7 eight bits, and K2Y0 represents Y0-Y7 eight bits. The instruction [MOV K2M0 K2Y0] transfers the binary data from K2M0 to K2Y0. Essentially, it controls the output status of Y0-Y7 through the binary bits of M0-M7.
【4】Why is the ERR light on the Mitsubishi PLC constantly red?
Answer: A red PLC ERR light indicates a fault, either a hardware or a program fault. You can identify the specific fault by connecting to the PLC through programming software and accessing "PLC diagnostics" under the "Diagnosis" menu.
【5】When opening a project in Mitsubishi programming software GX Developer, it prompts "Project initialization failed." How to resolve this?
Answer: When encountering the "Project initialization failed" error, you need to uninstall the Mitsubishi programming software completely, delete the registry entries, and then reinstall the software. To delete registry entries: 1. Click the "Start" button. 2. Select "Run," then type regedit, and click OK to open the registry editor. 3. Click the plus sign in front of HKEY_LOCAL-MACHINE, find SOFTWARE in the opened folder, click the plus sign, locate MITSUBISHI, right-click, and delete the folder. If deleting this folder doesn't work, then open HKEY_CURRENT_USER, find SOFTWARE, and delete MITSUBISHI. If deleting registry entries doesn't resolve the issue, consider reinstalling the operating system.
【6】What should be done if there is no response after clicking setup when installing Mitsubishi GX Developer software?
Answer: If there is no response after double-clicking setup during the installation of Mitsubishi GX Developer software, and the icon does not appear, you can try repairing and accelerating within 360 Total Security, cleaning up junk files, ending memory-consuming processes in the "Processes" tab of Task Manager, and restarting the computer. If none of these steps yield any response, consider reinstalling the operating system.
【7】Why don't I see icons for GX Developer software and simulation software on the desktop after installation? Does this mean it wasn't installed successfully?
Answer: After installing GX Developer software, the shortcut icons do not automatically appear on the desktop. You can find GX Developer under Start - All Programs - MELSOFT, right-click on it and send a shortcut to the desktop to create an icon. The simulation software does not have a separate icon; it is integrated into the programming software. The "Ladder diagram logic test startup" icon within the software is used to start/stop the simulation.
【8】What is the maximum load that the transistor outputs of Mitsubishi PLCs can drive? Can they be directly connected to relays? Do they require protection devices? Can they directly drive solid-state relays?
Answer: The maximum load capacity of transistor outputs of PLCs is around 0.5A. Solid-state relays can be driven directly. The ability to drive relays depends on the relay type; for example, 24V intermediate relays can be driven.
【9】Why is the reliability of PLC systems high, and their interference resistance strong?
Answer: In the hardware design of PLCs, optocouplers are used for both digital input and output to improve interference resistance. Electrical isolation is achieved between the internal and external circuits of PLCs, effectively eliminating the influence of external electromagnetic interference on the internal PLC. Moreover, PLC power lines and I/O circuits are designed with multiple filtering circuits, such as LC filters, RC filters, and digital filters, to reduce the impact of high-frequency interference. These hardware designs endow PLCs with strong interference resistance and high reliability.
【10】What is the result of adding 8-bit numbers 35 and 47 in octal? What is the result in decimal?
Answer: The result of adding 8-bit numbers 35 and 47 in octal is 104, and in decimal, it is 82. In octal, numbers range from 0 to 7. Upon reaching 8, it carries over to the next place value. Therefore, in octal, 10 is equivalent to decimal 8, and 11 is equivalent to decimal 9, and so on.
【11】Can FX1s-20m be expanded with modules? How are input and output port numbers defined for expansion modules? For example, is X13 followed by X14?
Answer: The Mitsubishi FX1s series PLC only has basic units and does not have expansion units or modules for I/O expansion. The input and output port numbers for expansion modules should be used sequentially without skipping numbers. X13 is not followed by X14 but by X20.
【12】How do you understand 16-bit and 32-bit operations?
Answer: Data registers are 16 bits for operation. Each data register in Mitsubishi is 16 bits. To perform 32-bit operations, two adjacent data registers are required, such as B0 and B1 forming a 32-bit unit. B0 represents the low 16 bits, and B1 represents the high 16 bits. The sign bit is in the high position of the high register, with B31 being the sign bit. 16-bit operations involve operations between two 16-bit values, while 32-bit operations involve operations between two 32-bit values.
【13】How can the END instruction be used for segment debugging during program debugging?
Answer: The END instruction in PLC serves as an end instruction. During program debugging, you can place the END instruction after each program segment. Start segment debugging from the first segment. After debugging, the END instructions inserted in the program must be removed. This method is also useful for debugging and error-checking programs.
【14】Teacher, what is the relationship between ladder levels and program lines in ladder diagrams? Is each program line a ladder level?
Answer: A ladder level is a logical unit of a ladder diagram program, capable of containing multiple rows and columns. All ladder levels are numbered. Therefore, the statement that each program line corresponds to a ladder level is incorrect.
【15】Are SET and RST instructions functional instructions?
Answer: SET and RST belong to basic logical control instructions and are not functional instructions. Basic logical instructions are mainly used for processing digital signals, while functional instructions can be used for data processing, including data transfer, transformation, arithmetic operations, and program flow control. Additionally, functional instructions can handle data transfer and control between PLCs and external devices.
【16】Why can't I transfer K59926 to D0 using Mitsubishi programming software GX Developer, but changing it to K29926 allows transfer?
Answer: Data register D is a word component, and its maximum value is K32767. You can't transfer K59926 to D0 because it exceeds K32767. However, K29926 is within the limit, so it can be transferred.
【17】How should the "Project Name" field be filled when saving a program to a computer?
Answer: When saving a program to a computer, you can name the "Project Name" field as desired. For GX Developer, only the project name needs to be filled. For GX WORKS2 software, both the workspace name and project name need to be filled.
【18】Why, when I comment "Start" at contact XO, does "Start" appear at all XO contact positions on the ladder diagram? Can different comments be made at different XO positions?
Answer: Different comments cannot be made at different XO positions. Commenting "Start" at contact XO means that "Start" will appear at all positions corresponding to XO. Once defined, it becomes the unique comment for all XO contact positions.
【19】Can the comparison instruction (LD=) in Mitsubishi PLC compare floating points?
Answer: No, there are specific instructions for comparing floating-point numbers.
【20】Can the D register in Mitsubishi PLC store letters N, B, A, and G?
Answer: Yes, it can store them in ASCII format.
【21】While editing PLC programs (in write mode), every time I try to modify the original program, it automatically jumps to a new line, making it impossible to modify the original program directly. I have to delete the original program before writing. For example, when I change the output of X0's normally open contact to output Y0, it automatically adds another output of Y0 on the next line. Similarly, other output instructions also behave the same way. This is cumbersome. What could be the problem?
Answer: This may be due to the "insert mode" being activated. If so, pressing the "Insert" key on your keyboard should restore normal editing.
【22】Can FXIN-60MR be combined with FX2N-48MR?
Answer: The FX series PLCs do not support "multi-CPU systems." Different models of FX PLCs can be connected in an N: N network using an expansion 485 communication module. For detailed communication methods and selection wiring, refer to the "FX Series Micro Programmable Controller User Manual (Communication Section)."
【23】What should I do if I forget the login keyword?
Answer: If you have a backup program, you can clear the PLC memory first and then rewrite the parameters and program.
【24】What is the difference between file registers and ordinary registers?
Answer: File registers are convenient for storing predetermined values (such as product inspection specifications). Ordinary registers, on the other hand, are cleared when the PLC's power is turned off, except for the retention area. Therefore, they are generally used as temporary storage areas.