Category Archives: PLC Tips&Tricks

PLC Password: How to protect your program?

How to protect you program?

I’m pretty sure, that If you´re a programmer is not the first time you need to protect your work.
Maybe to avoid last time changes, or maybe because is your everyday bread.
So in any of the cases, we would like to explain what password locking possibilities new ISPSoft provide to you.

1st Program Lock
In this case, you lock the computer file, to open the file you need to have the pasword, but If the program in on the PLC customer can upload without password.


full screen is recommended

2nd Subroutine Lock
Your customer can open the program with no problem, but you can lock your Function Blocks to avoid anybody steal your Know-how.


full screen is recommended

3rd PLC Lock
In this case you’re locking the PLC, to be able to upload the program from the PLC you need the password.
The password resets if you come back to factory settings, but be aware that you´re going to lose the program also!


full screen is recommended

To all of you, who have a machine in you hands with a Password, and need to extract the program for whatever reason is. I’m afraid there´s no crack or universal password.
The only think you can do is contact with your machine provider.
Or just reset to factory settings, loosing the program on the process

Announcement: Delta Smart Viewer

New software available on the Delta web page, and as always for free!

Delta Smart viewer is the new tool to allows us to check our PLC status using Android device, like for example our Smart phone or tablet.

TargetSetting_phone

On this recent version is only supported wifi communication, but is planned in near future to support 3G communication, being able to monitor and control our installations using our smart devices.
Up to 10 devices can be supported with the actual version.

TargetSetting

Able to monitor temperature or any other graphic value using run-chart, with a top samples number of 5000.

untitled1

Furthermore, the export/import profile, makes it easy to configure other devices with same connection.

untitled

So If you have Android in your smart phone, feel free to download it from our website!
Delta Smart Viewer v1.01
In case you´re iOS user, am afraid you will need to wait
(and for windows mobile… we’ll see ;)

Warning
Delta Smart VIEWer 1.01 supports Android 2.2 ~ Android 4.2
Before downloading the software, please find and tap Settings > Security on your Android home screen and mark the Unknown sources checkbox to allow the installation of applications not from Google Play™

Successful Application: Metal bar feeder

Another successful application, and this time comes from the company Thelen Tech from Finland.

This company engineer is a big an of Delta and our step and direction solutions, and for this simple but effective solution they use 750W ASDA-B2 drive for the motion together with DVP28SV2 for the control.
And to monitor or configure speed, they add DOPB04 HMI.

Check the machine!
20130424_113924

Originally this was planned as full automatic system, plan was there is gripper
which would push material to cutting length, then saw it, then push more… and
whole it should be fast (over 30m/min speed)

20130424_113907

The cutting length can be adjusted using manually using hand-wheel, or automatic using HMI.
There is also possibility for closed loop feed back, but in these case feedback is taken from D1336 register

20130424_114203

Also +/-10V speed command is possible, motion control just calculates difference between real and wanted position and turns it PWM (or voltage).
This pretty nice arrangement for relative (like MPG) and absolute positioning using at the same time.

ParamOffset and accuracy Adjustment Screen

Diagnostics
Diagnostics Screen, very useful for the designer.

Openscreen
Monitoring screen

Thank you very much Thelen Tech to share this new machine with us!
Keep impressing us like that!

PLC RS232/RS485 send frames

This trick is for the very special application when we want to communicate with unknown device trough serial communication using our Delta PLC.

If the slave is Delta, we can always use PLC Link.
But what happens when the slave is not delta?

In this case we have 2 options.
First use our DVP12SCM-SL module with 2 extension ports to help us on the frame configuration.
Second the solution we’ll show in this post.
Basically all our PLC have by default 2 communication ports RS485 (below) and RS232 (in front).
And some have a 3rd RS485 port, usable also to send single frames to other slaves.

111111
COM1 – RED
COM2 – GREEN
COM3 – BLUE

Once you got the port selected, then you need to set up the port configuration.
Use the below table, or our WPLSoft wizard if you are still WPLSoft users.

untitled

On our examples below we used D1036=87H what means:
– Data Lenght 8
– Parity Even
– Stop Bits 1Bit
– Baudrate 9600 bps

Use this table to create the Hexadecimal number, or use WPLSoft wizard
untitled1

Before COM port configuation, we´ll going to use RS instruction.

untitled23

Basically RS instruction is to configure where I’m going to save the data to be sent and received.
But to trigger the frame, you will need to trigger special mark.

COM1:M1312
COM2 M1122
COM3 M1316

Once this mark is high, the PLC send the frame configurated in the RS instruction.
If on the other way around, our PLC is waiting for some transmision, then we´ll need to wait until the data is recieved.
The mark that will tell us when the data is available is:

COM1:M1313
COM2 M1124
COM3 M1317

And you will find the info on D1070 – D1085 special registers range.

To help you on this special application, download the following Send Frame trough RS232 and Send Frame trough RS485.
We also add some section of the manual with the special marks to be aware when you play with this instruction.

Send Frame Help

Recomendation!
When you work with comunications, is always advised to have some sniffer, to see what happens on the network. In RS485 case, I recommend to have IFD6500 and any freeware Modbus sniffer.
And remeber, with comunications…always patience.
Good luck.

Announcement: DVPSCM52-SL (Bacnet)

Did you already test our DVPSCM12-SL?
If not, I don’t know what are you waiting for!

The DVPSCM12-SL is the magic device that allows you to communicate with any RS485 based device.
And we’re no talking only about PLC’s or HMI’s… We’re talking about inverters, HVAC, Electrical power analayzers or whatever your customer decides that needs data.

You can find plenty of information in our Announcement: New products DVP02LC-SL and DVPSCM12-SL post.

untitled

So according to the success of his product, we decide to do something similar more focus in Building Automation, and we decide to develop a communication module for Bacnet

As you can see in this presentation, our device is able to communicate with the main HVAC brands (Johnson Controls, Honeywell, Siemens, Delta), And we demostrated on the below videos.
BacNet examples


For further information don’thesitate to download the manual of this device on our web site.
DVPSCM52-SL Manual

And let us know your experiences

Announcement: ISPSoft manual & v2.02 version

I know… just last week we announce the release of last version of ISPSoft, and today new version!
But the real reason of this post, is nto the new version, is the new Manual of ISPSoft!

untitled

Is already available on the website (Link)
And as always in our FTP (Link)

And just to keep you all updated, new ISPSoft 2.02 already available
On the website (Link)
And on the FTP “faster” (Link)
I add the announcement with the new stuff on the same software package.
You can found it in the PLC announcements folder (Link)
But the most important improvement in my opinion is the introduction of Wizards to help us to configure analog modules.
untitled

I hope you enjoy it!
And as always send your software feedback!

BTW, this is our 100th post!
Thank you so much for following us for all this time.
And I hope to celebrate with you all in our 200th post celebration

Announcement: Delta PLC and HMI new software release

Complete PLC and HMI software update ready for your computers!
All the announcements with the new stuff are compressed together with the software in the same .zip
So you don’t need to download separatelly.

untitled

Furthermore, be aware that we got all the announcements of the year in the following FTP folder
DVP Technical announcements-BU
HMI Technical announcements-BU

This are the new versions to be tested in our FTP:
DOPSoft v1.01.04
WPLSoft v2.33
PMSoft v2.08
ISPSoft v2.01.02
COMMGR v1.02
Delta DVP Suite

Or you can download from our webstie as always
DVP Software
HMI Software

Enjoy and let us know your opinion!

Succesful Application: DVP20PM + DOPB-PS and G-Code download feature

Today, were going to talk about motion control.
There´s a PLC not released in many countries, but capable to manage up to 3 axis using step and direction control, is called DVP20PM or PM series.

20070817-20PM

This PLC needs special software called PMSoft, available on the web for free, as always.
This software a part from be able to program DVP20PM, it have the capability to work with G-Code files

PM-Soft Software

The G-Code files are a codified files that transform a Autocad file into a motion control trajectories, making the programming of motion control systems really easy.
Thanks to that codification, you can cut a difficult wood profile for example, designed previously using Autocad, and avoiding the hard PLC programming work to the engineer.

The problem that customer use to have with DVP20PM is when customer want to change the cutting profile of their product, because in that occasions, the Computer is needed, and not always our customer have a computer on the machine, isn’t it!

G-Code DVP20PM Download

Here, is where appears our new DOP-PS models, already available in EMEA region.
With this HMI´s your customer have the capability to change the G-Code profile only with one USB disk, following the next process:
1. Create Autocad File
2. Transform to G-Code and copy to USB disk
3. Connect the USB Disk to the DOPB-PS and download it to the 20PM
4. Run the program!

According to that, our HMI team prepares for us the complete following example where we´re going to cut an Scorpion picture profile into our 20PM.

You can download the HMI and PLC programs, and a nice pdf detailed explanation of how they create this application in our FTP Delta application guide folder

DVP20PM + DOPB-PS and G-Code download feature example

As you should understand this really simple kind of CNC tool could be applied to many kind of applications, from Wood cutting, plasma, or gluing, to stone grinding or even metal cutting!
Don´t hesitate to share your experiences with us.

And really soon same functionality to DVP10MC the future CANopen motion controller from Delta!

PLC Link (PLC to Temperature Controllers)

Happy new year 2013 for you all.
We decide to start this new ear with a new chapter of the PLC-Link series, I hope you like it!

As we see on the other chapters PLC to PLC and PLC to VFD, PLC Link is a method to easily communicate with Delta devices based on RS485 Modbus.
Because we already did it PLC and VFD, today we´ll do it with Temperature controllers.

1. Netwrok Structure:
Communication is RS485, so follow the twisted pairs recommendations when possible.
untitled

2. DTC Configuration:
First you have to setup the communication protocol as the PLC (9600,7,E,1 ASCII)
Second, remeber to change to 1 the parameter “Communication write-in selection”

untitled

3. PLC Software:
Step 1 -> Set up communication protocol
Step 2 -> Set the number of register to be read/write (Check manual to understand the D1436 and D1452 special register meaning).
Step 4 -> Select the registers to be read/write (H4700 = Present Value; H4701 = Set Value)
Check the following Table for DTA and DTB
untitled
For DTC or DTD jus follow the DTC manual table
Step 5 -> Enable PLC-Link

Do not hesitate to download the below examples
PLC LINK COM2 (PLC – DTC) and PLC LINK COM2 (PLC – DTA).dvp (Tested by DDC Automation)

Special Thanks to DDC Automation from UK for this example
Let us know your experience

Easy Download – How to Download/Upload without disclose PLC program

How many of you, live this situation?
You sent your perfectly tested software to the end-user to download to their machine, and suddenly the machine don´t works!
Later you arrive to the machine, and surprisingly somebody change the program, even according to you customer nobody did it…

So yes, with this tool you will avoid this typical situations.
This is an old tool, but quite unknown for Delta users, so let me introduce to Delta Easy download to the blog users.

The procedure is quite simple, just open your wpl program with this software and create the DVZ file (If you use ISP you must transform to WPL, sorry about that).

How to create DVZ file

And later once you got the DVZ file, you can send it to your customer, an they just need to download to the PLC.

How to download DVZ file
The download can be trough Serial Port, or Ethernet.

Feel free to download this tool for free on our FTP site.
Easydownload v1.8

By the way, yo can use it with DVPPCC01 too!