Clone sources,
git clone https://github.com/Neucrede/libslmp2.git
Create build directory and cd
to it.
cd libslmp2
mkdir -p build
cd build
Configure and generate makefile.
cmake ../libslmp2
Build
cmake --build .
Install
cmake --install .
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.
git clone https://github.com/Neucrede/libslmp2.git
melcli4j
cd libslmp2/melcli4j
mvn -DskipTests=true package
mvn -DskipTests=true javadoc:javadoc
targets
directory.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>