Logo Open-source C/C++ Library for SLMP (Seamless Message Protocol)


libslmp

Installation

  1. Install prerequisities
  2. Clone sources,

    git clone https://github.com/Neucrede/libslmp2.git
    
  3. Create build directory and cd to it.

    cd libslmp2
    mkdir -p build
    cd build
    
  4. Configure and generate makefile.

    cmake ../libslmp2
    
  5. Build

    cmake --build .
    
  6. Install

    cmake --install .
    

melcli4j

Java library for communication with Mitsubishi(R) MELSEC(R) series PLCs through SLMP. The library uses JNA to wrap C-style APIs provided in libmelcli which was included in libslmp project, hence both libmelcli and libslmp libraries should be built and installed on the computer that runs Java applications that depend on melcli4j.

Build

  1. Install prerequisities
  2. Clone sources
    git clone https://github.com/Neucrede/libslmp2.git
    
  3. Change current directory to melcli4j
    cd libslmp2/melcli4j
    
  4. Build
    mvn -DskipTests=true package
    mvn -DskipTests=true javadoc:javadoc
    
  5. Output files are inside targets directory.

Install into Local Maven Repository

To install the package into local Maven repository, run the following command.

mvn org.apache.maven.plugins:maven-install-plugin:3.1.1:install-file -Dfile=path_to_JAR_file

Add the following lines in dependencies section of the POM of your Maven project to introduce dependency on melcli4j.

<dependency>
  <groupId>net.libslmp</groupId>
  <artifactId>melcli4j</artifactId>
  <version>1.0</version>
</dependency>