MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › How do you install GX Works2 and create a new project?
HomeModels
Table of contents

On this page

PLC & Programming (100 articles)

Quick Reference

  • PLC & Programming
  • Electrical & Electronic Basics (monthly)(每月更新中)
  • Electrical Control & Drawings (monthly)(每月更新中)
  • Drives & Actuators (monthly)(每月更新中)
  • Sensors & Detection (monthly)(每月更新中)
  • Industrial Communication & Networks (monthly)(每月更新中)
  • HMI & Host Systems (monthly)(每月更新中)
  • Industrial Robots & Motion Control (monthly)(每月更新中)
  • Mechatronic System Integration (monthly)(每月更新中)
  • Fault Diagnosis & Standards (monthly)(每月更新中)

How do you install GX Works2 and create a new project?

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.

What the software consists of, and which CPUs it covers

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.

Installing: environment and steps

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.

The key choices when creating a new project

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.

Project and PLC parameter settings

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.

Saving, opening and going online

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.

New-project options and how to choose at a glance

OptionMeaningConsequence of a mistakeHow to choose
PLC seriesQ/L/FX and so onInstruction set and devices do not matchFrom the CPU's series
CPU modelThe exact CPU typeCannot download or limited functionsFrom the nameplate and manual
Project typeSimple or structuredConstrained if changed laterSimple project for small CPUs
Program languageLadder or instruction listAwkward to edit or impossible to expressBy habit and program complexity
Device point countAvailable address rangeAddress out of range flagged as an errorEstimate from program size, leave margin
Communication portSerial/USB/EthernetCannot go onlineFrom the actual interface and driver
Station numberNumber on the networkWrong device or a conflictMatch the site network
File registersEnabled or notToo few addresses for data handlingEnable only when data storage is needed
Scan monitoring timeCriterion for an over-long cycleFalse alarms or a hidden endless loopLeave margin for the program size

Notes

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.

References

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.

Points to watch

⚠️ Three common traps:
(1) Choosing the CPU model from the outward shape alone, when the actual CPU differs, so the program will not go in or functions are missing;
(2) Creating the project without setting the device point count, so a longer program immediately reports an address out of range;
(3) Upgrading the software and overwriting the project, leaving the old version unable to open it and no backup to fall back on.

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.

Related reading

Related 3D models: Ready to build it? Download free 3D models & CAD drawings at MOULDL »
MOULDL · Electrical Knowledge Base · free self-study reference for electrical & automation engineers, 3D CAD models at MOULDL