Delta Industrial Automation

Tips & Tricks


June 2011

PID Heating and Cooling

To set-up a PID control with Delta PLC’s is not a big deal.
You only need the set Point, the present value, configure it as you need (or use auto-tuning to avoid complications), and put everything on PID instruction (API 88).

Depending If your device to control the temperature needs pulse output or analog, you can use the value directly for analog, or the instruction GPWM (API 144) to control the heat with Pulse Modulation signal.

But what happen If your system have double output? (heating and cooling)

Of course you can always use our DTB temperature controllers to solve that problem easy and fast, but If you need to do it with one of our PLC’s.
Take a look to the following program.
PID_heating and colling.dvp

High Speed Inputs – Outputs in new Delta PLC S2 series

One of the most used features of our new S2 series are the high speed Inputs and Outputs.
The manual and brochures, have all the information here related, but we like to compile it for fast reference.

To control a Delta Servo drive trough step and direction (or a stepper motor, inverter…) those are the speed limitations of our new PLC’s

Click on the picture for bigger size

On the other side, If you need to measure a distance with Encoder, or just counting the number of pieces, then you must check first what are the max speed allowed for our CPU’s

Click on the picture for bigger size

But If you are going to made the program, this sheet with the proper Counter name, and their limitations, It would be really useful.

Click on the picture for bigger size

If you prefer to save all this information in your computer download the next Excel file

Announcement: eServer 1.00.11 Official Release

We update the eServer software.
You can download the latest version on our web site, or from here

And If you are interested to know what’s new on this version, check the next file
Technical Announcement HM11061700

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:

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)

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

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 examples: Summer – Winter Hour Change

Who remebers the 2000 efect?
Well with HMI’s every Summer-Winter change is like that.
The real reason is in asia they don’t need to change the winter or summer time, because of that this is a not very common feature on asiatic HMI’s.

To solve this situation Mr. Bartek Kiełczewski from Induprogress send us some macro solution made for a Polish company ENCEFAL to achieve to change in a automatic way the Summer-Winter time.

Summer-Winter hour change.dpb

Thanks Bartek

Analog Control II (distributed Analog I/O)

The people who use to work with Delta analog I-O modules, use to have the same doubt.
Why the engineers put a RS485 port on analog I-O’s if you use internal bus to communicate with them?

The reason is very simple, our analog I-O’s can work trough the internal bus, but can work too trough RS485 communication too.
So, with that feature, is possible to create a remote analog I/O’s without any other device.
Just as a reminder, if you need to add digital I/O’s to your, then you should have to add the RTU-RS485 module to your distributed network.

The process to configurate the network is not difficult, but you have to go step by step.
1. The first step to configurate the RS485 protocol into the analog module, is runing the following example, who is ready to communicate with the PLC at ASCII 9600 7,E,1.
DVP04TC RS485 config communication.dvp
If you are interested to know how I did it, go to the Analog Control post

2. Once the protocol is configured, you can double check with the Extension Module Wizard and some IFD6500 (USB to RS485 converter) connected to our computer.

3. Finally, to work with them trough RS485, you just have to communicate with the analog module as an Inverter or temperature controller, or any other RS485 based device.
To Write
MODWR “Station Address” “CR number” “Number of data to be write”
To Read
MODRD “Station Address” “CR number” “Number of data to be read”
And SET/RST teh M1122 to trigger the command

Check the following example for better comprehension
DVP04TC RS485 Read-Write.dvp

name: den-eindhoven
Password: BuPd2175

Blog at

Up ↑