Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/hylasoft-usa/h-opc
Browse files Browse the repository at this point in the history
  • Loading branch information
itajaja committed Mar 23, 2015
2 parents fb7d5db + 0f1fa35 commit bfbb7bc
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
h-opc [![Build status](https://ci.appveyor.com/api/projects/status/oajkgccisoe98gip/branch/master?svg=true)](https://ci.appveyor.com/project/hylasoft/h-opc/branch/master)
==============

An Opc Library and a command line to perform OPC operations with ease. Currently supports synchronous operation over the UA protocol
An Opc Library and a command line to perform OPC operations with ease and transparency among different protocols. Currently supports synchronous operation over UA and DA protocols.

## Use

Expand All @@ -22,6 +22,15 @@ using (var client = new UaClient(new Uri("opc.tcp://host-url")))
}
````

and to use the DA Client instead:

````cs
using (var client = new DaClient(new Uri("opcda://host-url")))
{
// Use `client` here
}
````

#### Exploring the nodes

You can get a reference to a node with...
Expand Down Expand Up @@ -83,26 +92,28 @@ it's **important** that you either enclose the client into a `using` statement o

## Command line

You can also use the command line interface project to quickly test your an OPC. Build the `h-opc-cli` project or download it from the `release` page of this repository, then run
You can also use the command line interface project to quickly test your an OPC. Build the `h-opc-cli` project or download it from the `release` page of this repository, then run:

````
h-opc-cli.exe OpcType opc.tcp://host-url
h-opc-cli.exe [OpcType] [server-url]
````

Where `OpcType` is the type of opc to use (e.g: UA). Once the project is running, you can use the internal command to manipulate the variable. To have more information aboute the internal commands, type `help` or `?`
Where `OpcType` is the type of opc to use (e.g: "UA", "DA"). Once the project is running, you can use the internal command to manipulate the variable. To have more information aboute the internal commands, type `help` or `?`

## Build + Contribute

The repository uses [cs-boilerplate](https://github.com/hylasoft-usa/cs-boilerplate). Read the readme of the cs-boilerplate repository to understand how to build, run tasks and commit your work to `master`.


## Disclaimer

The following binaries belong to the [OPC Foundation](https://opcfoundation.org/). You must become a registered user in order to use them:

- `OPC.Ua.Client.dll`
- `OPC.Ua.Core.dll`
- `OPC.Ua.Configuration.dll`
- `OpcComRcw.dll`
- `OpcNetApi.Com.dll`
- `OpcNetApi.dll`

You must agree to the terms and condition exposed on the OPC Foundation website. Hyla Soft is not responsible of their usage and cannot be held responsible.

Expand Down

0 comments on commit bfbb7bc

Please sign in to comment.