Software used ds data Server 0 Build 18 pc-dsdata directSoft Programming 0 Build18 pc-pgmsw entivity Studio 1 pc-ent-sdd




Скачать 92.23 Kb.
НазваниеSoftware used ds data Server 0 Build 18 pc-dsdata directSoft Programming 0 Build18 pc-pgmsw entivity Studio 1 pc-ent-sdd
Дата11.09.2012
Размер92.23 Kb.
ТипДокументы


APPLICATION NOTE


Using DSData with Entivity OPC Driver


by

Greg Kiser




Jonesborough, TN

PH: 423-913-2587 x27

FX: 423-913-3287


Email: support@hosteng.com

Website: http://www.hosteng.com


HARDWARE USED


6-slot base D2-06B-1

DL250 CPU D2-250

Ethernet Communications Module H2-ECOM

Fast Ethernet Switch (3rd-party vendor)

PC (WinXP; Standard NIC) (3rd-party vendor)

Associated Ethernet cabling

SOFTWARE USED


DS Data Server v4.0 Build 18 PC-DSDATA

DirectSoft Programming v4.0 Build18 PC-PGMSW

Entivity Studio v7.1 PC-ENT-SDD

OBJECT


To establish communication between the Entivity OPC Client and the DL250 CPU via DS Data.

HARDWARE CONFIGURATION



DL205


PC


Entivity OPC Client

P


/

S

D

L

2

5

0

E

C

O

M


DSData OPC Server




NIC









Ethernet Switch







PROCEDURE



It is assumed that all of the software listed above is properly installed on the PC before beginning. No installation instructions for the software are therefore included in this procedure.


  1. Configure DSData.




  1. Start DSData. Start All Programs DirectSOFT4 DirectSOFT32 Data Server Tools DirectSOFT32 Data Server.





  1. From the menu: Setup Topics.





  1. Press Add… button.





  1. Type in a Topic Name: (e.g. GregsTest) and press the Comm Link button.





  1. The assumption here is made that you already have links to your PLC configured. If you don’t, you must use the Add… button and create one. Then pick the link you want to use from this list and press the Select button. Now the Comm Link should show your link. (e.g. GregsECOM).





  1. Press the OK button.





  1. Now the Setup Topics should show your TopicName:Link in the window. Press the Close button. Now the OPC Topic is set up and you should see it in the left window and some default Items listed in the right window.





  1. Right-mouse click on your Topicname in the left window (e.g. GregsTest) and select Add to Topic Item.





  1. Type in an Item Name: (e.g. Fred) and a PLC Element: (e.g. v7747). Click on the OK button.


NOTE: V7747 was chosen because in a DL205 PLC this location contains a 10ms counter (see DL205 User Manual pg. 3-42) and will be constantly changing thus serving the purpose of proving the connection is working without having to write a PLC program.


  1. Use this same procedure to create the following Item as well.





  1. Now you should notice that your Items (e.g. Fred, Wilma) are added to the list in the right window. This completes the DSData set up.





  1. Enter a Simple Program in DL250 to Manipulate Counter 0 Count.




  1. Enter the following simple program to manipulate the CTA0 count.


NOTE: CTA0 was chosen because counter values are in BCD format, and to display this properly in Entivity requires the use of what is called a modifier. This will be shown later.





NOTE: This simple program starts T0, which resets itself every second. Each time T0 resets itself, CT0 increments its current count. When it reaches maximum of 999 counts, CT0 resets itself back to zero.


  1. Configure the Entivity OPC Driver.




  1. Start Entivity Studio: Start All Programs Entivity Studio Project Center.





  1. Select File New.





  1. Click the ConnectivityCenter button.





  1. Select Drivers Add and in the pull-down box select the Tag Link Driver.





  1. Click the OK button.





  1. Select Devices Add. Then in the Link Type: box, select “Entivity OPC Client Tag Link Module” as shown. Then in the Link Size: box, select “ENT-READ-50 50 Tag Read.”





  1. Press the Browse… button and under your PC name select the “DSData OPC Server (DSData OPC Server)” folder as shown.





  1. Click the OK button, and your Add Tag Link dialog should now look like the following:





  1. Click the OK button.





  1. At the bottom of the screen, click on the Tag Mapping tab.





  1. Edit the first and second lines to look like the following. You do this by going under Local ID and typing in a “0” on line 1, then Entivity will ask you if you want to create this data type. Select “yes” and then edit the Remote Tagname to point to your DS Data Items that we have already defined.


NOTE: Notice that the [GregsTest]Wilma has the modifier :B added to it. This is because the CTA0 value in the PLC is BCD, and in order for Entivity to display this value properly, the :B modifier is used to force it to display the value in BCD instead of decimal.





  1. Test Entivity OPC Connection using ConnectivityCenter.




  1. Select Configuration Connect.





  1. Select Configuration Scan, and notice that underneath Value that the Remote Tagnames are updating.





  1. Configure a Runtime Screen to Display the Values.




  1. Take the ConnectivityCenter out of Scan mode by selecting Configuration Disconnect.




  1. Save the ConnectivityCenter configuration by selecting Configuration Save. (You could use Save As if you desire to give it a name other than the default of “untitiled.tio.”




  1. Switch to the Entivity Project Center by selecting Tools ProjectCenter.





  1. Create a screen by selecting File New Screen.





  1. Name the Screen as shown and press the OK button.





  1. In the left column, click and open the “Edit and Display” bar.





  1. Click and drag the item labeled “User-defined” and drop them on the screen.





  1. Select the first one, and right-mouse click on it and select “Screen Properties” from the resultant pull-down menu.





  1. Select the “Data” tab.





  1. Click under the Field Type column and select “Display,” then under the Expression column type in the first Local Tagname we defined in the ConnectivityCenter that pointed to [GregsTest]Fred . . . namely “Number0” as shown:





  1. Now, on the screen, select the second item and follow the same procedure to assign it to the second Local Tagname we defined in the ConnectivityCenter . . . namely “Number1.”





  1. Save the screen configuration by selecting File Save.




  1. Switch back to the ProjectCenter and save the project by selecting File Save.




  1. Now go to Runtime by pressing the Runtime button. Entivity should then build the project and open up a Runtime screen with the screen we just configured and display the values changing in the PLC.






Похожие:

Software used ds data Server 0 Build 18 pc-dsdata directSoft Programming 0 Build18 pc-pgmsw entivity Studio 1 pc-ent-sdd iconProposal to nsf 99-105 c aravel: An Architecture and Software System for Automated Feature Detection, Data Mapping, Navigation and Visualization of Large-Scale Simulation Data

Software used ds data Server 0 Build 18 pc-dsdata directSoft Programming 0 Build18 pc-pgmsw entivity Studio 1 pc-ent-sdd iconBurning Studio Tools & Software Protection

Software used ds data Server 0 Build 18 pc-dsdata directSoft Programming 0 Build18 pc-pgmsw entivity Studio 1 pc-ent-sdd iconNew Media as Digital Data Controlled by Software: Computers model reality through data structures and algorithms, so media born digital will also share those two features. (Wardrip-Fruin, 17)

Software used ds data Server 0 Build 18 pc-dsdata directSoft Programming 0 Build18 pc-pgmsw entivity Studio 1 pc-ent-sdd iconS7-graph V 3 sp6 Programming Software for Runtime Control with simatic s7

Software used ds data Server 0 Build 18 pc-dsdata directSoft Programming 0 Build18 pc-pgmsw entivity Studio 1 pc-ent-sdd iconЭкзаменационные вопросы интернет-курсов интуит (intuit): 208. Командная разработка с использованием Visual Studio Team Foundation Server
В качестве параметров командной строки tfsbuild для создания плановой сборки на сервере tfs необходимо указать
Software used ds data Server 0 Build 18 pc-dsdata directSoft Programming 0 Build18 pc-pgmsw entivity Studio 1 pc-ent-sdd iconCommercial software tools for data quality and record linkage in the process of microintegration (Jaroslav Kraus and Ondřej Vozár czso) 24

Software used ds data Server 0 Build 18 pc-dsdata directSoft Programming 0 Build18 pc-pgmsw entivity Studio 1 pc-ent-sdd iconЭкзаменационные вопросы интернет-курсов интуит (intuit): 241. Проектирование информационных систем в Microsoft sql server 2008 и Visual Studio 2008
Если при создании новой пользовательской функции используется одна sql команда после служебного слова return, то в этом случае
Software used ds data Server 0 Build 18 pc-dsdata directSoft Programming 0 Build18 pc-pgmsw entivity Studio 1 pc-ent-sdd iconThis paper introduces the basic concepts of Agile Database Techniques, and effective ways to go about the Data-Oriented aspects of Object Oriented software

Software used ds data Server 0 Build 18 pc-dsdata directSoft Programming 0 Build18 pc-pgmsw entivity Studio 1 pc-ent-sdd iconApproved Combining mathematical programming and constraint programming to solve large scale integrated

Software used ds data Server 0 Build 18 pc-dsdata directSoft Programming 0 Build18 pc-pgmsw entivity Studio 1 pc-ent-sdd iconЛекция №1
Требования к работе пользователя на пк, что должен знать и уметь делать к 4 –ому курсу вмк (ms office хр, Интернет, Browser, Инструментальные...
Разместите кнопку на своём сайте:
Библиотека


База данных защищена авторским правом ©lib.znate.ru 2014
обратиться к администрации
Библиотека
Главная страница