Search

Delta Industrial Automation

Tips & Tricks

Month

April 2013

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.

Hannover Messe 2013 summary

Dear all, That´s all for this year!
It has been a pleasure to all of you who comes to our booth, and the one who can´t don’t hesitate to come next year.
But If some of you want to be aware of what we bring this year, keep reading this post.

In first place, this was our booth this year!
Plenty of space, don’t you think?
Booth

THis is our new three axis in one solution (ASDA-M) with brand new HMI with PLC included (HMC Human Machine Controller)
Good solution for 3 to 6 axis
3 axis HMC solution

Then we present new IES (Industrial Ethernet Switches) products, with the today and tomorrow solutions.
Managed, unmanaged and wireless technology for our partners.
DVS and AH500 solutions

And If you never see it,get used, because our middle size PLC AH500 is here to stay!
Able to have 4052 local I/O and 128000 remote I/O, this is going to be Delta PLC Future.

And in Inverters a part from the crane an HVAC solutions, give your welcome to the Elevator solution, really soon on the market
Elevator solution

And this was, our star in the booth, it seems a lot of people is interested in our linear motor solution.
So take a look on that video! nice eh!

In behalf of all delta team, be welcome to come next year
SONY DSC

Hannover Messe 2013

Here we go again!

As every year Delta will be and Hannover Messe.
Come to our booth, and we could talk about automation, see you there!!

2013 HM - Delta Invitation

Delta Industrial Automation Business Group sincerely invite you to join us at Hannover Messe 2013 from April 8 to 12. We will showcase many new energy-saving and best-value solutions in the automation field, which is this year’s trade show focus.

We will also hold an Industrial Automation Seminar at 3:00PM-5:50PM, April 9, to give a thorough introduction to Delta’s latest IA solutions with detailed agenda to be released on 3/15. The seminar will be followed by a magnificent dinner party in Munich Hall at 6:00PM.

We cordially invite you to visit us at stand A49, Hall 11, during the event, and attend our Industrial Automation Seminar and dinner party in Munich Hall on April 9.

Blog at WordPress.com.

Up ↑