MASES.PLCOnNetCLI 0.12.1

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global MASES.PLCOnNetCLI --version 0.12.1
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local MASES.PLCOnNetCLI --version 0.12.1
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=MASES.PLCOnNetCLI&version=0.12.1
                    
nuke :add-package MASES.PLCOnNetCLI --version 0.12.1
                    

title: PLCOnNet CLI tool of .NET suite for PLC4X™ _description: Describes the CLI tool to use PLC4X™ classes from any command-line shell

PLCOnNet: CLI

Installation

The dotnet tool needs a JRE/JDK installed within the system (see JVM identification)

Usage

To use the CLI interface (PLCOnNetCLI) runs a command like the following:

  • dotnet tool
plconnet -i

If the previous command raises the error described in Intel CET and PLCOnNet, the only solution is to apply the following workaround (within an elevated shell) and disable CET:

  reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\plconnet.exe" /v MitigationOptions /t REG_BINARY /d "0000000000000000000000000000002000" /f
  • Docker image
docker run ghcr.io/masesgroup/plconnet -i
docker run masesgroup/plconnet -i

Command switch available

plconnet accepts the following command-line switch:

  • ClassToRun: has precedence to all others and needs a second parameter which identify the command class to be executed
  • Interactive (i): Activates an interactive shell
  • Script (s): Executes the c# script in the file arument
  • JarList (jl): A CSV list of JAR to be used or folders containing the JARs
  • NamespaceList (nl): A CSV list of namespace to be used for interactive shell, PLCOnNet namespace are added automatically
  • ImportList (il): A CSV list of import to be used

Plus other switches available at Command line switch page.

JVM identification

One of the most important command-line switch is JVMPath and it is available in JCOBridge switches: it can be used to set-up the location of the JVM library (jvm.dll/libjvm.so) if JCOBridge is not able to identify a suitable JRE installation.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.13.2 104 11/29/2025
0.13.1 186 9/23/2025
0.13.0 95 8/22/2025
0.12.3 158 8/9/2025
0.12.2 610 7/21/2025 0.12.2 is deprecated because it has critical bugs.
0.12.1 413 4/7/2025 0.12.1 is deprecated because it has critical bugs.