using the sst devicenet opc server with …...2. install intellution’s fix32 software. 3. install...

21
Using The SST DeviceNet OPC Server With Intellution Fix 32 Under Windows NT ADN99001 Version 0.1 DeviceNet OPC Server The Device Net OPC Server allows users to connect to the DeviceNet network. About this Technical Note This technical note explains how to set up the SST.DnCdaOpcSvr.1. It takes you from having none of the required software installed to communicating on the network and retrieving data. This technical note assumes: you have no previous experience with SST products or Intellution’s FIX 32 software Hardware used PLC None Interface card 5136-DN-ISA Key for server none required (key required for developing an Intellution FIX 32 project, but not to run the OPC PowerTool) Physical I/O Allen-Bradley Photo Eye Any other hardware DeviceNet Compliant cable, 2--120ohm terminating resistors. Connectors are provided with the 5136-DN-ISA card. Software used Operating system Windows NT 4.0 service pack 3 Programming software used None Other software required 32-bit Windows software for the 5136-DN card OPC Server version SSDNOpc.dll (OPC Server v1.31)

Upload: others

Post on 05-Aug-2020

11 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Using The SST DeviceNet OPC Server With …...2. Install Intellution’s FIX32 software. 3. Install the OPC PowerTool software from Intellution. 4. Install the SST 32-bit Windows software,

Using The SST DeviceNet OPC Server With Intellution Fix 32 Under Windows NT

ADN99001 Version 0.1

DeviceNet OPC Server The Device Net OPC Server allows users to connect to the DeviceNet network.

About this Technical Note This technical note explains how to set up the SST.DnCdaOpcSvr.1. It takes you from having none of the required software installed to communicating on the network and retrieving data.

This technical note assumes: you have no previous experience with SST products or Intellution’s FIX 32 software

Hardware used PLC None

Interface card 5136-DN-ISA

Key for server none required (key required for developing an Intellution FIX 32 project, but not to run the OPC PowerTool)

Physical I/O Allen-Bradley Photo Eye

Any other hardware DeviceNet Compliant cable, 2--120ohm terminating resistors. Connectors are provided with the 5136-DN-ISA card.

Software used Operating system Windows NT 4.0 service pack 3

Programming software used None

Other software required 32-bit Windows software for the 5136-DN card

OPC Server version SSDNOpc.dll (OPC Server v1.31)

Page 2: Using The SST DeviceNet OPC Server With …...2. Install Intellution’s FIX32 software. 3. Install the OPC PowerTool software from Intellution. 4. Install the SST 32-bit Windows software,

Using The SST DeviceNet OPC Server With Intellution Fix 32 Under Windows NT

Page 2 of 21

Setup procedure The setup procedure is divided into three parts:

1. Installing and configuring the 5136-DN-ISA card (Page 2)

2. Setting up the OPC Server (Page 12)

3. Using the OPC PowerTool (Page 14)

1) Installing and configuring the 5136-DN card 1. Turn off your PC and install the 5136-DN-ISA interface card following the instructions for cabling,

termination, etc. found in the 5136-DN-ISA User’s Guide.

2. Install Intellution’s FIX32 software.

3. Install the OPC PowerTool software from Intellution.

4. Install the SST 32-bit Windows software, if you did not do so already, and restart your computer.

5. Choose Start/Programs/SST DeviceNet/Direct-Link Configuration to open the Direct-Link Configuration software.

Page 3: Using The SST DeviceNet OPC Server With …...2. Install Intellution’s FIX32 software. 3. Install the OPC PowerTool software from Intellution. 4. Install the SST 32-bit Windows software,

Using The SST DeviceNet OPC Server With Intellution Fix 32 Under Windows NT

Page 3 of 21

6. Click on the Cards tab in the Direct-Link Configuration. Select your card configuration, and click the Properties button. This opens the Edit Card Config dialog box.

Page 4: Using The SST DeviceNet OPC Server With …...2. Install Intellution’s FIX32 software. 3. Install the OPC PowerTool software from Intellution. 4. Install the SST 32-bit Windows software,

Using The SST DeviceNet OPC Server With Intellution Fix 32 Under Windows NT

Page 4 of 21

7. The resources specified in the Edit Card Config dialog box must not be in use by any other device in your PC. If you choose resources that are unavailable you will get a resource conflict and the interface card will not initialize (the red LED on the card will be solid). It is possible to have more than one card configuration; therefore you must select/create the one for your card. The settings in the fields below may not be the correct ones for your application. Your settings depend on available resources in your computer. The Card Name can be anything. The only other fields that may need to change from the default seen below are the I/O Address and the Memory Address. The Window Size must be 16K.

Once you have made all of the proper entries click OK. If you are asked to restart do so at this time.

Page 5: Using The SST DeviceNet OPC Server With …...2. Install Intellution’s FIX32 software. 3. Install the OPC PowerTool software from Intellution. 4. Install the SST 32-bit Windows software,

Using The SST DeviceNet OPC Server With Intellution Fix 32 Under Windows NT

Page 5 of 21

Creating a configuration Start the DeviceNet Configuration Tool Launch the DeviceNet Configuration Tool application by clicking on the “SST DeviceNet Configuration Tool” shortcut created by the installation process.

Add and configure a master From the Edit menu, select Insert New Node. This will create a new scanner node entry in the main window. You can also right click on “The Network (Network Configuration)” and select “New”

To configure the newly added scanner node, right click on the scanner node (named Scanner1, above) and select Properties, or from the Edit menu select Properties while the scanner node is highlighted. This brings up the Node Properties dialog box, set the required options under the Identity tab. For Example: Card Name = Driver250 MAC ID = 5 (MAC ID of scanner when communicating on the network) Baud Rate = 125K or 250K or 500K (baud rate to be used when communicating on the network) Scan Interval = 0 (default scan interval of zero scans devices as quickly as possible) Once all of the settings in the “Identity” tab have been set then select “OK”.

Page 6: Using The SST DeviceNet OPC Server With …...2. Install Intellution’s FIX32 software. 3. Install the OPC PowerTool software from Intellution. 4. Install the SST 32-bit Windows software,

Using The SST DeviceNet OPC Server With Intellution Fix 32 Under Windows NT

Page 6 of 21

Configuring and using the Online Browse Online browsing allows you to browse an existing DeviceNet Network to determine the devices present on the network. Devices that are detected can be added to your network configuration from the Online Browse view.

To configure the Online Browse network settings from the Tools menu select Online | Define Connection

or click on the “Online Connection Settings” toolbar button . In the Properties dialog, select the Access Point (Card name, from Direct-Link Configuration.) , Baud Rate, and MAC ID to be used when browsing the DeviceNet network.

Browsing the Network

From the Tools menu select Online | Connect or Refresh, or select the Refresh Online View button . A progress bar will then appear as the Configuration Tool browses the network for devices.

Page 7: Using The SST DeviceNet OPC Server With …...2. Install Intellution’s FIX32 software. 3. Install the OPC PowerTool software from Intellution. 4. Install the SST 32-bit Windows software,

Using The SST DeviceNet OPC Server With Intellution Fix 32 Under Windows NT

Page 7 of 21

A list of devices on your DeviceNet network will appear in the Online Browse window (bottom).

Adding a device to the scan list To add a device from the Online Browse view to your scanner configuration, using your mouse, simply drag and drop the desired device into the Network Configuration view.

Page 8: Using The SST DeviceNet OPC Server With …...2. Install Intellution’s FIX32 software. 3. Install the OPC PowerTool software from Intellution. 4. Install the SST 32-bit Windows software,

Using The SST DeviceNet OPC Server With Intellution Fix 32 Under Windows NT

Page 8 of 21

Edit the device’s properties Click on the newly added device and select the Edit | Properties menu item, or click the “Modify

Properties” button . In the Node Properties dialog, device information can be changed and tags can be added for use with the DeviceNet OPC Server.

Page 9: Using The SST DeviceNet OPC Server With …...2. Install Intellution’s FIX32 software. 3. Install the OPC PowerTool software from Intellution. 4. Install the SST 32-bit Windows software,

Using The SST DeviceNet OPC Server With Intellution Fix 32 Under Windows NT

Page 9 of 21

Add tags To add tags, click on the Tags tab, and then click New. The Tag Properties dialog will appear. Here the tag’s name and properties can be changed. Click on the Tags tab to change the information that describes the tag’s data.

Page 10: Using The SST DeviceNet OPC Server With …...2. Install Intellution’s FIX32 software. 3. Install the OPC PowerTool software from Intellution. 4. Install the SST 32-bit Windows software,

Using The SST DeviceNet OPC Server With Intellution Fix 32 Under Windows NT

Page 10 of 21

After changing the tag’s properties, click on OK. In the Node Properties dialog, repeat the previous steps to add more tags for this device, or click on OK to continue.

Add scanner status tags Tags may also be created for monitoring status information related to a device. To do this, right click on the scanner entry (Scanner1) and select Properties.

Page 11: Using The SST DeviceNet OPC Server With …...2. Install Intellution’s FIX32 software. 3. Install the OPC PowerTool software from Intellution. 4. Install the SST 32-bit Windows software,

Using The SST DeviceNet OPC Server With Intellution Fix 32 Under Windows NT

Page 11 of 21

The Node Properties dialog will appear. Select the Tags tab, and click New.

The Tag Properties dialog will appear. Here a tag’s name and properties can be changed. Click on the Tags tab to change the information that describes the tag’s data.

After selecting a tag type and changing its properties, click on OK. In the Node Properties dialog, repeat the previous steps to add more tags for this device, or click on OK to continue.

Page 12: Using The SST DeviceNet OPC Server With …...2. Install Intellution’s FIX32 software. 3. Install the OPC PowerTool software from Intellution. 4. Install the SST 32-bit Windows software,

Using The SST DeviceNet OPC Server With Intellution Fix 32 Under Windows NT

Page 12 of 21

Save the configuration To save the configuration, open the File menu, and choose the Save As option.

Exit the DeviceNet Configuration Tool Save the configuration, and exit the DeviceNet Configuration Tool.

2) Creating an OPC server network configuration Edit the device’s properties Launch the SST OPC Server Configuration application. The installation software will have created this shortcut in the “SST Device Net” entry in the “Start Menu”.

Page 13: Using The SST DeviceNet OPC Server With …...2. Install Intellution’s FIX32 software. 3. Install the OPC PowerTool software from Intellution. 4. Install the SST 32-bit Windows software,

Using The SST DeviceNet OPC Server With Intellution Fix 32 Under Windows NT

Page 13 of 21

Click on the New button to add a “Net configuration”. Within the Edit Net Configuration dialog, enter the path to, or browse for, the network configuration that was previously saved. Select the desired network interface (Scanner1) and click OK.

The network configuration is now selected. In the Net Configuration List dialog, click on Done to exit the SST OPC Server configuration application.

Start the OPC Client The SST OPC Server is now ready for use by your OPC client. Launch your OPC client and connect to the SST DeviceNet OPC Server (SST.DnCdaOpcSvr.1) as outlined in your OPC client documentation.

Page 14: Using The SST DeviceNet OPC Server With …...2. Install Intellution’s FIX32 software. 3. Install the OPC PowerTool software from Intellution. 4. Install the SST 32-bit Windows software,

Using The SST DeviceNet OPC Server With Intellution Fix 32 Under Windows NT

Page 14 of 21

3) Using the OPC PowerTool 1. Choose Start/Programs/Intellution FIX/OPC PowerTool to open the Intellution FIX OPC PowerTool.

2. Enable Use Local Server and click on the Connect button.

Page 15: Using The SST DeviceNet OPC Server With …...2. Install Intellution’s FIX32 software. 3. Install the OPC PowerTool software from Intellution. 4. Install the SST 32-bit Windows software,

Using The SST DeviceNet OPC Server With Intellution Fix 32 Under Windows NT

Page 15 of 21

3. Once the client (OPC PowerTool) is successfully connected, click on the Add a new OPC server button; the first button in the bottom left corner of the PowerTool window.

4. Select the SST.DnCdaOpcSvr.1 server from the list. Click on OK.

Page 16: Using The SST DeviceNet OPC Server With …...2. Install Intellution’s FIX32 software. 3. Install the OPC PowerTool software from Intellution. 4. Install the SST 32-bit Windows software,

Using The SST DeviceNet OPC Server With Intellution Fix 32 Under Windows NT

Page 16 of 21

Page 17: Using The SST DeviceNet OPC Server With …...2. Install Intellution’s FIX32 software. 3. Install the OPC PowerTool software from Intellution. 4. Install the SST 32-bit Windows software,

Using The SST DeviceNet OPC Server With Intellution Fix 32 Under Windows NT

Page 17 of 21

5. Once the OPC server is added, select Enable in the upper right corner of the window. As each component of the configuration is added (i.e. OPC Server, Group and Item(s)) you must select Enable for each one. When Enable is selected in the OPC Server window, the communication link goes active (i.e. activates the green LED). This may take a few seconds. If it does not go active refer to the Troubleshooting section of this technical note. (Page 21 ) Add a new group. To do this, click on the Add a new group button; the second button in the bottom left corner of the window. Accept the defaults for all of the available fields and click on OK.

Page 18: Using The SST DeviceNet OPC Server With …...2. Install Intellution’s FIX32 software. 3. Install the OPC PowerTool software from Intellution. 4. Install the SST 32-bit Windows software,

Using The SST DeviceNet OPC Server With Intellution Fix 32 Under Windows NT

Page 18 of 21

6. Add items. To do this, click on the Add the Item(s) button; the third button in the bottom left corner of the window. It is possible to manually enter the Item ID. However, it is suggested you use the Browse Server… button because it eliminates errors due to mistyping.

Page 19: Using The SST DeviceNet OPC Server With …...2. Install Intellution’s FIX32 software. 3. Install the OPC PowerTool software from Intellution. 4. Install the SST 32-bit Windows software,

Using The SST DeviceNet OPC Server With Intellution Fix 32 Under Windows NT

Page 19 of 21

7. Click on Browse Server…. Expand the directory structure on the left and select the specific data point you want to access. Click on OK. Your entry is put in the ItemID field.

Page 20: Using The SST DeviceNet OPC Server With …...2. Install Intellution’s FIX32 software. 3. Install the OPC PowerTool software from Intellution. 4. Install the SST 32-bit Windows software,

Using The SST DeviceNet OPC Server With Intellution Fix 32 Under Windows NT

Page 20 of 21

8. With a configured “item” you can now check communications by clicking the START button (right arrow) and then the STATISTICS button (small bar graph) on the toolbar. If communication is good and you referenced a point within the device, Data Quality should be Good and Transmits and Receives should increment.

9. If this does not happen see the Troubleshooting section near the end of this technical note. Once the Interface card, OPC Server SST.DnCdaOpcSvr.1 and OPC client are configured, the final step is to create the FIX 32 project.

Page 21: Using The SST DeviceNet OPC Server With …...2. Install Intellution’s FIX32 software. 3. Install the OPC PowerTool software from Intellution. 4. Install the SST 32-bit Windows software,

Using The SST DeviceNet OPC Server With Intellution Fix 32 Under Windows NT

Page 21 of 21

Troubleshooting

If the OPC client is not communicating and does not show the data quality as Good, check the following:

• Improper network cabling. Did you use termination? If so, are you sure they are the correct value of resistors? Are they placed at each of the physical ends of the network cable? If they are not at each physical end of the network cable, communication problems are likely to occur. Be sure you do not have the communication wires the wrong way around.

• Wrong baud rate. Does the baud rate of the OPC server match the baud rate of the device(s) you are communicating to?

• Do you have power on the DeviceNet network? 24 volts between V+ and V-?

If you need more help SST Technical Support SST, a division of Woodhead Canada Limited 50 Northland Road Waterloo, Ontario N2V 1N3 Canada

Voice: (519) 725-5136 Fax: (519) 725-1515

Email: [email protected]

Web site: www.sstech.on.ca

5136-DN-ISA is a trademark of Woodhead Canada Limited. SST is a trademark of Woodhead Industries, Inc. All other trade names are trademarks or registered trademarks of their respective companies.