GX Works2 is Mitsubishi's PLC programming software, and the first thing after installing it is to create a project with the right CPU family and program language. Install the wrong version or pick the wrong CPU model and the program will not download later, or the project will not open — so this step deserves care.
GX Works2 mainly targets the Q, L and FX series, and splits into simple projects and structured projects by program language. Simple projects use ladder diagram or instruction list and suit small CPUs and maintenance work; structured projects support labels, function blocks and several languages and suit mid-size and large programs. Establish which series your PLC belongs to first, then decide which version to install and which kind of project to create.
Before installing, confirm the operating system version, disk space and whether administrator rights are needed, and turn off the anti-virus real-time protection so the install is not interrupted half way. The process is generally: unpack the installer, run it, choose the components and target folder, then wait for component registration to finish and restart. If an older version is already installed, uninstall it first to avoid component conflicts, and keep the install path free of non-English characters and spaces.
After clicking new, choose in turn: the PLC series, the CPU model, the program language (ladder diagram, instruction list, or a structured project) and the program type. These choices fix the instruction set and the device range available afterwards; pick wrongly and the program may not download, or some instructions will be unavailable. Where the model is uncertain, go by the nameplate on the PLC and the manual, not by recollection.
Once the project exists, you normally set the PLC parameters, such as the number of device points, the communication port, whether file registers are used, and the scan monitoring time. These parameters download with the program, and wrong settings produce the "program is fine but the machine misbehaves" case. If the device point count is too small, addresses beyond the range used in the program will flag errors, so check this when the project is created.
A project is saved as a project file made up of several files; keep a version backup together with the program rather than a single copy. Before going online, set the communication port type on the PC (serial, USB or Ethernet) and the station number, then run a connection test. If it will not connect, check the cable, the driver and the port selection first instead of clicking connect repeatedly. Only transfer a program read or write once the connection is confirmed.
| Option | Meaning | Consequence of a mistake | How to choose |
|---|---|---|---|
| PLC series | Q/L/FX and so on | Instruction set and devices do not match | From the CPU's series |
| CPU model | The exact CPU type | Cannot download or limited functions | From the nameplate and manual |
| Project type | Simple or structured | Constrained if changed later | Simple project for small CPUs |
| Program language | Ladder or instruction list | Awkward to edit or impossible to express | By habit and program complexity |
| Device point count | Available address range | Address out of range flagged as an error | Estimate from program size, leave margin |
| Communication port | Serial/USB/Ethernet | Cannot go online | From the actual interface and driver |
| Station number | Number on the network | Wrong device or a conflict | Match the site network |
| File registers | Enabled or not | Too few addresses for data handling | Enable only when data storage is needed |
| Scan monitoring time | Criterion for an over-long cycle | False alarms or a hidden endless loop | Leave margin for the program size |
Different versions support different CPUs and instructions, and a new CPU may need a newer release of the software or an extra package. A project file is tied to the software version; opening an old project in a newer version may prompt an upgrade, after which the older version may no longer open it, so always keep a backup before upgrading. When several people work together, agree on one software version and a project naming rule to avoid a mass of compatibility problems.
The conventions for PLC programming languages and program structure follow GB/T 15969.3 (identical to IEC 61131-3); the electrical connection, protection and earthing of a PLC and its peripherals follow GB 5226.1 and the equivalent international standard IEC 60204-1. The installation environment requirements and supported CPU models are as stated in the manufacturer's manual and release notes.
Back up the existing project before installing or going online. Before writing a program to a real PLC, make sure the machine is in a safe state with no risk of a mechanism moving, and record the program version before and after the transfer so you can roll back if something goes wrong.