A node wrapper for the mticp transpiler, which provides transpilation between numerous IEC 61131-3 languages.
npm install mticp-npmMTI Code Processor (mticp) is a command-line tool for compiling and converting MTI Skipper Sheet projects into IEC 61131-3 compatible formats such as Structured Text (ST), Ladder Logic (LD), and XML. This Node.js wrapper allows mticp to be used in JavaScript-based workflows via npm.
> 🛠️ This package wraps a precompiled C# executable and provides cross-platform support for Node.js environments.
---
``bash`
npm install mticp-npm
This installs the Node.js wrapper along with platform-specific binaries in bin/.
---
You can run mticp via the provided runMticp() function or as a CLI tool:
`js
const { runMticp } = require('mticp-npm');
runMticp([
'action=toiec',
'src=/path/to/project.skip',
'dst=/output/folder'
])
.then(output => console.log('mticp output:\n', output))
.catch(err => console.error('mticp error:\n', err));
`
You can invoke it via CLI if you’ve added it to your scripts:
`bash`
npx mticp action=toxml src=project.skip dst=output/
---
| Action | Description |
|------------|-----------------------------------------------------------------------------|
| help | Prints help text. |toxml
| | Compiles a Skipper Sheet .skip file to MTI's XML format. |toiec
| | Converts a .skip file to IEC 61131-10 Ladder Logic format. |tost
| | Converts a .skip file to IEC 61131-3 Structured Text. |sendxml
| | Programs an MTI device with a compiled MTI XML file. Requires src and dst. |
- action=[help|toxml|toiec|tost|sendxml] – Requiredsrc=[path]
- – Path to source .skip filedst=[path]
- – Output directory or device IP for sendxml
---
- bin/ — Contains platform-specific binaries for mticpindex.js
- — Node wrapper to call the binaryLICENSE
- — Proprietary license notice
---
This software is proprietary and unlicensed for redistribution or modification without express permission from Montgomery Technology, Inc.
``
Copyright © 2025 Montgomery Technology, Inc.
All rights reserved.
---
Nathan Skipper
Montgomery Technology, Inc.
---
IEC, Structured Text, Ladder Logic, Skipper Sheets, PLC, MTI, Transpiler`