Bridge the embedded world to the browser — the Micro‑StudioPLC middle layer
Micro‑StudioPLC allows easy applications development, it is a bridge to hardware. It abctracts application code writing from the hardware layer. MSPLC connects to embedded device running real-time K‑RT kernel. The embedded kernel drivers provide to the application needed I/O, GPIO, analog, serial and more, which high level application can use for any purpose such as measurement and controls.
The embedded Web UI is tied to the hardware through Micro-StudioPLC.
Below are example of applications running in the web Browser and controlling,
reading, monitoring hardware device. The gathered datas can be used by
application code.
// Javascript code interacting with HW through MSPLC API // API v1.0 const api_gpio_grd = '/api/gpio/grd'; const api_gpio_gwd = '/api/gpio/gwd'; const api_gpio_config = '/api/gpio/config'; // Function reading Hardware DIs async function fetchPin(pin) { const res = await fetch(`${api_gpio_grd}/${pin.pin}`); const data = await res.json(); pin.value = data.value; } // Function writing DO async function togglePin(pinNumber, newValue) { await fetch(`${api_gpio_gwd}/${pinNumber}`, { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ value: newValue }) }); pin.value = newValue; render(); }
For more infos on MSPLC API check this page.
Micro‑StudioPLC software stands between the K‑RT kernel and frontend systems. All communication follows a message-oriented model with typed registers and structured access policies.
Browse Applications and Hardware ports in Kernel-Real Time page.
Studio supports: