Search

Delta Industrial Automation

Tips & Tricks

Tag

HMI – PLC example

Download/Upload PLC program directly from/to USB through HMI

When users don’t have easy access to a laptop nor PC nearby the installation or the machine, is difficult to face the task of making some modification or backups by downloading/uploading the PLC program.

For this purpose, there’s a way to download/upload the PLC program directly from/to a USB memory stick through the DOP HMI.

Picture 1

Let’s explain the procedure in few steps assuming the case of downloading program from USB to PLC:

1. Copy the PLC program (.DVP) into an USB memory stick

2. Insert the memory stick into the USB port of the HMI

3. Enter the system menu of the HMI by pressing the “SYSTEM” button (at the rear side of the HMI) for few seconds. You will hear a “bip” sound

Picture 2

4. Enter the “Up/Download” sub menu

5. Select “HMI <->PLC” transfer mode by navigating through the  “LEFT” and “RIGHT” buttons at the bottom

Picture 3

6. Click “USB:\” on the left part of the screen and select the PLC program file you want do download

7. On the right part of the screen, select the COM port that is connected to the PLC (COM1 in this example)

Picture 4

8. After selecting COM1, HMI will search PLC automatically

Picture 5

9. Once the PLC is found by the HMI, user can download the program  by pressing “Download” button

Picture 6

Important note: The file name in the PLC to be uploaded or downloaded using this function must be DVP-xxx.dvp (xxx must be a number between 000 and 999.)

 

 

 

 

 

 

 

 

 

 

HMI – HMI – PLC – PLC Communication Example (Multidrop)

Another useful Ethernet application with our new HMI´s is the multi-drop connection.

As you can see in the picture configuration, Multi-drop means have 2 mirror HMI´s where can be used and all the actions in one HMI, will be mirrored on the other one.
To do this, we need as always one master and one slave, or with the proper words, one Host and one Client.

Where our customers use Multidrop? The typical applicaion use to be a huge machine with several control points, printing machine, Parking, etc…

If you are interested follow the tutorial.

1. HMI Host configuration

2. Confiurate IP addresss of Host and client on the same Range

3. HMI Client configuration

You can download the full tutorial and some example on the following link.
HMI-HMI-PLC-PLC Multi-drop configuration

And as always don´t hesitate to let us know your commentaries

HMI – PLC Communication Example (Ethernet)

It´s been a long time since we post the last communication example.
And this time, taking advantage for the new coming soon release of DVS (Unmanagged Ethernet Switches) and new DVP-SE (PLC with Ethernet Embeded), we decide to show everybody how to communicate one PLC and one HMI trought Ethernet.

To make it easy for everybody, even the ones without English skills.
We thought the best will be to show everybody using video tool.

Full screen recommended

And If you need the HMI program, don´t hesitate to download it here

By the way, We´re planning to put all communication links in one page to easy link to everybody.
keep visiting our blog

Motion Control: HMI – PLC – B series Servo (1 axis movements)

There are several ways to control one axis.
But If you need to control position (no speed or torque), the Step & direction way is normally the simplest and cheapest way.
The other advantage is that you don’t have to rack one’s brains thinking if that protocol is going to work or not, Step & direction is universal.

So our intention in this post, is show you the Delta PLC tools to control one axis trough step and direction:

Hardware:
As always the first is how to connect everything.
To communicate PLC and HMI you can check the HMI – 3 PLC Communication Example.
And to know how to connect the B series servodrive with out CPU, just follow the next Schem. (click on the picture to see it bigger)

Configuration:
Basically the configuration of the servo consist in match the servo inputs of the diagram with the internal configuration, but for better comprehension please check this video
Or simply download the configuration file Step & Direction

Software:
Once the hardware and configuration are finished, then you only need to download the following examples of HMI and PLC programs.
In this examples we use three kind of movements:

Relative Movement (DDRVI): We can move our servo some distance without saving any reference. (very useful for moving trays)
Absolute Movement (DDRVA): We can move our servo some distance always having reference where the home is (very useful for linear positioning applications)
Speed Movement (SPD): To mantain the servo in a constant speed. (useful on material handling applications)

One Axis Movements

All the Delta servo drives (and some inverters) have the possibility to manage them trough Step & Direction

Updated: Extended features for DDRVI and DDRVA instructions on the latest firmware versions.
Check the next link

HMI – 3 PLC Communication Example

Another communication example for our blog library.
The easy one, should be do it only one HMI and one PLC. But to do it more interesting we are going to set up a Modbus ASCII network of one HMI(master) with 3 PLC’s(slaves).

To setup any system I always divide the problem in two basic parts, Hardware and Software.

Hardware (physical level):
Take a look to the pinout of all the devices to connect, in our case the PLC is easy, and for the HMI, take a look to the next image extracted from the instruction manual.

Software (Protocol):
An old trick that I learn after a couple of communication challenges is write in a post it the communication protocol that you are going to use. Basically, because you will need it so many times, and is very easy to make mistakes!!

Protocol used:
7,N,2 (Modbus, ASCII), 9600 bps

Network configuration:
HMI Address: 0 (master)
PLC1 Address: 1 (Slave)
PLC2 Address: 2 (Slave)
PLC3 Address: 3 (Slave)

Software (Computer level):
And finally, to show you how to configure the communication with the ScreenEditor and WPLSoft, I’ll ask you to download the next file, where you can file the programming examples, and some video file with the exe extension, to follow all the process.

HMI – 3 PLC communication example

Enjoy!

Blog at WordPress.com.

Up ↑