<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.somlabs.com/index.php?action=history&amp;feed=atom&amp;title=OpenPLC-on-SL-IoT-BOX-VisionSOM-6ULL</id>
	<title>OpenPLC-on-SL-IoT-BOX-VisionSOM-6ULL - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.somlabs.com/index.php?action=history&amp;feed=atom&amp;title=OpenPLC-on-SL-IoT-BOX-VisionSOM-6ULL"/>
	<link rel="alternate" type="text/html" href="https://wiki.somlabs.com/index.php?title=OpenPLC-on-SL-IoT-BOX-VisionSOM-6ULL&amp;action=history"/>
	<updated>2026-04-28T10:44:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://wiki.somlabs.com/index.php?title=OpenPLC-on-SL-IoT-BOX-VisionSOM-6ULL&amp;diff=4400&amp;oldid=prev</id>
		<title>KrzysztofChojnowski: Created page with &quot;{{PageHeader|OpenPLC on SL-IoT-BOX with VisionSOM-6ULL}}  __toc__  == OpenPLC runtime ==  The default Debian system image for SL-IoT-BOX with VisionSOM-6ULL has OpenPLC runtime installed and enabled (https://autonomylogic.com/docs/openplc-overview/). After running the system, the OpenPLC webserver can be accessed using the network name or IP address with 8080 port: * http://somlabs-iot-box-6ull:8080/login * &lt;IP address&gt;:8080  The IP address can be checked after logging t...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.somlabs.com/index.php?title=OpenPLC-on-SL-IoT-BOX-VisionSOM-6ULL&amp;diff=4400&amp;oldid=prev"/>
		<updated>2025-04-25T16:26:37Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{PageHeader|OpenPLC on SL-IoT-BOX with VisionSOM-6ULL}}  __toc__  == OpenPLC runtime ==  The default Debian system image for SL-IoT-BOX with VisionSOM-6ULL has OpenPLC runtime installed and enabled (https://autonomylogic.com/docs/openplc-overview/). After running the system, the OpenPLC webserver can be accessed using the network name or IP address with 8080 port: * http://somlabs-iot-box-6ull:8080/login * &amp;lt;IP address&amp;gt;:8080  The IP address can be checked after logging t...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{PageHeader|OpenPLC on SL-IoT-BOX with VisionSOM-6ULL}}  __toc__&lt;br /&gt;
&lt;br /&gt;
== OpenPLC runtime ==&lt;br /&gt;
&lt;br /&gt;
The default Debian system image for SL-IoT-BOX with VisionSOM-6ULL has OpenPLC runtime installed and enabled (https://autonomylogic.com/docs/openplc-overview/). After running the system, the OpenPLC webserver can be accessed using the network name or IP address with 8080 port:&lt;br /&gt;
* http://somlabs-iot-box-6ull:8080/login&lt;br /&gt;
* &amp;lt;IP address&amp;gt;:8080&lt;br /&gt;
&lt;br /&gt;
The IP address can be checked after logging to the serial console as root (password: root) or as som (password: som) and calling ip a command.&lt;br /&gt;
&lt;br /&gt;
The default webserver login credentials are:&lt;br /&gt;
* username: openplc&lt;br /&gt;
* password: openplc&lt;br /&gt;
&lt;br /&gt;
[[Image:openplc_6ull_1.png|center|800px]]&lt;br /&gt;
&lt;br /&gt;
== Setting hardware ==&lt;br /&gt;
&lt;br /&gt;
OpenPLC requires correct hardware driver to support hardware inputs and outputs. The driver for the SL-IoT-BOX is called &amp;#039;&amp;#039;SoMLabs IoT Box&amp;#039;&amp;#039; and should be selected in &amp;#039;&amp;#039;Hardware&amp;#039;&amp;#039; window. After clicking &amp;#039;&amp;#039;Save changes&amp;#039;&amp;#039; the driver will be compiled.&lt;br /&gt;
&lt;br /&gt;
[[Image:openplc_6ull_2.png|center|800px]]&lt;br /&gt;
&lt;br /&gt;
[[Image:openplc_6ull_3.png|center|800px]]&lt;br /&gt;
&lt;br /&gt;
SL-IoT-BOX has six binary outputs and four binary inputs configured for OpenPLC programs. They are mapped as follows:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|- style=&amp;quot;background-color:#c0c0c0;&amp;quot;&lt;br /&gt;
! OpenPLC address&lt;br /&gt;
! GPIO&lt;br /&gt;
! Connector&lt;br /&gt;
! Function&lt;br /&gt;
|-&lt;br /&gt;
| %IX0.0&lt;br /&gt;
| GPIO3_IO5&lt;br /&gt;
| J6A_2&lt;br /&gt;
| Digital input&lt;br /&gt;
|-&lt;br /&gt;
| %IX0.1&lt;br /&gt;
| GPIO3_IO11&lt;br /&gt;
| J6A_3&lt;br /&gt;
| Digital input&lt;br /&gt;
|-&lt;br /&gt;
| %IX0.2&lt;br /&gt;
| GPIO3_IO4&lt;br /&gt;
| J6A_4&lt;br /&gt;
| Digital input&lt;br /&gt;
|-&lt;br /&gt;
| %IX0.3&lt;br /&gt;
| GPIO3_IO6&lt;br /&gt;
| J6A_5&lt;br /&gt;
| Digital input&lt;br /&gt;
|-&lt;br /&gt;
| %QX0.0&lt;br /&gt;
| GPIO1_IO14&lt;br /&gt;
| J5A_2&lt;br /&gt;
| Digital output&lt;br /&gt;
|-&lt;br /&gt;
| %QX0.1&lt;br /&gt;
| GPIO1_IO26&lt;br /&gt;
| J5A_3&lt;br /&gt;
| Digital output&lt;br /&gt;
|-&lt;br /&gt;
| %QX0.2&lt;br /&gt;
| GPIO1_IO22&lt;br /&gt;
| J5A_4&lt;br /&gt;
| Digital output&lt;br /&gt;
|-&lt;br /&gt;
| %QX0.3&lt;br /&gt;
| GPIO1_IO12&lt;br /&gt;
| J5A_5&lt;br /&gt;
| Digital output&lt;br /&gt;
|-&lt;br /&gt;
| %QX0.4&lt;br /&gt;
| GPIO1_IO11&lt;br /&gt;
| J2_4-6&lt;br /&gt;
| Relay output&lt;br /&gt;
|-&lt;br /&gt;
| %QX0.5&lt;br /&gt;
| GPIO1_IO15&lt;br /&gt;
| J2_1-3&lt;br /&gt;
| Relay output&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Demo application ==&lt;br /&gt;
&lt;br /&gt;
OpenPLC runtime executes programs built using OpenPLC IDE (https://autonomylogic.com/). The example project and pre-compiled program can be downloaded here: [[Media:Openplc_6ull_demo.zip|Openplc_6ull_demo.zip]]&lt;br /&gt;
&lt;br /&gt;
This example uses all four binary inputs to control binary outputs and two relays as shown on the project scheme.&lt;br /&gt;
&lt;br /&gt;
[[Image:openplc_6ull_4.png|center|800px]]&lt;br /&gt;
&lt;br /&gt;
It can be uploaded to SL-IoT-BOX OpenPLC runtime in the &amp;#039;&amp;#039;Programs&amp;#039;&amp;#039; window:&lt;br /&gt;
&lt;br /&gt;
[[Image:openplc_6ull_5.png|center|800px]]&lt;br /&gt;
&lt;br /&gt;
[[Image:openplc_6ull_6.png|center|800px]]&lt;br /&gt;
&lt;br /&gt;
After compilation the project can be run using the &amp;#039;&amp;#039;Start PLC&amp;#039;&amp;#039; button in &amp;#039;&amp;#039;Dashboard&amp;#039;&amp;#039; window&lt;br /&gt;
&lt;br /&gt;
[[Image:openplc_6ull_7.png|center|800px]]&lt;br /&gt;
&lt;br /&gt;
The program autostart after system boot can be enabled in the &amp;#039;&amp;#039;Settings&amp;#039;&amp;#039; window&lt;br /&gt;
&lt;br /&gt;
[[Image:openplc_6ull_8.png|center|800px]]&lt;/div&gt;</summary>
		<author><name>KrzysztofChojnowski</name></author>
	</entry>
</feed>