Skip to content

Commit

Permalink
Update libplctag.md
Browse files Browse the repository at this point in the history
[noci]

Signed-off-by: timyhac <timyhac@gmail.com>
  • Loading branch information
timyhac authored Jul 12, 2024
1 parent 06f1eef commit e8f8769
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/libplctag.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Read more on the [libplctag wiki](https://github.com/libplctag/libplctag/wiki/AP

## `Tag`

libplctag.NET provides a wrapper for the C API naturalised for .NET
libplctag.NET provides a wrapper for the C API naturalised for .NET.
The `Tag` class is intended to be functionally equivalent to the C API.

For example:
Expand Down Expand Up @@ -113,6 +113,7 @@ The manuals provided by your device manufacturer are the best source of informat
All types are shipped with XML documentation, so the full API is discoverable in your IDE.

### `libplctag.DataTypes` namespace

* [`IPlcMapper`](src/libplctag/DataTypes/IPlcMapper.cs)
* [`DintPlcMapper`](src/libplctag/DataTypes/DintPlcMapper.cs)
* [`LrealPlcMapper`](src/libplctag/DataTypes/LrealPlcMapper.cs)
Expand All @@ -121,6 +122,9 @@ All types are shipped with XML documentation, so the full API is discoverable in
Of note are [TagInfoPlcMapper](src/libplctag/DataTypes/TagInfoPlcMapper.cs) and [UdtInfoMapper](src/libplctag/DataTypes/UdtInfoPlcMapper.cs), which can be used to [list the tags in a ControlLogix PLC](src/Examples/CSharp%20DotNetCore/ListUdtDefinitions.cs).

### `libplctag.DataTypes.Simple` namespace

In simple cases such as atomic tags (e.g.`DINT`) or arrays of atomic tags (e.g. `LREAL[x,y]`), we provide classes that pair a built-in `IPlcMapper` with the natural .NET type:

* [`TagDint`](src/libplctag/DataTypes/Simple/Definitions.cs#L21)
* [`TagLreal2D`](src/libplctag/DataTypes/Simple/Definitions.cs#L41)
* ... and so on
Expand Down

0 comments on commit e8f8769

Please sign in to comment.