Cimon.Net 1.0.0

A .NET Library for Cimon PLCs Connectivity

Install-Package Cimon.Net -Version 1.0.0
dotnet add package Cimon.Net --version 1.0.0
<PackageReference Include="Cimon.Net" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Cimon.Net --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Cimon.Net, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Cimon.Net as a Cake Addin
#addin nuget:?package=Cimon.Net&version=1.0.0

// Install Cimon.Net as a Cake Tool
#tool nuget:?package=Cimon.Net&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Cimon.Net

A .NET Library for Cimon PLCs Connectivity

<!-- ABOUT THE PROJECT -->

About The Project

<p>CIMON-PLC is an industrial control device based on international standards of IEC61131. There are many tools and servers to work with PLCs and send/recieve data with them, but what if we want to use our application to communicate? I Couldn't find any library to work with Cimon PLCs, and actually I used them in many projects. So I decided to publish my library.</p>

Getting Started

1. Installing Cimon.Net

You can install Cimon.Net with NuGet Package Manager Console:

Install-Package Cimon.Net

Or via the .NET Core command-line interface:

dotnet add package Cimon.Net

Either commands, from Package Manager Console or .NET Core CLI, will download and install Cimon.Net and all required dependencies.

2. Defining your Connector

Create a Connector based on your connection type, You can choose between EthernetConnector to support Ethernet TCP/UDP connection or SerialConnector to support RS232C/RS485 serial interfaces.

EthernetConnector usage sample for reading 10 bits from Input device memory X address 000001:

var Plc = new EthernetConnector(new TcpSocket("192.168.1.10", 10620), true);
var (responseCode, data) = await Plc.ReadBitAsync(MemoryType.X, "000001", 10);

SerialConnector usage sample for write 5 bits to Output device memory Y address 000010:

var Plc = new SerialConnector(new SerialSocket("COM3", 9600), true);
await Plc.WriteBitAsync(MemoryType.Y, "000010", 1, 1, 1, 0, 1);

Documentation

Check the Wiki and feel free to edit it: https://github.com/MojtabaKiani/Cimon.Net/wiki

Supported PLCs

Complete range of Cimon PLC products including PLC-S, CP, XP series

Compile

You need at least Visual Studio 2019 (you can download the Community Edition for free).

Running the tests

Unit tests use no devices and only work with Faked sockets, but You can test them with PLC only with address a real socket.

Cimon.Net

A .NET Library for Cimon PLCs Connectivity

<!-- ABOUT THE PROJECT -->

About The Project

<p>CIMON-PLC is an industrial control device based on international standards of IEC61131. There are many tools and servers to work with PLCs and send/recieve data with them, but what if we want to use our application to communicate? I Couldn't find any library to work with Cimon PLCs, and actually I used them in many projects. So I decided to publish my library.</p>

Getting Started

1. Installing Cimon.Net

You can install Cimon.Net with NuGet Package Manager Console:

Install-Package Cimon.Net

Or via the .NET Core command-line interface:

dotnet add package Cimon.Net

Either commands, from Package Manager Console or .NET Core CLI, will download and install Cimon.Net and all required dependencies.

2. Defining your Connector

Create a Connector based on your connection type, You can choose between EthernetConnector to support Ethernet TCP/UDP connection or SerialConnector to support RS232C/RS485 serial interfaces.

EthernetConnector usage sample for reading 10 bits from Input device memory X address 000001:

var Plc = new EthernetConnector(new TcpSocket("192.168.1.10", 10620), true);
var (responseCode, data) = await Plc.ReadBitAsync(MemoryType.X, "000001", 10);

SerialConnector usage sample for write 5 bits to Output device memory Y address 000010:

var Plc = new SerialConnector(new SerialSocket("COM3", 9600), true);
await Plc.WriteBitAsync(MemoryType.Y, "000010", 1, 1, 1, 0, 1);

Documentation

Check the Wiki and feel free to edit it: https://github.com/MojtabaKiani/Cimon.Net/wiki

Supported PLCs

Complete range of Cimon PLC products including PLC-S, CP, XP series

Compile

You need at least Visual Studio 2019 (you can download the Community Edition for free).

Running the tests

Unit tests use no devices and only work with Faked sockets, but You can test them with PLC only with address a real socket.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 163 12/19/2020