How to communicate with Excel from Intouch SCADA?

You know why SCADA is being used in industries. The main purposes are,


  1. For Data Acquisition

  2. Graphical Control.

  3. Easy to interpret with data while being controlling field instruments from the SCADA.


There may be times when we have to store the data in the spreadsheet for later use or visualizing them instantly.


So we are gonna implement Excel communication from InTouch SCADA.


I am going to pull out a slider from the wizard and a tank from the symbol factory to make it graphically inclined.



Now we are gonna assign an analog tag to the slider by double-clicking it.

I am giving the tag name ‘LT1’. Which is the short form of the level transmitter

Now it’s going to ask to define the tag. 


I am going to choose the tag as I/O real. Which means this tag can act as input to this project or output from the project to another software.



After choosing I/O real we are going to give access name.



Click on ADD to add an access name.



You can give any name to the Access text box. Notice that the node name has to be empty. The application name is Excel since we are going to communicate with it.

The topic name should be the name of the excel file and the format of all excel files are .xlsx. Notice that we are going to use the DDE protocol to establish communication.



After adding the access name there will be a text box called item, we have to specify in there which column and row the value has to be stored in the excel sheet. Then save the tag and exit. Now the tag is ready to act as I/o tag.


So before going to the run time you have to open the Excel and create a new file with the same topic name as given in the Add access name dialog box leaving out the format and save the file anywhere.


Now we are going to give Break cell to the tank and access the percent fill of the tank. I am gonna give the same tag name here so whenever there is movement on the slider it’ll reflect on the fill percent of the tank.




Now we are going to run time.  Before going to the run time remember that the excel file which we saved is open already.



Notice that the value is accurately getting printed on the excel sheet. Since it was a real tag.


Comments


  1. This is really a good source of information, I will often follow it to know more information and expand my knowledge, I think everyone should know it, thanks Best Scada in Abu Dhabi service provider.

    ReplyDelete

Post a Comment