<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.mediawiki.compulab.com/w/index.php?action=history&amp;feed=atom&amp;title=IOT-GATE-RPI4_I%2FO_Configuration</id>
	<title>IOT-GATE-RPI4 I/O Configuration - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.mediawiki.compulab.com/w/index.php?action=history&amp;feed=atom&amp;title=IOT-GATE-RPI4_I%2FO_Configuration"/>
	<link rel="alternate" type="text/html" href="https://www.mediawiki.compulab.com/w/index.php?title=IOT-GATE-RPI4_I/O_Configuration&amp;action=history"/>
	<updated>2026-04-07T20:08:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://www.mediawiki.compulab.com/w/index.php?title=IOT-GATE-RPI4_I/O_Configuration&amp;diff=4981&amp;oldid=prev</id>
		<title>Igor: Created page with &quot;= Overview = This article provides instructions for ''iotg-rpi4-config'' utility. It's a command-line interactive tool for configuring IOT-GATE-RPI4 peripherals and Industrial...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.mediawiki.compulab.com/w/index.php?title=IOT-GATE-RPI4_I/O_Configuration&amp;diff=4981&amp;oldid=prev"/>
		<updated>2022-04-14T12:56:56Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Overview = This article provides instructions for &amp;#039;&amp;#039;iotg-rpi4-config&amp;#039;&amp;#039; utility. It&amp;#039;s a command-line interactive tool for configuring IOT-GATE-RPI4 peripherals and Industrial...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Overview =&lt;br /&gt;
This article provides instructions for ''iotg-rpi4-config'' utility. It's a command-line interactive tool for configuring IOT-GATE-RPI4 peripherals and Industrial I/O modules.&amp;lt;br&amp;gt;&lt;br /&gt;
The utility is part of [[IOT-GATE-RPI4 OS Configuration Layer|IOT-GATE-RPI4 OS Configuration Layer]].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Running utility =&lt;br /&gt;
{{Note|IOT-GATE-RPI4 configuration settings made by ''iotg-rpi4-config'' are propagated into [https://www.raspberrypi.com/documentation/computers/config_txt.html config.txt] file and require a reboot to take effect.}}&lt;br /&gt;
Please run the ''iotg-rpi4-config'' with root permissions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pi@raspberrypi:~$ sudo iotg-rpi4-config&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Navigation =&lt;br /&gt;
Use the '''Up''' and '''Down''' arrow keys to move through menu options, '''Enter''' to move in and '''Esc''' to move out.&amp;lt;br&amp;gt;&lt;br /&gt;
Use '''Space''' to select/deselect configuration option.&amp;lt;br&amp;gt;&lt;br /&gt;
Use '''Tab''' to jump between menu body and control buttons (e.g. '''Select''', '''Back''' etc.)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Main Menu =&lt;br /&gt;
Main menu provides access to main options:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
┌─────────────┤ IOTG-RPi4 Configuration Tool (iotg-rpi4-config) ├──────────────┐&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│         1 Peripherals                Peripheral devices options              │&lt;br /&gt;
│         2 Industrial I/O modules     Industrial I/O modules options          │&lt;br /&gt;
│         3 Save Changes and Exit      Apply changes and exit                  │&lt;br /&gt;
│         4 Discard Changes and Exit   Exit discarding changes                 │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│                     &amp;lt;Ok&amp;gt;                         &amp;lt;Cancel&amp;gt;                    │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
└──────────────────────────────────────────────────────────────────────────────┘&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure Peripheral devices ==&lt;br /&gt;
IOT-GATE-RPI4 features an optional on-board Trusted Platform Module which can be enabled/disabled via this menu.&lt;br /&gt;
{{Note|TPM is mutually exclusive with I/O slot '''D'''}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
┌─────────────────────┤ Configure IOTG-RPI4 Peripherals ├──────────────────────┐&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│    [*] TPM  Enable/Disable Trusted Platform Module                           │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│                     &amp;lt;Ok&amp;gt;                         &amp;lt;Cancel&amp;gt;                    │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
└──────────────────────────────────────────────────────────────────────────────┘&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Industrial I/O Modules Options ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
┌──────────────────────┤ Industrial I/O Modules Options ├──────────────────────┐&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│     I1 Show                   Show Industrial I/O Modules Configuration      │&lt;br /&gt;
│     I2 Configure              Configure Industrial I/O Modules Settings      │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│                     &amp;lt;Select&amp;gt;                     &amp;lt;Back&amp;gt;                      │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
└──────────────────────────────────────────────────────────────────────────────┘&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configure Industrial I/O Modules ===&lt;br /&gt;
For each industrial slot user is allowed to choose one of following configuration option:&lt;br /&gt;
* Keep (default) - try to preserve a slot configuration currently stored in the ''config.txt'' Should be used to avoid unnecessary explicit configuration&lt;br /&gt;
* Detect - detect a currently plugged industrial I/O module type and store in the ''config.txt''. Used if I/O module has been installed, but hasn't been configured yet&lt;br /&gt;
* CAN - configure CAN interface on a slot regardless of a a currently plugged module type. &lt;br /&gt;
* RS232 - configure RS232 interface on a slot regardless of a currently plugged module type&lt;br /&gt;
* RS485 - configure RS485 interface on a slot regardless of a currently plugged module type&lt;br /&gt;
* IO - configure Digital I/O module on a slot regardless of a currently plugged module type. Affects a neighbor slot as well because Digital I/O module takes two slots&lt;br /&gt;
* Empty - disable any slot configuration in the ''config.txt'' regardless of a currently plugged module type.&lt;br /&gt;
* Deactivate - detect a currently plugged industrial I/O module type and store in the ''config.txt'' as a commented line (best efforts). May be used for example to &lt;br /&gt;
Specific I/O module type options ('''CAN''', '''RS232''', '''RS485''', '''IO''', '''Empty''') are usually used when different I/O module (or no one) is currently installed, but user wants to replace it with different one.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
┌──────────────────────────┤ Industrial I/O Slot A ├───────────────────────────┐&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│    ( ) Keep        Keep current module configuration unchanged               │&lt;br /&gt;
│    ( ) Detect      Detect currently plugged module type: [Empty]             │&lt;br /&gt;
│    (*) CAN         Configure CAN interface                                   │&lt;br /&gt;
│    ( ) RS232       Configure RS232 interface                                 │&lt;br /&gt;
│    ( ) RS485       Configure RS485 interface                                 │&lt;br /&gt;
│    ( ) IO          Configure Digital I/O - dual slot                         │&lt;br /&gt;
│    ( ) Empty       Skip module type configuration                            │&lt;br /&gt;
│    ( ) Deactivate  Detect currently plugged module type but leave inactive   │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│                     &amp;lt;Ok&amp;gt;                         &amp;lt;Cancel&amp;gt;                    │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
└──────────────────────────────────────────────────────────────────────────────┘&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Note|''iotg-rpi4-config'' utility makes best efforts to apply user defined configuration. But result is not guaranteed because not any user configuration is applicable}}&lt;br /&gt;
User defined configuration can be shown in a [[#User_defined_configuration|corresponding menu]].&lt;br /&gt;
&lt;br /&gt;
=== Show Industrial I/O Modules ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
┌────────────────┤ Show Industrial I/O Modules Configuration ├─────────────────┐&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│     D1 Show User Configured        Show user defined configuration           │&lt;br /&gt;
│     D2 Show Detected               Show currently detected configuration     │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│                     &amp;lt;Select&amp;gt;                     &amp;lt;Back&amp;gt;                      │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
└──────────────────────────────────────────────────────────────────────────────┘&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Detected modules ====&lt;br /&gt;
This option displays industrial I/O slots and detected I/O modules&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
┌──────┤ Industrial I/O modules detected ├───────┐&lt;br /&gt;
│                                                │&lt;br /&gt;
│         Slot A:                [Empty]         │&lt;br /&gt;
│                                                │&lt;br /&gt;
│         Slot B:                [Empty]         │&lt;br /&gt;
│                                                │&lt;br /&gt;
│         Slot C:                [IO]            │&lt;br /&gt;
│                                                │&lt;br /&gt;
│         Slot D:                [IO]            │&lt;br /&gt;
│                                                │&lt;br /&gt;
│                                                │&lt;br /&gt;
│                     &amp;lt;Ok&amp;gt;                       │&lt;br /&gt;
│                                                │&lt;br /&gt;
└────────────────────────────────────────────────┘&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== User defined configuration ====&lt;br /&gt;
This option displays user defined configuration for industrial I/O slots and underlying modules&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
┌──────────┤ Industrial I/O modules: user defined configuration ├──────────────┐&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│     Slot A: [CAN] - Configure CAN interface                                  │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│     Slot B: [Keep] - Keep current module configuration unchanged             │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│     Slot C: [Detect] - Detect currently plugged module type                  │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│     Slot D: [Detect] - Detect currently plugged module type                  │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
│                                    &amp;lt;Ok&amp;gt;                                      │&lt;br /&gt;
│                                                                              │&lt;br /&gt;
└──────────────────────────────────────────────────────────────────────────────┘&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux]]&lt;br /&gt;
[[Category:IOT-GATE-RPI4]]&lt;br /&gt;
&lt;br /&gt;
== Save Changes ==&lt;br /&gt;
It's strongly recommended to [[#User_defined_configuration|review]] user defined configuration for I/O modules before applying a new configuration.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
┌──────────────────────────────────────────────────────────┐&lt;br /&gt;
│                                                          │&lt;br /&gt;
│ Would you like to apply changes and exit?                │&lt;br /&gt;
│                                                          │&lt;br /&gt;
│                                                          │&lt;br /&gt;
│                                                          │&lt;br /&gt;
│                                                          │&lt;br /&gt;
│                                                          │&lt;br /&gt;
│                                                          │&lt;br /&gt;
│                                                          │&lt;br /&gt;
│                                                          │&lt;br /&gt;
│                                                          │&lt;br /&gt;
│                                                          │&lt;br /&gt;
│                                                          │&lt;br /&gt;
│                                                          │&lt;br /&gt;
│                                                          │&lt;br /&gt;
│                                                          │&lt;br /&gt;
│               &amp;lt;Save &amp;amp; Exit&amp;gt;          &amp;lt;Back&amp;gt;              │&lt;br /&gt;
│                                                          │&lt;br /&gt;
└──────────────────────────────────────────────────────────┘&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Please note, all changes require a reboot to take effect.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
┌────────────────────────────────────────────────────────────────────┐&lt;br /&gt;
│                                                                    │&lt;br /&gt;
│         NOTE: ANY CHANGES WILL TAKE EFFECT ONLY AFTER REBOOT.      │&lt;br /&gt;
│                                                                    │&lt;br /&gt;
│         Would you like to reboot now?                              │&lt;br /&gt;
│                                                                    │&lt;br /&gt;
│                                                                    │&lt;br /&gt;
│                  &amp;lt;Yes&amp;gt;                     &amp;lt;No&amp;gt;                    │&lt;br /&gt;
│                                                                    │&lt;br /&gt;
└────────────────────────────────────────────────────────────────────┘&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Igor</name></author>
		
	</entry>
</feed>