You are on page 1of 20

QUICK

GUIDE
LADDER
EDITOR
FOR
ARDUINO
DEVICES

EDITION

2021.03
INDEX

Driver Installation
Projects
The Working Area
Header
Left Area
Application
Task List
Device
Central Working Area
Right Area
Where to start?
Ladder Diagram
Ladder Elements
Arduino Code
Global Variable List
IO Mapping

LADDER EDITOR FOR ARDUINO DEVICES


DRIVER INSTALLATION
In order to start using IECuino Ladder programming, it is necessary
to start by installing the drivers that will allow IECuino to connect
with the selected Arduino board.

In "Downloads" , our driver will come out to start the installation.

LADDER EDITOR FOR ARDUINO DEVICES


DRIVER INSTALLATION
Select the "Components" to install the drivers and press "Install"
to start with the installation.

Wait until the installation finishes.

LADDER EDITOR FOR ARDUINO DEVICES


DRIVER INSTALLATION
A tab will be opened to continue the installation. Press "Next" , to
continue.

LADDER EDITOR FOR ARDUINO DEVICES


DRIVER INSTALLATION
Once the installation has been completed, you will see all the
drivers that are prepared for use and they have to be selected.

Press "Next" to continue.

LADDER EDITOR FOR ARDUINO DEVICES


DRIVER INSTALLATION
Press " Finish" to close the setup.

Wait a few seconds and the button will be updated automatically.


You can already upload your project to the Arduino board.

LADDER EDITOR FOR ARDUINO DEVICES


PROJECTS
This is where you manage the different projects that you are
working on. Remember that you can create as many projects as you
need.

When you login into your account, you will land here by default in
order to choose which project you want to work with. To go back
here once you entered the working area, just click the " IECuino"
logo. In this section, you can add new projects, and edit or delete
the current ones.

Create
In the first position, there is always an empty project awaiting the
creation of a new one. Just write the name of your project and click
the button “Create” . The project will be created and once created
the IECuino platform will jump to the working area.

Edit
By clicking the icon you will see the option to Edit the name of
your project. Just click this option, edit the project name and save
the project.

Delete
By clicking the … icon you will see, among the edit option, the
Delete option. Just click this option, write the word DELETE and
click the Delete button.
Remember that it is not possible to revert this change.

By clicking the projects you can jump from one to another. Also,
remember that you can move between projects using the menu
close to the IECuino logo.

LADDER EDITOR FOR ARDUINO DEVICES


THE WORKING AREA
In this area, you will find several elements distributed in the
interface. There are 4 separate parts :
Header
Left menus
Central working area
Right area

HEADER
On the left side of the header section, there is the IECuino logo
that will allow you to jump to the Project management or the initial
screen, like when you just logged in.
Close to the IECuino logo you have the project name that allows
you to unfold several options:

Jump to another project.


Upload project to the Arduino device.
Create a version.

Without leaving the Header, on the right side, you can see the
"Download Driver / Upload Project" button and your user name.
By clicking your user name you can edit your profile information,
review the IECuino plans available, visit the Forum and sign out.

The "Download Driver" button will start the download process of


the install package that will recognize the Arduino device and
allow you to communicate with IECuino .

The "Upload Project" button allows you to upload your project to


your Arduino device.

LADDER EDITOR FOR ARDUINO DEVICES


THE WORKING AREA
LEFT AREA
You will find here 4 different elements :
Application
Task List
Device
Setup

Application
It is the menu where you can create and edit the Global Variable
List that you can use in your application.
In computer programming, a global variable is a variable with
global scope, meaning that it is visible (hence accessible)
throughout the program, unless shadowed.

Task List
Here you will have two different elements listed. The Ladder
Diagram and the Arduino code.

By clicking on each one of the


elements listed you will switch
between them.

Device
By clicking the element on
this section you will move
to the area to create and
edit the IO Mapping of your
project.

CENTRAL WORKING AREA


Here you will be able to work on your ladder diagram, Arduino
code, or creating or editing Global Variable List or IO Mapping.

LADDER EDITOR FOR ARDUINO DEVICES


THE WORKING AREA
RIGHT AREA
This area is only functional
while programming with
Ladder Diagram.

Here you will be allowed to


edit some properties of the
selected Ladder blocks.

Here is where you make the


asociation of your variables
and the contacts.

WHERE TO START
The first thing you need to do is creating one of the following
elements which you are going to work with:

Ladder Diagram
Arduino Code
Global Variable List
IO Mapping

Just click on the plus icon


on the left and choose the
element that you want to
create.

LADDER EDITOR FOR ARDUINO DEVICES


WHERE TO START
LADDER DIAGRAM
Your Ladder Diagram will be placed under the Task List. You just
need to click on the Ladder that you want to work with the jump
from one to another.
When you are working in Ladder Diagram, you can add sections
with the + icon on the right.

You need to write the name, and click the add button. When a
section is created, the icon to create a new one moves just down
the new section created.
You can also see two icons at the right of the new section. With the
delete icon, you can remove the section from your diagram, and
you can change the name using the settings icon.

Just below the header, there are some tabs that will allow you to
choose if you want to work with basic nodes, math nodes or logic
nodes.

When you are working with a Ladder Diagram, you have the nodes
available and ready to be added to your section.

You can add nodes by dragging and dropping them with the
mouse or using the keyboard . Notice that with the keyboard icon
on the right side you can show/hide the keyboard shortcuts to add
the elements to the Ladder Diagram.

It is important to remember these keyboard shortcuts because it


will allow you to program much faster than with the mouse.

LADDER EDITOR FOR ARDUINO DEVICES


WHERE TO START
As soon as you drag an element, the help marks in red the area
where the element cannot be dropped.

Test it and you will see how useful and intuitive it is.

When you drop an element into the diagram or select a current


element, the properties of the selected element appear on the right
of the interface.

You can establish a relation


between the element and a global
variable present in your Global
Variable List file.

You can also add comments in


case you need it.

You can move around the diagram with the arrows of the keyboard
or using the mouse.

You will see that the section will increase or decrease according to
the needs of your Ladder Diagram.

LADDER EDITOR FOR ARDUINO DEVICES


WHERE TO START
LADDER ELEMENTS
Contact
Ladder Logic has contacts that make or break circuits to control
coils. Each coil or contact corresponds to the status of a single bit
in the programmable controller's memory.
These are conditional instructions. It means that you can use them
to check if something is true.

Normally Open (NO) Contact (O)


Normally open contact, closed whenever its
corresponding coil or an input which controls it is
energized.
(Open contact at rest)

Normally Closed (NC) Contact (C)


Normally Closed ("not") Contact, opens whenever
its corresponding coil or an input which controls it
is not energized.
(Closed contact at rest)

Coil (Shift+C)
An output coil is used to turn a bit on and off.
The instruction itself even has a place in the PLC
memory.
What the PLC will put there is the result of the
instruction.

LADDER EDITOR FOR ARDUINO DEVICES


WHERE TO START
Pulse Timer (T)
Pulse timers are used to produce a fixed-duration
output from some initiating input. When there is an
input (1), there is an output (1) and the timer starts.
Once the established time has elapsed, the
associated boolean variable will switch

On Delay Timer (Shift+O)


When the input is (1) the timer starts counting, but
the output stills offline. After the pre-set time is
reached. The output signal (current) is (1), and the
associated variable is True. The output is (1) until
the input is (1)

Off Delay Timer (Shift+d)


When the input is (1) the output is (1) and the
associated variable is True. When the input stops
the counter starts counting the pre-set number and
often that the output stops the signal (current), and
the variable turns False.

Counter UP
When the input is (1) the output is (1) and starts
counting from 0 to the pre-set number. When the
reset variables activated the counter resets to 0.

Counter Down
When the input is (1) the output is (1) and starts
counting from 0 to the pre-set number. When the
load variables activated the counter resets to the
pre-set number.

LADDER EDITOR FOR ARDUINO DEVICES


WHERE TO START
The ON delay timer is activated when the start input is TRUE.

After the preset time expires then the DONE output also goes
TRUE.

If at any time the start input goes FALSE the timer is reset and the
done output goes to FALSE.

Coil reset & Coil set


It is used once you have reached the end of the circuit, restart,
change or control other contacts or circuits.

The Coil Set is used to maintain the functionality of a variable or a


circuit until a coil reset, modifies the variable of the Coil set.

The Coil Set is not modified with signal changes but it only
modifies its value with the Coil Reset.
The first time it receives a signal, it saves it, until a Coil Reset
modifies it.

LADDER EDITOR FOR ARDUINO DEVICES


WHERE TO START
ARDUINO CODE
When programming with Arduino code in the IECuino
environment take in to account that you do not need to use the
usual loop.

GLOBAL VARIABLE LIST (GVL)


By clicking on the plus icon close to the Application, you can
create a new file.
If you create a GVL (Global Variable List), this file will be placed
below the Application section.

By clicking on the plus icon on the


right you can create the variables.
Inside the file, you can create
variables by clicking the plus icon,
on the right side.

You need to write the name of the variables WITHOUT spaces.


Choose the variable type
(you have 17 different
variables types) and add
some comments, in case you
need it.
(It is always be good to use
adequate variable names).

The variables created here


will be available to use on
the Ladder Diagram and the
IO Mapping, also on Arduino

LADDER EDITOR FOR ARDUINO DEVICES


WHERE TO START
GLOBAL VARIABLE LIST (GVL)
With the icons placed on the right side, you can delete or edit the
variables, changing the name, type, description or value.

If you want to delete a variable, remember that you must always


confirm it by writing DELETE.

LADDER EDITOR FOR ARDUINO DEVICES


WHERE TO START
IO MAPPING
By clicking on the plus icon close to Application you can create
new files.
If you create an IO Mapping, this element will be placed below the
Device section. Once created you can start working with them.

By clicking on the plus icon on


the right side you can create
the IO Mapping of your project.

First, you need to choose if it’s


Digital Input/output or Analog
Input/output and then the
corresponding number along
with the variable assigned.

With the icons placed on the


right hand side you can delete
or edit the IO Mappings, change
the IO, VARIABLE or IO Type.

If you want to delete an


element, remember that you
need always to write DELETE.

LADDER EDITOR FOR ARDUINO DEVICES


LADDER
EDITOR
FOR
ARDUINO
DEVICES

QUICK GUIDE
Created. 01/12/2019

Last Revision 18/03/2021

Contact us at: hello@iecuino.com

You might also like