Download as pdf or txt
Download as pdf or txt
You are on page 1of 25

GOCToolKit V3 Installation and Quick Start Guide

Doc Num: N18006AAMH05 Published Date: Nov.2020

GOCToolKit V3 Installation and Quick


Start Guide

GOCToolKit V3 Installation and


Quick Start Guide
Published Date : Nov.2020
Doc No : N18006AAMH05

Mitsubishi Electric India Page 1 of 25


GOCToolKit V3 Installation and Quick Start Guide
Doc Num: N18006AAMH05 Published Date: Nov.2020

1 Scope of Document

This is a GOC tool kit installation and quick start guide for programming GOC43 PLC.

References
N18006AAMH01 Graphic Operation Controller User Manual
N18006AAMH02 GOC Main Unit (GC43MH-XXMR-D) Installation Manual
N18006AAMH03 GOC Main Unit (GC43MH-XXMT-DS) Installation Manual
N18006AAMH04 GOC Main Unit (GC43MH-XXMT-DSS) Installation Manual

Mitsubishi Electric India Page 2 of 25


GOCToolKit V3 Installation and Quick Start Guide
Doc Num: N18006AAMH05 Published Date: Nov.2020

2 Setup requirements

Hardware setup requirement:

Programming of GOC43 is possible through built-in Ethernet port interface provided on its
backside as shown below.

Backside view
of GOC43

Software setup requirement:

Before installing the toolkit, ensure that the following system requirements are satisfied.
Processor Dual Core
Disk space 2 GB
RAM memory 4GB
Screen resolution 800 x 600 or Higher
Platform Windows 7/8/10 (32/64 bit)
Ethernet interface RJ 45

Mitsubishi Electric India Page 3 of 25


GOCToolKit V3 Installation and Quick Start Guide
Doc Num: N18006AAMH05 Published Date: Nov.2020

3 GOC Tool Kit V3 Installation

For installation of GOCToolKit V3, follow the steps as provided below.


1. Confirm the requirement covered under ‘Software setup requirement’ section.
2. Download ‘GOCToolkit V3.exe’ setup from MEI website.
3. Run ‘GOCToolkit V3.exe’ on your PC. During execution of .exe file.
4. Follow installation steps as below,

In case if user uninstalls previous ToolKit versions from PC


and updates system with latest ToolKit setup, then before
running ‘GOCToolkit V3.exe’. It is mandatory to uninstall
CODESYS 3.5.14.10 from PC and delete all files/ folders
from below paths
C:\Program Files (x86)\CODESYS 3.5.14.10.
Click “Next” button
C:\Users\<login.name>\AppData\Roaming\CODESYS
Folder “CODESYS 3.5.14.10” should be empty before latest
ToolKit installation.
Refer below screenshot as an example….

Click “Next” button

Mitsubishi Electric India Page 4 of 25


GOCToolKit V3 Installation and Quick Start Guide
Doc Num: N18006AAMH05 Published Date: Nov.2020

It is recommended to
select setup type as
“Complete”

Click “Next” button

Click “Install” button

Mitsubishi Electric India Page 5 of 25


GOCToolKit V3 Installation and Quick Start Guide
Doc Num: N18006AAMH05 Published Date: Nov.2020

Click on ‘Finish’ to
complete ToolKit V3
installation

This completes GOCToolKit V3 installation on PC/ laptop.


After successful installation, ‘GOCToolKit V3’ menu gets added under start menu as shown below.

Click on ‘CODESYS V3.5


SP14 Patch 1’ to create
new project.

Mitsubishi Electric India Page 6 of 25


GOCToolKit V3 Installation and Quick Start Guide
Doc Num: N18006AAMH05 Published Date: Nov.2020

4 Quick start

This section explains,


1. Creation of a new project using GOC43 project template
2. Hardware configuration
3. Create a simple ladder program
4. Create a simple HMI program
5. Download and online operations
4.1 Creation of a new project using GOC43 project template
Open CoDeSys 3.5. Click on menu ‘File’ → New Project, following window gets pop up.
Select category ‘Projects’ and click on template ‘GOC43 project’.
Click OK to save project.

Add project name

Select location
to save project

After saving project below ‘GOC 43 Project’ window gets pop up.

Mitsubishi Electric India Page 7 of 25


GOCToolKit V3 Installation and Quick Start Guide
Doc Num: N18006AAMH05 Published Date: Nov.2020

Select programming language


for POU PLC_PRG

Click OK to create project

After clicking OK, following ‘Devices’ tab gets open as shown below.

Click on ‘Device(GC43)’ as shown below.

This completes project creation and device (Main unit) selection.

Mitsubishi Electric India Page 8 of 25


GOCToolKit V3 Installation and Quick Start Guide
Doc Num: N18006AAMH05 Published Date: Nov.2020

4.2 Hardware configuration


1. For Hardware configuration, click on device Device(GC43) as shown below.

2. On Hardware configuration tab, back side view of Main unit is shown as below.
Red highlighter
denotes Main unit
is selected.

Mitsubishi Electric India Page 9 of 25


GOCToolKit V3 Installation and Quick Start Guide
Doc. Num.: N18006AAMH05 Published Date: Nov.2020

3. To update the device, right click on Main unit area opens, Update Device window.

Select device and click


on ‘Update Device’
button.

4. To plug an IO extension unit, below steps can be followed.


1. Back side view shows IO1 slot, IO2 slot and COM slot where user can plug extension unit.
2. Click on slot area to highlight selected slot.
3. Do right click on selected slot, to plug extension as shown below.

COM slot

IO1 slot IO2slot

Mitsubishi Electric India Page 10 of 25


GOCToolKit V3 Installation and Quick Start Guide
Doc. Num.: N18006AAMH05 Published Date: Nov.2020

5. Click on context menu ‘Plug Device’ to pop up ‘Plug Device’ window as shown below.

Select IO extension
device as per
requirement and click on
button ‘Plug Device’.

6. After plugging IO extensions, if user requires to plug/update or delete device as per application
requirement, right click on extension unit.
For example, IO1 slot extension unit is selected and right clicked as shown below.

This completes one method for plugging IO extensions and COM extensions.

Mitsubishi Electric India Page 11 of 25


GOCToolKit V3 Installation and Quick Start Guide
Doc. Num.: N18006AAMH05 Published Date: Nov.2020

Alternately, user can plug extension devices in respective slots (IOExtensions and COMExtension) in
Device tree. Follow the steps below.
1. Right click on <Empty> slot to pop up context menu.
2. Click on Plug Device. Plug Device dialog shows list of extension devices supported for the selected
slot.
3. Select extension device and double click on it or click on button Plug Device to attach it to selected
slot.
After plugging, default name of I/O extension unit as IOE1<UnitOrderingCode> and
IOE2<UnitOrderingCode>.

Here, default name of I/O


extension unit is IOE1(GC-4A-12)
in device tree.

This completes hardware configuration selection

For parameter configuration, of individual Main unit variants and IO extension units.refer
N18006AAMH01 Graphic Operation Controller User Manual.

Mitsubishi Electric India Page 12 of 25


GOCToolKit V3 Installation and Quick Start Guide
Doc. Num.: N18006AAMH05 Published Date: Nov.2020

7. I/O Mapping
For GOC43, I/O memory map is fixed. Main unit consumes input memory %IB0, %IB1 and output memory
%QB0, %QB1. I/O Mapping tab shows digital Inputs and outputs as shown below.

Predefined symbolic names (with prefix as ‘_’) are global variables assigned for each input and output.
For input I00, symbolic name is _DI_MAIN_0 and address is %IX0.0.
Prefix is _DI_ and text MAIN_0 indicates that it is input I00 of Main unit.
Change the symbolic name after double click on name in Variable column. The dialog below pops up to
confirm the change in name throughout the Application .

Click Yes to accept


change in variable
name.

In Online mode,
Column Default Value shows IO values.
Debug → Write values (Ctrl + F7) allows user to write values to outputs by modifying values in Prepared
Value column.

Mitsubishi Electric India Page 13 of 25


GOCToolKit V3 Installation and Quick Start Guide
Doc. Num.: N18006AAMH05 Published Date: Nov.2020

8. IEC Objects
IEC objects are pre-defined global variables ((with prefix as ‘_’) which consists of system variables and
variables related to various functions.
The dialog below shows offline view.

User can monitor and modify values of IEC objects in Online mode.

Using tab “IEC Objects”, user can monitor and set system variables in CoDeSys online mode.

9. PLC Settings
User can make the basic settings like handling of inputs and outputs and the bus cycle task.

For safe operation, select option Set


all outputs to default for setting
Behaviour of outputs in Stop.

Ensure to choose option Enabled 2


(always in bus cycle task’ for
setting Always update variables.

Ensure to choose option


MainTask’ for setting Bus
cycle task.

Mitsubishi Electric India Page 14 of 25


GOCToolKit V3 Installation and Quick Start Guide
Doc. Num.: N18006AAMH05 Published Date: Nov.2020

4.3 To create simple ladder program


In this section, we can write a PLC code using ladder editor as an exercise.

– Add new POU with ladder language

– Add a variable ‘Start’ and ‘Motor’

– Switch ON ‘Motor’ if ‘Start’ is ON for 1 sec or more.

– Call POU in PLC_PRG

Adding new POU with ladder language

Right click on application


and execute Add object >
POU…

Name the POU

Select type as
‘Program’

Select programming language as


‘Ladder Logic Diagram (LD)

Click ADD

Mitsubishi Electric India Page 15 of 25


GOCToolKit V3 Installation and Quick Start Guide
Doc. Num.: N18006AAMH05 Published Date: Nov.2020

Click on “MyPOU (PRG)” to open as below.

Local variables
of POU

New POU added with Ladder


diagram programming language
Ladder editor
working area.

Add variable ‘Start’ and ‘Motor’


For adding new element (here, contact) in ladder network, drag and drop respective element from toolbox
to editor as shown below.

Drag and drop element


from toolbox to editor.

Mitsubishi Electric India Page 16 of 25


GOCToolKit V3 Installation and Quick Start Guide
Doc. Num.: N18006AAMH05 Published Date: Nov.2020

A view after adding new contact element in editor is as below,

View after adding


contact

Similarly, user can add coil element to ladder network.

Drag and drop


element from
toolbox to editor.

A view after adding new coil element in editor is as below,

View after adding


coil

After adding elements to ladder network , user can assign variable to element as shown below.

Type-in name of variable and press


Enter. If variable with this name
is not declared earlier then ‘Auto
declare’ dialogue opens.

Mitsubishi Electric India Page 17 of 25


GOCToolKit V3 Installation and Quick Start Guide
Doc. Num.: N18006AAMH05 Published Date: Nov.2020

Select scope Local/


Global/ VAR_IN/ VAR_OUT,
Select data
etc.
type

Enter address (optional)

Enter comment here


(optional)

Check ‘Retain’ if you Click OK to


want to retain close
variable.(Optional)

Similarly, assign variable to coil element as ‘Motor’.

View after adding


variables

Mitsubishi Electric India Page 18 of 25


GOCToolKit V3 Installation and Quick Start Guide
Doc. Num.: N18006AAMH05 Published Date: Nov.2020

Switch ON ‘Motor’, if ‘Start’ is ON for 1 sec.


To turn ‘Motor’ ON when ‘Start’ is ON for 1 sec, it is required to add timer function block in ladder network
as shown below.

Drag and drop element


from toolbox to editor.

View after adding


Timer

After pressing enter, auto-declare dialogue opens to declare timer FB instance.

Change Name and comment


if required and check
OK to close dialogue.

This completes assigning names and variables to added elements.

Mitsubishi Electric India Page 19 of 25


GOCToolKit V3 Installation and Quick Start Guide
Doc. Num.: N18006AAMH05 Published Date: Nov.2020

Assign variables to function block instance ‘TON_0’ as shown below.

You can keep output


variable blank if not
Type in preset time of timer to required.
T#1s.If variable time required, you
can declare variable of type ‘TIME’
here.

Now call POU named as “MyPOU” in PLC_PRG.


Do double click on PROGRAM type of POU PLC_PRG to open it in editor.

Select ‘MYPOU’ from POUs


collection in Toolbox.

Drag and drop “MyPOU” to PLC code and the view after adding “MyPOU” in PLC_PRG is as below.

Mitsubishi Electric India Page 20 of 25


GOCToolKit V3 Installation and Quick Start Guide
Doc. Num.: N18006AAMH05 Published Date: Nov.2020

4.4 To create simple HMI program


In this section, we can see how to do HMI programming in CoDeSys 3.5.
Execute Device (GC43) >> Application >> Visualization Manager, for HMI function settings and to drag
and drop HMI objects from visualization toolbox.

HMI function settings can be


done at ‘Visualization
Manager” and ‘TargetVisu’.

Visualization
Home: Starting screen toolbox

For setting HMI functions, click on “Visualization Manager”,


Do not modify default settings available on “Visualization Manager” tab as below. It may cause malfunction
of HMI functionality.

Do not modify default settings provided on “Visualization Manager” tab and “TargetVisu” tab.

Mitsubishi Electric India Page 21 of 25


GOCToolKit V3 Installation and Quick Start Guide
Doc. Num.: N18006AAMH05 Published Date: Nov.2020

Click on “TargetVisu” tab, to view further visualization settings such as start visualization, update rate,
scaling options, default text input etc.

GOC LCD displays this


screen after downloading
program to PLC.
User can modify this
value.

Click on ‘Home’ screen and add HMI elements by drag and drop as shown below.

Drag and drop HMI object


from visualization toolbox
to screen.

Similarly, user can drag and add elements covered in other groups such as Common controls,
Measurement controls, Lamps/Switches/Bitmaps, Special controls, Date/time controls etc.

Mitsubishi Electric India Page 22 of 25


GOCToolKit V3 Installation and Quick Start Guide
Doc. Num.: N18006AAMH05 Published Date: Nov.2020

For setting properties of individual element, select element on screen so that element ‘Properties’ window
gets open in toolbox as shown.

Element properties
window for selected
element.
Here, Polygon.

Also, user can add multiple screens up to 64 screens by executing Device (GC 43) >> Application [do right
click] >> Add Object >> Visualization.

User can modify


visualization name as per
application requirement.

Click on Add button, to


add screen under
‘Visualization Manager’

Mitsubishi Electric India Page 23 of 25


GOCToolKit V3 Installation and Quick Start Guide
Doc. Num.: N18006AAMH05 Published Date: Nov.2020

4.5 To download project and Online operations

For downloading project to PLC, it should be error free.

Compile project by executing menu Build >> Clean all, Build >> Rebuild. This provides user list of errors (if
any), warnings and information messages under “Messages” window.

After successful compilation of project, follow below steps,

1. Power ON and connect GOC43 device to PC via Ethernet.

2. Click on Device (GC 43) >> Communication settings as shown below.

Click on Scan network to


open ‘Select Device’
dialogue.

Click here on
Scan network to
update connected
device.

Click Ok to connect
with selected device

3. Execute menu Online >> Login (Alt + F8), this opens confirmation dialogue to start project
downloading

4. After successful downloading, execute menu Debug >> Start (F5) to put device in RUN mode.

Mitsubishi Electric India Page 24 of 25


GOCToolKit V3 Installation and Quick Start Guide
Doc. Num.: N18006AAMH05 Published Date: Nov.2020

GOCToolKit V3 Installation and Quick Start Guide

MITSUBISHI ELECTRIC INDIA PVT. LTD.


Factory Automation and Industrial Division
ICC-Devi Gaurav Technology Park, Unit no. 402,
Opp. Vallabh Nagar Bus Depot,
Pune-411018, Maharashtra, India.
Board Line No. +91 020 4624 2100
Email – [email protected]
Web – http://in.mitsubishielectirc.com

You might also like