<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.modig.pl/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Grzegorzbecker</id>
	<title>Modig.pl Wiki - User contributions [en-gb]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.modig.pl/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Grzegorzbecker"/>
	<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=Special:Contributions/Grzegorzbecker"/>
	<updated>2026-06-24T00:20:45Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.7</generator>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=MD12003_RS485_to_Ethernet_PoE_Converter_(EN)&amp;diff=603</id>
		<title>MD12003 RS485 to Ethernet PoE Converter (EN)</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=MD12003_RS485_to_Ethernet_PoE_Converter_(EN)&amp;diff=603"/>
		<updated>2026-06-15T20:07:02Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: /* Kit Contents */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Description ====&lt;br /&gt;
&amp;lt;b&amp;gt;Industrial RS485 to Ethernet Bus Converter with PoE Support&amp;lt;br&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
The &#039;&#039;&#039;MODIG RS485-ETHERNET PoE&#039;&#039;&#039; is a versatile and easy-to-use converter that bridges an RS485 serial bus with an Ethernet network interface. The device is equipped with a Power over Ethernet (PoE) subsystem, allowing it to integrate seamlessly into modern network infrastructures where a single cable provides both DC power and local network connectivity. Its compact form factor combined with auxiliary power options (via USB-C or an external DC power supply) makes the MODIG converter highly adaptable across various industrial installation types.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET PoE.jpg|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Basic Features and Parameters ====&lt;br /&gt;
* RS485 Interface: Terminals: A+, B-, GND, and TERM via Phoenix Contact MC 3.81 mm connector&lt;br /&gt;
* Termination Resistor: Integrated 120 Ω bus terminator (configurable)&lt;br /&gt;
* RS485 Circuit Protection: 1 kV galvanic isolation and integrated surge protection&lt;br /&gt;
* RS485 Baud Rate: Supports any custom value from 200 bps to 1,000,000 bps (1 Mbps)&lt;br /&gt;
* RS485 Serial Parameters: Data bits: 7/8; Parity: None/Even/Odd; Stop bits: 1/1.5/2; Half-Duplex&lt;br /&gt;
* Network Capacity: Supports up to 64 nodes on the RS485 bus&lt;br /&gt;
* Buffer Size: Maximum RS485 data frame length of 4 kB (4096 bytes)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Network Interface: RJ45 port, 10/100 Mbps Base-T Full Duplex&lt;br /&gt;
* Network Addressing: Configurable MAC address; IPv4 support with Static IP or DHCP assignment&lt;br /&gt;
* Operational Modes: TCP Server, TCP Client, Concurrent UDP, and UDP Broadcast&lt;br /&gt;
* Device Configuration: Password-protected, built-in Web-UI (HTTP)&lt;br /&gt;
* Diagnostics: Operational status readout via USB or Web-UI&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Main Input: Power over Ethernet (PoE) compliant with IEEE 802.3af/at Class 0 standard&lt;br /&gt;
* Auxiliary Inputs: Optional power delivery via USB-C (5 V / 0.2 A) or DC power jack (7–38 V DC / 0.2 A)&lt;br /&gt;
* Enclosure: Industrial rugged aluminum housing; Dimensions: 92 mm x 80 mm x 25 mm&lt;br /&gt;
* Operating Temperature Range: -20°C to +50°C&lt;br /&gt;
* Status Indicators: Diagnostic LEDs&lt;br /&gt;
* Firmware Upgrade: Supported via USB interface&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Standard Equipment ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Product Code&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;MODIG RS485-ETHERNET PoE Converter&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*Fully assembled, programmed, and tested converter module&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;USB Cable&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*USB connectivity cable with USB-A to USB-C connectors&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Applications ====&lt;br /&gt;
The MODIG RS485-ETHERNET PoE converter enables bidirectional data routing between an RS485 bus and an Ethernet network. Communication can be established transparently between two MODIG RS485-ETHERNET PoE modules or integrated with any third-party device that supports standard TCP and/or UDP protocols. The native PoE power supply simplifies deployment in modern network systems.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Serial data frames from the RS485 bus are packed and converted into Ethernet TCP/UDP packets. For large payloads (exceeding 1.5 kB up to the 4 kB maximum), an internal fragmentation mechanism splits the payload into smaller network frames. At the receiving destination node, the original RS485 data format is fully reconstructed, ensuring completely transparent communication across the network layer.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Typical application diagram for the MODIG RS485-ETHERNET PoE converter:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET PoE main schem.png|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== RS485 Interface ====&lt;br /&gt;
The RS485 interface is accessible via a 4-pin Phoenix Contact MC 3.81 mm screw terminal block.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Pin Number&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Label&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;1&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;T&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Activates the internal 120 Ω line termination resistor. The resistor is engaged when pin T is shorted to pin A+.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;2&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;A+&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|RS485 differential line A (Non-inverting / Positive potential)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;3&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;B-&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|RS485 differential line B (Inverting / Negative potential)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;4&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;⏚&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Signal Ground (GND) for the RS485 bus&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_rs_con.jpg|none|450px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The MODIG converter can be connected to an RS485 bus containing up to 64 devices (including the converter itself). Devices must be daisy-chained to avoid stub lines or bus branches; any necessary drop lines must be kept as short as possible. 120 Ω impedance matching termination resistors should be placed at both physical ends of the bus line. &amp;lt;br&amp;gt;The MODIG converter includes an on-board termination resistor, which can be enabled by bridging terminal &#039;&#039;&#039;A+&#039;&#039;&#039; and terminal &#039;&#039;&#039;T&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The diagram below shows a simplified wiring schematic of the RS485 bus network, terminated with a standard 120 Ω resistor on one end, and the converter&#039;s internal termination on the other. It also illustrates the correct daisy-chain connection method versus incorrect topology:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_rs_schem.png|none|1000px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ETHERNET Interface and PoE Power Supply ==== &lt;br /&gt;
The MODIG converter features a 10/100 Mbps Ethernet port utilizing a standard RJ45 connector labeled ETH PoE. This allows the converter to join a Local Area Network (LAN). The &#039;&#039;&#039;LNK&#039;&#039;&#039; LED indicates a valid network link, while a flashing &#039;&#039;&#039;ACT&#039;&#039;&#039; LED signals active data traffic over the Ethernet interface.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Power can be delivered directly through the ETH PoE connector. The integrated PoE controller complies with IEEE 802.3af (Powered Devices Type-1) and IEEE 802.3at (Powered Devices Type-2) standards and is pre-configured as a Class 0 device, specifying a power footprint between 0.5 W and 13 W. PoE operations require a compatible network installation that includes standard PSE (Power Sourcing Equipment), such as a PoE network switch or midspan injector compliant with IEEE 802.3af/at. Active PoE power delivery is indicated by the solid green &#039;&#039;&#039;STA&#039;&#039;&#039; LED.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;border-color: red;background: #FFCCCC; color: black;&amp;quot;| WARNING: PoE installations carry operational voltages up to 60 VDC. All servicing and wiring on active networks must be performed with caution adhering to standard electrical safety protocols.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_eth conn.jpg|none|450px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== USB and DC Power Supply Options ==== &lt;br /&gt;
The MODIG converter can be powered via the USB-C port labeled USB. The external source must deliver 5 VDC ±10% with a minimum capacity of 0.2 A. This requirement is met by standard USB chargers, PC ports, or Single Board Computers (SBCs).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Alternatively, the device can be powered by applying a steady DC voltage to the barrel jack labeled DC 7-38V. This is a standard 2.1/5.5 mm power jack used by common commercial power adapters. The input voltage must fall within the range of 7 V to 38 VDC with a minimum current of 0.2 A, utilizing a center-positive pin configuration. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The MODIG converter supports simultaneous connections across all power inputs (PoE, USB, and DC). The internal power management system automatically locks onto the optimal voltage source.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_usb dc con.jpg|none|450px|thumb|center]]&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_zas_usb.jpg|400px|]]&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_2155.jpg|200px|]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Status LED Indicators ==== &lt;br /&gt;
The operation of the MODIG RS485-ETHERNET PoE converter is monitored using 3 diagnostic LEDs.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|LED Indicator&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Status Meaning&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;STA (&amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;green&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Blinking at a steady interval indicates the system logic is correctly powered, regardless of the active power source. A solid green light indicates a valid Ethernet network link and a successfully leased IP address.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;ETH (&amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;blue&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Blinking indicates active transmission or reception of TCP/UDP packets. A solid blue light indicates an active, established TCP Server-Client connection.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;RS (&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;red&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Blinking signals data transmission (TX) or reception (RX) activity on the RS485 serial bus.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_leds.jpg|none|450px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== RES Function Button ====&lt;br /&gt;
The hardware function button allows the user to trigger a full system reboot or perform a complete factory reset. To actuate the button, gently insert the end of a paperclip into the small pinhole labeled RES until a tactile click is felt.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A system reboot is triggered on an active device by holding the RES button down for approximately 5 seconds and then releasing it. During this action, the red RS LED will flash 4 times shortly followed by a single long illumination lasting 1 second. The button must be released during this long 1-second flash. The MODIG converter will then perform a clean hardware system restart.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A factory reset is executed on an active device by holding the RES button down for approximately 10 seconds before releasing it. This sequence triggers 4 short red flashes on the RS LED, a 1-second long flash, a 4-second delay, and finally a second long illumination. The button must be released during this second long flash. This action purges all custom configurations (wiping network setups, serial parameters, Web-UI access passwords, etc.) and restores the converter to its factory defaults.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_reset.jpg|none|450px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== USB Diagnostics Interface ====&lt;br /&gt;
The USB-C interface labeled USB serves as an auxiliary power input and doubles as a diagnostic bridge to track real-time runtime parameters. Connecting the converter to a PC registers a Virtual COM Port inside the host OS (e.g., listed as COM5).&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:MODIG_RS485-ETHERNET_PoE_COM.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Any standard serial terminal emulation software (e.g., PuTTY, BrayTerminal, etc.) can be opened to listen on the allocated Virtual COM Port. The port communication profile must be set to: 115200 bps, 8 data bits, No parity, 1 stop bit (115200, 8, N, 1). The terminal window will stream active diagnostic readouts from the MODIG converter:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_terminal.jpg|none|700px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
This feed provides a quick method to check the leased IP address assigned to the converter, along with critical parameters including DHCP lease status, MAC address, and active TCP/UDP configurations.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Firmware Upgrade Procedure ====&lt;br /&gt;
Flashing a new firmware version requires a Windows PC equipped with the official STM32Cube Programmer application, an available USB port, and a standard USB-A to USB-C link cable.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_programowanie.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The STM32Cube Programmer application can be obtained from the official STMicroelectronics portal:&lt;br /&gt;
https://www.st.com/en/development-tools/stm32cubeprog.html&lt;br /&gt;
&amp;lt;br&amp;gt;Select the appropriate installer for your desktop operating system, run the installation package, and follow the setup wizard.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_get soft.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
To put the MODIG converter into Device Firmware Upgrade (DFU) mode, follow these steps:&lt;br /&gt;
# Disconnect the converter from the Ethernet network, the RS485 bus, and all external power lines.&lt;br /&gt;
# While the device is fully unpowered, press and hold down the internal RES button using a paperclip.&lt;br /&gt;
# Keeping the RES button compressed, connect the USB cable from the PC to the USB-C port labeled USB on the MODIG converter.&lt;br /&gt;
&amp;lt;br&amp;gt;The status LEDs will remain completely dark, confirming that the internal bootloader has entered DFU mode. The host PC device manager will list a new hardware device:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_DFU mode.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Launch the STM32Cube Programmer software, change the interface connection type to USB, and click Connect.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_connect.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Click on Open File, browse to the directory containing the compiled firmware binary (e.g., Modig_3_0.elf), select it, and click Download. A confirmation dialog will pop up upon completion; click OK.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_open file.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Finally, click Disconnect within the utility and unplug the USB-C cable from the converter. Reconnecting the USB cable normally (without pressing the RES button) will cycle the power, and the MODIG converter will initialize running the newly flashed firmware.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Converter Configuration ====&lt;br /&gt;
All hardware and communication parameters of the MODIG RS485-ETHERNET PoE converter are managed using the embedded web configuration engine.&lt;br /&gt;
&amp;lt;br&amp;gt;Open a web browser on a PC or smartphone connected to the same Local Area Network (LAN) as the MODIG converter, and type the device&#039;s current IP address into the address bar. The active IP address can be found using the live serial diagnostic stream over USB (see the &amp;quot;USB Diagnostics Interface&amp;quot; section) or via the network router&#039;s DHCP lease table.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== User Authentication (Login) ====&lt;br /&gt;
Navigating to the correct IP address brings up the MODIG Web-UI dashboard challenge screen. Accessing the configuration backend requires entering the security password; the factory default value is “1234”.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_start.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Entering an invalid password will display an authentication failure alert.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_try again.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Main Menu Dashboard ====&lt;br /&gt;
A successful login session opens the core configuration panel. The bottom area of the layout displays foundational device info and real-time operational variables.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_main.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Once modifications to the operating parameters are complete, terminate the session by clicking the &#039;&#039;LOGOUT&#039;&#039; button. This explicit action writes the updated parameters into the device&#039;s non-volatile EEPROM configuration storage block.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
If a user fails to log out manually, the active Web-UI session will time out automatically after 5 minutes of inactivity. Any uncommitted parameter adjustments are saved to the non-volatile memory block after 1 minute of inactivity on the configuration portal.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Device Management Profile (DEVICE) ====&lt;br /&gt;
&#039;&#039;Device Name&#039;&#039; — A custom string identifier defined by the user to label the hardware unit. To change this value, input the string into the text box adjacent to the &#039;&#039;Device Name&#039;&#039; field and commit the modification by clicking the &#039;&#039;Apply&#039;&#039; button below.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Access Password Management&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The configuration portal is locked behind a password challenge. Authentication is bound to the requesting client&#039;s IP address and remains valid for a sliding window of 5 minutes. The countdown resets with each action taken within the Web-UI; 5 minutes of total idle time drops the token and forces an automatic session logout.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
To provision a new access token, input the desired value into the &#039;&#039;New Password&#039;&#039; and &#039;&#039;Repeat new password&#039;&#039; text boxes, then commit the change using the corresponding &#039;&#039;Apply&#039;&#039; button.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_device.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
A successful write update will show the following success confirmation message:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_new password_2.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Network Parameter Configuration (NETWORK) ====&lt;br /&gt;
The networking section handles the low-level identity profiles, including the hardware address (&#039;&#039;Device MAC&#039;&#039;) and the IP block topology. When the network automation flag is set to &#039;&#039;DHCP - ENABLE&#039;&#039;, the RS485-ETHERNET PoE converter requests an operational IP setup from the local network gateway or DHCP server. Conversely, flipping this setting to &#039;&#039;DISABLE&#039;&#039; switches the stack over to static configurations, requiring manual entries for the target IP address (&#039;&#039;Device static IP&#039;&#039;) and the corresponding subnet mask (&#039;&#039;Subnet mask&#039;&#039;).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_netsett.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Modifying the hardware MAC address requires a hard system reboot to reinitialize the network controller chip; this can be done by clicking the &#039;&#039;RESTART&#039;&#039; button. Updating static IP variables requires recycling the Ethernet interface stack, which can be done by clicking the &#039;&#039;RECONNECT&#039;&#039; button.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Executing either operation terminates the active browser session, logs the user out, and restarts the physical Ethernet interface. Depending on the newly committed settings, the web management panel will map onto a different network endpoint address.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Network Operational Profile (MODE) ====&lt;br /&gt;
The MODIG converter routes data payloads across the IP network using independent TCP and UDP protocol engines running concurrently.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The TCP engine operates under a strict Server-Client model, requiring a destination IP pointer indicating where serial payloads should be forwarded, paired with a target socket port number constrained within the user range of 1024 to 65535.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The UDP engine functions without maintaining fixed sessions or connection states. It requires a target destination IP pointer along with an unprivileged port assignment within the 1024 to 65535 range. Setting the destination address to the broadcast IP 255.255.255.255 switches the socket engine over to broad-network transmission (&#039;&#039;broadcasting&#039;&#039;), mirroring serial payloads to every active listening node on the local subnet.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_mode.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Serial Interface Tuning (RS485) ====&lt;br /&gt;
The adjustable physical parameters governing the integrated RS485 UART serial interface include:&lt;br /&gt;
* Communication Speed (&#039;&#039;Baudrate&#039;&#039;): Supports values from 200 bps up to 1,000,000 bps (1 Mbps)&lt;br /&gt;
* Serial Frame Size (&#039;&#039;Data bits&#039;&#039;): Configurable to 7 or 8 bits&lt;br /&gt;
* Bit Parity Verification (&#039;&#039;Parity&#039;&#039;): None, Even, or Odd&lt;br /&gt;
* Serial Framing End-Marker (&#039;&#039;Stop bits&#039;&#039;): 1, 1.5, or 2 bits&lt;br /&gt;
&lt;br /&gt;
The UART parameters configured inside the MODIG converter must match the serial properties of all peripheral target nodes attached to the RS485 line. Save new variables using the &#039;&#039;Apply&#039;&#039; button below the menu fields.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Data payloads routed over the physical RS485 bus are formatted into packets (frames), capped by an end-of-packet character sequence or a designated duration of line quietness. The converter packages serial data streams and drops them onto the network stack as unified blocks; frames missing proper completion markers are held in the serial buffer and will not pass onto the network layer.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The MODIG engine can monitor for frame completion by parsing for a programmable sequence of 1 to 4 characters (e.g., the keyword string “END”, a series of byte markers like “0xFF 0xFF 0xFF 0xFF”, or standard text line-end delimiters like CR LF — &#039;&#039;Carriage Return, Line Feed&#039;&#039;). The parsing sequence must be formatted as hexadecimal notation values corresponding to the standard ASCII map, prefixed by an &#039;x&#039; identifier; for example, the string “END” must be input as “x45 x4E x44”. Leaving this field empty disables character-based frame parsing.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The firmware can also evaluate frame boundaries by measuring silent periods on the physical bus. Bus quietness is calculated as equivalent character transmission windows relative to the active baud rate. Input a valid threshold scale from 0 to 255 inside the &#039;&#039;Packet complete idle characters&#039;&#039; field. Setting this value to 0 turns off the timer; a value of 1 instructs the engine to close the active buffer as soon as the line remains idle for the duration of a single character slot.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Both frame demarcation methods can run concurrently.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_rs485.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Embedded Testing Tools (TOOLS) ====&lt;br /&gt;
The web interface features basic testing utilites to inject raw test payloads directly onto the physical bus lines. The input field labeled &#039;&#039;Remote RS485 message&#039;&#039; transmits short text segments directly to the remote IP endpoints assigned within the network configuration panels (MODE) over open TCP or UDP sockets. Click &#039;&#039;Send&#039;&#039; to fire the payload.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The utility labeled &#039;&#039;Local RS485 message&#039;&#039; allows operators to transmit manual command strings from the active interface directly out of the local converter&#039;s RS485 transceiver. Click &#039;&#039;Send&#039;&#039; to execute the serial transmission.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_tools.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=MD12003_RS485_to_Ethernet_PoE_Converter_(EN)&amp;diff=602</id>
		<title>MD12003 RS485 to Ethernet PoE Converter (EN)</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=MD12003_RS485_to_Ethernet_PoE_Converter_(EN)&amp;diff=602"/>
		<updated>2026-06-15T20:06:49Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: /* Key Features and Specifications */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Description ====&lt;br /&gt;
&amp;lt;b&amp;gt;Industrial RS485 to Ethernet Bus Converter with PoE Support&amp;lt;br&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
The &#039;&#039;&#039;MODIG RS485-ETHERNET PoE&#039;&#039;&#039; is a versatile and easy-to-use converter that bridges an RS485 serial bus with an Ethernet network interface. The device is equipped with a Power over Ethernet (PoE) subsystem, allowing it to integrate seamlessly into modern network infrastructures where a single cable provides both DC power and local network connectivity. Its compact form factor combined with auxiliary power options (via USB-C or an external DC power supply) makes the MODIG converter highly adaptable across various industrial installation types.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET PoE.jpg|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Basic Features and Parameters ====&lt;br /&gt;
* RS485 Interface: Terminals: A+, B-, GND, and TERM via Phoenix Contact MC 3.81 mm connector&lt;br /&gt;
* Termination Resistor: Integrated 120 Ω bus terminator (configurable)&lt;br /&gt;
* RS485 Circuit Protection: 1 kV galvanic isolation and integrated surge protection&lt;br /&gt;
* RS485 Baud Rate: Supports any custom value from 200 bps to 1,000,000 bps (1 Mbps)&lt;br /&gt;
* RS485 Serial Parameters: Data bits: 7/8; Parity: None/Even/Odd; Stop bits: 1/1.5/2; Half-Duplex&lt;br /&gt;
* Network Capacity: Supports up to 64 nodes on the RS485 bus&lt;br /&gt;
* Buffer Size: Maximum RS485 data frame length of 4 kB (4096 bytes)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Network Interface: RJ45 port, 10/100 Mbps Base-T Full Duplex&lt;br /&gt;
* Network Addressing: Configurable MAC address; IPv4 support with Static IP or DHCP assignment&lt;br /&gt;
* Operational Modes: TCP Server, TCP Client, Concurrent UDP, and UDP Broadcast&lt;br /&gt;
* Device Configuration: Password-protected, built-in Web-UI (HTTP)&lt;br /&gt;
* Diagnostics: Operational status readout via USB or Web-UI&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Main Input: Power over Ethernet (PoE) compliant with IEEE 802.3af/at Class 0 standard&lt;br /&gt;
* Auxiliary Inputs: Optional power delivery via USB-C (5 V / 0.2 A) or DC power jack (7–38 V DC / 0.2 A)&lt;br /&gt;
* Enclosure: Industrial rugged aluminum housing; Dimensions: 92 mm x 80 mm x 25 mm&lt;br /&gt;
* Operating Temperature Range: -20°C to +50°C&lt;br /&gt;
* Status Indicators: Diagnostic LEDs&lt;br /&gt;
* Firmware Upgrade: Supported via USB interface&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Kit Contents ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Product Code&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;MODIG RS485-ETHERNET PoE Converter&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*Fully assembled, programmed, and tested converter module&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;USB Cable&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*USB connectivity cable with USB-A to USB-C connectors&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Applications ====&lt;br /&gt;
The MODIG RS485-ETHERNET PoE converter enables bidirectional data routing between an RS485 bus and an Ethernet network. Communication can be established transparently between two MODIG RS485-ETHERNET PoE modules or integrated with any third-party device that supports standard TCP and/or UDP protocols. The native PoE power supply simplifies deployment in modern network systems.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Serial data frames from the RS485 bus are packed and converted into Ethernet TCP/UDP packets. For large payloads (exceeding 1.5 kB up to the 4 kB maximum), an internal fragmentation mechanism splits the payload into smaller network frames. At the receiving destination node, the original RS485 data format is fully reconstructed, ensuring completely transparent communication across the network layer.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Typical application diagram for the MODIG RS485-ETHERNET PoE converter:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET PoE main schem.png|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== RS485 Interface ====&lt;br /&gt;
The RS485 interface is accessible via a 4-pin Phoenix Contact MC 3.81 mm screw terminal block.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Pin Number&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Label&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;1&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;T&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Activates the internal 120 Ω line termination resistor. The resistor is engaged when pin T is shorted to pin A+.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;2&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;A+&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|RS485 differential line A (Non-inverting / Positive potential)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;3&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;B-&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|RS485 differential line B (Inverting / Negative potential)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;4&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;⏚&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Signal Ground (GND) for the RS485 bus&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_rs_con.jpg|none|450px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The MODIG converter can be connected to an RS485 bus containing up to 64 devices (including the converter itself). Devices must be daisy-chained to avoid stub lines or bus branches; any necessary drop lines must be kept as short as possible. 120 Ω impedance matching termination resistors should be placed at both physical ends of the bus line. &amp;lt;br&amp;gt;The MODIG converter includes an on-board termination resistor, which can be enabled by bridging terminal &#039;&#039;&#039;A+&#039;&#039;&#039; and terminal &#039;&#039;&#039;T&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The diagram below shows a simplified wiring schematic of the RS485 bus network, terminated with a standard 120 Ω resistor on one end, and the converter&#039;s internal termination on the other. It also illustrates the correct daisy-chain connection method versus incorrect topology:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_rs_schem.png|none|1000px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ETHERNET Interface and PoE Power Supply ==== &lt;br /&gt;
The MODIG converter features a 10/100 Mbps Ethernet port utilizing a standard RJ45 connector labeled ETH PoE. This allows the converter to join a Local Area Network (LAN). The &#039;&#039;&#039;LNK&#039;&#039;&#039; LED indicates a valid network link, while a flashing &#039;&#039;&#039;ACT&#039;&#039;&#039; LED signals active data traffic over the Ethernet interface.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Power can be delivered directly through the ETH PoE connector. The integrated PoE controller complies with IEEE 802.3af (Powered Devices Type-1) and IEEE 802.3at (Powered Devices Type-2) standards and is pre-configured as a Class 0 device, specifying a power footprint between 0.5 W and 13 W. PoE operations require a compatible network installation that includes standard PSE (Power Sourcing Equipment), such as a PoE network switch or midspan injector compliant with IEEE 802.3af/at. Active PoE power delivery is indicated by the solid green &#039;&#039;&#039;STA&#039;&#039;&#039; LED.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;border-color: red;background: #FFCCCC; color: black;&amp;quot;| WARNING: PoE installations carry operational voltages up to 60 VDC. All servicing and wiring on active networks must be performed with caution adhering to standard electrical safety protocols.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_eth conn.jpg|none|450px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== USB and DC Power Supply Options ==== &lt;br /&gt;
The MODIG converter can be powered via the USB-C port labeled USB. The external source must deliver 5 VDC ±10% with a minimum capacity of 0.2 A. This requirement is met by standard USB chargers, PC ports, or Single Board Computers (SBCs).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Alternatively, the device can be powered by applying a steady DC voltage to the barrel jack labeled DC 7-38V. This is a standard 2.1/5.5 mm power jack used by common commercial power adapters. The input voltage must fall within the range of 7 V to 38 VDC with a minimum current of 0.2 A, utilizing a center-positive pin configuration. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The MODIG converter supports simultaneous connections across all power inputs (PoE, USB, and DC). The internal power management system automatically locks onto the optimal voltage source.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_usb dc con.jpg|none|450px|thumb|center]]&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_zas_usb.jpg|400px|]]&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_2155.jpg|200px|]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Status LED Indicators ==== &lt;br /&gt;
The operation of the MODIG RS485-ETHERNET PoE converter is monitored using 3 diagnostic LEDs.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|LED Indicator&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Status Meaning&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;STA (&amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;green&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Blinking at a steady interval indicates the system logic is correctly powered, regardless of the active power source. A solid green light indicates a valid Ethernet network link and a successfully leased IP address.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;ETH (&amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;blue&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Blinking indicates active transmission or reception of TCP/UDP packets. A solid blue light indicates an active, established TCP Server-Client connection.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;RS (&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;red&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Blinking signals data transmission (TX) or reception (RX) activity on the RS485 serial bus.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_leds.jpg|none|450px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== RES Function Button ====&lt;br /&gt;
The hardware function button allows the user to trigger a full system reboot or perform a complete factory reset. To actuate the button, gently insert the end of a paperclip into the small pinhole labeled RES until a tactile click is felt.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A system reboot is triggered on an active device by holding the RES button down for approximately 5 seconds and then releasing it. During this action, the red RS LED will flash 4 times shortly followed by a single long illumination lasting 1 second. The button must be released during this long 1-second flash. The MODIG converter will then perform a clean hardware system restart.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A factory reset is executed on an active device by holding the RES button down for approximately 10 seconds before releasing it. This sequence triggers 4 short red flashes on the RS LED, a 1-second long flash, a 4-second delay, and finally a second long illumination. The button must be released during this second long flash. This action purges all custom configurations (wiping network setups, serial parameters, Web-UI access passwords, etc.) and restores the converter to its factory defaults.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_reset.jpg|none|450px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== USB Diagnostics Interface ====&lt;br /&gt;
The USB-C interface labeled USB serves as an auxiliary power input and doubles as a diagnostic bridge to track real-time runtime parameters. Connecting the converter to a PC registers a Virtual COM Port inside the host OS (e.g., listed as COM5).&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:MODIG_RS485-ETHERNET_PoE_COM.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Any standard serial terminal emulation software (e.g., PuTTY, BrayTerminal, etc.) can be opened to listen on the allocated Virtual COM Port. The port communication profile must be set to: 115200 bps, 8 data bits, No parity, 1 stop bit (115200, 8, N, 1). The terminal window will stream active diagnostic readouts from the MODIG converter:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_terminal.jpg|none|700px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
This feed provides a quick method to check the leased IP address assigned to the converter, along with critical parameters including DHCP lease status, MAC address, and active TCP/UDP configurations.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Firmware Upgrade Procedure ====&lt;br /&gt;
Flashing a new firmware version requires a Windows PC equipped with the official STM32Cube Programmer application, an available USB port, and a standard USB-A to USB-C link cable.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_programowanie.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The STM32Cube Programmer application can be obtained from the official STMicroelectronics portal:&lt;br /&gt;
https://www.st.com/en/development-tools/stm32cubeprog.html&lt;br /&gt;
&amp;lt;br&amp;gt;Select the appropriate installer for your desktop operating system, run the installation package, and follow the setup wizard.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_get soft.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
To put the MODIG converter into Device Firmware Upgrade (DFU) mode, follow these steps:&lt;br /&gt;
# Disconnect the converter from the Ethernet network, the RS485 bus, and all external power lines.&lt;br /&gt;
# While the device is fully unpowered, press and hold down the internal RES button using a paperclip.&lt;br /&gt;
# Keeping the RES button compressed, connect the USB cable from the PC to the USB-C port labeled USB on the MODIG converter.&lt;br /&gt;
&amp;lt;br&amp;gt;The status LEDs will remain completely dark, confirming that the internal bootloader has entered DFU mode. The host PC device manager will list a new hardware device:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_DFU mode.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Launch the STM32Cube Programmer software, change the interface connection type to USB, and click Connect.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_connect.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Click on Open File, browse to the directory containing the compiled firmware binary (e.g., Modig_3_0.elf), select it, and click Download. A confirmation dialog will pop up upon completion; click OK.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_open file.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Finally, click Disconnect within the utility and unplug the USB-C cable from the converter. Reconnecting the USB cable normally (without pressing the RES button) will cycle the power, and the MODIG converter will initialize running the newly flashed firmware.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Converter Configuration ====&lt;br /&gt;
All hardware and communication parameters of the MODIG RS485-ETHERNET PoE converter are managed using the embedded web configuration engine.&lt;br /&gt;
&amp;lt;br&amp;gt;Open a web browser on a PC or smartphone connected to the same Local Area Network (LAN) as the MODIG converter, and type the device&#039;s current IP address into the address bar. The active IP address can be found using the live serial diagnostic stream over USB (see the &amp;quot;USB Diagnostics Interface&amp;quot; section) or via the network router&#039;s DHCP lease table.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== User Authentication (Login) ====&lt;br /&gt;
Navigating to the correct IP address brings up the MODIG Web-UI dashboard challenge screen. Accessing the configuration backend requires entering the security password; the factory default value is “1234”.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_start.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Entering an invalid password will display an authentication failure alert.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_try again.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Main Menu Dashboard ====&lt;br /&gt;
A successful login session opens the core configuration panel. The bottom area of the layout displays foundational device info and real-time operational variables.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_main.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Once modifications to the operating parameters are complete, terminate the session by clicking the &#039;&#039;LOGOUT&#039;&#039; button. This explicit action writes the updated parameters into the device&#039;s non-volatile EEPROM configuration storage block.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
If a user fails to log out manually, the active Web-UI session will time out automatically after 5 minutes of inactivity. Any uncommitted parameter adjustments are saved to the non-volatile memory block after 1 minute of inactivity on the configuration portal.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Device Management Profile (DEVICE) ====&lt;br /&gt;
&#039;&#039;Device Name&#039;&#039; — A custom string identifier defined by the user to label the hardware unit. To change this value, input the string into the text box adjacent to the &#039;&#039;Device Name&#039;&#039; field and commit the modification by clicking the &#039;&#039;Apply&#039;&#039; button below.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Access Password Management&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The configuration portal is locked behind a password challenge. Authentication is bound to the requesting client&#039;s IP address and remains valid for a sliding window of 5 minutes. The countdown resets with each action taken within the Web-UI; 5 minutes of total idle time drops the token and forces an automatic session logout.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
To provision a new access token, input the desired value into the &#039;&#039;New Password&#039;&#039; and &#039;&#039;Repeat new password&#039;&#039; text boxes, then commit the change using the corresponding &#039;&#039;Apply&#039;&#039; button.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_device.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
A successful write update will show the following success confirmation message:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_new password_2.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Network Parameter Configuration (NETWORK) ====&lt;br /&gt;
The networking section handles the low-level identity profiles, including the hardware address (&#039;&#039;Device MAC&#039;&#039;) and the IP block topology. When the network automation flag is set to &#039;&#039;DHCP - ENABLE&#039;&#039;, the RS485-ETHERNET PoE converter requests an operational IP setup from the local network gateway or DHCP server. Conversely, flipping this setting to &#039;&#039;DISABLE&#039;&#039; switches the stack over to static configurations, requiring manual entries for the target IP address (&#039;&#039;Device static IP&#039;&#039;) and the corresponding subnet mask (&#039;&#039;Subnet mask&#039;&#039;).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_netsett.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Modifying the hardware MAC address requires a hard system reboot to reinitialize the network controller chip; this can be done by clicking the &#039;&#039;RESTART&#039;&#039; button. Updating static IP variables requires recycling the Ethernet interface stack, which can be done by clicking the &#039;&#039;RECONNECT&#039;&#039; button.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Executing either operation terminates the active browser session, logs the user out, and restarts the physical Ethernet interface. Depending on the newly committed settings, the web management panel will map onto a different network endpoint address.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Network Operational Profile (MODE) ====&lt;br /&gt;
The MODIG converter routes data payloads across the IP network using independent TCP and UDP protocol engines running concurrently.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The TCP engine operates under a strict Server-Client model, requiring a destination IP pointer indicating where serial payloads should be forwarded, paired with a target socket port number constrained within the user range of 1024 to 65535.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The UDP engine functions without maintaining fixed sessions or connection states. It requires a target destination IP pointer along with an unprivileged port assignment within the 1024 to 65535 range. Setting the destination address to the broadcast IP 255.255.255.255 switches the socket engine over to broad-network transmission (&#039;&#039;broadcasting&#039;&#039;), mirroring serial payloads to every active listening node on the local subnet.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_mode.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Serial Interface Tuning (RS485) ====&lt;br /&gt;
The adjustable physical parameters governing the integrated RS485 UART serial interface include:&lt;br /&gt;
* Communication Speed (&#039;&#039;Baudrate&#039;&#039;): Supports values from 200 bps up to 1,000,000 bps (1 Mbps)&lt;br /&gt;
* Serial Frame Size (&#039;&#039;Data bits&#039;&#039;): Configurable to 7 or 8 bits&lt;br /&gt;
* Bit Parity Verification (&#039;&#039;Parity&#039;&#039;): None, Even, or Odd&lt;br /&gt;
* Serial Framing End-Marker (&#039;&#039;Stop bits&#039;&#039;): 1, 1.5, or 2 bits&lt;br /&gt;
&lt;br /&gt;
The UART parameters configured inside the MODIG converter must match the serial properties of all peripheral target nodes attached to the RS485 line. Save new variables using the &#039;&#039;Apply&#039;&#039; button below the menu fields.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Data payloads routed over the physical RS485 bus are formatted into packets (frames), capped by an end-of-packet character sequence or a designated duration of line quietness. The converter packages serial data streams and drops them onto the network stack as unified blocks; frames missing proper completion markers are held in the serial buffer and will not pass onto the network layer.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The MODIG engine can monitor for frame completion by parsing for a programmable sequence of 1 to 4 characters (e.g., the keyword string “END”, a series of byte markers like “0xFF 0xFF 0xFF 0xFF”, or standard text line-end delimiters like CR LF — &#039;&#039;Carriage Return, Line Feed&#039;&#039;). The parsing sequence must be formatted as hexadecimal notation values corresponding to the standard ASCII map, prefixed by an &#039;x&#039; identifier; for example, the string “END” must be input as “x45 x4E x44”. Leaving this field empty disables character-based frame parsing.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The firmware can also evaluate frame boundaries by measuring silent periods on the physical bus. Bus quietness is calculated as equivalent character transmission windows relative to the active baud rate. Input a valid threshold scale from 0 to 255 inside the &#039;&#039;Packet complete idle characters&#039;&#039; field. Setting this value to 0 turns off the timer; a value of 1 instructs the engine to close the active buffer as soon as the line remains idle for the duration of a single character slot.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Both frame demarcation methods can run concurrently.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_rs485.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Embedded Testing Tools (TOOLS) ====&lt;br /&gt;
The web interface features basic testing utilites to inject raw test payloads directly onto the physical bus lines. The input field labeled &#039;&#039;Remote RS485 message&#039;&#039; transmits short text segments directly to the remote IP endpoints assigned within the network configuration panels (MODE) over open TCP or UDP sockets. Click &#039;&#039;Send&#039;&#039; to fire the payload.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The utility labeled &#039;&#039;Local RS485 message&#039;&#039; allows operators to transmit manual command strings from the active interface directly out of the local converter&#039;s RS485 transceiver. Click &#039;&#039;Send&#039;&#039; to execute the serial transmission.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_tools.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=MD12002_RS485_to_Ethernet_DIN_Rail_Converter_(EN)&amp;diff=601</id>
		<title>MD12002 RS485 to Ethernet DIN Rail Converter (EN)</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=MD12002_RS485_to_Ethernet_DIN_Rail_Converter_(EN)&amp;diff=601"/>
		<updated>2026-06-15T20:06:32Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: /* Key Features and Specifications */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Description ====&lt;br /&gt;
&amp;lt;b&amp;gt;Industrial RS485 to Ethernet Bus Converter for DIN Rail Mounting&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The &amp;lt;b&amp;gt;MODIG RS485-ETHERNET DIN&amp;lt;/b&amp;gt; is a versatile and user-friendly bus converter that bridges an RS485 serial network with an Ethernet network interface. The device is specifically engineered for mounting on a standard 35 mm DIN electrical installation rail (TH35). Thanks to its ultra-slim and compact design, the module has a physical width of just 35 mm, allowing it to fit easily into tightly packed industrial switchboards or small distribution cabinets. An integrated USB auxiliary interface simplifies maintenance and parameter configuration.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:Konwerter_RS485-ETHERNET_DIN.jpg|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Basic Features and Parameters ====&lt;br /&gt;
* RS485 Interface: Terminals: A+, B-, GND, and TERM via Phoenix Contact MC 3.81 mm connector&lt;br /&gt;
* Termination Resistor: Integrated 120 Ω bus terminator (configurable)&lt;br /&gt;
* RS485 Circuit Protection: 1 kV galvanic isolation and integrated surge protection&lt;br /&gt;
* RS485 Baud Rate: Supports any custom value from 200 bps to 1,000,000 bps (1 Mbps)&lt;br /&gt;
* RS485 Serial Parameters: Data bits: 7/8; Parity: None/Even/Odd; Stop bits: 1/1.5/2; Half-Duplex&lt;br /&gt;
* Network Capacity: Supports up to 64 nodes on the RS485 bus&lt;br /&gt;
* Buffer Size: Maximum RS485 data frame length of 4 kB (4096 bytes)&lt;br /&gt;
* Network Interface: RJ45 port, 10/100 Mbps Base-T Full Duplex Ethernet&lt;br /&gt;
* Network Addressing: Configurable MAC address; IPv4 support with Static IP or DHCP assignment&lt;br /&gt;
* Operational Modes: TCP Server, TCP Client, Concurrent UDP, and UDP Broadcast&lt;br /&gt;
* Device Configuration: Password-protected, built-in Web-UI (HTTP)&lt;br /&gt;
* Diagnostics: Operational status readout via USB or Web-UI&lt;br /&gt;
* DC Power Input: Supports a steady external DC voltage range of 7–38 V DC (min. 0.2 A)&lt;br /&gt;
* Auxiliary Power Input: Optional power delivery via an integrated USB-C connector&lt;br /&gt;
* Form Factor: Rugged enclosure designed for standard DIN 35 (TH 35) rail installation; Dimensions: 90 x 35 x 65 mm&lt;br /&gt;
* Operating Temperature Range: -20°C to +50°C&lt;br /&gt;
* Status Indicators: Diagnostic LEDs&lt;br /&gt;
* Firmware Upgrade: Supported via USB interface&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Applications ====&lt;br /&gt;
The MODIG RS485-ETHERNET DIN converter enables bidirectional data routing between an RS485 serial bus and an Ethernet network. Communication can be established transparently between two MODIG RS485-ETHERNET DIN modules or integrated with any third-party field device supporting standard TCP and/or UDP protocols.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Serial data frames from the RS485 bus are packed and converted into Ethernet TCP/UDP packets. For large payloads (exceeding 1.5 kB up to the 4 kB maximum), an internal fragmentation mechanism splits the payload into smaller network frames. At the receiving destination node, the original RS485 data format is fully reconstructed, ensuring completely transparent communication across the network layer.&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
Typical application layout for the MODIG RS485-ETHERNET DIN converter:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_main_schem.png|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== RS485 Interface ====&lt;br /&gt;
The physical RS485 interface is accessible via a 4-pin Phoenix Contact MC 3.81 mm screw terminal block.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Pin Number&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Label&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;1&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;T&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Activates the internal 120 Ω line termination resistor. The resistor is engaged when terminal &#039;&#039;&#039;T&#039;&#039;&#039; is shorted to terminal &#039;&#039;&#039;A+&#039;&#039;&#039;.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;2&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;A+&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|RS485 differential line A (Non-inverting / Positive potential)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;3&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;B-&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|RS485 differential line B (Inverting / Negative potential)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;4&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;⏚&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Signal Ground (GND) for the RS485 bus&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_rs con.jpg|none|300px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The MODIG converter can be connected to an RS485 bus containing up to 64 devices (including the converter itself). Devices must be daisy-chained to avoid stub lines or bus branches; any necessary drop lines must be kept as short as possible. 120 Ω impedance matching termination resistors should be placed at both physical ends of the bus line. The MODIG converter includes an on-board termination resistor, which can be enabled by bridging terminal &#039;&#039;&#039;A+&#039;&#039;&#039; and terminal &#039;&#039;&#039;T&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The diagram below shows a simplified wiring schematic of the RS485 bus network, terminated with a standard 120 Ω resistor on one end, and the converter&#039;s internal termination on the other. It also illustrates the correct daisy-chain connection method versus incorrect topology.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_rs schem.png|none|950px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ETHERNET Interface ====&lt;br /&gt;
The MODIG converter features a 10/100 Mbps Ethernet port utilizing a standard RJ45 connector interface labeled ETHERNET. This allows the converter to join a Local Area Network (LAN). The &#039;&#039;&#039;LNK&#039;&#039;&#039; LED indicates a valid physical network connection, while a flashing &#039;&#039;&#039;ACT&#039;&#039;&#039; LED signals active data traffic over the Ethernet network layer.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_eth conn.jpg|none|300px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== DC Power Supply ====&lt;br /&gt;
Primary power to the MODIG converter is delivered by applying a steady DC voltage to the terminal block labeled DC 7-38V. This is a 2-pin Phoenix Contact MC 3.81 mm screw terminal interface. The external power source must deliver a voltage within the range of 7 to 38 V DC with a minimum current capacity of 0.2 A. &amp;lt;b&amp;gt;Strict attention must be paid to ensuring the correct wiring polarity.&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_pwr_con.jpg|none|300px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Alternatively, auxiliary power can be delivered to the module via the USB-C port labeled USB. The external source must deliver 5 V DC ±10% with a minimum capacity of 0.2 A. This requirement is met by standard USB chargers, PC interface ports, or Single Board Computers (SBCs).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_usb_con.jpg|300px|]]           &lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Status LED Indicators ====&lt;br /&gt;
The operation of the MODIG RS485-ETHERNET DIN converter is monitored using 3 diagnostic LEDs.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|LED Indicator&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Status Meaning&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;STA (&amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;green&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Blinking at a steady interval indicates the system logic is correctly powered, regardless of the active power source. A solid green light indicates a valid Ethernet network link and a successfully leased IP address.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;ETH (&amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;blue&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Blinking indicates active transmission or reception of TCP/UDP packets. A solid blue light indicates an active, established TCP Server-Client connection.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;RS (&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;red&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Blinking signals data transmission (TX) or reception (RX) activity on the RS485 serial bus.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET DIN leds.jpg|none|300px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== RES Function Button ====&lt;br /&gt;
The hardware function button allows the user to trigger a full system reboot or perform a complete factory reset. To actuate the button, gently insert the end of a paperclip into the small pinhole labeled RES until a tactile click is felt.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A system reboot is triggered on an active device by holding the RES button down for approximately 5 seconds and then releasing it. During this action, the red RS LED will flash 4 times shortly followed by a single long illumination lasting 1 second. The button must be released during this long 1-second flash. The MODIG converter will then perform a clean hardware system restart.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A factory reset is executed on an active device by holding the RES button down for approximately 10 seconds before releasing it. This sequence triggers 4 short red flashes on the RS LED, a 1-second long flash, a 4-second delay, and finally a second long illumination. The button must be released during this second long flash. This action purges all custom configurations (wiping network setups, serial parameters, Web-UI access passwords, etc.) and restores the converter to its factory defaults.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_reset.jpg|none|300px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== USB Diagnostics Interface ====&lt;br /&gt;
The USB-C interface port labeled USB serves as an auxiliary power input and doubles as a diagnostic bridge to track real-time runtime parameters. Connecting the converter to a PC registers a Virtual COM Port inside the host operating system (e.g., listed as COM5).&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:MODIG_RS485-ETHERNET_PoE_COM.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Any standard serial terminal emulation software (e.g., PuTTY, BrayTerminal, etc.) can be opened to listen on the allocated Virtual COM Port. The communication channel profile must be configured to: 115200 bps, 8 data bits, No parity, 1 stop bit (115200, 8, N, 1). The terminal window will stream active diagnostic readouts from the MODIG converter:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_terminal.jpg|none|700px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
This feed provides a quick method to check the leased IP address assigned to the converter, along with critical parameters including DHCP lease status, MAC address, and active TCP/UDP socket configurations.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Device Firmware Upgrade (Firmware Update) ====&lt;br /&gt;
Flashing a new firmware version requires a desktop PC equipped with the official STM32Cube Programmer application, an available USB port, and a standard USB-A to USB-C link cable.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_programowanie.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The STM32Cube Programmer application can be obtained from the official STMicroelectronics portal:&lt;br /&gt;
https://www.st.com/en/development-tools/stm32cubeprog.html&lt;br /&gt;
&amp;lt;br&amp;gt;Select the appropriate installer for your desktop operating system, run the installation package, and follow the setup wizard.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_get soft.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
To put the MODIG converter into Device Firmware Upgrade (DFU) mode, follow these steps:&lt;br /&gt;
# Disconnect the converter from the Ethernet network, the RS485 bus lines, and its external power source.&lt;br /&gt;
# While the device is fully unpowered, press and hold down the hardware RES button using a paperclip.&lt;br /&gt;
# Keeping the RES button compressed, connect the USB cable from the PC to the USB-C port labeled USB on the MODIG converter.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The status LEDs will remain completely dark, confirming that the internal bootloader has entered DFU mode. The host PC device manager will list a new hardware entry:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_DFU mode.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Launch the STM32Cube Programmer software, change the interface connection type to USB, and click Connect.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_connect.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Click on Open file, browse to the directory containing the compiled firmware binary (e.g., Modig_3_0.elf), select it, and click Download. A confirmation dialog will pop up upon completion; click OK. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_open file.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Finally, click Disconnect within the utility and unplug the USB cable from the converter. Reconnecting the USB cable normally (without pressing the RES button) will cycle the power, and the MODIG converter will initialize running the newly flashed firmware stack.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Converter Configuration ====&lt;br /&gt;
All hardware and communication parameters of the MODIG converter are managed using the embedded web configuration engine.&lt;br /&gt;
&amp;lt;br&amp;gt;Open a web browser on a PC or smartphone connected to the same Local Area Network (LAN) as the MODIG module, and type the device&#039;s current IP address into the address bar. The active IP address can be found using the live serial diagnostic stream over USB (see the “USB Diagnostics Interface” section) or via the network router&#039;s DHCP lease table.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== User Authentication (Login) ====&lt;br /&gt;
Navigating to the correct IP address brings up the MODIG Web-UI dashboard challenge screen. Accessing the configuration backend requires entering the security password; the factory default value is “1234”.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_start.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Entering an invalid password will display an authentication failure alert.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_try again.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Main Menu Dashboard ====&lt;br /&gt;
A successful login session opens the core configuration panel. The bottom area of the layout displays foundational device info and real-time operational variables.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_main.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Once modifications to the operating parameters are complete, terminate the session by clicking the &#039;&#039;LOGOUT&#039;&#039; button. This explicit action writes the updated parameters into the device&#039;s non-volatile EEPROM configuration storage block.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
If a user fails to log out manually, the active Web-UI session will time out automatically after 5 minutes of inactivity. Any uncommitted parameter adjustments are saved to the non-volatile memory block after 1 minute of inactivity on the configuration portal.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Device Management Profile (DEVICE) ====&lt;br /&gt;
&#039;&#039;Device Name&#039;&#039; — A custom string identifier defined by the user to label the hardware unit. To change this value, input the string into the text box adjacent to the &#039;&#039;Device Name&#039;&#039; field and commit the modification by clicking the &#039;&#039;Apply&#039;&#039; button below.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Access Password Management&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The configuration portal is locked behind a password challenge. Authentication is bound to the requesting client&#039;s IP address and remains valid for a sliding window of 5 minutes. The countdown resets with each action taken within the Web-UI; 5 minutes of total idle time drops the token and forces an automatic session logout.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
To provision a new access token, input the desired value into the &#039;&#039;New Password&#039;&#039; and &#039;&#039;Repeat new password&#039;&#039; text boxes, then commit the change using the corresponding &#039;&#039;Apply&#039;&#039; button.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_device.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
A successful write update will show the following success confirmation message:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_new password_2.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Network Parameter Configuration (NETWORK) ====&lt;br /&gt;
The networking section handles the low-level identity profiles, including the hardware address (&#039;&#039;Device MAC&#039;&#039;) and the IP block topology. When the network automation flag is set to &#039;&#039;DHCP - ENABLE&#039;&#039;, the MODIG converter requests an operational IP setup from the local network gateway or DHCP server. Conversely, flipping this setting to &#039;&#039;DISABLE&#039;&#039; switches the stack over to static configurations, requiring manual entries for the target IP address (&#039;&#039;Device static IP&#039;&#039;) and the corresponding subnet mask (&#039;&#039;Subnet mask&#039;&#039;).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_netsett.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Modifying the hardware MAC address requires a hard system reboot to reinitialize the network controller chip; this can be done by clicking the &#039;&#039;RESTART&#039;&#039; button. Updating static IP variables requires recycling the Ethernet interface stack, which can be done by clicking the &#039;&#039;RECONNECT&#039;&#039; button.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Executing either operation terminates the active browser session, logs the user out, and restarts the physical Ethernet interface. Depending on the newly committed settings, the web management panel will map onto a different network endpoint address.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Network Operational Profile (MODE) ====&lt;br /&gt;
The MODIG converter routes data payloads across the IP network using independent TCP and UDP protocol engines running concurrently.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The TCP engine operates under a strict Server-Client model, requiring a destination IP pointer indicating where serial payloads should be forwarded, paired with a target socket port number constrained within the user range of 1024 to 65535.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The UDP engine functions without maintaining fixed sessions or connection states. It requires a target destination IP pointer along with an unprivileged port assignment within the 1024 to 65535 range. Setting the destination address to the broadcast IP 255.255.255.255 switches the socket engine over to broad-network transmission (&#039;&#039;broadcasting&#039;&#039;), mirroring serial payloads to every active listening node on the local subnet.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_mode.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Serial Interface Tuning (RS485) ====&lt;br /&gt;
The adjustable physical parameters governing the integrated RS485 UART serial interface include:&lt;br /&gt;
* Communication Speed (&#039;&#039;Baudrate&#039;&#039;): Supports values from 200 bps up to 1,000,000 bps (1 Mbps)&lt;br /&gt;
* Serial Frame Size (&#039;&#039;Data bits&#039;&#039;): Configurable to 7 or 8 bits&lt;br /&gt;
* Bit Parity Verification (&#039;&#039;Parity&#039;&#039;): None, Even, or Odd&lt;br /&gt;
* Serial Framing End-Marker (&#039;&#039;Stop bits&#039;&#039;): 1, 1.5, or 2 bits&lt;br /&gt;
&lt;br /&gt;
The UART parameters configured inside the MODIG converter must match the serial properties of all peripheral target nodes attached to the RS485 line. Save new variables using the &#039;&#039;Apply&#039;&#039; button below the menu fields.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Data payloads routed over the physical RS485 bus are formatted into packets (frames), capped by an end-of-packet character sequence or a designated duration of line quietness. The converter packages serial data streams and drops them onto the network stack as unified blocks; frames missing proper completion markers are held in the serial buffer and will not pass onto the network layer.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The MODIG engine can monitor for frame completion by parsing for a programmable sequence of 1 to 4 characters (e.g., the keyword string “END”, a series of byte markers like “0xFF 0xFF 0xFF 0xFF”, or standard text line-end delimiters like CR LF — &#039;&#039;Carriage Return, Line Feed&#039;&#039;). The parsing sequence must be formatted as hexadecimal notation values corresponding to the standard ASCII map, prefixed by an &#039;x&#039; identifier; for example, the string “END” must be input as “x45 x4E x44”. Leaving this field empty disables character-based frame parsing.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The firmware can also evaluate frame boundaries by measuring silent periods on the physical bus. Bus quietness is calculated as equivalent character transmission windows relative to the active baud rate. Input a valid threshold scale from 0 to 255 inside the &#039;&#039;Packet complete idle characters&#039;&#039; field. Setting this value to 0 turns off the timer; a value of 1 instructs the engine to close the active buffer as soon as the line remains idle for the duration of a single character slot. Both frame demarcation methods can run concurrently.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_rs485.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Embedded Testing Tools (TOOLS) ====&lt;br /&gt;
The web interface features basic testing utilities to inject raw test payloads directly onto the physical bus lines. The input field labeled &#039;&#039;Remote RS485 message&#039;&#039; transmits short text segments directly to the remote IP endpoints assigned within the network configuration panels (MODE) over open TCP or UDP sockets. Click &#039;&#039;Send&#039;&#039; to fire the payload.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The utility labeled &#039;&#039;Local RS485 message&#039;&#039; allows operators to transmit manual command strings from the active interface directly out of the local converter&#039;s RS485 transceiver. Click &#039;&#039;Send&#039;&#039; to execute the serial transmission.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_tools.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=MD12001_RS485_to_Ethernet_Mini_Converter_(EN)&amp;diff=600</id>
		<title>MD12001 RS485 to Ethernet Mini Converter (EN)</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=MD12001_RS485_to_Ethernet_Mini_Converter_(EN)&amp;diff=600"/>
		<updated>2026-06-15T20:06:01Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: /* Kit Contents */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Description ====&lt;br /&gt;
&amp;lt;b&amp;gt;Miniature Industrial RS485 to Ethernet Bus Converter&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The &amp;lt;b&amp;gt;MODIG RS485-ETHERNET Mini&amp;lt;/b&amp;gt; is a versatile and user-friendly bus converter that bridges an RS485 serial network with an Ethernet network interface. An additional USB-C port is provided to power the device and enables real-time monitoring of its operational runtime parameters. Its ultra-compact form factor and ergonomic enclosure allow it to be deployed either as a permanent field installation component or used as a highly portable diagnostic tool.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Basic Features and Parameters ====&lt;br /&gt;
* RS485 Interface: Terminals: A+, B-, GND, and TERM via Phoenix Contact MC 3.81 mm connector&lt;br /&gt;
* Termination Resistor: Integrated 120 Ω bus terminator (configurable)&lt;br /&gt;
* RS485 Circuit Protection: 1 kV galvanic isolation and integrated surge protection&lt;br /&gt;
* RS485 Baud Rate: Supports any custom value from 200 bps to 1,000,000 bps (1 Mbps)&lt;br /&gt;
* RS485 Serial Parameters: Data bits: 7/8; Parity: None/Even/Odd; Stop bits: 1/1.5/2; Half-Duplex&lt;br /&gt;
* Network Capacity: Supports up to 64 nodes on the RS485 bus&lt;br /&gt;
* Buffer Size: Maximum RS485 data frame length of 4 kB (4096 bytes)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Network Interface: RJ45 port, 10/100 Mbps Base-T Ethernet&lt;br /&gt;
* Network Addressing: Configurable MAC address; IPv4 support with Static IP or DHCP assignment&lt;br /&gt;
* Operational Modes: TCP Server, TCP Client, Concurrent UDP, and UDP Broadcast&lt;br /&gt;
* Device Configuration: Password-protected, built-in Web-UI (HTTP)&lt;br /&gt;
* Diagnostics: Operational status readout via USB or Web-UI&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Power Supply: 5 VDC @ 0.2 A via USB-C interface port&lt;br /&gt;
* Dimensions: 80 x 47 x 24 mm&lt;br /&gt;
* Operating Temperature Range: -20°C to +50°C&lt;br /&gt;
* Status Indicators: Diagnostic LEDs&lt;br /&gt;
* Firmware Upgrade: Supported via USB interface&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Standard Equipment ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Product Code&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;MODIG RS485-ETHERNET Mini Converter&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*Fully assembled, programmed, and tested converter module&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;USB Cable&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*USB connectivity cable with USB-A to USB-C connectors&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Applications ====&lt;br /&gt;
The converter enables bidirectional data routing between an RS485 serial bus and an Ethernet network. Communication can be established transparently between two MODIG RS485-ETHERNET Mini modules or integrated with any third-party field device supporting standard TCP and/or UDP protocols.&amp;lt;br&amp;gt;&lt;br /&gt;
Serial data frames from the RS485 bus are packed and converted into Ethernet TCP/UDP packets. For large payloads (exceeding 1.5 kB up to the 4 kB maximum), an internal fragmentation mechanism splits the payload into smaller network frames. At the receiving destination node, the original RS485 data format is fully reconstructed, ensuring completely transparent communication across the network layer.&amp;lt;br&amp;gt;&lt;br /&gt;
Typical application layout for the MODIG RS485-ETHERNET Mini converter:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_application.png|none|950px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== RS485 Interface ====&lt;br /&gt;
The physical RS485 interface utilizes a 4-pin Phoenix Contact MC 3.81 mm screw terminal block.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Pin Number&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Label&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|1&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| &#039;&#039;&#039;T&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| &lt;br /&gt;
Activates the internal 120 Ω line termination resistor. &amp;lt;br&amp;gt; The resistor is engaged when terminal &#039;&#039;&#039;T&#039;&#039;&#039; is shorted to terminal &#039;&#039;&#039;A+&#039;&#039;&#039;.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|2&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| &#039;&#039;&#039;A+&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| RS485 differential line A (Non-inverting / Positive potential)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|3&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| &#039;&#039;&#039;B-&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| RS485 differential line B (Inverting / Negative potential)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|4&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| &#039;&#039;&#039;⏚&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Signal Ground (GND) for the RS485 bus&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_RS485.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The MODIG converter can be connected to an RS485 bus containing up to 64 devices (including the converter itself). Devices must be daisy-chained to avoid stub lines or bus branches; any necessary drop lines must be kept as short as possible. 120 Ω impedance matching termination resistors should be placed at both physical ends of the bus line. The MODIG converter includes an on-board termination resistor, which can be enabled by bridging terminal &#039;&#039;&#039;A+&#039;&#039;&#039; and terminal &#039;&#039;&#039;T&#039;&#039;&#039;.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The diagram below shows a simplified wiring schematic of the RS485 bus network, terminated with a standard 120 Ω resistor on one end, and the converter&#039;s internal termination on the other. It also illustrates the correct daisy-chain connection method versus incorrect topology.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_connection.png|none|1000px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Power Supply ====&lt;br /&gt;
Power to the MODIG converter is delivered via the USB-C port labeled &#039;&#039;&#039;USB&amp;amp;PWR&#039;&#039;&#039;. The external source must deliver 5 VDC ±10% with a minimum capacity of 0.2 A. This requirement is met by standard USB chargers, PC interface ports, or Single Board Computers (SBCs).&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_PWR.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ETHERNET Interface ====&lt;br /&gt;
The MODIG converter is equipped with a 10/100 Mbps Ethernet subsystem utilizing a standard RJ45 connector interface. This interface allows the converter to join a Local Area Network (LAN).&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The solid &#039;&#039;&#039;LNK&#039;&#039;&#039; LED indicates a valid physical network connection, while a flashing &#039;&#039;&#039;ACT&#039;&#039;&#039; LED signals active data traffic over the Ethernet network layer.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_LAN.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Status LED Indicators ====&lt;br /&gt;
The operation of the MODIG converter is monitored using 3 diagnostic LEDs.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|LED Indicator&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Status Meaning&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;&amp;lt;b&amp;gt;STA&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Blinking at a steady interval indicates the system logic is operating correctly.&lt;br /&gt;
A solid light indicates a valid Ethernet network link and a successfully leased IP address.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;&amp;lt;b&amp;gt;ETH&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Blinking indicates active transmission or reception of TCP/UDP packets.&lt;br /&gt;
A solid light indicates an active, established TCP Server-Client connection.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;&amp;lt;b&amp;gt;RS&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Blinking signals data transmission (TX) or reception (RX) activity on the RS485 serial bus.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_LAN.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== RES Function Button ====&lt;br /&gt;
The hardware function button allows the user to trigger a full system reboot or perform a complete factory reset. To actuate the button, gently insert a pin or the end of a paperclip into the small pinhole labeled &#039;&#039;&#039;RES&#039;&#039;&#039; until a tactile resistance is felt.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A system reboot is triggered on an active device by holding the &#039;&#039;&#039;RES&#039;&#039;&#039; button down for approximately 5 seconds and then releasing it. During this action, the red RS LED will flash 4 times shortly followed by a single long illumination lasting 1 second. The button must be released during this long 1-second flash. The MODIG converter will then perform a clean hardware system restart.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A factory reset is executed on an active device by holding the &#039;&#039;&#039;RES&#039;&#039;&#039; button down for approximately 10 seconds before releasing it. This sequence triggers 4 short red flashes on the RS LED, a 1-second long flash, a 4-second delay, and finally a second long illumination. The button must be released during this second long flash. This action purges all custom configurations (wiping network setups, serial parameters, Web-UI access passwords, etc.) and restores the converter to its factory defaults.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_RES.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== USB Diagnostics Interface ====&lt;br /&gt;
The USB-C interface port labeled USB&amp;amp;PWR serves as the main power input and doubles as a diagnostic bridge to track real-time runtime parameters. Connecting the MODIG converter to a PC registers a Virtual COM Port inside the host operating system (e.g., listed as COM5).&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:MODIG_RS485-ETHERNET_PoE_COM.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Any standard serial terminal emulation software (e.g., PuTTY, BrayTerminal, etc.) can be opened to listen on the allocated Virtual COM Port. The communication channel profile must be configured to: 115200 bps, 8 data bits, No parity, 1 stop bit (115200, 8, N, 1). The terminal window will stream active diagnostic readouts from the MODIG converter:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_terminal.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
This feed provides a quick method to check the leased IP address assigned to the converter, along with critical parameters including DHCP lease status, MAC address, and active TCP/UDP socket configurations.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Firmware Upgrade Procedure ====&lt;br /&gt;
The latest version of the firmware binary can be acquired here: [https://wiki.kamamilabs.com/images/a/a7/Modig_3_0.zip Modig_3_0.zip]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Flashing a new firmware version requires a desktop PC equipped with the official STM32Cube Programmer application, an available USB port, and a standard USB-A to USB-C link cable.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_upd.png|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
The STM32Cube Programmer application can be obtained from the official STMicroelectronics portal:&lt;br /&gt;
https://www.st.com/en/development-tools/stm32cubeprog.html&lt;br /&gt;
Select the appropriate installer for your desktop operating system, run the installation package, and follow the setup wizard.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_get_soft.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
To put the MODIG converter into Device Firmware Upgrade (DFU) mode, follow these steps:&lt;br /&gt;
#Disconnect the converter from the Ethernet network, the RS485 bus lines, and its power source.&lt;br /&gt;
#While the device is fully unpowered, press and hold down the hardware RES button.&lt;br /&gt;
#Keeping the RES button compressed, connect the USB cable from the PC to the USB&amp;amp;PWR port on the MODIG converter.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The status LEDs will remain completely dark, confirming that the internal bootloader has entered DFU mode. The host PC device manager will list a new hardware entry:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_DFU_mode.jpg|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Launch the STM32Cube Programmer software, change the interface connection type to USB, and click &#039;&#039;Connect&#039;&#039;.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_connect.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Click on &#039;&#039;Open file&#039;&#039;, browse to the directory containing the compiled firmware binary (e.g., &#039;&#039;Modig_3_0.elf&#039;&#039;), select it, and click &#039;&#039;Download&#039;&#039;. A confirmation dialog will pop up upon completion; click OK. &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_openfile.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Finally, click Disconnect within the utility and unplug the USB cable from the converter. Reconnecting the USB cable normally (without pressing the RES button) will cycle the power, and the MODIG converter will initialize running the newly flashed firmware stack.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Converter Configuration ====&lt;br /&gt;
All hardware and communication parameters of the MODIG converter are managed using the embedded web configuration engine. Open a web browser on a PC or smartphone connected to the same Local Area Network (LAN) as the MODIG module, and type the device&#039;s current IP address into the address bar. The active IP address can be found using the live serial diagnostic stream over USB (see the “USB Diagnostics Interface” section) or via the network router&#039;s DHCP lease table.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== User Authentication (Login) ===== &lt;br /&gt;
Navigating to the correct IP address brings up the MODIG Web-UI dashboard challenge screen. Accessing the configuration backend requires entering the security password; the factory default value is “1234”.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_start.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Entering an invalid password will display an authentication failure alert.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_try_again.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Main Menu Dashboard ===== &lt;br /&gt;
A successful login session opens the core configuration panel. The bottom area of the layout displays foundational device info and real-time operational variables.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_main.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Once modifications to the operating parameters are complete, terminate the session by clicking the LOGOUT button. This explicit action writes the updated parameters into the device&#039;s non-volatile EEPROM configuration storage block.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
If a user fails to log out manually, the active Web-UI session will time out automatically after 5 minutes of inactivity. Any uncommitted parameter adjustments are saved to the non-volatile memory block after 1 minute of inactivity on the configuration portal.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Device Management Profile (DEVICE) ===== &lt;br /&gt;
&#039;&#039;Device Name&#039;&#039; — A custom string identifier defined by the user to label the hardware unit. To change this value, input the string into the text box adjacent to the &#039;&#039;Device Name&#039;&#039; field and commit the modification by clicking the &#039;&#039;Apply&#039;&#039; button below.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Access Password Management&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The configuration portal is locked behind a password challenge. Authentication is bound to the requesting client&#039;s IP address and remains valid for a sliding window of 5 minutes. The countdown resets with each action taken within the Web-UI; 5 minutes of total idle time drops the token and forces an automatic session logout.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
To provision a new access token, input the desired value into the &#039;&#039;New Password&#039;&#039; and &#039;&#039;Repeat new password&#039;&#039; text boxes, then commit the change using the corresponding &#039;&#039;Apply&#039;&#039; button.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_device.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
A successful write update will show the following success confirmation message:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_new_password_2.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Network Parameter Configuration (NETWORK) ===== &lt;br /&gt;
The networking section handles the low-level identity profiles, including the hardware address (&#039;&#039;Device MAC&#039;&#039;) and the IP block topology. When the network automation flag is set to &#039;&#039;DHCP - ENABLE&#039;&#039;, the MODIG converter requests an operational IP setup from the local network gateway or DHCP server. Conversely, flipping this setting to &#039;&#039;DISABLE&#039;&#039; switches the stack over to static configurations, requiring manual entries for the target IP address (&#039;&#039;Device static IP&#039;&#039;) and the corresponding subnet mask (&#039;&#039;Subnet mask&#039;&#039;).&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_netsett.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Modifying the hardware MAC address requires a hard system reboot to reinitialize the network controller chip; this can be done by clicking the &#039;&#039;RESTART&#039;&#039; button. Updating static IP variables requires recycling the Ethernet interface stack, which can be done by clicking the &#039;&#039;RECONNECT&#039;&#039; button.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Executing either operation terminates the active browser session, logs the user out, and restarts the physical Ethernet interface. Depending on the newly committed settings, the web management panel will map onto a different network endpoint address.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Network Operational Profile (MODE) ===== &lt;br /&gt;
The MODIG converter routes data payloads across the IP network using independent TCP and UDP protocol engines running concurrently.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The TCP engine operates under a strict Server-Client model, requiring a destination IP pointer indicating where serial payloads should be forwarded, paired with a target socket port number constrained within the user range of 1024 to 65535.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The UDP engine functions without maintaining fixed sessions or connection states. It requires a target destination IP pointer along with an unprivileged port assignment within the 1024 to 65535 range. Setting the destination address to the broadcast IP 255.255.255.255 switches the socket engine over to broad-network transmission (broadcasting), mirroring serial payloads to every active listening node on the local subnet.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_mode.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Serial Interface Tuning (RS485) ===== &lt;br /&gt;
The adjustable physical parameters governing the integrated RS485 UART serial interface include:&amp;lt;br&amp;gt;&lt;br /&gt;
∙ Communication Speed (&#039;&#039;Baudrate&#039;&#039;): Supports values from 200 bps up to 1,000,000 bps (1 Mbps),&amp;lt;br&amp;gt;&lt;br /&gt;
∙ Serial Frame Size (Data bits): Configurable to 7 or 8 bits,&amp;lt;br&amp;gt;&lt;br /&gt;
∙ Bit Parity Verification (&#039;&#039;Parity&#039;&#039;): None, Even, or Odd,&amp;lt;br&amp;gt;&lt;br /&gt;
∙ Serial Framing End-Marker (&#039;&#039;Stop bits&#039;&#039;): 1, 1.5, or 2 bits.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The UART parameters configured inside the MODIG converter must match the serial properties of all peripheral target nodes attached to the RS485 line. Save new variables using the Apply button below the menu fields.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Data payloads routed over the physical RS485 bus are formatted into packets (frames), capped by an end-of-packet character sequence or a designated duration of line quietness. The converter packages serial data streams and drops them onto the network stack as unified blocks; frames missing proper completion markers are held in the serial buffer and will not pass onto the network layer.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The MODIG engine can monitor for frame completion by parsing for a programmable sequence of 1 to 4 characters (e.g., the keyword string “END”, a series of byte markers like “0xFF 0xFF 0xFF 0xFF”, or standard text line-end delimiters like CR LF — &#039;&#039;Carriage Return, Line Feed&#039;&#039;). The parsing sequence must be formatted as hexadecimal notation values corresponding to the standard ASCII map, prefixed by an &#039;x&#039; identifier; for example, the string “END” must be input as “x45 x4E x44”. Leaving this field empty disables character-based frame parsing.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The firmware can also evaluate frame boundaries by measuring silent periods on the physical bus. Bus quietness is calculated as equivalent character transmission windows relative to the active baud rate. Input a valid threshold scale from 0 to 255 inside the &#039;&#039;Packet complete idle characters&#039;&#039; field. Setting this value to 0 turns off the timer; a value of 1 instructs the engine to close the active buffer as soon as the line remains idle for the duration of a single character slot. Both frame demarcation methods can run concurrently.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_rs485.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Embedded Testing Tools (TOOLS) ===== &lt;br /&gt;
The web interface features basic testing utilities to inject raw test payloads directly onto the physical bus lines. The input field labeled &#039;&#039;Remote RS485 message&#039;&#039; transmits short text segments directly to the remote IP endpoints assigned within the network configuration panels (&#039;&#039;MODE&#039;&#039;) over open TCP or UDP sockets. Click &#039;&#039;Send&#039;&#039; to fire the payload.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The utility labeled &#039;&#039;Local RS485 message&#039;&#039; allows operators to transmit manual command strings from the active interface directly out of the local converter&#039;s RS485 transceiver. Click &#039;&#039;Send&#039;&#039; to execute the serial transmission.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_tools.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=MD12001_RS485_to_Ethernet_Mini_Converter_(EN)&amp;diff=599</id>
		<title>MD12001 RS485 to Ethernet Mini Converter (EN)</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=MD12001_RS485_to_Ethernet_Mini_Converter_(EN)&amp;diff=599"/>
		<updated>2026-06-15T20:05:53Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: /* Key Features and Specifications */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Description ====&lt;br /&gt;
&amp;lt;b&amp;gt;Miniature Industrial RS485 to Ethernet Bus Converter&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The &amp;lt;b&amp;gt;MODIG RS485-ETHERNET Mini&amp;lt;/b&amp;gt; is a versatile and user-friendly bus converter that bridges an RS485 serial network with an Ethernet network interface. An additional USB-C port is provided to power the device and enables real-time monitoring of its operational runtime parameters. Its ultra-compact form factor and ergonomic enclosure allow it to be deployed either as a permanent field installation component or used as a highly portable diagnostic tool.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Basic Features and Parameters ====&lt;br /&gt;
* RS485 Interface: Terminals: A+, B-, GND, and TERM via Phoenix Contact MC 3.81 mm connector&lt;br /&gt;
* Termination Resistor: Integrated 120 Ω bus terminator (configurable)&lt;br /&gt;
* RS485 Circuit Protection: 1 kV galvanic isolation and integrated surge protection&lt;br /&gt;
* RS485 Baud Rate: Supports any custom value from 200 bps to 1,000,000 bps (1 Mbps)&lt;br /&gt;
* RS485 Serial Parameters: Data bits: 7/8; Parity: None/Even/Odd; Stop bits: 1/1.5/2; Half-Duplex&lt;br /&gt;
* Network Capacity: Supports up to 64 nodes on the RS485 bus&lt;br /&gt;
* Buffer Size: Maximum RS485 data frame length of 4 kB (4096 bytes)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Network Interface: RJ45 port, 10/100 Mbps Base-T Ethernet&lt;br /&gt;
* Network Addressing: Configurable MAC address; IPv4 support with Static IP or DHCP assignment&lt;br /&gt;
* Operational Modes: TCP Server, TCP Client, Concurrent UDP, and UDP Broadcast&lt;br /&gt;
* Device Configuration: Password-protected, built-in Web-UI (HTTP)&lt;br /&gt;
* Diagnostics: Operational status readout via USB or Web-UI&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Power Supply: 5 VDC @ 0.2 A via USB-C interface port&lt;br /&gt;
* Dimensions: 80 x 47 x 24 mm&lt;br /&gt;
* Operating Temperature Range: -20°C to +50°C&lt;br /&gt;
* Status Indicators: Diagnostic LEDs&lt;br /&gt;
* Firmware Upgrade: Supported via USB interface&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Kit Contents ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Product Code&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;MODIG RS485-ETHERNET Mini Converter&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*Fully assembled, programmed, and tested converter module&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;USB Cable&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*USB connectivity cable with USB-A to USB-C connectors&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Applications ====&lt;br /&gt;
The converter enables bidirectional data routing between an RS485 serial bus and an Ethernet network. Communication can be established transparently between two MODIG RS485-ETHERNET Mini modules or integrated with any third-party field device supporting standard TCP and/or UDP protocols.&amp;lt;br&amp;gt;&lt;br /&gt;
Serial data frames from the RS485 bus are packed and converted into Ethernet TCP/UDP packets. For large payloads (exceeding 1.5 kB up to the 4 kB maximum), an internal fragmentation mechanism splits the payload into smaller network frames. At the receiving destination node, the original RS485 data format is fully reconstructed, ensuring completely transparent communication across the network layer.&amp;lt;br&amp;gt;&lt;br /&gt;
Typical application layout for the MODIG RS485-ETHERNET Mini converter:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_application.png|none|950px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== RS485 Interface ====&lt;br /&gt;
The physical RS485 interface utilizes a 4-pin Phoenix Contact MC 3.81 mm screw terminal block.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Pin Number&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Label&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|1&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| &#039;&#039;&#039;T&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| &lt;br /&gt;
Activates the internal 120 Ω line termination resistor. &amp;lt;br&amp;gt; The resistor is engaged when terminal &#039;&#039;&#039;T&#039;&#039;&#039; is shorted to terminal &#039;&#039;&#039;A+&#039;&#039;&#039;.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|2&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| &#039;&#039;&#039;A+&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| RS485 differential line A (Non-inverting / Positive potential)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|3&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| &#039;&#039;&#039;B-&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| RS485 differential line B (Inverting / Negative potential)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|4&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| &#039;&#039;&#039;⏚&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Signal Ground (GND) for the RS485 bus&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_RS485.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The MODIG converter can be connected to an RS485 bus containing up to 64 devices (including the converter itself). Devices must be daisy-chained to avoid stub lines or bus branches; any necessary drop lines must be kept as short as possible. 120 Ω impedance matching termination resistors should be placed at both physical ends of the bus line. The MODIG converter includes an on-board termination resistor, which can be enabled by bridging terminal &#039;&#039;&#039;A+&#039;&#039;&#039; and terminal &#039;&#039;&#039;T&#039;&#039;&#039;.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The diagram below shows a simplified wiring schematic of the RS485 bus network, terminated with a standard 120 Ω resistor on one end, and the converter&#039;s internal termination on the other. It also illustrates the correct daisy-chain connection method versus incorrect topology.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_connection.png|none|1000px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Power Supply ====&lt;br /&gt;
Power to the MODIG converter is delivered via the USB-C port labeled &#039;&#039;&#039;USB&amp;amp;PWR&#039;&#039;&#039;. The external source must deliver 5 VDC ±10% with a minimum capacity of 0.2 A. This requirement is met by standard USB chargers, PC interface ports, or Single Board Computers (SBCs).&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_PWR.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ETHERNET Interface ====&lt;br /&gt;
The MODIG converter is equipped with a 10/100 Mbps Ethernet subsystem utilizing a standard RJ45 connector interface. This interface allows the converter to join a Local Area Network (LAN).&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The solid &#039;&#039;&#039;LNK&#039;&#039;&#039; LED indicates a valid physical network connection, while a flashing &#039;&#039;&#039;ACT&#039;&#039;&#039; LED signals active data traffic over the Ethernet network layer.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_LAN.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Status LED Indicators ====&lt;br /&gt;
The operation of the MODIG converter is monitored using 3 diagnostic LEDs.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|LED Indicator&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Status Meaning&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;&amp;lt;b&amp;gt;STA&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Blinking at a steady interval indicates the system logic is operating correctly.&lt;br /&gt;
A solid light indicates a valid Ethernet network link and a successfully leased IP address.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;&amp;lt;b&amp;gt;ETH&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Blinking indicates active transmission or reception of TCP/UDP packets.&lt;br /&gt;
A solid light indicates an active, established TCP Server-Client connection.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;&amp;lt;b&amp;gt;RS&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Blinking signals data transmission (TX) or reception (RX) activity on the RS485 serial bus.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_LAN.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== RES Function Button ====&lt;br /&gt;
The hardware function button allows the user to trigger a full system reboot or perform a complete factory reset. To actuate the button, gently insert a pin or the end of a paperclip into the small pinhole labeled &#039;&#039;&#039;RES&#039;&#039;&#039; until a tactile resistance is felt.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A system reboot is triggered on an active device by holding the &#039;&#039;&#039;RES&#039;&#039;&#039; button down for approximately 5 seconds and then releasing it. During this action, the red RS LED will flash 4 times shortly followed by a single long illumination lasting 1 second. The button must be released during this long 1-second flash. The MODIG converter will then perform a clean hardware system restart.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A factory reset is executed on an active device by holding the &#039;&#039;&#039;RES&#039;&#039;&#039; button down for approximately 10 seconds before releasing it. This sequence triggers 4 short red flashes on the RS LED, a 1-second long flash, a 4-second delay, and finally a second long illumination. The button must be released during this second long flash. This action purges all custom configurations (wiping network setups, serial parameters, Web-UI access passwords, etc.) and restores the converter to its factory defaults.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_RES.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== USB Diagnostics Interface ====&lt;br /&gt;
The USB-C interface port labeled USB&amp;amp;PWR serves as the main power input and doubles as a diagnostic bridge to track real-time runtime parameters. Connecting the MODIG converter to a PC registers a Virtual COM Port inside the host operating system (e.g., listed as COM5).&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:MODIG_RS485-ETHERNET_PoE_COM.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Any standard serial terminal emulation software (e.g., PuTTY, BrayTerminal, etc.) can be opened to listen on the allocated Virtual COM Port. The communication channel profile must be configured to: 115200 bps, 8 data bits, No parity, 1 stop bit (115200, 8, N, 1). The terminal window will stream active diagnostic readouts from the MODIG converter:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_terminal.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
This feed provides a quick method to check the leased IP address assigned to the converter, along with critical parameters including DHCP lease status, MAC address, and active TCP/UDP socket configurations.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Firmware Upgrade Procedure ====&lt;br /&gt;
The latest version of the firmware binary can be acquired here: [https://wiki.kamamilabs.com/images/a/a7/Modig_3_0.zip Modig_3_0.zip]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Flashing a new firmware version requires a desktop PC equipped with the official STM32Cube Programmer application, an available USB port, and a standard USB-A to USB-C link cable.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_upd.png|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
The STM32Cube Programmer application can be obtained from the official STMicroelectronics portal:&lt;br /&gt;
https://www.st.com/en/development-tools/stm32cubeprog.html&lt;br /&gt;
Select the appropriate installer for your desktop operating system, run the installation package, and follow the setup wizard.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_get_soft.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
To put the MODIG converter into Device Firmware Upgrade (DFU) mode, follow these steps:&lt;br /&gt;
#Disconnect the converter from the Ethernet network, the RS485 bus lines, and its power source.&lt;br /&gt;
#While the device is fully unpowered, press and hold down the hardware RES button.&lt;br /&gt;
#Keeping the RES button compressed, connect the USB cable from the PC to the USB&amp;amp;PWR port on the MODIG converter.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The status LEDs will remain completely dark, confirming that the internal bootloader has entered DFU mode. The host PC device manager will list a new hardware entry:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_DFU_mode.jpg|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Launch the STM32Cube Programmer software, change the interface connection type to USB, and click &#039;&#039;Connect&#039;&#039;.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_connect.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Click on &#039;&#039;Open file&#039;&#039;, browse to the directory containing the compiled firmware binary (e.g., &#039;&#039;Modig_3_0.elf&#039;&#039;), select it, and click &#039;&#039;Download&#039;&#039;. A confirmation dialog will pop up upon completion; click OK. &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_openfile.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Finally, click Disconnect within the utility and unplug the USB cable from the converter. Reconnecting the USB cable normally (without pressing the RES button) will cycle the power, and the MODIG converter will initialize running the newly flashed firmware stack.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Converter Configuration ====&lt;br /&gt;
All hardware and communication parameters of the MODIG converter are managed using the embedded web configuration engine. Open a web browser on a PC or smartphone connected to the same Local Area Network (LAN) as the MODIG module, and type the device&#039;s current IP address into the address bar. The active IP address can be found using the live serial diagnostic stream over USB (see the “USB Diagnostics Interface” section) or via the network router&#039;s DHCP lease table.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== User Authentication (Login) ===== &lt;br /&gt;
Navigating to the correct IP address brings up the MODIG Web-UI dashboard challenge screen. Accessing the configuration backend requires entering the security password; the factory default value is “1234”.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_start.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Entering an invalid password will display an authentication failure alert.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_try_again.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Main Menu Dashboard ===== &lt;br /&gt;
A successful login session opens the core configuration panel. The bottom area of the layout displays foundational device info and real-time operational variables.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_main.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Once modifications to the operating parameters are complete, terminate the session by clicking the LOGOUT button. This explicit action writes the updated parameters into the device&#039;s non-volatile EEPROM configuration storage block.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
If a user fails to log out manually, the active Web-UI session will time out automatically after 5 minutes of inactivity. Any uncommitted parameter adjustments are saved to the non-volatile memory block after 1 minute of inactivity on the configuration portal.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Device Management Profile (DEVICE) ===== &lt;br /&gt;
&#039;&#039;Device Name&#039;&#039; — A custom string identifier defined by the user to label the hardware unit. To change this value, input the string into the text box adjacent to the &#039;&#039;Device Name&#039;&#039; field and commit the modification by clicking the &#039;&#039;Apply&#039;&#039; button below.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Access Password Management&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The configuration portal is locked behind a password challenge. Authentication is bound to the requesting client&#039;s IP address and remains valid for a sliding window of 5 minutes. The countdown resets with each action taken within the Web-UI; 5 minutes of total idle time drops the token and forces an automatic session logout.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
To provision a new access token, input the desired value into the &#039;&#039;New Password&#039;&#039; and &#039;&#039;Repeat new password&#039;&#039; text boxes, then commit the change using the corresponding &#039;&#039;Apply&#039;&#039; button.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_device.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
A successful write update will show the following success confirmation message:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_new_password_2.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Network Parameter Configuration (NETWORK) ===== &lt;br /&gt;
The networking section handles the low-level identity profiles, including the hardware address (&#039;&#039;Device MAC&#039;&#039;) and the IP block topology. When the network automation flag is set to &#039;&#039;DHCP - ENABLE&#039;&#039;, the MODIG converter requests an operational IP setup from the local network gateway or DHCP server. Conversely, flipping this setting to &#039;&#039;DISABLE&#039;&#039; switches the stack over to static configurations, requiring manual entries for the target IP address (&#039;&#039;Device static IP&#039;&#039;) and the corresponding subnet mask (&#039;&#039;Subnet mask&#039;&#039;).&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_netsett.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Modifying the hardware MAC address requires a hard system reboot to reinitialize the network controller chip; this can be done by clicking the &#039;&#039;RESTART&#039;&#039; button. Updating static IP variables requires recycling the Ethernet interface stack, which can be done by clicking the &#039;&#039;RECONNECT&#039;&#039; button.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Executing either operation terminates the active browser session, logs the user out, and restarts the physical Ethernet interface. Depending on the newly committed settings, the web management panel will map onto a different network endpoint address.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Network Operational Profile (MODE) ===== &lt;br /&gt;
The MODIG converter routes data payloads across the IP network using independent TCP and UDP protocol engines running concurrently.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The TCP engine operates under a strict Server-Client model, requiring a destination IP pointer indicating where serial payloads should be forwarded, paired with a target socket port number constrained within the user range of 1024 to 65535.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The UDP engine functions without maintaining fixed sessions or connection states. It requires a target destination IP pointer along with an unprivileged port assignment within the 1024 to 65535 range. Setting the destination address to the broadcast IP 255.255.255.255 switches the socket engine over to broad-network transmission (broadcasting), mirroring serial payloads to every active listening node on the local subnet.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_mode.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Serial Interface Tuning (RS485) ===== &lt;br /&gt;
The adjustable physical parameters governing the integrated RS485 UART serial interface include:&amp;lt;br&amp;gt;&lt;br /&gt;
∙ Communication Speed (&#039;&#039;Baudrate&#039;&#039;): Supports values from 200 bps up to 1,000,000 bps (1 Mbps),&amp;lt;br&amp;gt;&lt;br /&gt;
∙ Serial Frame Size (Data bits): Configurable to 7 or 8 bits,&amp;lt;br&amp;gt;&lt;br /&gt;
∙ Bit Parity Verification (&#039;&#039;Parity&#039;&#039;): None, Even, or Odd,&amp;lt;br&amp;gt;&lt;br /&gt;
∙ Serial Framing End-Marker (&#039;&#039;Stop bits&#039;&#039;): 1, 1.5, or 2 bits.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The UART parameters configured inside the MODIG converter must match the serial properties of all peripheral target nodes attached to the RS485 line. Save new variables using the Apply button below the menu fields.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Data payloads routed over the physical RS485 bus are formatted into packets (frames), capped by an end-of-packet character sequence or a designated duration of line quietness. The converter packages serial data streams and drops them onto the network stack as unified blocks; frames missing proper completion markers are held in the serial buffer and will not pass onto the network layer.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The MODIG engine can monitor for frame completion by parsing for a programmable sequence of 1 to 4 characters (e.g., the keyword string “END”, a series of byte markers like “0xFF 0xFF 0xFF 0xFF”, or standard text line-end delimiters like CR LF — &#039;&#039;Carriage Return, Line Feed&#039;&#039;). The parsing sequence must be formatted as hexadecimal notation values corresponding to the standard ASCII map, prefixed by an &#039;x&#039; identifier; for example, the string “END” must be input as “x45 x4E x44”. Leaving this field empty disables character-based frame parsing.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The firmware can also evaluate frame boundaries by measuring silent periods on the physical bus. Bus quietness is calculated as equivalent character transmission windows relative to the active baud rate. Input a valid threshold scale from 0 to 255 inside the &#039;&#039;Packet complete idle characters&#039;&#039; field. Setting this value to 0 turns off the timer; a value of 1 instructs the engine to close the active buffer as soon as the line remains idle for the duration of a single character slot. Both frame demarcation methods can run concurrently.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_rs485.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Embedded Testing Tools (TOOLS) ===== &lt;br /&gt;
The web interface features basic testing utilities to inject raw test payloads directly onto the physical bus lines. The input field labeled &#039;&#039;Remote RS485 message&#039;&#039; transmits short text segments directly to the remote IP endpoints assigned within the network configuration panels (&#039;&#039;MODE&#039;&#039;) over open TCP or UDP sockets. Click &#039;&#039;Send&#039;&#039; to fire the payload.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The utility labeled &#039;&#039;Local RS485 message&#039;&#039; allows operators to transmit manual command strings from the active interface directly out of the local converter&#039;s RS485 transceiver. Click &#039;&#039;Send&#039;&#039; to execute the serial transmission.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_tools.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=MD11001_RS485_to_USB_Isolated_Converter_(EN)&amp;diff=598</id>
		<title>MD11001 RS485 to USB Isolated Converter (EN)</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=MD11001_RS485_to_USB_Isolated_Converter_(EN)&amp;diff=598"/>
		<updated>2026-06-15T20:05:29Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: /* Key Features and Specifications */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Description ====&lt;br /&gt;
&amp;lt;b&amp;gt;Industrial Isolated RS485 to USB Converter&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The &amp;lt;b&amp;gt;MODIG RS485-USB ISO&amp;lt;/b&amp;gt; is a bidirectional bus converter bridging RS485 networks with a USB interface. The USB side features a high-performance, USB 2.0-compliant FTDI controller paired with a modern USB-C connector. The RS485 side utilizes an industrial transceiver capable of driving a bus network with up to 64 devices. The converter is equipped with advanced noise suppression, surge protection, and robust galvanic isolation circuitry. Additionally, it features an integrated RS485 bus terminator in the form of a switchable 120 Ω resistor.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:Modig_RS485_USB_1.jpg|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Basic Features and Parameters ====&lt;br /&gt;
* Industrial-grade RS485 to USB converter&lt;br /&gt;
* High-performance FTDI FT230 USB controller, fully compatible with USB 2.0 standard&lt;br /&gt;
* Modern USB-C connector interface&lt;br /&gt;
* Virtual COM Port (VCP) drivers available for Windows, Linux, and macOS&lt;br /&gt;
* Industrial STMicroelectronics ST485BDR RS485 transceiver&lt;br /&gt;
* Transmission mode: Half-duplex communication&lt;br /&gt;
* Baud rate: Maximum speed up to 1 Mbps (1,000,000 bps)&lt;br /&gt;
* Network capacity: Supports up to 64 nodes on the RS485 bus&lt;br /&gt;
* LED indicators: Diagnostic LEDs for active data transmission monitoring&lt;br /&gt;
* Line termination: Integrated 120 Ω termination resistor (configurable)&lt;br /&gt;
* Advanced features: Supports hardware ECHO function (simultaneous transmission and loopback data validation)&lt;br /&gt;
* Isolation protection: Robust 1 kV galvanic isolation between USB and RS485 circuits&lt;br /&gt;
* Circuit protection: Integrated surge and overvoltage protection on both RS485 and USB lines&lt;br /&gt;
* RS485 connector: Phoenix Contact MC 3.81 mm screw terminal block (Pins: A, B, GND)&lt;br /&gt;
* Power supply: 5 VDC via USB-C port; Maximum current consumption: 100 mA&lt;br /&gt;
* Operating temperature range: Extreme industrial range from -40°C to +70°C&lt;br /&gt;
* Dimensions: 80 x 47 x 24 mm&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Standard Equipment ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Product Code&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;MD11001&amp;lt;br&amp;gt;RS485 to USB Isolated Converter &amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*Fully assembled, and tested converter module&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;USB Cable&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*USB connectivity cable with USB-A to USB-C connectors&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Application Example for the MODIG USB-RS485 ISO Converter ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-USB_application.png|none|1000px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Interface Connectors and Pinout Description ====&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===== USB-C Connector =====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-USB_USB.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Interface Element&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;USB-C&amp;lt;/b&amp;gt; Connector&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
* Supplies 5 VDC power to the host side of the converter&lt;br /&gt;
* Handles bidirectional data transmission to and from the RS485 bus&lt;br /&gt;
* Features the FTDI FT230 USB controller chip (USB 2.0 compliant)&lt;br /&gt;
* Emulates a standard serial COM port on the host OS&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Status LED Indicators ===== &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-USB_LED.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|LED Indicator&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;&amp;lt;b&amp;gt;PWR&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Indicates that the converter is correctly powered&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;&amp;lt;b&amp;gt;TX&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Flashes when data is being transmitted to the RS485 bus&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;&amp;lt;b&amp;gt;RX&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Flashes when data is being received from the RS485 bus&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== RS485 Connector ===== &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-USB_RS485.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Interface Element&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;RS485&amp;lt;/b&amp;gt; Bus Terminal&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
* Industrial Phoenix Contact MC 3.81 mm screw terminal block&lt;br /&gt;
* Exposed RS485 differential signals: A+, B- and Signal Ground: ⏚&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Configuration DIP Switch ===== &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-USB SW.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Interface Element&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;Configuration DIP Switch&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
* Switch Section No. &#039;&#039;&#039;1&#039;&#039;&#039;: In the &amp;quot;ON&amp;quot; position, connects the 120 Ω termination resistor across the RS485 bus lines &amp;lt;br&amp;gt;&lt;br /&gt;
* Switch Section No. &#039;&#039;&#039;2&#039;&#039;&#039;: In the &amp;quot;ON&amp;quot; position, enables the hardware &#039;&#039;&#039;ECHO&#039;&#039;&#039; function, allowing data transmitted from the converter to be simultaneously read back for loopback validation&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
==== External Links ====&lt;br /&gt;
*[https://ftdichip.com/drivers/vcp-drivers/ FTDI VCP Drivers Download]&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=MD11001_RS485_to_USB_Isolated_Converter_(EN)&amp;diff=597</id>
		<title>MD11001 RS485 to USB Isolated Converter (EN)</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=MD11001_RS485_to_USB_Isolated_Converter_(EN)&amp;diff=597"/>
		<updated>2026-06-15T20:05:13Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: /* Kit Contents */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Description ====&lt;br /&gt;
&amp;lt;b&amp;gt;Industrial Isolated RS485 to USB Converter&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The &amp;lt;b&amp;gt;MODIG RS485-USB ISO&amp;lt;/b&amp;gt; is a bidirectional bus converter bridging RS485 networks with a USB interface. The USB side features a high-performance, USB 2.0-compliant FTDI controller paired with a modern USB-C connector. The RS485 side utilizes an industrial transceiver capable of driving a bus network with up to 64 devices. The converter is equipped with advanced noise suppression, surge protection, and robust galvanic isolation circuitry. Additionally, it features an integrated RS485 bus terminator in the form of a switchable 120 Ω resistor.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:Modig_RS485_USB_1.jpg|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Key Features and Specifications ====&lt;br /&gt;
* Industrial-grade RS485 to USB converter&lt;br /&gt;
* High-performance FTDI FT230 USB controller, fully compatible with USB 2.0 standard&lt;br /&gt;
* Modern USB-C connector interface&lt;br /&gt;
* Virtual COM Port (VCP) drivers available for Windows, Linux, and macOS&lt;br /&gt;
* Industrial STMicroelectronics ST485BDR RS485 transceiver&lt;br /&gt;
* Transmission mode: Half-duplex communication&lt;br /&gt;
* Baud rate: Maximum speed up to 1 Mbps (1,000,000 bps)&lt;br /&gt;
* Network capacity: Supports up to 64 nodes on the RS485 bus&lt;br /&gt;
* LED indicators: Diagnostic LEDs for active data transmission monitoring&lt;br /&gt;
* Line termination: Integrated 120 Ω termination resistor (configurable)&lt;br /&gt;
* Advanced features: Supports hardware ECHO function (simultaneous transmission and loopback data validation)&lt;br /&gt;
* Isolation protection: Robust 1 kV galvanic isolation between USB and RS485 circuits&lt;br /&gt;
* Circuit protection: Integrated surge and overvoltage protection on both RS485 and USB lines&lt;br /&gt;
* RS485 connector: Phoenix Contact MC 3.81 mm screw terminal block (Pins: A, B, GND)&lt;br /&gt;
* Power supply: 5 VDC via USB-C port; Maximum current consumption: 100 mA&lt;br /&gt;
* Operating temperature range: Extreme industrial range from -40°C to +70°C&lt;br /&gt;
* Dimensions: 80 x 47 x 24 mm&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Standard Equipment ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Product Code&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;MD11001&amp;lt;br&amp;gt;RS485 to USB Isolated Converter &amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*Fully assembled, and tested converter module&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;USB Cable&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*USB connectivity cable with USB-A to USB-C connectors&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Application Example for the MODIG USB-RS485 ISO Converter ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-USB_application.png|none|1000px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Interface Connectors and Pinout Description ====&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===== USB-C Connector =====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-USB_USB.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Interface Element&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;USB-C&amp;lt;/b&amp;gt; Connector&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
* Supplies 5 VDC power to the host side of the converter&lt;br /&gt;
* Handles bidirectional data transmission to and from the RS485 bus&lt;br /&gt;
* Features the FTDI FT230 USB controller chip (USB 2.0 compliant)&lt;br /&gt;
* Emulates a standard serial COM port on the host OS&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Status LED Indicators ===== &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-USB_LED.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|LED Indicator&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;&amp;lt;b&amp;gt;PWR&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Indicates that the converter is correctly powered&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;&amp;lt;b&amp;gt;TX&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Flashes when data is being transmitted to the RS485 bus&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;&amp;lt;b&amp;gt;RX&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Flashes when data is being received from the RS485 bus&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== RS485 Connector ===== &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-USB_RS485.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Interface Element&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;RS485&amp;lt;/b&amp;gt; Bus Terminal&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
* Industrial Phoenix Contact MC 3.81 mm screw terminal block&lt;br /&gt;
* Exposed RS485 differential signals: A+, B- and Signal Ground: ⏚&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Configuration DIP Switch ===== &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-USB SW.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Interface Element&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;Configuration DIP Switch&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
* Switch Section No. &#039;&#039;&#039;1&#039;&#039;&#039;: In the &amp;quot;ON&amp;quot; position, connects the 120 Ω termination resistor across the RS485 bus lines &amp;lt;br&amp;gt;&lt;br /&gt;
* Switch Section No. &#039;&#039;&#039;2&#039;&#039;&#039;: In the &amp;quot;ON&amp;quot; position, enables the hardware &#039;&#039;&#039;ECHO&#039;&#039;&#039; function, allowing data transmitted from the converter to be simultaneously read back for loopback validation&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
==== External Links ====&lt;br /&gt;
*[https://ftdichip.com/drivers/vcp-drivers/ FTDI VCP Drivers Download]&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=MD11002_RS485-USB_mini_converter_(EN)&amp;diff=596</id>
		<title>MD11002 RS485-USB mini converter (EN)</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=MD11002_RS485-USB_mini_converter_(EN)&amp;diff=596"/>
		<updated>2026-06-15T20:04:48Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Description ====&lt;br /&gt;
&amp;lt;b&amp;gt;Industrial RS485 to USB Converter&amp;lt;br&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
A miniature RS485-USB converter module engineered for industrial and automation environments. &lt;br /&gt;
A miniature RS485-USB converter module for automation and industrial applications. It is easy to use and provides fast and stable communication between the USB interface and the RS485 serial standard. Based on the popular CH9101R chip, it features extensive protection circuits to ensure reliable and secure communication. It is perfectly suited for industrial control systems and applications requiring high reliability.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:Modig_RS485_USB_mini_1.png|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Basic Features and Parameters ====&lt;br /&gt;
* Industrial RS485-USB bus converter&lt;br /&gt;
* Compatible with USB 2.0 standard&lt;br /&gt;
* Transmission speed: 300 bps to 3 Mbps&lt;br /&gt;
* Half-duplex communication&lt;br /&gt;
* USB-A type USB connector&lt;br /&gt;
* Half-duplex communication&lt;br /&gt;
* Built-in surge protection&lt;br /&gt;
* Three LED diodes indicating power status (PWR) and data transmission (TX, RX)&lt;br /&gt;
* Built-in 120Ω termination resistor&lt;br /&gt;
* Phoenix Contact MC 3.5 mm type RS485 bus connector (A, B, GND)&lt;br /&gt;
* Operating temperature: -15°C ~ 70°C&lt;br /&gt;
* Supports operating systems with a built-in CDC driver (no installation required) or the manufacturer&#039;s multifunctional, high-speed VCP (Virtual COM Port) driver&lt;br /&gt;
* Dimensions: 48 x 20 x 13 mm&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Standard Equipment ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Code&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;RS485-USB mini converter&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*Assembled and tested module&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:Modig RS485 USB mini 3.jpg|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Application Example of the RS485-USB mini Converter ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:Modig_Konwerter_RS485-USB_mini.png|none|1000px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
==== LED Indicators ==== &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Indicator&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;&amp;lt;b&amp;gt;PWR&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Indicates correct power supply to the converter&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;&amp;lt;b&amp;gt;TX&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Indicates data transmission to the RS485 bus&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;&amp;lt;b&amp;gt;RX&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Indicates data readout from the RS485 bus&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
==== RS485 Connector ==== &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Interface Element&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;RS485&amp;lt;/b&amp;gt; bus connector&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
* Phoenix Contact MC 3.5 mm type connector&lt;br /&gt;
* Exposed RS485 signals: B-, A+ and signal ground: ⏚&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=MD11002_Konwerter_RS485-USB_mini_(PL)&amp;diff=595</id>
		<title>MD11002 Konwerter RS485-USB mini (PL)</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=MD11002_Konwerter_RS485-USB_mini_(PL)&amp;diff=595"/>
		<updated>2026-06-15T19:58:37Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: /* Wyposażenie standardowe */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Opis ====&lt;br /&gt;
&amp;lt;b&amp;gt;Przemysłowy konwerter RS485 na USB&amp;lt;br&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
Moduł miniaturowego konwertera RS485-USB do zastosowań w automatyce i przemyśle.&lt;br /&gt;
Jest łatwy w obsłudze i zapewnia szybką i stabilną komunikację pomiędzy interfejsem USB, a standardem szeregowym RS485.&lt;br /&gt;
Bazuje na popularnym układzie CH9101R i zawiera rozbudowane obwody zabezpieczające, dzięki czemu komunikacja jest niezawodna i bezpieczna.&lt;br /&gt;
Doskonale sprawdzi się w przemysłowych systemach sterujących i aplikacjach wymagających niezawodności.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:Modig_RS485_USB_mini_1.png|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Podstawowe cechy i parametry ====&lt;br /&gt;
* Przemysłowy konwerter magistrali RS485-USB&lt;br /&gt;
* Kompatybilny ze standardem USB 2.0&lt;br /&gt;
* Szybkość transmisji: 300 do 3 Mbps&lt;br /&gt;
* Komunikacja typu Half-duplex&lt;br /&gt;
* Złącze USB typu USB-A&lt;br /&gt;
* Komunikacja typu Half-duplex&lt;br /&gt;
* Wbudowane zabezpieczenia przepięciowe&lt;br /&gt;
* Trzy diody LED informujące o stanie zasilania (PWR) oraz transmisji danych (TX, RX)&lt;br /&gt;
* Wbudowany rezystor terminujący 120Ω&lt;br /&gt;
* Złącze magistrali RS485 typu Phoenix Contact MC 3,5 mm (A, B, GND)&lt;br /&gt;
* Temperatura pracy: -15°C ~ 70°C&lt;br /&gt;
* Obsługuje systemy operacyjne z wbudowanym sterownikiem CDC (bez instalacji) lub wielofunkcyjny, szybki sterownik producenta VCP (Virtual COM Port)&lt;br /&gt;
* Wymiary: 48 x 20 x 13 mm&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Wyposażenie standardowe ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Kod&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Opis&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;Konwerter RS485-USB mini&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*Zmontowany i uruchomiony moduł&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:Modig RS485 USB mini 3.jpg|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Przykład zastosowania konwertera RS485-USB mini ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:Modig_Konwerter_RS485-USB_mini.png|none|1000px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
==== Kontrolki sygnalizacyjne==== &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Kontrolka&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Funkcja&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;&amp;lt;b&amp;gt;PWR&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Sygnalizuje prawidłowe zasilanie konwertera&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;&amp;lt;b&amp;gt;TX&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Sygnalizuje przesyłanie danych do magistrali RS485&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;&amp;lt;b&amp;gt;RX&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Sygnalizuje odczyt danych z magistrali RS485&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
==== Złącze RS485==== &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Element interfejsu&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Funkcja&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|Złącze magistrali &amp;lt;b&amp;gt;RS485&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
* Złącze typu Phoenix Contact MC 3,5 mm&lt;br /&gt;
* Wyprowadzone sygnały RS485: B-, A+ oraz masa sygnału: ⏚&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=File:Modig_RS485_USB_mini_2.jpg&amp;diff=594</id>
		<title>File:Modig RS485 USB mini 2.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=File:Modig_RS485_USB_mini_2.jpg&amp;diff=594"/>
		<updated>2026-06-15T19:58:19Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: Grzegorzbecker uploaded a new version of File:Modig RS485 USB mini 2.jpg&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=File:Modig_RS485_USB_mini_3.jpg&amp;diff=593</id>
		<title>File:Modig RS485 USB mini 3.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=File:Modig_RS485_USB_mini_3.jpg&amp;diff=593"/>
		<updated>2026-06-15T19:57:57Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: Grzegorzbecker uploaded a new version of File:Modig RS485 USB mini 3.jpg&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=File:Modig_RS485_USB_mini_3.jpg&amp;diff=592</id>
		<title>File:Modig RS485 USB mini 3.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=File:Modig_RS485_USB_mini_3.jpg&amp;diff=592"/>
		<updated>2026-06-15T19:55:57Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=File:Modig_RS485_USB_mini_2.jpg&amp;diff=591</id>
		<title>File:Modig RS485 USB mini 2.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=File:Modig_RS485_USB_mini_2.jpg&amp;diff=591"/>
		<updated>2026-06-15T19:55:38Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=MD11001_Konwerter_RS485-USB_ISO_(PL)&amp;diff=590</id>
		<title>MD11001 Konwerter RS485-USB ISO (PL)</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=MD11001_Konwerter_RS485-USB_ISO_(PL)&amp;diff=590"/>
		<updated>2026-06-15T19:51:55Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: /* Kontrolki sygnalizacyjne */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Opis ====&lt;br /&gt;
&amp;lt;b&amp;gt;Przemysłowy izolowany konwerter magistrali RS485 na USB&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Konwerter &amp;lt;b&amp;gt; MODIG RS485-USB ISO &amp;lt;/b&amp;gt;jest dwukierunkowym konwerterem magistrali RS485, na interfejs USB. Po stronie interfejsu USB zastosowano kontroler produkcji FTDI kompatybilny ze standardem USB 2.0 oraz złącze USB-C. Po stronie RS485 zastosowano transceiver, który może działać w magistrali zawierającej do 64 urządzeń. Konwerter jest wyposażony w obwody redukujące zakłócenia, zabezpieczające przed przepięciami i gwarantujące separację galwaniczną. Dodatkowo posiada zintegrowany terminator magistrali RS485, w postaci dołączanej rezystancji 120 Ω.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:Modig_RS485_USB_1.jpg|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Podstawowe cechy i parametry ====&lt;br /&gt;
* Konwerter magistrali RS485-USB&lt;br /&gt;
* Kontroler USB FTDI typu FT230, kompatybilny ze standardem USB 2.0&lt;br /&gt;
* Złącze USB typu USB-C&lt;br /&gt;
* Sterowniki wirtualnego portu szeregowego dla Win, Linux i Mac&lt;br /&gt;
* Transceiver magistrali RS485 typu ST485BDR&lt;br /&gt;
* Komunikacja typu Half-duplex&lt;br /&gt;
* Szybkość transmisji – max 1 Mbps&lt;br /&gt;
* Liczba modułów dołączonych do magistrali RS485 – do 64 modułow&lt;br /&gt;
* Sygnalizacja przesyłania danych – diody LED&lt;br /&gt;
* Dołączana rezystancja 120 Ω (terminator magistrali)&lt;br /&gt;
* Umożliwia włączenie funkcji ECHO – nadawanie z jednoczesnym śledzeniem poprawności transmisji&lt;br /&gt;
* Separacja galwaniczna do 1 kV&lt;br /&gt;
* Zabezpieczenie przepięciowe na liniach magistrali RS485 i USB&lt;br /&gt;
* Złącze magistrali RS485 typu Phoenix Contact MC 3,81 mm (A, B, GND)&lt;br /&gt;
* Zasilanie 5 V poprzez złącze USB-C, pobór prądu max 100 mA&lt;br /&gt;
* Temperatura pracy: -40°C ~ 70°C&lt;br /&gt;
* Wymiary: 80 x 47 x 24 mm&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Wyposażenie standardowe ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Kod&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Opis&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt; Konwerter RS485-USB ISO&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*Zmontowany i uruchomiony moduł&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;Przewód USB&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*Przewód USB z wtykami USB-A, USB-C&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Przykład zastosowania konwertera MODIG USB-RS485 ISO ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-USB_application.png|none|1000px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Opis złączy i pozostałych elementów interfejsu ====&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===== Złącze USB-C =====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-USB_USB.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Element interfejsu&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Funkcja&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|Złącze &amp;lt;b&amp;gt;USB-C&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
* Dostarcza napięcia 5 V&lt;br /&gt;
* Służy do przesyłania danych do i z magistrali RS485&lt;br /&gt;
* Zawiera kontroler USB FTDI typu FT230, kompatybilny ze standardem USB 2.0&lt;br /&gt;
* Emuluje port szeregowy COM&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Kontrolki sygnalizacyjne===== &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-USB_LED.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Kontrolka&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Funkcja&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;&amp;lt;b&amp;gt;PWR&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Sygnalizuje prawidłowe zasilanie konwertera&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;&amp;lt;b&amp;gt;TX&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Sygnalizuje przesyłanie danych do magistrali RS485&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;&amp;lt;b&amp;gt;RX&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Sygnalizuje odczyt danych z magistrali RS485&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Złącze RS485===== &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-USB_RS485.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Element interfejsu&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Funkcja&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|Złącze magistrali &amp;lt;b&amp;gt;RS485&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
* Złącze typu Phoenix Contact MC 3,81 mm&lt;br /&gt;
* Wyprowadzone sygnały RS485: A+, B- oraz masa sygnału: ⏚&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Przełącznik konfiguracji===== &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-USB SW.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Element interfejsu&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Funkcja&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;Przełącznik konfiguracji&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
* Sekcja nr &#039;&#039;&#039;1&#039;&#039;&#039;: w pozycji „ON” dołącza terminator magistrali RS485 do zacisków konwertera &amp;lt;br&amp;gt;(rezystancja 120 Ω)&lt;br /&gt;
* Sekcja nr &#039;&#039;&#039;2&#039;&#039;&#039;: w pozycji „ON” aktywuje funkcję &#039;&#039;&#039;Echo&#039;&#039;&#039;, która powoduje, że dane wysyłane z konwertera na magistralę można w tym samym czasie odczytywać&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
==== Linki====&lt;br /&gt;
*[https://ftdichip.com/drivers/vcp-drivers/ Sterowniki FTDI VCP]&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=MD11002_Konwerter_RS485-USB_mini_(PL)&amp;diff=589</id>
		<title>MD11002 Konwerter RS485-USB mini (PL)</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=MD11002_Konwerter_RS485-USB_mini_(PL)&amp;diff=589"/>
		<updated>2026-06-15T19:45:56Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: /* Złącze RS485 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Opis ====&lt;br /&gt;
&amp;lt;b&amp;gt;Przemysłowy konwerter RS485 na USB&amp;lt;br&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
Moduł miniaturowego konwertera RS485-USB do zastosowań w automatyce i przemyśle.&lt;br /&gt;
Jest łatwy w obsłudze i zapewnia szybką i stabilną komunikację pomiędzy interfejsem USB, a standardem szeregowym RS485.&lt;br /&gt;
Bazuje na popularnym układzie CH9101R i zawiera rozbudowane obwody zabezpieczające, dzięki czemu komunikacja jest niezawodna i bezpieczna.&lt;br /&gt;
Doskonale sprawdzi się w przemysłowych systemach sterujących i aplikacjach wymagających niezawodności.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:Modig_RS485_USB_mini_1.png|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Podstawowe cechy i parametry ====&lt;br /&gt;
* Przemysłowy konwerter magistrali RS485-USB&lt;br /&gt;
* Kompatybilny ze standardem USB 2.0&lt;br /&gt;
* Szybkość transmisji: 300 do 3 Mbps&lt;br /&gt;
* Komunikacja typu Half-duplex&lt;br /&gt;
* Złącze USB typu USB-A&lt;br /&gt;
* Komunikacja typu Half-duplex&lt;br /&gt;
* Wbudowane zabezpieczenia przepięciowe&lt;br /&gt;
* Trzy diody LED informujące o stanie zasilania (PWR) oraz transmisji danych (TX, RX)&lt;br /&gt;
* Wbudowany rezystor terminujący 120Ω&lt;br /&gt;
* Złącze magistrali RS485 typu Phoenix Contact MC 3,5 mm (A, B, GND)&lt;br /&gt;
* Temperatura pracy: -15°C ~ 70°C&lt;br /&gt;
* Obsługuje systemy operacyjne z wbudowanym sterownikiem CDC (bez instalacji) lub wielofunkcyjny, szybki sterownik producenta VCP (Virtual COM Port)&lt;br /&gt;
* Wymiary: 48 x 20 x 13 mm&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Wyposażenie standardowe ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Kod&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Opis&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;Konwerter RS485-USB mini&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*Zmontowany i uruchomiony moduł&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
==== Przykład zastosowania konwertera RS485-USB mini ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:Modig_Konwerter_RS485-USB_mini.png|none|1000px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
==== Kontrolki sygnalizacyjne==== &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Kontrolka&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Funkcja&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;&amp;lt;b&amp;gt;PWR&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Sygnalizuje prawidłowe zasilanie konwertera&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;&amp;lt;b&amp;gt;TX&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Sygnalizuje przesyłanie danych do magistrali RS485&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;&amp;lt;b&amp;gt;RX&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Sygnalizuje odczyt danych z magistrali RS485&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
==== Złącze RS485==== &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Element interfejsu&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Funkcja&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|Złącze magistrali &amp;lt;b&amp;gt;RS485&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
* Złącze typu Phoenix Contact MC 3,5 mm&lt;br /&gt;
* Wyprowadzone sygnały RS485: B-, A+ oraz masa sygnału: ⏚&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=MD11002_Konwerter_RS485-USB_mini_(PL)&amp;diff=588</id>
		<title>MD11002 Konwerter RS485-USB mini (PL)</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=MD11002_Konwerter_RS485-USB_mini_(PL)&amp;diff=588"/>
		<updated>2026-06-15T19:45:47Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: /* Kontrolki sygnalizacyjne */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Opis ====&lt;br /&gt;
&amp;lt;b&amp;gt;Przemysłowy konwerter RS485 na USB&amp;lt;br&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
Moduł miniaturowego konwertera RS485-USB do zastosowań w automatyce i przemyśle.&lt;br /&gt;
Jest łatwy w obsłudze i zapewnia szybką i stabilną komunikację pomiędzy interfejsem USB, a standardem szeregowym RS485.&lt;br /&gt;
Bazuje na popularnym układzie CH9101R i zawiera rozbudowane obwody zabezpieczające, dzięki czemu komunikacja jest niezawodna i bezpieczna.&lt;br /&gt;
Doskonale sprawdzi się w przemysłowych systemach sterujących i aplikacjach wymagających niezawodności.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:Modig_RS485_USB_mini_1.png|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Podstawowe cechy i parametry ====&lt;br /&gt;
* Przemysłowy konwerter magistrali RS485-USB&lt;br /&gt;
* Kompatybilny ze standardem USB 2.0&lt;br /&gt;
* Szybkość transmisji: 300 do 3 Mbps&lt;br /&gt;
* Komunikacja typu Half-duplex&lt;br /&gt;
* Złącze USB typu USB-A&lt;br /&gt;
* Komunikacja typu Half-duplex&lt;br /&gt;
* Wbudowane zabezpieczenia przepięciowe&lt;br /&gt;
* Trzy diody LED informujące o stanie zasilania (PWR) oraz transmisji danych (TX, RX)&lt;br /&gt;
* Wbudowany rezystor terminujący 120Ω&lt;br /&gt;
* Złącze magistrali RS485 typu Phoenix Contact MC 3,5 mm (A, B, GND)&lt;br /&gt;
* Temperatura pracy: -15°C ~ 70°C&lt;br /&gt;
* Obsługuje systemy operacyjne z wbudowanym sterownikiem CDC (bez instalacji) lub wielofunkcyjny, szybki sterownik producenta VCP (Virtual COM Port)&lt;br /&gt;
* Wymiary: 48 x 20 x 13 mm&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Wyposażenie standardowe ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Kod&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Opis&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;Konwerter RS485-USB mini&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*Zmontowany i uruchomiony moduł&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
==== Przykład zastosowania konwertera RS485-USB mini ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:Modig_Konwerter_RS485-USB_mini.png|none|1000px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
==== Kontrolki sygnalizacyjne==== &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Kontrolka&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Funkcja&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;&amp;lt;b&amp;gt;PWR&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Sygnalizuje prawidłowe zasilanie konwertera&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;&amp;lt;b&amp;gt;TX&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Sygnalizuje przesyłanie danych do magistrali RS485&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;&amp;lt;b&amp;gt;RX&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Sygnalizuje odczyt danych z magistrali RS485&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
===== Złącze RS485===== &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Element interfejsu&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Funkcja&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|Złącze magistrali &amp;lt;b&amp;gt;RS485&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
* Złącze typu Phoenix Contact MC 3,5 mm&lt;br /&gt;
* Wyprowadzone sygnały RS485: B-, A+ oraz masa sygnału: ⏚&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=MD11002_Konwerter_RS485-USB_mini_(PL)&amp;diff=587</id>
		<title>MD11002 Konwerter RS485-USB mini (PL)</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=MD11002_Konwerter_RS485-USB_mini_(PL)&amp;diff=587"/>
		<updated>2026-06-15T19:45:07Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: /* Kontrolki sygnalizacyjne */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Opis ====&lt;br /&gt;
&amp;lt;b&amp;gt;Przemysłowy konwerter RS485 na USB&amp;lt;br&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
Moduł miniaturowego konwertera RS485-USB do zastosowań w automatyce i przemyśle.&lt;br /&gt;
Jest łatwy w obsłudze i zapewnia szybką i stabilną komunikację pomiędzy interfejsem USB, a standardem szeregowym RS485.&lt;br /&gt;
Bazuje na popularnym układzie CH9101R i zawiera rozbudowane obwody zabezpieczające, dzięki czemu komunikacja jest niezawodna i bezpieczna.&lt;br /&gt;
Doskonale sprawdzi się w przemysłowych systemach sterujących i aplikacjach wymagających niezawodności.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:Modig_RS485_USB_mini_1.png|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Podstawowe cechy i parametry ====&lt;br /&gt;
* Przemysłowy konwerter magistrali RS485-USB&lt;br /&gt;
* Kompatybilny ze standardem USB 2.0&lt;br /&gt;
* Szybkość transmisji: 300 do 3 Mbps&lt;br /&gt;
* Komunikacja typu Half-duplex&lt;br /&gt;
* Złącze USB typu USB-A&lt;br /&gt;
* Komunikacja typu Half-duplex&lt;br /&gt;
* Wbudowane zabezpieczenia przepięciowe&lt;br /&gt;
* Trzy diody LED informujące o stanie zasilania (PWR) oraz transmisji danych (TX, RX)&lt;br /&gt;
* Wbudowany rezystor terminujący 120Ω&lt;br /&gt;
* Złącze magistrali RS485 typu Phoenix Contact MC 3,5 mm (A, B, GND)&lt;br /&gt;
* Temperatura pracy: -15°C ~ 70°C&lt;br /&gt;
* Obsługuje systemy operacyjne z wbudowanym sterownikiem CDC (bez instalacji) lub wielofunkcyjny, szybki sterownik producenta VCP (Virtual COM Port)&lt;br /&gt;
* Wymiary: 48 x 20 x 13 mm&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Wyposażenie standardowe ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Kod&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Opis&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;Konwerter RS485-USB mini&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*Zmontowany i uruchomiony moduł&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
==== Przykład zastosowania konwertera RS485-USB mini ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:Modig_Konwerter_RS485-USB_mini.png|none|1000px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
==== Kontrolki sygnalizacyjne==== &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Kontrolka&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Funkcja&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;&amp;lt;b&amp;gt;PWR&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Sygnalizuje prawidłowe zasilanie konwertera&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;&amp;lt;b&amp;gt;TX&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Sygnalizuje przesyłanie danych do magistrali RS485&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;&amp;lt;b&amp;gt;RX&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Sygnalizuje odczyt danych z magistrali RS485&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=MD11002_Konwerter_RS485-USB_mini_(PL)&amp;diff=586</id>
		<title>MD11002 Konwerter RS485-USB mini (PL)</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=MD11002_Konwerter_RS485-USB_mini_(PL)&amp;diff=586"/>
		<updated>2026-06-15T19:44:40Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: /* Kontrolki sygnalizacyjne */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Opis ====&lt;br /&gt;
&amp;lt;b&amp;gt;Przemysłowy konwerter RS485 na USB&amp;lt;br&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
Moduł miniaturowego konwertera RS485-USB do zastosowań w automatyce i przemyśle.&lt;br /&gt;
Jest łatwy w obsłudze i zapewnia szybką i stabilną komunikację pomiędzy interfejsem USB, a standardem szeregowym RS485.&lt;br /&gt;
Bazuje na popularnym układzie CH9101R i zawiera rozbudowane obwody zabezpieczające, dzięki czemu komunikacja jest niezawodna i bezpieczna.&lt;br /&gt;
Doskonale sprawdzi się w przemysłowych systemach sterujących i aplikacjach wymagających niezawodności.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:Modig_RS485_USB_mini_1.png|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Podstawowe cechy i parametry ====&lt;br /&gt;
* Przemysłowy konwerter magistrali RS485-USB&lt;br /&gt;
* Kompatybilny ze standardem USB 2.0&lt;br /&gt;
* Szybkość transmisji: 300 do 3 Mbps&lt;br /&gt;
* Komunikacja typu Half-duplex&lt;br /&gt;
* Złącze USB typu USB-A&lt;br /&gt;
* Komunikacja typu Half-duplex&lt;br /&gt;
* Wbudowane zabezpieczenia przepięciowe&lt;br /&gt;
* Trzy diody LED informujące o stanie zasilania (PWR) oraz transmisji danych (TX, RX)&lt;br /&gt;
* Wbudowany rezystor terminujący 120Ω&lt;br /&gt;
* Złącze magistrali RS485 typu Phoenix Contact MC 3,5 mm (A, B, GND)&lt;br /&gt;
* Temperatura pracy: -15°C ~ 70°C&lt;br /&gt;
* Obsługuje systemy operacyjne z wbudowanym sterownikiem CDC (bez instalacji) lub wielofunkcyjny, szybki sterownik producenta VCP (Virtual COM Port)&lt;br /&gt;
* Wymiary: 48 x 20 x 13 mm&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Wyposażenie standardowe ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Kod&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Opis&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;Konwerter RS485-USB mini&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*Zmontowany i uruchomiony moduł&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
==== Przykład zastosowania konwertera RS485-USB mini ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:Modig_Konwerter_RS485-USB_mini.png|none|1000px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
===== Kontrolki sygnalizacyjne===== &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Kontrolka&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Funkcja&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;&amp;lt;b&amp;gt;PWR&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Sygnalizuje prawidłowe zasilanie konwertera&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;&amp;lt;b&amp;gt;TX&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Sygnalizuje przesyłanie danych do magistrali RS485&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;&amp;lt;b&amp;gt;RX&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Sygnalizuje odczyt danych z magistrali RS485&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=MD11002_Konwerter_RS485-USB_mini_(PL)&amp;diff=585</id>
		<title>MD11002 Konwerter RS485-USB mini (PL)</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=MD11002_Konwerter_RS485-USB_mini_(PL)&amp;diff=585"/>
		<updated>2026-06-15T19:44:13Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: /* Przykład zastosowania konwertera RS485-USB mini */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Opis ====&lt;br /&gt;
&amp;lt;b&amp;gt;Przemysłowy konwerter RS485 na USB&amp;lt;br&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
Moduł miniaturowego konwertera RS485-USB do zastosowań w automatyce i przemyśle.&lt;br /&gt;
Jest łatwy w obsłudze i zapewnia szybką i stabilną komunikację pomiędzy interfejsem USB, a standardem szeregowym RS485.&lt;br /&gt;
Bazuje na popularnym układzie CH9101R i zawiera rozbudowane obwody zabezpieczające, dzięki czemu komunikacja jest niezawodna i bezpieczna.&lt;br /&gt;
Doskonale sprawdzi się w przemysłowych systemach sterujących i aplikacjach wymagających niezawodności.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:Modig_RS485_USB_mini_1.png|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Podstawowe cechy i parametry ====&lt;br /&gt;
* Przemysłowy konwerter magistrali RS485-USB&lt;br /&gt;
* Kompatybilny ze standardem USB 2.0&lt;br /&gt;
* Szybkość transmisji: 300 do 3 Mbps&lt;br /&gt;
* Komunikacja typu Half-duplex&lt;br /&gt;
* Złącze USB typu USB-A&lt;br /&gt;
* Komunikacja typu Half-duplex&lt;br /&gt;
* Wbudowane zabezpieczenia przepięciowe&lt;br /&gt;
* Trzy diody LED informujące o stanie zasilania (PWR) oraz transmisji danych (TX, RX)&lt;br /&gt;
* Wbudowany rezystor terminujący 120Ω&lt;br /&gt;
* Złącze magistrali RS485 typu Phoenix Contact MC 3,5 mm (A, B, GND)&lt;br /&gt;
* Temperatura pracy: -15°C ~ 70°C&lt;br /&gt;
* Obsługuje systemy operacyjne z wbudowanym sterownikiem CDC (bez instalacji) lub wielofunkcyjny, szybki sterownik producenta VCP (Virtual COM Port)&lt;br /&gt;
* Wymiary: 48 x 20 x 13 mm&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Wyposażenie standardowe ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Kod&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Opis&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;Konwerter RS485-USB mini&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*Zmontowany i uruchomiony moduł&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
==== Przykład zastosowania konwertera RS485-USB mini ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:Modig_Konwerter_RS485-USB_mini.png|none|1000px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
===== Kontrolki sygnalizacyjne===== &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Kontrolka&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Funkcja&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;&amp;lt;b&amp;gt;PWR&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Sygnalizuje prawidłowe zasilanie konwertera&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;&amp;lt;b&amp;gt;TX&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Sygnalizuje przesyłanie danych to magistrali RS485&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;&amp;lt;b&amp;gt;RX&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Sygnalizuje odczyt danych z magistrali RS485&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=MD11002_Konwerter_RS485-USB_mini_(PL)&amp;diff=584</id>
		<title>MD11002 Konwerter RS485-USB mini (PL)</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=MD11002_Konwerter_RS485-USB_mini_(PL)&amp;diff=584"/>
		<updated>2026-06-15T19:42:30Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: /* Wyposażenie standardowe */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Opis ====&lt;br /&gt;
&amp;lt;b&amp;gt;Przemysłowy konwerter RS485 na USB&amp;lt;br&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
Moduł miniaturowego konwertera RS485-USB do zastosowań w automatyce i przemyśle.&lt;br /&gt;
Jest łatwy w obsłudze i zapewnia szybką i stabilną komunikację pomiędzy interfejsem USB, a standardem szeregowym RS485.&lt;br /&gt;
Bazuje na popularnym układzie CH9101R i zawiera rozbudowane obwody zabezpieczające, dzięki czemu komunikacja jest niezawodna i bezpieczna.&lt;br /&gt;
Doskonale sprawdzi się w przemysłowych systemach sterujących i aplikacjach wymagających niezawodności.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:Modig_RS485_USB_mini_1.png|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Podstawowe cechy i parametry ====&lt;br /&gt;
* Przemysłowy konwerter magistrali RS485-USB&lt;br /&gt;
* Kompatybilny ze standardem USB 2.0&lt;br /&gt;
* Szybkość transmisji: 300 do 3 Mbps&lt;br /&gt;
* Komunikacja typu Half-duplex&lt;br /&gt;
* Złącze USB typu USB-A&lt;br /&gt;
* Komunikacja typu Half-duplex&lt;br /&gt;
* Wbudowane zabezpieczenia przepięciowe&lt;br /&gt;
* Trzy diody LED informujące o stanie zasilania (PWR) oraz transmisji danych (TX, RX)&lt;br /&gt;
* Wbudowany rezystor terminujący 120Ω&lt;br /&gt;
* Złącze magistrali RS485 typu Phoenix Contact MC 3,5 mm (A, B, GND)&lt;br /&gt;
* Temperatura pracy: -15°C ~ 70°C&lt;br /&gt;
* Obsługuje systemy operacyjne z wbudowanym sterownikiem CDC (bez instalacji) lub wielofunkcyjny, szybki sterownik producenta VCP (Virtual COM Port)&lt;br /&gt;
* Wymiary: 48 x 20 x 13 mm&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Wyposażenie standardowe ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Kod&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Opis&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;Konwerter RS485-USB mini&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*Zmontowany i uruchomiony moduł&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
==== Przykład zastosowania konwertera RS485-USB mini ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:Modig_Konwerter_RS485-USB_mini.png|none|1000px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=File:Modig_Konwerter_RS485-USB_mini.png&amp;diff=583</id>
		<title>File:Modig Konwerter RS485-USB mini.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=File:Modig_Konwerter_RS485-USB_mini.png&amp;diff=583"/>
		<updated>2026-06-15T19:41:22Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=MD20002_Modbus_RTU_16_Relays_(EN)&amp;diff=582</id>
		<title>MD20002 Modbus RTU 16 Relays (EN)</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=MD20002_Modbus_RTU_16_Relays_(EN)&amp;diff=582"/>
		<updated>2026-06-15T19:19:58Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: /* RS485 Interface */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Description ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;16-relay card controlled via RS485 and Modbus RTU&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Modig Modbus 16R module is equipped with 16 SPDT electromagnetic &lt;br /&gt;
relays, which are controlled using Modbus standard commands transmitted &lt;br /&gt;
via the RS485 interface. The control interface features galvanic isolation &lt;br /&gt;
and surge protection, ensuring stable operation even in installations &lt;br /&gt;
exposed to severe interference. The communication and operational parameters &lt;br /&gt;
of the module can be flexibly configured and adapted to the requirements of various &lt;br /&gt;
applications.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Modig_Modbus_16R_1.jpg|none|900px|thumb|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Key Features and Parameters ====&lt;br /&gt;
&lt;br /&gt;
* 16 relay outputs - NC/NO contacts, 10 A, 250 V AC / 30 V DC&lt;br /&gt;
&lt;br /&gt;
* RS485 interface with galvanic isolation and surge protection&lt;br /&gt;
&lt;br /&gt;
* Configurable communication parameters:&lt;br /&gt;
&lt;br /&gt;
** baud rate: 1200…1000000;&lt;br /&gt;
&lt;br /&gt;
** parity: none/even/odd;&lt;br /&gt;
&lt;br /&gt;
** stop bits: 1/1.5/2&lt;br /&gt;
&lt;br /&gt;
* Power supply: 5 V (4.9…5.3 V) with a minimum current capacity of 1.5 A&lt;br /&gt;
&lt;br /&gt;
* Power delivery via USB-C connector, 2.1/5.5 mm DC barrel jack, or Phoenix MC 3.81 mm connector&lt;br /&gt;
&lt;br /&gt;
* Control and configuration of settings via Modbus commands&lt;br /&gt;
&lt;br /&gt;
* Measurement of power supply voltage and module temperature&lt;br /&gt;
&lt;br /&gt;
* Dimensions: 200x110x60 mm&lt;br /&gt;
&lt;br /&gt;
* Mounting on DIN-35 rail&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Relay Connectors ====&lt;br /&gt;
&lt;br /&gt;
The relay contacts are routed to screw terminals with a 5.08 mm pitch. &lt;br /&gt;
Each of the 16 outputs offers normally closed (NC) and normally &lt;br /&gt;
open (NO) contacts. When a given output is turned on, the NO contact &lt;br /&gt;
is connected to the common contact (COM), while the NC contact is &lt;br /&gt;
disconnected from COM. The active state for a specific output is indicated &lt;br /&gt;
by a lit LED located near the terminals of that connector. The layout &lt;br /&gt;
of individual pin assignments is shown in the figure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Modig_Modbus_16_rel.png|none|600px|thumb|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An example circuit controlled using the Modig Modbus 16 Relays is shown in the figure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Modig_Modbus_16_bulb.png|none|700px|thumb|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== RS485 Interface ====&lt;br /&gt;
&lt;br /&gt;
The RS485 interface is brought out as a 4-pin Phoenix Contact MC 3.81 mm &lt;br /&gt;
connector. Depending on the installation, only lines A+ and B- or &lt;br /&gt;
all lines T, A+, B-, and G can be used. Their functions are &lt;br /&gt;
described in the table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Modig_Modbus_16_RS485.png|none|450px|thumb|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Designation&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;120 Ω / T&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Activation of the internal 120 Ω termination &lt;br /&gt;
resistor. The resistor is active when terminal &#039;&#039;&#039;T&#039;&#039;&#039; is &lt;br /&gt;
connected to terminal &#039;&#039;&#039;A+&#039;&#039;&#039;, e.g., using a jumper installed &lt;br /&gt;
directly inside the plug.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;A+&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Line &#039;&#039;&#039;A&#039;&#039;&#039; of the RS485 bus (positive potential)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;B-&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Line &#039;&#039;&#039;B&#039;&#039;&#039; of the RS485 bus (negative potential)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;GND / G&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Signal ground &#039;&#039;&#039;GND&#039;&#039;&#039; of the RS485 bus.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The RS485 interface is galvanically isolated from the remaining &lt;br /&gt;
components and equipped with surge protection elements, ensuring stable &lt;br /&gt;
operation even in installations exposed to severe interference.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The RS485 communication parameters are configured using Modbus commands; the default settings are: 19200, 8, none, 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Modig Modbus 16R module can be connected to an RS485 bus that &lt;br /&gt;
links up to 64 devices (including the module). Each device &lt;br /&gt;
should be connected in a way that prevents bus branching – any stubs &lt;br /&gt;
should be kept as short as possible. At both ends of the bus, it is recommended &lt;br /&gt;
to connect 120 Ω termination resistors. Modig Modbus 16R has such a &lt;br /&gt;
resistor integrated, but to activate it, the A+ and T terminals must be &lt;br /&gt;
connected together inside the plug.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The figure shows a simplified diagram of the RS485 bus, terminated with a &lt;br /&gt;
120 Ω resistor on one end, and with the integrated termination resistor in the &lt;br /&gt;
module on the other end. Furthermore, correct and incorrect methods of &lt;br /&gt;
connecting devices to the bus are shown.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Modig_Modbus_16_RS485_2_EN.png|none|900px|thumb|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Power Supply ====&lt;br /&gt;
&lt;br /&gt;
The Modig Modbus 16R module is equipped with 3 different power connectors, &lt;br /&gt;
connected in parallel. Only one of them must be chosen to connect a &lt;br /&gt;
power supply with a voltage of 4.9…5.3 V, a minimum capacity of 1.5 A, &lt;br /&gt;
and correct polarity.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Connector&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;USB-C (J3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Standard USB-C socket, serves only a power delivery function&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;2.1/5.5 (J2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|2.1/5.5 mm DC barrel jack compatible with &lt;br /&gt;
&amp;quot;brick-type&amp;quot; power adapters. Note the polarity – center positive.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;MC 3.81 mm (J1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Terminal block connector for wire attachment. Note the polarity – positive terminal on the side facing the relays.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Modig_Modbus_16_pwr.png|none|500px|thumb|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== LED Indicators ====&lt;br /&gt;
&lt;br /&gt;
There are two status LEDs on the Modig Modbus 16R board that inform about the device&#039;s operation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Indicator&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;STA&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|A continuously lit LED with brief, cyclic blanking indicates correct operation of the device&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;BUS&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|A blinking LED indicates data reception from the RS485 bus and Modbus commands&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Modig_Modbus_16_led.png|none|450px|thumb|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Factory Reset ====&lt;br /&gt;
&lt;br /&gt;
There is a SET tactile micro-button on the Modig Modbus 16R module board. &lt;br /&gt;
Pressing and holding it for approximately 5 seconds will restore all settings &lt;br /&gt;
(configuration register values) to their defaults. This function is useful &lt;br /&gt;
in situations where incorrect parameter settings prevent sending Modbus commands &lt;br /&gt;
to the module. Restoring defaults sets the RS485 communication &lt;br /&gt;
parameters to: 19200, 8, none, 1 and the module address to &amp;quot;1&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Modig_Modbus_16_set.png|none|450px|thumb|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Configuration Registers (Holding Registers) ====&lt;br /&gt;
&lt;br /&gt;
All parameters of the device are defined by the values of configuration &lt;br /&gt;
registers, known as Holding Registers. These registers can be read and &lt;br /&gt;
written using Modbus commands to modify the device&#039;s operation. The list &lt;br /&gt;
of registers and their functions are described in the table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;Register Number (hex)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;Default Value /&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Value Range&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x4000&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|Address&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Specifies the module address for Modbus command control&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|1 (x0001)&lt;br /&gt;
&lt;br /&gt;
1…255&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x4002&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|Coils&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Contains a value specifying the number of outputs &lt;br /&gt;
(Coils) available in the module.&amp;lt;br&amp;gt; Read-only value&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|16 (x0010)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x4004&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|Inputs&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Contains a value specifying the number of inputs (Discrete inputs) available in the module.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Read-only value&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|0 (x0000)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x4006&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|Baud&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Specifies the RS485 communication speed (baud rate). &amp;lt;br&amp;gt;Value without the last 2 zeros, e.g.:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1200 = 12 = x000C; 2400 = 24 = x0018&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4800 = 48 = x0030; 9600 = 96 = x0060&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
19200 = 192 = x00C0; 57600 = 576 = x0240&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
115200 = 1152 = x0480;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
256000 = 2560 = x0A00&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|192 (x00C0)&lt;br /&gt;
&lt;br /&gt;
12…10000&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x4008&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|Parity&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Specifies the parity for RS485 communication.&amp;lt;br&amp;gt; 0 - none; 1 - even; 2 - odd&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|0 (x0000)&lt;br /&gt;
&lt;br /&gt;
0…2&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x400A&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|Stop&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Specifies the number of stop bits for RS485 communication. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1 - 1 stop bit; 2 - 2 stop bits&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|1 (x0001)&lt;br /&gt;
&lt;br /&gt;
1…2&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x400C&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|Broadcast&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Defines whether the device executes &lt;br /&gt;
commands with the broadcast address value of 0 (x00). 0 - no, 1 - yes&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|1 (x0001)&lt;br /&gt;
&lt;br /&gt;
0…1&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x400E&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|CRC&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Defines whether the device verifies the checksum in Modbus commands. 0 - no, 1 - yes&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|0 (x0000)&lt;br /&gt;
&lt;br /&gt;
0…1&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x4010&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|Response&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Enables sending responses to Modbus commands.&lt;br /&gt;
&lt;br /&gt;
0 - does not send any responses,&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1 - sends responses to Modbus commands&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|1 (x0001)&lt;br /&gt;
&lt;br /&gt;
0…1&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x4012&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|IO Offset&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Specifies the starting index for inputs and outputs (coils)&lt;br /&gt;
&lt;br /&gt;
0 - inputs/outputs start from 0 (0…15)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1 - inputs/outputs start from 1 (1…16)&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|1 (x0001)&lt;br /&gt;
&lt;br /&gt;
0…1&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x4014&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
x8000&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|Version&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Contains the firmware version.&lt;br /&gt;
&lt;br /&gt;
A value of 10 indicates version 1.0, etc.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Read-only value&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|10 (x00A0)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x2000&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|ExBaud&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Allows setting communication parameters using one of the predefined values.&lt;br /&gt;
&lt;br /&gt;
The low byte corresponds to the baud rate:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
0 - 4800, 1 - 9600, 2 - 19200, 3 - 38400&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4 - 57600, 5 - 115200, 6 - 12800, 7 - 256000&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
8 - other value&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The high byte specifies the parity:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
0 - none, 1 - even, 2 - odd &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x0002&lt;br /&gt;
&lt;br /&gt;
x0000…x0208&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Measurement Input Registers (Input Registers) ====&lt;br /&gt;
&lt;br /&gt;
The device is equipped with measurement circuits for power supply voltage and &lt;br /&gt;
temperature, which allow monitoring of the module&#039;s operating conditions to prevent &lt;br /&gt;
failures. The measurement results are available in the measurement input registers, &lt;br /&gt;
known as Input Registers. These registers can be read using Modbus commands.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;Register Number (hex)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;Value Range&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x3000&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|Voltage&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Measurement of the power supply voltage. A value of 495 = 4.95 V, etc. &lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|330…550&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x3002&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|Temp&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Measurement of the module temperature. A temperature value of 24 (x0018) indicates 24 degrees C.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Temperature range: -20…-1 is stored as xFF14…xFF01&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Temperature range: 0…70 is stored as x0000…x0046&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|-20…-1 *C = &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
xFF14…xFF01&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
0…70 *C = &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
x0000…0046&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Modbus Standard Control Commands ====&lt;br /&gt;
&lt;br /&gt;
Each command in the Modbus standard takes the form of a data frame, the structure of which is shown in the figure:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Modig_Modbus_16_modbus.png|none|450px|thumb|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Consecutive frames must be separated by an interval of at least 3.5 &lt;br /&gt;
character times (the time required to transmit a full ASCII character), whereas &lt;br /&gt;
the interval between transmitting one character and starting the transmission of &lt;br /&gt;
the next within the same frame must not exceed 1.5 character times. These &lt;br /&gt;
rules apply for communication speeds (baud rates) up to 19200.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the communication speed is set above 19200, the minimum interval &lt;br /&gt;
between frames has a fixed value equal to 1.75 ms. Meanwhile, the &lt;br /&gt;
interval between consecutive characters of the same frame must not exceed &lt;br /&gt;
0.75 ms.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Each device connected to the Modbus bus must be assigned a &lt;br /&gt;
unique address. The address field is present in every transmitted &lt;br /&gt;
frame, has a size of 1 byte, and can have a value in the range of 1…255. An address &lt;br /&gt;
value of 0 is the so-called broadcast address and allows &lt;br /&gt;
directing a command to all devices connected to the bus. In &lt;br /&gt;
some systems, it is recommended not to set addresses above the value &lt;br /&gt;
of 247.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Outputs and inputs are standardly numbered from 1. In this case, the first &lt;br /&gt;
output is output number 1 (x01), and the last one is number 16 (0x10). &lt;br /&gt;
The command descriptions and command examples refer specifically to this variant. &lt;br /&gt;
However, the device can be configured in such a way that the outputs and &lt;br /&gt;
inputs are numbered from 0. In that case, the first output is output &lt;br /&gt;
number 0 (x00), and the last one is number 15 (0x0F). If the output number &lt;br /&gt;
referenced by the control/read command exceeds the number of &lt;br /&gt;
outputs contained in the device (15 or 16, depending on configuration), &lt;br /&gt;
the command will not be executed and will remain unanswered.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Modbus standard includes several standard commands. Each of them, &lt;br /&gt;
along with example commands and device responses, is described in &lt;br /&gt;
the subsequent section of this manual.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== List of Supported Modbus Commands ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;width: 250px; text-align: center;&amp;quot;|&#039;&#039;&#039;Command Name&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;Command Code&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;Function&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Write Single Coil&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;x05&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Allows controlling the state of an output or outputs&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Write Multiple Coils&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;x0F&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Allows controlling the state of multiple outputs simultaneously, both turning specific outputs ON and OFF.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Read Coils&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;x01&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Allows reading the state of an output or outputs&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Read Discrete Inputs&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;x02&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Allows reading the state of inputs. Since the &lt;br /&gt;
Modig Modbus 16R device does not have inputs for reading states, it reads &lt;br /&gt;
the state of the outputs in response to this command, similarly to the “Read Coils” - &lt;br /&gt;
x01 command.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Read Input Registers&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;x04&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Allows reading values from the measurement input registers&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Read Holding Registers&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;x03&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Allows reading values from the configuration registers&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Write Single Holding Register&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;x06&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Allows setting a value in a configuration register&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Write Multiple Holding Registers&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;x10&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Allows setting values in several configuration registers&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== “Write Single Coil” Command - x05 =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The x05 command allows controlling the state of an output or outputs.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot; scope=&amp;quot;row&amp;quot; colspan=&amp;quot;2&amp;quot;|&#039;&#039;&#039;Data frame with x05 command&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: left;&amp;quot;|&#039;&#039;&#039;01 05 00 00 FF 00 8C 3A&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;Byte Number&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;Value (hex)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: left;&amp;quot;|&#039;&#039;&#039;Meaning&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|1&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x01&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Target device address&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|2&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x05&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|“Write Single Coil” command - control of a single output&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|3…4&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x0000&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Number of the output to be controlled:&lt;br /&gt;
&lt;br /&gt;
0 - none of the outputs, 1 - output 1 (first), 16 - output 16 (last)&lt;br /&gt;
&lt;br /&gt;
x00FF - controls all outputs - from 1 to 16&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|5…6&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|xFF00&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Value specifying the task to be executed:&lt;br /&gt;
&lt;br /&gt;
x0000 - turn off (OFF), xFF00 - turn on (ON),&lt;br /&gt;
&lt;br /&gt;
x5500 - toggle state to the opposite (TOGGLE) ON-&amp;gt;OFF / OFF-&amp;gt;ON&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|7…8&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x8C3A&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|CRC16 checksum&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot; scope=&amp;quot;row&amp;quot; colspan=&amp;quot;2&amp;quot;|&#039;&#039;&#039;Response&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: left;&amp;quot;|&#039;&#039;&#039;The device that reads and executes &lt;br /&gt;
the command will send an identical frame in response: &amp;lt;br&amp;gt;01 05 00 00 FF &lt;br /&gt;
00 8C 3A&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similar commands:&lt;br /&gt;
&lt;br /&gt;
*A5 05 00 08 55 00 6A 7C - x05 command to the device with address 165 &lt;br /&gt;
(xA5), output no. 8 (x0008) will toggle its state (x5500)&lt;br /&gt;
&lt;br /&gt;
:Response: A5 05 00 08 55 00 6A 7C&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*14 05 00 10 00 00 CE CA - x05 command to the device with address 20 &lt;br /&gt;
(x14), output no. 16 (x0010) will be turned OFF (x0000)&lt;br /&gt;
&lt;br /&gt;
:Response: 14 05 00 10 00 00 CE CA&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*29 05 00 FF FF 00 BA 22 - x05 command to the device with address 41 &lt;br /&gt;
(x29), all outputs (x00FF) will be turned ON (xFF00)&lt;br /&gt;
&lt;br /&gt;
:Response: 29 05 00 FF FF 00 BA 22&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== “Write Multiple Coils” Command - x0F =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The x0F command allows controlling the state of multiple outputs simultaneously, both turning specific outputs ON and OFF.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot; scope=&amp;quot;row&amp;quot; colspan=&amp;quot;2&amp;quot;|&#039;&#039;&#039;Data frame with x0F command&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: left;&amp;quot;|&#039;&#039;&#039;01 0F 00 01 00 03 02 00 05 27 76&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;Byte Number&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;Value (hex)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: left;&amp;quot;|&#039;&#039;&#039;Meaning&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|1&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x01&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Target device address&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|2&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x0F&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|“Write Multiple Coils” command - control of multiple outputs&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|3…4&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x0001&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Number of the output from which control will begin:&lt;br /&gt;
&lt;br /&gt;
0 - none of the outputs will be controlled,&lt;br /&gt;
&lt;br /&gt;
1 - from output 1 (first), 16 - from output 16 (last)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|5…6&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x0003&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Number of outputs to be controlled:&lt;br /&gt;
&lt;br /&gt;
0 - none of the outputs will be controlled&lt;br /&gt;
&lt;br /&gt;
1 - one output, 16 - to control 16 outputs&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|7&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x02&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Number of data bytes containing the control sequence - must be 2&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|8…9&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x0005&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Control sequence, LSB -&amp;gt; output no. 1.&lt;br /&gt;
&lt;br /&gt;
Bits with a value of 0 cause outputs to turn off,&lt;br /&gt;
&lt;br /&gt;
bits with a value of 1 cause outputs to turn on.&lt;br /&gt;
&lt;br /&gt;
x0005 = 00000000 00000101 - outputs 1 and 3 turned ON&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|10...11&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x27 76&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|CRC16 checksum&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot; scope=&amp;quot;row&amp;quot; colspan=&amp;quot;2&amp;quot;|&#039;&#039;&#039;Response&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: left;&amp;quot;|&#039;&#039;&#039;The device that reads and executes the command will send the following frame in response: &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&#039;&#039;&#039;01 0F 00 01 00 03 44 0A&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|1&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x01&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Address of the responding device&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|2&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x0F&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|“Write Multiple Coils” command - output control&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|3...4&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x0001&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Number of the output from which control was initiated&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|5...6&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x0003&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Number of outputs that were actually controlled&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|7...8&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x440A&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|CRC16 checksum&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the number of outputs to be set exceeds the number of outputs contained in the &lt;br /&gt;
device (after considering the starting output number from which control &lt;br /&gt;
begins), the command will be executed correctly for the existing outputs. &lt;br /&gt;
The response will return the number of outputs actually controlled.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similar commands:&lt;br /&gt;
&lt;br /&gt;
*A5 0F 00 08 00 04 02 00 07 6D 9D - x0F command to the device with &lt;br /&gt;
address 165 (xA5), controls 3 (x0003) outputs starting from output no. 8 (x0008),&lt;br /&gt;
 the control sequence is: x0007 (00000000 00000111), meaning it will turn ON outputs&lt;br /&gt;
 8, 9, 10 and turn OFF output 11.&lt;br /&gt;
&lt;br /&gt;
:Response: A5 0F 00 08 00 04 CC EE&lt;br /&gt;
&lt;br /&gt;
*14 0F 00 0F 00 05 02 00 00 14 43 - x0F command to the device with &lt;br /&gt;
address 20 (x14), controls 5 (x0005) outputs starting from output no. 15 (x000F),&lt;br /&gt;
 the control sequence is: x0000 (00000000 00000000), meaning it will turn OFF outputs&lt;br /&gt;
 15 and 16.&lt;br /&gt;
&lt;br /&gt;
:Response: 14 0F 00 0F 00 02 E6 CC (2 outputs controlled instead of 5)&lt;br /&gt;
&lt;br /&gt;
* 29 0F 00 01 00 10 02 FF FF 1C 40 - x0F command to the device with &lt;br /&gt;
address 41 (x29), controls 16 (x0010) outputs starting from output no. 1 (x0001),&lt;br /&gt;
 the control sequence is xFFFF (11111111 11111111), meaning it will turn ON all&lt;br /&gt;
 outputs from 1 to 16.&lt;br /&gt;
&lt;br /&gt;
:Response: 29 0F 00 01 00 10 03 EF&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== “Read Coils” Command - x01 ===== &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The x01 command allows reading the state of an output or outputs.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot; scope=&amp;quot;row&amp;quot; colspan=&amp;quot;2&amp;quot;|&#039;&#039;&#039;Data frame with x01 command&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: left;&amp;quot;|&#039;&#039;&#039;01 01 00 02 00 04 9C 09&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;Byte Number&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;Value (hex)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: left;&amp;quot;|&#039;&#039;&#039;Meaning&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|1&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x01&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Target device address&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|2&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x01&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|“Read Coils” command - reading output states&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|3…4&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x0002&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Number of the output from which reading of output states will begin:&lt;br /&gt;
&lt;br /&gt;
2 - read starting from output no. 2&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|5…6&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x0004&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Value specifying how many outputs will be read:&lt;br /&gt;
&lt;br /&gt;
4 - reading 4 outputs, namely: 2, 3, 4, and 5&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|7…8&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x9C09&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|CRC16 checksum&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot; scope=&amp;quot;row&amp;quot; colspan=&amp;quot;2&amp;quot;|&#039;&#039;&#039;Response&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: left;&amp;quot;|&#039;&#039;&#039;The device that reads and executes &lt;br /&gt;
the command will send the following frame in response:&amp;lt;br&amp;gt;01 01 02 00 0C &lt;br /&gt;
B9 F9&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|1&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x01&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Address of the responding device&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|2&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x01&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|“Read Coils” command - reading output states&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|3&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x02&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Number of data bytes containing the response - 2&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|4…5&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x000C&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Output states: 2 - OFF (0), 3 - OFF (0), 4 - ON (1), 5 - ON (1)&lt;br /&gt;
&lt;br /&gt;
Binary: 00000000 00001100&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|6…7&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|xB9F9&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|CRC16 checksum&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similar commands:&lt;br /&gt;
&lt;br /&gt;
*A5 01 00 08 00 06 6A 7C - x01 command to the device with address 165 &lt;br /&gt;
(xA5), reading the state of 6 (x0006) outputs, starting from output 8 (x0008).&lt;br /&gt;
&lt;br /&gt;
:Response: A5 01 02 00 02 49 E4 - only output no. 9 is active (x0002)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*14 01 00 10 00 01 CE CA - x01 command to the device with address 20 &lt;br /&gt;
(x14), reading the state of one (x0001) output, starting from output 16 &lt;br /&gt;
(x0010).&lt;br /&gt;
&lt;br /&gt;
:Response: 14 01 02 00 00 B4 3F - output turned off (x0000)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*29 01 00 20 01 00 BA 06 - x01 command to the device with address 41 &lt;br /&gt;
(x29), reading the state of 16 (x0010) outputs, starting from output 32 (x0020).&lt;br /&gt;
&lt;br /&gt;
:Response: no response - cannot read states starting from output 32&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the number of outputs to be read exceeds the number of outputs contained in the &lt;br /&gt;
device (after considering the starting output number from which the status &lt;br /&gt;
reading begins), non-existent outputs in the response will always have an &lt;br /&gt;
OFF (0) state.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== “Read Discrete Inputs” Command - x02 ===== &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The x02 command allows reading the state of inputs. Since the &lt;br /&gt;
Modig Modbus 16R device does not have inputs for reading states, it reads &lt;br /&gt;
the state of the outputs in response to this command, similarly to the “Read Coils” - x01 command.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot; scope=&amp;quot;row&amp;quot; colspan=&amp;quot;2&amp;quot;|&#039;&#039;&#039;Data frame with x02 command&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: left;&amp;quot;|&#039;&#039;&#039;01 02 00 02 00 04 D8 09&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;Byte Number&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;Value (hex)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: left;&amp;quot;|&#039;&#039;&#039;Meaning&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|1&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x01&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Target device address&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|2&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x02&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|“Read Discrete Inputs” command - reading input states&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|3…4&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x0002&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Number of the input from which reading of input states will begin:&lt;br /&gt;
&lt;br /&gt;
2 - read starting from input no. 2&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|5…6&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x0004&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Value specifying how many inputs will be read:&lt;br /&gt;
&lt;br /&gt;
4 - reading 4 inputs, namely: 2, 3, 4, and 5&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|7…8&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|xD809&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|CRC16 checksum&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot; scope=&amp;quot;row&amp;quot; colspan=&amp;quot;2&amp;quot;|&#039;&#039;&#039;Response&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: left;&amp;quot;|&#039;&#039;&#039;The device that reads and executes &lt;br /&gt;
the command will send the following frame in response:&amp;lt;br&amp;gt;01 02 02 00 0C &lt;br /&gt;
B9 BD&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|1&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x01&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Address of the responding device&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|2&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x02&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|“Read Discrete Inputs” command - reading input states&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|3&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x02&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Number of data bytes containing the response - 2&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|4…5&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x000C&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Input states: 2 - inactive (0), 3 - inactive (0), 4 - active (1), 5 - active (1); &lt;br /&gt;
&lt;br /&gt;
Binary: 00000000 00001100&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|6…7&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|xB9BD&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|CRC16 checksum&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similar commands:&lt;br /&gt;
&lt;br /&gt;
*A5 02 00 08 00 06 60 EE - x02 command to the device with address 165 &lt;br /&gt;
(xA5), reading the state of 6 (x0006) inputs, starting from input 8 (x0008).&lt;br /&gt;
&lt;br /&gt;
:Response: A5 02 02 00 02 49 A0 - only input no. 9 is active (x0002)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*14 02 00 10 00 01 BA CA - x02 command to the device with address 20 &lt;br /&gt;
(x14), reading the state of one (x0001) input, starting from input 16 &lt;br /&gt;
(x0010).&lt;br /&gt;
&lt;br /&gt;
:Response: 14 02 02 00 00 B4 7B - input inactive (x0000)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*29 02 00 20 01 00 7E 78 - x02 command to the device with address 41 &lt;br /&gt;
(x29), reading the state of 16 (x0010) inputs, starting from input 32 (x0020).&lt;br /&gt;
&lt;br /&gt;
:Response: no response - cannot read states starting from input 32&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the number of inputs to be read exceeds the number of inputs contained in the &lt;br /&gt;
device (after considering the starting input number from which the status &lt;br /&gt;
reading begins), non-existent inputs in the response will always have an &lt;br /&gt;
inactive (0) state.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== “Read Input Registers” Command - x04 ===== &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The x04 command allows reading values from the measurement input registers. The &lt;br /&gt;
Modig Modbus 16R device supports measurement of the power supply voltage &lt;br /&gt;
and the module temperature.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot; scope=&amp;quot;row&amp;quot; colspan=&amp;quot;2&amp;quot;|&#039;&#039;&#039;Data frame with x04 command&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: left;&amp;quot;|&#039;&#039;&#039;01 04 30 00 00 02 7E CB&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;Byte Number&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;Value (hex)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: left;&amp;quot;|&#039;&#039;&#039;Meaning&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|1&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x01&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Target device address&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|2&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x04&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|“Read Input Registers” command - reading measurement input registers&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|3…4&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x3000&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Number of the register from which reading will begin.&lt;br /&gt;
&lt;br /&gt;
x3000 - reading the power supply voltage measurement&lt;br /&gt;
&lt;br /&gt;
x3002 - reading the module temperature measurement&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|5…6&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x0002&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Value specifying how many registers will be read:&lt;br /&gt;
&lt;br /&gt;
1 - one, e.g., voltage only; 2 - both measurement registers&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|7…8&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x7ECB&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|CRC16 checksum&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot; scope=&amp;quot;row&amp;quot; colspan=&amp;quot;2&amp;quot;|&#039;&#039;&#039;Response&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: left;&amp;quot;|&#039;&#039;&#039;The device that reads and executes &lt;br /&gt;
the command will send the following frame in response:&amp;lt;br&amp;gt;01 04 04 02 06 &lt;br /&gt;
00 18 1A 37&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|1&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x01&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Address of the responding device&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|2&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x04&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|“Read Input Registers” command - reading measurement input registers&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|3&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x04&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Number of data bytes containing the response - 4&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|4…5&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x0206&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Voltage value - x0206 = 518, which means 5.18 V&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|6…7&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x0018&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Temperature value - x0018 = 24, which means 24 degrees C&lt;br /&gt;
&lt;br /&gt;
Temperature range: -20…-1 is stored as xFF14…xFF01&lt;br /&gt;
&lt;br /&gt;
Temperature range: 0…70 is stored as x0000…x0046&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|8…9&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x1A37&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|CRC16 checksum&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similar commands:&lt;br /&gt;
&lt;br /&gt;
*A5 04 30 00 00 01 27 EE - x04 command to the device with address 165 &lt;br /&gt;
(xA5), reading one register (x0001) numbered x3000, i.e., the power supply &lt;br /&gt;
voltage measurement register.&lt;br /&gt;
&lt;br /&gt;
:Response: A5 04 02 01 F0 49 A0 - voltage is 4.96 V (x01F0 = 496)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*14 04 30 08 00 02 FD CC - x04 command to the device with address 20 &lt;br /&gt;
(x14), reading two (x0002) measurement registers starting from number x3008.&lt;br /&gt;
&lt;br /&gt;
:Response: no response - there is no measurement register with the number x3008.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*29 04 30 02 00 02 7E 78 - x04 command to the device with address 41 &lt;br /&gt;
(x29), reading two (x0002) measurement registers starting from number x3002.&lt;br /&gt;
&lt;br /&gt;
:Response: A5 04 02 00 18 C8 E3 - the device has no measurement registers &lt;br /&gt;
higher than x3002, therefore only one register was read (number x3002) - &lt;br /&gt;
module temperature = 24 (x0018), and the response contains only two data bytes (x02)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== “Read Holding Registers” Command - x03 ===== &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The x03 command allows reading values from the configuration registers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot; scope=&amp;quot;row&amp;quot; colspan=&amp;quot;2&amp;quot;|&#039;&#039;&#039;Data frame with x03 command&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: left;&amp;quot;|&#039;&#039;&#039;01 03 40 00 00 01 91 CA&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;Byte Number&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;Value (hex)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: left;&amp;quot;|&#039;&#039;&#039;Meaning&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|1&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x01&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Target device address&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|2&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x03&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|“Read Holding Registers” command - reading configuration registers&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|3…4&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x4000&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Number of the register from which reading will begin.&lt;br /&gt;
&lt;br /&gt;
Available registers are in the ranges x4000…x4014 as well as x2000 and x8000&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|5…6&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x0001&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Value specifying how many registers will be read:&lt;br /&gt;
&lt;br /&gt;
1 - one, etc., up to a maximum of 8&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|7…8&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x91CA&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|CRC16 checksum&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot; scope=&amp;quot;row&amp;quot; colspan=&amp;quot;2&amp;quot;|&#039;&#039;&#039;Response&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: left;&amp;quot;|&#039;&#039;&#039;The device that reads and executes &lt;br /&gt;
the command will send the following frame in response:&amp;lt;br&amp;gt;01 03 02 00 01 &lt;br /&gt;
79 84&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|1&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x01&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Address of the responding device&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|2&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x03&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|“Read Holding Registers” command - reading configuration registers&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|3&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x02&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Number of data bytes containing the response - 2&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|4…5&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x0001&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Register number x4000 contains the address for Modbus commands, which in this case is 1 (x0001)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|6…7&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x7984&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|CRC16 checksum&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similar commands:&lt;br /&gt;
&lt;br /&gt;
*A5 03 40 06 00 04 28 EE - x03 command to the device with address 165 &lt;br /&gt;
(xA5), reading four configuration registers (x0004) starting from number &lt;br /&gt;
(x4006).&lt;br /&gt;
&lt;br /&gt;
:Response: 01 03 08 00 C0 00 00 00 01 00 01 C5 DB - values of 4 configuration registers, meaning 8 data bytes&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*14 03 80 00 00 01 AF 0F - x03 command to the device with address 20 &lt;br /&gt;
(x14), reading one (x0001) configuration register numbered x8000, &lt;br /&gt;
i.e., the firmware version.&lt;br /&gt;
&lt;br /&gt;
:Response: 14 03 02 00 A0 B5 FF - response of 2 bytes (x00A0) = 10, indicating firmware version 1.0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== “Write Single Holding Register” Command - x06 ===== &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The x06 command allows setting a value in a configuration register.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot; scope=&amp;quot;row&amp;quot; colspan=&amp;quot;2&amp;quot;|&#039;&#039;&#039;Data frame with x06 command&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: left;&amp;quot;|&#039;&#039;&#039;01 06 40 00 00 01 5D CA&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;Byte Number&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;Value (hex)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: left;&amp;quot;|&#039;&#039;&#039;Meaning&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|1&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x01&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Target device address&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|2&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x06&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|“Write Single Holding Register” command - writing a configuration register&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|3…4&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x4000&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Number of the register to which the new value will be written.&lt;br /&gt;
&lt;br /&gt;
Available registers are in the ranges x4000, x4006…x4012, and x2000&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|5…6&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x0001&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Value to be written to the register&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|7…8&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x5DCA&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|CRC16 checksum&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot; scope=&amp;quot;row&amp;quot; colspan=&amp;quot;2&amp;quot;|&#039;&#039;&#039;Response&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: left;&amp;quot;|&#039;&#039;&#039;The device that reads and executes &lt;br /&gt;
the command will send an identical frame in response:&amp;lt;br&amp;gt; 01 06 40 00 00 &lt;br /&gt;
01 5D CA&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similar commands:&lt;br /&gt;
&lt;br /&gt;
*A5 06 40 00 00 04 84 ED - x06 command to the device with address 165 &lt;br /&gt;
(xA5), writing a value of 4 (x0004) to the configuration register numbered x4000, &lt;br /&gt;
i.e., assigning a new address of 4.&lt;br /&gt;
&lt;br /&gt;
:Response: A5 06 40 00 00 04 84 ED&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*14 06 40 0C 00 00 5E CC - x06 command to the device with address 20 &lt;br /&gt;
(x14), writing a value of 0 (x0000) to the configuration register numbered x400C, &lt;br /&gt;
i.e., disabling broadcast command handling.&lt;br /&gt;
&lt;br /&gt;
:Response: 14 06 40 0C 00 00 5E CC&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== “Write Multiple Holding Registers” Command - x10 ===== &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The x10 command allows setting values in several configuration registers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot; scope=&amp;quot;row&amp;quot; colspan=&amp;quot;2&amp;quot;|&#039;&#039;&#039;Data frame with x10 command&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: left;&amp;quot;|&#039;&#039;&#039;01 10 40 0C 00 03 06 00 01 00 00 00 01 8F 7E&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;Byte Number&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;Value (hex)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: left;&amp;quot;|&#039;&#039;&#039;Meaning&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|1&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x01&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Target device address&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|2&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x10&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|“Write Multiple Holding Registers” command - writing several configuration registers&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|3…4&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x400C&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Number of the register from which writing will begin.&lt;br /&gt;
&lt;br /&gt;
Available registers are in the ranges x4000, x4006…x4012, and x2000&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|5…6&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x0003&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Value specifying how many registers will be written:&lt;br /&gt;
&lt;br /&gt;
1 - one, etc., up to a maximum of 8&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|7&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x06&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Number of data bytes containing the values to be written&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|8…13&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x0001&amp;lt;br&amp;gt;x0000&amp;lt;br&amp;gt;x0001&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Three values to be written into the configuration registers&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|14…17&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x8F7E&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|CRC16 checksum&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot; scope=&amp;quot;row&amp;quot; colspan=&amp;quot;2&amp;quot;|&#039;&#039;&#039;Response&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
! style=&amp;quot;text-align: left;&amp;quot;|&#039;&#039;&#039;The device that reads and executes &lt;br /&gt;
the command will send the following frame in response:&amp;lt;br&amp;gt; 01 10 40 0C 00&lt;br /&gt;
 03 55 CB&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|1&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x01&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Address of the responding device&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|2&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x10&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|“Write Multiple Holding Registers” command - writing several configuration registers&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|3...4&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x400C&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Number of the register from which the value writing was initiated&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|5...6&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|x0003&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=File:Modig_Modbus_16_RS485_2_EN.png&amp;diff=581</id>
		<title>File:Modig Modbus 16 RS485 2 EN.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=File:Modig_Modbus_16_RS485_2_EN.png&amp;diff=581"/>
		<updated>2026-06-15T19:19:02Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=MD12003_Konwerter_RS485-ETHERNET_PoE_(PL)&amp;diff=580</id>
		<title>MD12003 Konwerter RS485-ETHERNET PoE (PL)</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=MD12003_Konwerter_RS485-ETHERNET_PoE_(PL)&amp;diff=580"/>
		<updated>2026-06-15T18:54:18Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: /* Interfejs RS485 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Opis ====&lt;br /&gt;
&amp;lt;b&amp;gt;Przemysłowy konwerter magistrali RS485 na Ethernet z zasilaniem PoE&amp;lt;br&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
Konwerter &#039;&#039;&#039;MODIG RS485-ETHERNET PoE&#039;&#039;&#039; to wielofunkcyjny i łatwy w obsłudze konwerter magistrali RS485, na interfejs sieciowy Ethernet. Konwerter jest wyposażony w system zasilania PoE - Power Over Ethernet i może być dołączony do nowoczesnej infrastruktury sieciowej, która za pomocą jednego przewodu zapewnia zasilanie i dostęp do sieci komputerowej. Zwarta konstrukcja i opcjonalne zasilanie z interfejsu USB lub z zasilacza napięcia stałego umożliwiają zastosowanie konwertera MODIG w wielu różnych instalacjach.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET PoE.jpg|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Podstawowe cechy i parametry ====&lt;br /&gt;
* Interfejs RS485: sygnały A+, B-, GND i TERM oraz złącze typu Phoenix MC 3,81&lt;br /&gt;
* Konfigurowany terminator magistrali: rezystor 120 Ω&lt;br /&gt;
* Zabezpieczenie RS485: separacja galwaniczna 1 kV, ochrona przeciwprzepięciowa&lt;br /&gt;
* Prędkość komunikacji RS485: dowolna wartość z zakresu 200 bps… 1 Mbps&lt;br /&gt;
* Parametry RS485: Data bits: 7/8; Parity: None/Even/Odd; Stop bits: 1/1,5/2, Half-Duplex&lt;br /&gt;
* Maksymalna liczba urządzeń (nodes) dołączonych do RS485: 64&lt;br /&gt;
* Maksymalna długość jednej ramki danych RS485: 4 kB (4096 znaków)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Interfejs sieciowy: RJ45, Ethernet 10/100 Mbps Full Duplex&lt;br /&gt;
* Adres MAC: konfigurowany&lt;br /&gt;
* Adres IP: IPv4, statyczny lub DHCP&lt;br /&gt;
* Tryby pracy: Serwer TCP/Klient TCP; równocześnie UDP lub UDP broadcast&lt;br /&gt;
* Konfiguracja: strona WWW, dostęp zabezpieczony hasłem&lt;br /&gt;
* Parametry pracy: odczyt poprzez USB lub WWW&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Układ zasilania PoE, kompatybilny ze standardem IEEE 802.3af/at Class 0&lt;br /&gt;
* Opcjonalne zasilanie: poprzez złącze USB-C: 5 V/0,2 A lub z zasilacza 7…38 V DC/0,2 A&lt;br /&gt;
* Aluminiowa obudowa o wymiarach: 92 mm x 80 mm x 25 mm&lt;br /&gt;
* Zakres temperatur pracy: -20°C do +50°C&lt;br /&gt;
* Sygnalizacja stanu: diody LED&lt;br /&gt;
* Aktualizacja oprogramowania (firmware): poprzez interfejs USB&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Wyposażenie standardowe ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Kod&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Opis&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;Konwerter MODIG RS485-ETHERNET PoE&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*Zmontowany i uruchomiony moduł&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;Przewód USB&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*Przewód USB z wtykami USB-A, USB-C&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Zastosowanie ====&lt;br /&gt;
Konwerter MODIG RS485-ETHERNET PoE umożliwia dwukierunkowe przesyłanie danych z interfejsu RS485 do sieci Ethernet. Komunikacja może odbywać się pomiędzy urządzeniami MODIG RS485-ETHERNET PoE lub z udziałem innych urządzeń obsługujących protokoły TCP i/lub UDP. System zasilania PoE ułatwia instalację konwertera w nowoczesnej infrastrukturze sieciowej.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Ramki danych RS485 są konwertowane na ramki Ethernet TCP/UDP. W przypadku ramek z dużą ilością danych (ponad 1,5 kB, max 4 kB), stosowany jest mechanizm fragmentacji - podział na ramki o mniejszym rozmiarze. W urządzeniu docelowym ramki danych RS485 są odtwarzane w taki sposób, aby transmisja była całkowicie transparentna.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Typowa aplikacja konwertera MODIG RS485-ETHERNET PoE:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET PoE main schem.png|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Interfejs RS485 ====&lt;br /&gt;
Interfejs RS485 jest dostępny przez złącze typu Phoenix Contact MC 3,81 mm, które zawiera 4 styki.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Numer styku&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Oznaczenie&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Funkcja&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;1&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;T&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Aktywowanie wewnętrznego rezystora terminującego 120 Ω.&lt;br /&gt;
Rezystor jest aktywny, gdy styk T jest połączony ze stykiem A+&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;2&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;A+&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Linia A magistrali RS485 (potencjał dodatni)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;3&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;B-&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Linia B magistrali RS485 (potencjał ujemny)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;4&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;⏚&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Masa GND magistrali RS485&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_rs_con.jpg|none|450px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Konwerter MODIG może być dołączony do magistrali RS485, która łączy maksymalnie 64 urządzenia (wliczając konwerter). Każde urządzenie powinno być dołączone w taki sposób, aby nie powstawały węzły/rozgałęzienia magistrali - ewentualne połączenia powinny być jak najkrótsze. Na obu końcach magistrali warto dołączyć rezystory terminujące 120 Ω. &amp;lt;br&amp;gt;Konwerter MODIG ma zintegrowany taki rezystor, ale żeby był aktywny należy połączyć ze sobą styki &#039;&#039;&#039;A+&#039;&#039;&#039; oraz &#039;&#039;&#039;T&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Na rysunku pokazano uproszczony schemat magistrali RS485, z jednej strony zakończonej rezystorem terminującym 120 Ω, a z drugiej strony rezystorem terminującym zintegrowanym w konwerterze. Ponadto pokazano właściwe, oraz błędne podłączenie urządzeń do magistrali&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_rs_schem.png|none|1000px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Interfejs ETHERNET i zasilanie PoE==== &lt;br /&gt;
Konwerter MODIG RS485-ETHERNET PoE  jest wyposażony w interfejs Ethernet 10/100 Mbps z klasycznym złączem typu RJ45 oznaczonym jako ETH PoE. Poprzez interfejs Ethernet konwerter może być podłączony do lokalnej sieci komputerowej - LAN. Kontrolka &#039;&#039;&#039;LNK&#039;&#039;&#039; sygnalizuje prawidłowe podłączenie do sieci Ethernet, miganie kontrolki &#039;&#039;&#039;ACT&#039;&#039;&#039; sygnalizuje przesyłanie danych poprzez interfejs Ethernet.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Poprzez złącze ETH PoE może być dostarczane zasilanie do konwertera. Zastosowany kontroler zasilania PoE jest kompatybilny ze standardami IEEE 802.3af - Powered Devices Type-1 oraz IEEE 802.3at - Powered Devices Type-2 i jest skonfigurowany do pracy w klasie 0 (Class 0), która określa pobór mocy urządzenia w zakresie 0,5...13 W. Zasilanie metodą PoE jest możliwe tylko w kompatybilnej instalacji, zawierającej urządzenie PSE (Power Sourcing Equipments) spełniające standard IEEE 802.3af/at np. router PoE. Prawidłowe działanie zasilania PoE będzie sygnalizowane świeceniem kontrolki &#039;&#039;&#039;STA&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;border-color: red;background: #FFCCCC; color: black;&amp;quot;| W instalacji PoE występują napięcia o wartościach sięgających aż 60 V. Wszelkie czynności wykonywane w takich instalacjach należy wykonywać ze szczególną ostrożnością i z zachowaniem zasad bezpieczeństwa.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_eth conn.jpg|none|450px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Zasilanie USB oraz DC==== &lt;br /&gt;
Zasilanie konwertera MODIG może być doprowadzane poprzez złącze USB-C oznaczone USB. Źródło zasilania musi mieć napięcie o wartości 5 V ±10% i prąd co najmniej 0,2 A. Odpowiednie parametry mają np. ładowarki USB, a także interfejsy USB komputerów PC lub komputerów SBC.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Inny sposobem zasilania konwertera jest doprowadzenie napięcia stałego do złącza oznaczonego DC 7-38V. Jest to klasyczne złącze 2.1/5.5 stosowane w wielu zasilaczach. Zgodnie z oznaczeniem, doprowadzone napięcie musi mieścić się w przedziale 7…38 V DC, min 0,2 A prądu a biegun dodatni musi być w środkowym styku złącza. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Konwerter  MODIG może być zasilany równocześnie ze wszystkich źródeł - PoE, USB, DC. System zasilania automatycznie wybierze optymalne źródło zasilania.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_usb dc con.jpg|none|450px|thumb|center]]&lt;br /&gt;
&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_zas_usb.jpg|400px|]]&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_2155.jpg|200px|]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Kontrolki sygnalizacyjne==== &lt;br /&gt;
Działanie konwertera MODIG RS485-ETHERNET PoE jest sygnalizowane za pomocą 3 kontrolek LED.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Kontrolka&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Znaczenie&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;STA&lt;br /&gt;
(&amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;zielony&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Cykliczne miganie kontrolki LED sygnalizuje prawidłowe zasilanie systemu, niezależnie od źródła zasilania.&lt;br /&gt;
Świecenie kontrolki LED oznacza prawidłowe podłączenie do sieci Ethernet i uzyskanie adresu IP.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;ETH&lt;br /&gt;
(&amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;niebieski&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Miganie kontrolki LED sygnalizuje wysyłanie/odbieranie ramek TCP/UDP.&lt;br /&gt;
Świecenie kontrolki LED oznacza aktywne połączenie TCP Serwer-Klient.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;RS&lt;br /&gt;
(&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;czerwony&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Miganie kontrolki LED sygnalizuje wysyłanie/odbieranie danych poprzez magistralę RS485.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_leds.jpg|none|450px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Przycisk funkcyjny RES ====&lt;br /&gt;
Przycisk funkcyjny pozwala wykonać restart urządzenia lub przywrócenie ustawień fabrycznych. Aby aktywować przycisk należy wsunąć końcówkę spinacza biurowego w otwór oznaczony RES, aż do lekko wyczuwalnego kliknięcia.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Restart urządzenia jest wykonywany przy włączonym urządzeniu, gdy przycisk RES jest aktywny (wciśnięty) przez ok. 5 sekund, a następnie zostaje zwolniony. Towarzyszy temu miganie czerwonej kontrolki LED RS - 4 krótkie mignięcia i ostatnie długie świecenie, trwające ok 1 s. Przycisk należy zwolnić w trakcie długiego świecenia kontrolki LED. W efekcie konwerter MODIG wykona całkowity restart systemu.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Przywrócenie ustawień fabrycznych jest wykonywane przy włączonym urządzeniu, gdy przycisk RES jest aktywny (wciśnięty) przez ok. 10 sekund, a następnie zostaje zwolniony. Towarzyszy temu miganie czerwonej kontrolki LED RS - 4 krótkie mignięcia, następnie długie świecenie, trwające ok 1 s, następnie ok. 4 s przerwy i ponowne długie świecenie. Przycisk należy zwolnić w trakcie drugiego długiego świecenia kontrolki LED. W efekcie wszystkie ustawienia (konfiguracja sieci, parametry RS485, a także hasło do strony konfiguracyjnej, itd) zostaną przywrócone do stanu fabrycznego.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_reset.jpg|none|450px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Interfejs USB ====&lt;br /&gt;
Złącze USB-C oznaczone USB pozwala doprowadzić zasilanie do konwertera MODIG, ale również pozwala monitorować parametry pracy konwertera. Poprzez złącze USB można podłączyć konwerter do komputera PC. W systemie operacyjnym pojawi się nowe urządzenie - port szeregowy USB oznaczony np. jako COM5.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:MODIG_RS485-ETHERNET_PoE_COM.jpg|none|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Dowolnym programem typu Terminal (np. Putty, BrayTerminal itd.) można podłączyć się do portu szeregowego USB utworzonego przez konwerter. Parametry komunikacji powinny być następujące: 115200, 8, N, 1. W oknie terminala będą wyświetlane dane przesyłane z konwertera MODIG:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_terminal.jpg|none|700px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Szczególnie ważną informacją może być adres IP, który został przydzielony dla konwertera, ale są tam także inne ważne informacje, m.in.: status DHCP, MAC, ustawienia TCP i UDP).&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Aktualizacja oprogramowania układowego (firmware) ====&lt;br /&gt;
Wykonanie aktualizacji oprogramowania układowego (firmware) wymaga komputera PC z zainstalowaną aplikacją STM32Cube Programmer oraz wolnym interfejsem USB i przewodu USB, którym można podłączyć konwerter MODIG z tym komputerem.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_programowanie.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Aplikację STM32Cube Programmer można pobrać ze strony:&lt;br /&gt;
https://www.st.com/en/development-tools/stm32cubeprog.html&lt;br /&gt;
&amp;lt;br&amp;gt;Należy wybrać wersję dla systemu operacyjnego zainstalowanego na komputerze PC i postępować zgodnie z instrukcjami na stronie. Po pobraniu pliku instalacyjnego należy aplikację zainstalować.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_get soft.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Konwerter MODIG należy wprowadzić w tryb aktualizacji oprogramowania układowego. W tym celu:&lt;br /&gt;
# Odłączamy konwerter od sieci Ethernet, od magistrali RS485 oraz od zasilania&lt;br /&gt;
# Przy wyłączonym konwerterze aktywujemy przycisk RES (za pomocą spinacza biurowego)&lt;br /&gt;
# Trzymając aktywny przycisk RES podłączamy przewód USB z komputera do konwertera MODIG (złącze USB-C oznaczone USB).&lt;br /&gt;
&amp;lt;br&amp;gt;Kontrolki LED będą wygaszone, co oznacza, że konwerter jest gotowy do aktualizacji oprogramowania. W systemie operacyjnym komputera PC powinno pojawić się urządzenie:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_DFU mode.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Uruchamiamy aplikację STM32Cube Programmer, wybieramy rodzaj połączenia USB i klikamy Connect.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_connect.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Wybieramy Open file i wskazujemy plik z nowym oprogramowaniem np. Modig_3_0.elf i klikamy Download. Po chwili pojawi się podsumowanie, gdzie klikamy OK. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_open file.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Na zakończenie klikamy Disconnect i odłączamy przewód USB od konwertera. Po ponownym podłączeniu przewodu USB (bez aktywowania przycisku RES) konwerter MODIG uruchomi się z nowym oprogramowaniem.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Konfiguracja konwertera ====&lt;br /&gt;
Wszystkie parametry konwertera MODIG RS485-ETHERNET PoE są ustawiane poprzez stronę internetową. &lt;br /&gt;
&amp;lt;br&amp;gt;W przeglądarce internetowej komputera lub smartfona podłączonego do sieci LAN (tej samej, w której znajduje się konwerter MODIG RS485-ETHERNET PoE), należy wpisać adres IP konwertera. Adres IP, który został przypisany do konwertera można sprawdzić poprzez odczytanie informacji wysyłanych przez interfejs USB (rozdział “Interfejs USB”) lub z poziomu urządzenia zarządzającego naszą siecią LAN np. routera.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Logowanie ====&lt;br /&gt;
Po wpisaniu właściwego IP zostanie wyświetlona strona konwertera MODIG. Pierwszym etapem jest wpisanie hasła dostępu do strony ustawień, domyślnie jest to “1234”.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_start.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Wpisanie niewłaściwego hasła zostanie odpowiednio zasygnalizowane.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_try again.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Menu główne ====&lt;br /&gt;
Po prawidłowym zalogowaniu zostanie wyświetlona strona główna menu ustawień. W dolnej części strony znajdują się podstawowe informacje o urządzeniu oraz parametry najważniejszych ustawień.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_main.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Po zakończeniu konfigurowania parametrów pracy należy wylogować się ze strony konfiguracyjnej poprzez przycisk &#039;&#039;LOGOUT&#039;&#039;. Dzięki temu ustawienia zostaną zapisane do nieulotnej pamięci konfiguracyjnej urządzenia.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Jeśli użytkownik nie wykona wylogowania, to nastąpi ono automatycznie po 5 minutach bezczynności na stronie konfiguracyjnej. Natomiast ustawienia konfiguracyjne zostaną zapisane do nieulotnej pamięci konfiguracyjnej urządzenia po 1 minucie bezczynności na stronie konfiguracyjnej.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Ustawienia urządzenia (DEVICE) ====&lt;br /&gt;
&#039;&#039;Device Name&#039;&#039; - nazwa, którą użytkownik może ustawić dla danego urządzenia. Aby zmienić nazwę należy wpisać nową nazwę w polu tekstowym przy etykiecie &#039;&#039;Device Name&#039;&#039; i potwierdzić przyciskiem &#039;&#039;Apply&#039;&#039; umieszczonym pod polem tekstowym.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Hasło dostępu do strony ustawień&lt;br /&gt;
Dostęp do strony ustawień jest możliwy po wpisaniu prawidłowego hasła. Dostęp jest przydzielany na podstawie adresu IP, z jakiego odbywa się logowanie i jest przydzielany na czas 5 minut. Czas jest odnawiany po każdej akcji wykonanej na stronie, po 5 minutach bezczynności następuje automatyczne wylogowanie.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Aby ustawić nowe hasło należy wpisać je w pola tekstowe oznaczone jako &#039;&#039;New Password&#039;&#039; oraz &#039;&#039;Repeat new password&#039;&#039; i zatwierdzić przyciskiem &#039;&#039;Apply&#039;&#039; umieszczonym pod polami tekstowymi.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_device.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Jeśli wszystko zostanie wykonane prawidłowo zobaczymy taki komunikat&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_new password_2.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Ustawienia sieciowe (NETWORK) ====&lt;br /&gt;
Grupa ustawień sieciowych obejmuje ustawienie adresu MAC (&#039;&#039;Device MAC&#039;&#039;) i adresu IP. Jeśli funkcja automatycznego przydzielania adresu IP jest aktywna (&#039;&#039;DHCP - ENABLE&#039;&#039;) konwerter RS485-ETHERNET PoE otrzyma adres IP z urządzenia zarządzającego naszą siecią LAN np. routera. Natomiast, jeśli DHCP zostanie wyłączone (&#039;&#039;DISABLE&#039;&#039;), to konwerter RS485-ETHERNET PoE wymaga ustawienia statycznego adresu IP (&#039;&#039;Device static IP&#039;&#039;) oraz maski sieciowej (&#039;&#039;Subnet mask&#039;&#039;)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_netsett.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Zmiana adresu MAC wymaga wykonania restartu urządzenia. Można tego dokonać za pomocą przycisku RESTART. Zmiana ustawień adresu IP wymaga ponownego zainicjowania interfejsu Ethernet. Można tego dokonać za pomocą przycisku &#039;&#039;RECONNECT&#039;&#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
W obu przypadkach urządzenie wyloguje użytkownika i wykona ponowne zainicjowanie interfejsu Ethernet. W zależności od ustawień, strona konfiguracyjna konwertera może być dostępna pod innym adresem IP, niż wcześniej.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Ustawienia trybu pracy (MODE) ====&lt;br /&gt;
Konwerter MODIG przesyła dane poprzez sieć Ethernet z użyciem protokołów TCP oraz UDP, które działają niezależnie od siebie.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Protokół TCP działa w konfiguracji Serwer-Klient i wymaga ustawienia adresu IP urządzenia do którego będzie skierowana komunikacja, oraz numeru portu komunikacyjnego, który powinien mieć wartość zakresu 1024…65535.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Protokół UDP nie wymaga nawiązywania i utrzymywania stałego połączenia między określonym odbiorcą. Wymaga ustawienia adresu IP urządzenia do którego będzie skierowana komunikacja, oraz numeru portu komunikacyjnego, który powinien mieć wartość zakresu 1024…65535. Jeśli adres IP zostanie ustawiony na 255.255.255.255 komunikacja będzie realizowana w trybie rozgłoszenioym (&#039;&#039;broadcasting&#039;&#039;), czyli komunikacja będzie dostępna dla wszystkich urządzeń w sieci LAN.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_mode.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Ustawienia interfejsu RS485 (RS485) ====&lt;br /&gt;
Parametry interfejsu RS485, które można ustawić w konwerterze MODIG to:&lt;br /&gt;
*prędkość komunikacji (&#039;&#039;Baudrate&#039;&#039;): dowolna wartość z zakresu 200…1000000 bps,&lt;br /&gt;
*ilość bitów danych w każdym znaku (&#039;&#039;Data bits&#039;&#039;): 7 lub 8 bitów,&lt;br /&gt;
*kontrola parzystości (&#039;&#039;Parity&#039;&#039;): None, Even, Odd,&lt;br /&gt;
*bity znacznika stop (&#039;&#039;Stop bits&#039;&#039;): 1; 1,5; 2,&lt;br /&gt;
Parametry interfejsu RS485 konwertera MODIG, powinny być ustawione tak samo, jak parametry pozostałych urządzeń dołączonych do interfejsu RS485. Nowe ustawienia należy zatwierdzić przyciskiem &#039;&#039;Apply&#039;&#039; umieszczonym pod polami ustawień.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Dane przesyłane poprzez magistralę RS485 mają postać ramek (pakietów), które zwykle są zakończone specyficzną kombinacją znaków lub następuje po nich określony czas bezczynności na magistrali. Dane z magistrali RS485 są przesyłane przez interfejs Ethernet jako całe ramki. Ramka, która nie zostanie odpowiednio zakończona nie zostanie przesłana przez interfejs Ethernet.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Konwerter MODIG może wykrywać koniec ramki jako sekwencję 1…4 dowolnych znaków, np. słowo “END” lub znaki “0xFF 0xFF 0xFF 0xFF” lub sekwencja CR LF (&#039;&#039;Carriage Return, Line Feed&#039;&#039;) stosowana przy zapisywaniu tekstu. Sekwencję zakończenia ramki należy wpisać w pole tekstowe przy etykiecie &#039;&#039;Packet complete characters&#039;&#039;. Znaki muszą być zapisane w formacie hex, czyli każdy znak musi być zapisany w postaci jego wartości hexadecymalnej (zgodnie z ASCII), poprzedzonej literą x - sekwencję “END” należy zapisać jako “x45 x4E x44”. Jeśli pole pozostanie puste to funkcja będzie nieaktywna.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Konwerter MODIG może również wykrywać koniec ramki jako określony czas bezczynności na magistrali. Czas bezczynności jest mierzony jako liczba znaków, które mogłyby być przesłane w tym czasie. W polu przy etykiecie Packet complete idle characters należy wpisać wartość z zakresu 0…255. Funkcja będzie nieaktywna, gdy wartość będzie wynosiła 0, wartość 1 oznacza, że ramka zostanie uznana za zakończoną, gdy czas bezczynności na magistrali będzie odpowiadał czasowi przesłania jednego dowolnego znaku, itd.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Obie metody wykrywania końca ramki mogą być jednocześnie aktywne.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_rs485.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Narzędzia dodatkowe (TOOLS) ====&lt;br /&gt;
Z poziomu strony konfiguracyjnej możliwe jest wysłanie prostych ramek poprzez interfejs RS485. Pole tekstowe oznaczone jako &#039;&#039;Remote RS485 message&#039;&#039; pozwala na wysłanie krótkiej treści do urządzenia, którego adres IP jest określony w ustawieniach trybu pracy (MODE), w sekcjach TCP i UDP. Wysłanie treści należy potwierdzić przyciskiem &#039;&#039;Send&#039;&#039; umieszczonym pod polem tekstowym.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Pole tekstowe oznaczone jako &#039;&#039;Local RS485 message&#039;&#039; pozwala na wysłanie krótkiej treści z urządzenia, którego strona konfiguracyjna jest właśnie widoczna w przeglądarce, poprzez interfejs RS485. Wysłanie treści należy potwierdzić przyciskiem &#039;&#039;Send&#039;&#039; umieszczonym pod polem tekstowym.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_tools.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=MD12003_RS485_to_Ethernet_PoE_Converter_(EN)&amp;diff=579</id>
		<title>MD12003 RS485 to Ethernet PoE Converter (EN)</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=MD12003_RS485_to_Ethernet_PoE_Converter_(EN)&amp;diff=579"/>
		<updated>2026-06-15T18:54:05Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: /* RS485 Interface */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Description ====&lt;br /&gt;
&amp;lt;b&amp;gt;Industrial RS485 to Ethernet Bus Converter with PoE Support&amp;lt;br&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
The &#039;&#039;&#039;MODIG RS485-ETHERNET PoE&#039;&#039;&#039; is a versatile and easy-to-use converter that bridges an RS485 serial bus with an Ethernet network interface. The device is equipped with a Power over Ethernet (PoE) subsystem, allowing it to integrate seamlessly into modern network infrastructures where a single cable provides both DC power and local network connectivity. Its compact form factor combined with auxiliary power options (via USB-C or an external DC power supply) makes the MODIG converter highly adaptable across various industrial installation types.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET PoE.jpg|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Key Features and Specifications ====&lt;br /&gt;
* RS485 Interface: Terminals: A+, B-, GND, and TERM via Phoenix Contact MC 3.81 mm connector&lt;br /&gt;
* Termination Resistor: Integrated 120 Ω bus terminator (configurable)&lt;br /&gt;
* RS485 Circuit Protection: 1 kV galvanic isolation and integrated surge protection&lt;br /&gt;
* RS485 Baud Rate: Supports any custom value from 200 bps to 1,000,000 bps (1 Mbps)&lt;br /&gt;
* RS485 Serial Parameters: Data bits: 7/8; Parity: None/Even/Odd; Stop bits: 1/1.5/2; Half-Duplex&lt;br /&gt;
* Network Capacity: Supports up to 64 nodes on the RS485 bus&lt;br /&gt;
* Buffer Size: Maximum RS485 data frame length of 4 kB (4096 bytes)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Network Interface: RJ45 port, 10/100 Mbps Base-T Full Duplex&lt;br /&gt;
* Network Addressing: Configurable MAC address; IPv4 support with Static IP or DHCP assignment&lt;br /&gt;
* Operational Modes: TCP Server, TCP Client, Concurrent UDP, and UDP Broadcast&lt;br /&gt;
* Device Configuration: Password-protected, built-in Web-UI (HTTP)&lt;br /&gt;
* Diagnostics: Operational status readout via USB or Web-UI&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Main Input: Power over Ethernet (PoE) compliant with IEEE 802.3af/at Class 0 standard&lt;br /&gt;
* Auxiliary Inputs: Optional power delivery via USB-C (5 V / 0.2 A) or DC power jack (7–38 V DC / 0.2 A)&lt;br /&gt;
* Enclosure: Industrial rugged aluminum housing; Dimensions: 92 mm x 80 mm x 25 mm&lt;br /&gt;
* Operating Temperature Range: -20°C to +50°C&lt;br /&gt;
* Status Indicators: Diagnostic LEDs&lt;br /&gt;
* Firmware Upgrade: Supported via USB interface&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Kit Contents ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Product Code&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;MODIG RS485-ETHERNET PoE Converter&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*Fully assembled, programmed, and tested converter module&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;USB Cable&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*USB connectivity cable with USB-A to USB-C connectors&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Applications ====&lt;br /&gt;
The MODIG RS485-ETHERNET PoE converter enables bidirectional data routing between an RS485 bus and an Ethernet network. Communication can be established transparently between two MODIG RS485-ETHERNET PoE modules or integrated with any third-party device that supports standard TCP and/or UDP protocols. The native PoE power supply simplifies deployment in modern network systems.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Serial data frames from the RS485 bus are packed and converted into Ethernet TCP/UDP packets. For large payloads (exceeding 1.5 kB up to the 4 kB maximum), an internal fragmentation mechanism splits the payload into smaller network frames. At the receiving destination node, the original RS485 data format is fully reconstructed, ensuring completely transparent communication across the network layer.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Typical application diagram for the MODIG RS485-ETHERNET PoE converter:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET PoE main schem.png|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== RS485 Interface ====&lt;br /&gt;
The RS485 interface is accessible via a 4-pin Phoenix Contact MC 3.81 mm screw terminal block.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Pin Number&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Label&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;1&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;T&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Activates the internal 120 Ω line termination resistor. The resistor is engaged when pin T is shorted to pin A+.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;2&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;A+&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|RS485 differential line A (Non-inverting / Positive potential)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;3&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;B-&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|RS485 differential line B (Inverting / Negative potential)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;4&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;⏚&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Signal Ground (GND) for the RS485 bus&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_rs_con.jpg|none|450px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The MODIG converter can be connected to an RS485 bus containing up to 64 devices (including the converter itself). Devices must be daisy-chained to avoid stub lines or bus branches; any necessary drop lines must be kept as short as possible. 120 Ω impedance matching termination resistors should be placed at both physical ends of the bus line. &amp;lt;br&amp;gt;The MODIG converter includes an on-board termination resistor, which can be enabled by bridging terminal &#039;&#039;&#039;A+&#039;&#039;&#039; and terminal &#039;&#039;&#039;T&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The diagram below shows a simplified wiring schematic of the RS485 bus network, terminated with a standard 120 Ω resistor on one end, and the converter&#039;s internal termination on the other. It also illustrates the correct daisy-chain connection method versus incorrect topology:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_rs_schem.png|none|1000px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ETHERNET Interface and PoE Power Supply ==== &lt;br /&gt;
The MODIG converter features a 10/100 Mbps Ethernet port utilizing a standard RJ45 connector labeled ETH PoE. This allows the converter to join a Local Area Network (LAN). The &#039;&#039;&#039;LNK&#039;&#039;&#039; LED indicates a valid network link, while a flashing &#039;&#039;&#039;ACT&#039;&#039;&#039; LED signals active data traffic over the Ethernet interface.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Power can be delivered directly through the ETH PoE connector. The integrated PoE controller complies with IEEE 802.3af (Powered Devices Type-1) and IEEE 802.3at (Powered Devices Type-2) standards and is pre-configured as a Class 0 device, specifying a power footprint between 0.5 W and 13 W. PoE operations require a compatible network installation that includes standard PSE (Power Sourcing Equipment), such as a PoE network switch or midspan injector compliant with IEEE 802.3af/at. Active PoE power delivery is indicated by the solid green &#039;&#039;&#039;STA&#039;&#039;&#039; LED.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;border-color: red;background: #FFCCCC; color: black;&amp;quot;| WARNING: PoE installations carry operational voltages up to 60 VDC. All servicing and wiring on active networks must be performed with caution adhering to standard electrical safety protocols.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_eth conn.jpg|none|450px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== USB and DC Power Supply Options ==== &lt;br /&gt;
The MODIG converter can be powered via the USB-C port labeled USB. The external source must deliver 5 VDC ±10% with a minimum capacity of 0.2 A. This requirement is met by standard USB chargers, PC ports, or Single Board Computers (SBCs).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Alternatively, the device can be powered by applying a steady DC voltage to the barrel jack labeled DC 7-38V. This is a standard 2.1/5.5 mm power jack used by common commercial power adapters. The input voltage must fall within the range of 7 V to 38 VDC with a minimum current of 0.2 A, utilizing a center-positive pin configuration. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The MODIG converter supports simultaneous connections across all power inputs (PoE, USB, and DC). The internal power management system automatically locks onto the optimal voltage source.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_usb dc con.jpg|none|450px|thumb|center]]&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_zas_usb.jpg|400px|]]&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_2155.jpg|200px|]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Status LED Indicators ==== &lt;br /&gt;
The operation of the MODIG RS485-ETHERNET PoE converter is monitored using 3 diagnostic LEDs.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|LED Indicator&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Status Meaning&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;STA (&amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;green&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Blinking at a steady interval indicates the system logic is correctly powered, regardless of the active power source. A solid green light indicates a valid Ethernet network link and a successfully leased IP address.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;ETH (&amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;blue&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Blinking indicates active transmission or reception of TCP/UDP packets. A solid blue light indicates an active, established TCP Server-Client connection.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;RS (&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;red&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Blinking signals data transmission (TX) or reception (RX) activity on the RS485 serial bus.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_leds.jpg|none|450px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== RES Function Button ====&lt;br /&gt;
The hardware function button allows the user to trigger a full system reboot or perform a complete factory reset. To actuate the button, gently insert the end of a paperclip into the small pinhole labeled RES until a tactile click is felt.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A system reboot is triggered on an active device by holding the RES button down for approximately 5 seconds and then releasing it. During this action, the red RS LED will flash 4 times shortly followed by a single long illumination lasting 1 second. The button must be released during this long 1-second flash. The MODIG converter will then perform a clean hardware system restart.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A factory reset is executed on an active device by holding the RES button down for approximately 10 seconds before releasing it. This sequence triggers 4 short red flashes on the RS LED, a 1-second long flash, a 4-second delay, and finally a second long illumination. The button must be released during this second long flash. This action purges all custom configurations (wiping network setups, serial parameters, Web-UI access passwords, etc.) and restores the converter to its factory defaults.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_reset.jpg|none|450px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== USB Diagnostics Interface ====&lt;br /&gt;
The USB-C interface labeled USB serves as an auxiliary power input and doubles as a diagnostic bridge to track real-time runtime parameters. Connecting the converter to a PC registers a Virtual COM Port inside the host OS (e.g., listed as COM5).&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:MODIG_RS485-ETHERNET_PoE_COM.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Any standard serial terminal emulation software (e.g., PuTTY, BrayTerminal, etc.) can be opened to listen on the allocated Virtual COM Port. The port communication profile must be set to: 115200 bps, 8 data bits, No parity, 1 stop bit (115200, 8, N, 1). The terminal window will stream active diagnostic readouts from the MODIG converter:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_terminal.jpg|none|700px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
This feed provides a quick method to check the leased IP address assigned to the converter, along with critical parameters including DHCP lease status, MAC address, and active TCP/UDP configurations.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Firmware Upgrade Procedure ====&lt;br /&gt;
Flashing a new firmware version requires a Windows PC equipped with the official STM32Cube Programmer application, an available USB port, and a standard USB-A to USB-C link cable.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_programowanie.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The STM32Cube Programmer application can be obtained from the official STMicroelectronics portal:&lt;br /&gt;
https://www.st.com/en/development-tools/stm32cubeprog.html&lt;br /&gt;
&amp;lt;br&amp;gt;Select the appropriate installer for your desktop operating system, run the installation package, and follow the setup wizard.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_get soft.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
To put the MODIG converter into Device Firmware Upgrade (DFU) mode, follow these steps:&lt;br /&gt;
# Disconnect the converter from the Ethernet network, the RS485 bus, and all external power lines.&lt;br /&gt;
# While the device is fully unpowered, press and hold down the internal RES button using a paperclip.&lt;br /&gt;
# Keeping the RES button compressed, connect the USB cable from the PC to the USB-C port labeled USB on the MODIG converter.&lt;br /&gt;
&amp;lt;br&amp;gt;The status LEDs will remain completely dark, confirming that the internal bootloader has entered DFU mode. The host PC device manager will list a new hardware device:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_DFU mode.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Launch the STM32Cube Programmer software, change the interface connection type to USB, and click Connect.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_connect.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Click on Open File, browse to the directory containing the compiled firmware binary (e.g., Modig_3_0.elf), select it, and click Download. A confirmation dialog will pop up upon completion; click OK.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_open file.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Finally, click Disconnect within the utility and unplug the USB-C cable from the converter. Reconnecting the USB cable normally (without pressing the RES button) will cycle the power, and the MODIG converter will initialize running the newly flashed firmware.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Converter Configuration ====&lt;br /&gt;
All hardware and communication parameters of the MODIG RS485-ETHERNET PoE converter are managed using the embedded web configuration engine.&lt;br /&gt;
&amp;lt;br&amp;gt;Open a web browser on a PC or smartphone connected to the same Local Area Network (LAN) as the MODIG converter, and type the device&#039;s current IP address into the address bar. The active IP address can be found using the live serial diagnostic stream over USB (see the &amp;quot;USB Diagnostics Interface&amp;quot; section) or via the network router&#039;s DHCP lease table.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== User Authentication (Login) ====&lt;br /&gt;
Navigating to the correct IP address brings up the MODIG Web-UI dashboard challenge screen. Accessing the configuration backend requires entering the security password; the factory default value is “1234”.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_start.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Entering an invalid password will display an authentication failure alert.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_try again.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Main Menu Dashboard ====&lt;br /&gt;
A successful login session opens the core configuration panel. The bottom area of the layout displays foundational device info and real-time operational variables.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_main.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Once modifications to the operating parameters are complete, terminate the session by clicking the &#039;&#039;LOGOUT&#039;&#039; button. This explicit action writes the updated parameters into the device&#039;s non-volatile EEPROM configuration storage block.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
If a user fails to log out manually, the active Web-UI session will time out automatically after 5 minutes of inactivity. Any uncommitted parameter adjustments are saved to the non-volatile memory block after 1 minute of inactivity on the configuration portal.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Device Management Profile (DEVICE) ====&lt;br /&gt;
&#039;&#039;Device Name&#039;&#039; — A custom string identifier defined by the user to label the hardware unit. To change this value, input the string into the text box adjacent to the &#039;&#039;Device Name&#039;&#039; field and commit the modification by clicking the &#039;&#039;Apply&#039;&#039; button below.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Access Password Management&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The configuration portal is locked behind a password challenge. Authentication is bound to the requesting client&#039;s IP address and remains valid for a sliding window of 5 minutes. The countdown resets with each action taken within the Web-UI; 5 minutes of total idle time drops the token and forces an automatic session logout.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
To provision a new access token, input the desired value into the &#039;&#039;New Password&#039;&#039; and &#039;&#039;Repeat new password&#039;&#039; text boxes, then commit the change using the corresponding &#039;&#039;Apply&#039;&#039; button.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_device.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
A successful write update will show the following success confirmation message:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_new password_2.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Network Parameter Configuration (NETWORK) ====&lt;br /&gt;
The networking section handles the low-level identity profiles, including the hardware address (&#039;&#039;Device MAC&#039;&#039;) and the IP block topology. When the network automation flag is set to &#039;&#039;DHCP - ENABLE&#039;&#039;, the RS485-ETHERNET PoE converter requests an operational IP setup from the local network gateway or DHCP server. Conversely, flipping this setting to &#039;&#039;DISABLE&#039;&#039; switches the stack over to static configurations, requiring manual entries for the target IP address (&#039;&#039;Device static IP&#039;&#039;) and the corresponding subnet mask (&#039;&#039;Subnet mask&#039;&#039;).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_netsett.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Modifying the hardware MAC address requires a hard system reboot to reinitialize the network controller chip; this can be done by clicking the &#039;&#039;RESTART&#039;&#039; button. Updating static IP variables requires recycling the Ethernet interface stack, which can be done by clicking the &#039;&#039;RECONNECT&#039;&#039; button.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Executing either operation terminates the active browser session, logs the user out, and restarts the physical Ethernet interface. Depending on the newly committed settings, the web management panel will map onto a different network endpoint address.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Network Operational Profile (MODE) ====&lt;br /&gt;
The MODIG converter routes data payloads across the IP network using independent TCP and UDP protocol engines running concurrently.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The TCP engine operates under a strict Server-Client model, requiring a destination IP pointer indicating where serial payloads should be forwarded, paired with a target socket port number constrained within the user range of 1024 to 65535.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The UDP engine functions without maintaining fixed sessions or connection states. It requires a target destination IP pointer along with an unprivileged port assignment within the 1024 to 65535 range. Setting the destination address to the broadcast IP 255.255.255.255 switches the socket engine over to broad-network transmission (&#039;&#039;broadcasting&#039;&#039;), mirroring serial payloads to every active listening node on the local subnet.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_mode.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Serial Interface Tuning (RS485) ====&lt;br /&gt;
The adjustable physical parameters governing the integrated RS485 UART serial interface include:&lt;br /&gt;
* Communication Speed (&#039;&#039;Baudrate&#039;&#039;): Supports values from 200 bps up to 1,000,000 bps (1 Mbps)&lt;br /&gt;
* Serial Frame Size (&#039;&#039;Data bits&#039;&#039;): Configurable to 7 or 8 bits&lt;br /&gt;
* Bit Parity Verification (&#039;&#039;Parity&#039;&#039;): None, Even, or Odd&lt;br /&gt;
* Serial Framing End-Marker (&#039;&#039;Stop bits&#039;&#039;): 1, 1.5, or 2 bits&lt;br /&gt;
&lt;br /&gt;
The UART parameters configured inside the MODIG converter must match the serial properties of all peripheral target nodes attached to the RS485 line. Save new variables using the &#039;&#039;Apply&#039;&#039; button below the menu fields.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Data payloads routed over the physical RS485 bus are formatted into packets (frames), capped by an end-of-packet character sequence or a designated duration of line quietness. The converter packages serial data streams and drops them onto the network stack as unified blocks; frames missing proper completion markers are held in the serial buffer and will not pass onto the network layer.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The MODIG engine can monitor for frame completion by parsing for a programmable sequence of 1 to 4 characters (e.g., the keyword string “END”, a series of byte markers like “0xFF 0xFF 0xFF 0xFF”, or standard text line-end delimiters like CR LF — &#039;&#039;Carriage Return, Line Feed&#039;&#039;). The parsing sequence must be formatted as hexadecimal notation values corresponding to the standard ASCII map, prefixed by an &#039;x&#039; identifier; for example, the string “END” must be input as “x45 x4E x44”. Leaving this field empty disables character-based frame parsing.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The firmware can also evaluate frame boundaries by measuring silent periods on the physical bus. Bus quietness is calculated as equivalent character transmission windows relative to the active baud rate. Input a valid threshold scale from 0 to 255 inside the &#039;&#039;Packet complete idle characters&#039;&#039; field. Setting this value to 0 turns off the timer; a value of 1 instructs the engine to close the active buffer as soon as the line remains idle for the duration of a single character slot.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Both frame demarcation methods can run concurrently.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_rs485.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Embedded Testing Tools (TOOLS) ====&lt;br /&gt;
The web interface features basic testing utilites to inject raw test payloads directly onto the physical bus lines. The input field labeled &#039;&#039;Remote RS485 message&#039;&#039; transmits short text segments directly to the remote IP endpoints assigned within the network configuration panels (MODE) over open TCP or UDP sockets. Click &#039;&#039;Send&#039;&#039; to fire the payload.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The utility labeled &#039;&#039;Local RS485 message&#039;&#039; allows operators to transmit manual command strings from the active interface directly out of the local converter&#039;s RS485 transceiver. Click &#039;&#039;Send&#039;&#039; to execute the serial transmission.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_tools.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=File:RS485-ETHERNET_PoE_rs_schem.png&amp;diff=578</id>
		<title>File:RS485-ETHERNET PoE rs schem.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=File:RS485-ETHERNET_PoE_rs_schem.png&amp;diff=578"/>
		<updated>2026-06-15T18:53:20Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=MD12003_RS485_to_Ethernet_PoE_Converter_(EN)&amp;diff=577</id>
		<title>MD12003 RS485 to Ethernet PoE Converter (EN)</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=MD12003_RS485_to_Ethernet_PoE_Converter_(EN)&amp;diff=577"/>
		<updated>2026-06-15T18:51:42Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: /* USB Diagnostics Interface */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Description ====&lt;br /&gt;
&amp;lt;b&amp;gt;Industrial RS485 to Ethernet Bus Converter with PoE Support&amp;lt;br&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
The &#039;&#039;&#039;MODIG RS485-ETHERNET PoE&#039;&#039;&#039; is a versatile and easy-to-use converter that bridges an RS485 serial bus with an Ethernet network interface. The device is equipped with a Power over Ethernet (PoE) subsystem, allowing it to integrate seamlessly into modern network infrastructures where a single cable provides both DC power and local network connectivity. Its compact form factor combined with auxiliary power options (via USB-C or an external DC power supply) makes the MODIG converter highly adaptable across various industrial installation types.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET PoE.jpg|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Key Features and Specifications ====&lt;br /&gt;
* RS485 Interface: Terminals: A+, B-, GND, and TERM via Phoenix Contact MC 3.81 mm connector&lt;br /&gt;
* Termination Resistor: Integrated 120 Ω bus terminator (configurable)&lt;br /&gt;
* RS485 Circuit Protection: 1 kV galvanic isolation and integrated surge protection&lt;br /&gt;
* RS485 Baud Rate: Supports any custom value from 200 bps to 1,000,000 bps (1 Mbps)&lt;br /&gt;
* RS485 Serial Parameters: Data bits: 7/8; Parity: None/Even/Odd; Stop bits: 1/1.5/2; Half-Duplex&lt;br /&gt;
* Network Capacity: Supports up to 64 nodes on the RS485 bus&lt;br /&gt;
* Buffer Size: Maximum RS485 data frame length of 4 kB (4096 bytes)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Network Interface: RJ45 port, 10/100 Mbps Base-T Full Duplex&lt;br /&gt;
* Network Addressing: Configurable MAC address; IPv4 support with Static IP or DHCP assignment&lt;br /&gt;
* Operational Modes: TCP Server, TCP Client, Concurrent UDP, and UDP Broadcast&lt;br /&gt;
* Device Configuration: Password-protected, built-in Web-UI (HTTP)&lt;br /&gt;
* Diagnostics: Operational status readout via USB or Web-UI&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Main Input: Power over Ethernet (PoE) compliant with IEEE 802.3af/at Class 0 standard&lt;br /&gt;
* Auxiliary Inputs: Optional power delivery via USB-C (5 V / 0.2 A) or DC power jack (7–38 V DC / 0.2 A)&lt;br /&gt;
* Enclosure: Industrial rugged aluminum housing; Dimensions: 92 mm x 80 mm x 25 mm&lt;br /&gt;
* Operating Temperature Range: -20°C to +50°C&lt;br /&gt;
* Status Indicators: Diagnostic LEDs&lt;br /&gt;
* Firmware Upgrade: Supported via USB interface&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Kit Contents ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Product Code&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;MODIG RS485-ETHERNET PoE Converter&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*Fully assembled, programmed, and tested converter module&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;USB Cable&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*USB connectivity cable with USB-A to USB-C connectors&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Applications ====&lt;br /&gt;
The MODIG RS485-ETHERNET PoE converter enables bidirectional data routing between an RS485 bus and an Ethernet network. Communication can be established transparently between two MODIG RS485-ETHERNET PoE modules or integrated with any third-party device that supports standard TCP and/or UDP protocols. The native PoE power supply simplifies deployment in modern network systems.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Serial data frames from the RS485 bus are packed and converted into Ethernet TCP/UDP packets. For large payloads (exceeding 1.5 kB up to the 4 kB maximum), an internal fragmentation mechanism splits the payload into smaller network frames. At the receiving destination node, the original RS485 data format is fully reconstructed, ensuring completely transparent communication across the network layer.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Typical application diagram for the MODIG RS485-ETHERNET PoE converter:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET PoE main schem.png|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== RS485 Interface ====&lt;br /&gt;
The RS485 interface is accessible via a 4-pin Phoenix Contact MC 3.81 mm screw terminal block.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Pin Number&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Label&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;1&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;T&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Activates the internal 120 Ω line termination resistor. The resistor is engaged when pin T is shorted to pin A+.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;2&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;A+&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|RS485 differential line A (Non-inverting / Positive potential)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;3&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;B-&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|RS485 differential line B (Inverting / Negative potential)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;4&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;⏚&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Signal Ground (GND) for the RS485 bus&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_rs_con.jpg|none|450px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The MODIG converter can be connected to an RS485 bus containing up to 64 devices (including the converter itself). Devices must be daisy-chained to avoid stub lines or bus branches; any necessary drop lines must be kept as short as possible. 120 Ω impedance matching termination resistors should be placed at both physical ends of the bus line. &amp;lt;br&amp;gt;The MODIG converter includes an on-board termination resistor, which can be enabled by bridging terminal &#039;&#039;&#039;A+&#039;&#039;&#039; and terminal &#039;&#039;&#039;T&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The diagram below shows a simplified wiring schematic of the RS485 bus network, terminated with a standard 120 Ω resistor on one end, and the converter&#039;s internal termination on the other. It also illustrates the correct daisy-chain connection method versus incorrect topology:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_rs schem.jpg|none|950px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ETHERNET Interface and PoE Power Supply ==== &lt;br /&gt;
The MODIG converter features a 10/100 Mbps Ethernet port utilizing a standard RJ45 connector labeled ETH PoE. This allows the converter to join a Local Area Network (LAN). The &#039;&#039;&#039;LNK&#039;&#039;&#039; LED indicates a valid network link, while a flashing &#039;&#039;&#039;ACT&#039;&#039;&#039; LED signals active data traffic over the Ethernet interface.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Power can be delivered directly through the ETH PoE connector. The integrated PoE controller complies with IEEE 802.3af (Powered Devices Type-1) and IEEE 802.3at (Powered Devices Type-2) standards and is pre-configured as a Class 0 device, specifying a power footprint between 0.5 W and 13 W. PoE operations require a compatible network installation that includes standard PSE (Power Sourcing Equipment), such as a PoE network switch or midspan injector compliant with IEEE 802.3af/at. Active PoE power delivery is indicated by the solid green &#039;&#039;&#039;STA&#039;&#039;&#039; LED.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;border-color: red;background: #FFCCCC; color: black;&amp;quot;| WARNING: PoE installations carry operational voltages up to 60 VDC. All servicing and wiring on active networks must be performed with caution adhering to standard electrical safety protocols.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_eth conn.jpg|none|450px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== USB and DC Power Supply Options ==== &lt;br /&gt;
The MODIG converter can be powered via the USB-C port labeled USB. The external source must deliver 5 VDC ±10% with a minimum capacity of 0.2 A. This requirement is met by standard USB chargers, PC ports, or Single Board Computers (SBCs).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Alternatively, the device can be powered by applying a steady DC voltage to the barrel jack labeled DC 7-38V. This is a standard 2.1/5.5 mm power jack used by common commercial power adapters. The input voltage must fall within the range of 7 V to 38 VDC with a minimum current of 0.2 A, utilizing a center-positive pin configuration. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The MODIG converter supports simultaneous connections across all power inputs (PoE, USB, and DC). The internal power management system automatically locks onto the optimal voltage source.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_usb dc con.jpg|none|450px|thumb|center]]&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_zas_usb.jpg|400px|]]&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_2155.jpg|200px|]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Status LED Indicators ==== &lt;br /&gt;
The operation of the MODIG RS485-ETHERNET PoE converter is monitored using 3 diagnostic LEDs.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|LED Indicator&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Status Meaning&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;STA (&amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;green&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Blinking at a steady interval indicates the system logic is correctly powered, regardless of the active power source. A solid green light indicates a valid Ethernet network link and a successfully leased IP address.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;ETH (&amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;blue&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Blinking indicates active transmission or reception of TCP/UDP packets. A solid blue light indicates an active, established TCP Server-Client connection.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;RS (&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;red&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Blinking signals data transmission (TX) or reception (RX) activity on the RS485 serial bus.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_leds.jpg|none|450px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== RES Function Button ====&lt;br /&gt;
The hardware function button allows the user to trigger a full system reboot or perform a complete factory reset. To actuate the button, gently insert the end of a paperclip into the small pinhole labeled RES until a tactile click is felt.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A system reboot is triggered on an active device by holding the RES button down for approximately 5 seconds and then releasing it. During this action, the red RS LED will flash 4 times shortly followed by a single long illumination lasting 1 second. The button must be released during this long 1-second flash. The MODIG converter will then perform a clean hardware system restart.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A factory reset is executed on an active device by holding the RES button down for approximately 10 seconds before releasing it. This sequence triggers 4 short red flashes on the RS LED, a 1-second long flash, a 4-second delay, and finally a second long illumination. The button must be released during this second long flash. This action purges all custom configurations (wiping network setups, serial parameters, Web-UI access passwords, etc.) and restores the converter to its factory defaults.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_reset.jpg|none|450px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== USB Diagnostics Interface ====&lt;br /&gt;
The USB-C interface labeled USB serves as an auxiliary power input and doubles as a diagnostic bridge to track real-time runtime parameters. Connecting the converter to a PC registers a Virtual COM Port inside the host OS (e.g., listed as COM5).&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:MODIG_RS485-ETHERNET_PoE_COM.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Any standard serial terminal emulation software (e.g., PuTTY, BrayTerminal, etc.) can be opened to listen on the allocated Virtual COM Port. The port communication profile must be set to: 115200 bps, 8 data bits, No parity, 1 stop bit (115200, 8, N, 1). The terminal window will stream active diagnostic readouts from the MODIG converter:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_terminal.jpg|none|700px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
This feed provides a quick method to check the leased IP address assigned to the converter, along with critical parameters including DHCP lease status, MAC address, and active TCP/UDP configurations.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Firmware Upgrade Procedure ====&lt;br /&gt;
Flashing a new firmware version requires a Windows PC equipped with the official STM32Cube Programmer application, an available USB port, and a standard USB-A to USB-C link cable.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_programowanie.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The STM32Cube Programmer application can be obtained from the official STMicroelectronics portal:&lt;br /&gt;
https://www.st.com/en/development-tools/stm32cubeprog.html&lt;br /&gt;
&amp;lt;br&amp;gt;Select the appropriate installer for your desktop operating system, run the installation package, and follow the setup wizard.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_get soft.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
To put the MODIG converter into Device Firmware Upgrade (DFU) mode, follow these steps:&lt;br /&gt;
# Disconnect the converter from the Ethernet network, the RS485 bus, and all external power lines.&lt;br /&gt;
# While the device is fully unpowered, press and hold down the internal RES button using a paperclip.&lt;br /&gt;
# Keeping the RES button compressed, connect the USB cable from the PC to the USB-C port labeled USB on the MODIG converter.&lt;br /&gt;
&amp;lt;br&amp;gt;The status LEDs will remain completely dark, confirming that the internal bootloader has entered DFU mode. The host PC device manager will list a new hardware device:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_DFU mode.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Launch the STM32Cube Programmer software, change the interface connection type to USB, and click Connect.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_connect.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Click on Open File, browse to the directory containing the compiled firmware binary (e.g., Modig_3_0.elf), select it, and click Download. A confirmation dialog will pop up upon completion; click OK.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_open file.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Finally, click Disconnect within the utility and unplug the USB-C cable from the converter. Reconnecting the USB cable normally (without pressing the RES button) will cycle the power, and the MODIG converter will initialize running the newly flashed firmware.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Converter Configuration ====&lt;br /&gt;
All hardware and communication parameters of the MODIG RS485-ETHERNET PoE converter are managed using the embedded web configuration engine.&lt;br /&gt;
&amp;lt;br&amp;gt;Open a web browser on a PC or smartphone connected to the same Local Area Network (LAN) as the MODIG converter, and type the device&#039;s current IP address into the address bar. The active IP address can be found using the live serial diagnostic stream over USB (see the &amp;quot;USB Diagnostics Interface&amp;quot; section) or via the network router&#039;s DHCP lease table.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== User Authentication (Login) ====&lt;br /&gt;
Navigating to the correct IP address brings up the MODIG Web-UI dashboard challenge screen. Accessing the configuration backend requires entering the security password; the factory default value is “1234”.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_start.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Entering an invalid password will display an authentication failure alert.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_try again.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Main Menu Dashboard ====&lt;br /&gt;
A successful login session opens the core configuration panel. The bottom area of the layout displays foundational device info and real-time operational variables.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_main.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Once modifications to the operating parameters are complete, terminate the session by clicking the &#039;&#039;LOGOUT&#039;&#039; button. This explicit action writes the updated parameters into the device&#039;s non-volatile EEPROM configuration storage block.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
If a user fails to log out manually, the active Web-UI session will time out automatically after 5 minutes of inactivity. Any uncommitted parameter adjustments are saved to the non-volatile memory block after 1 minute of inactivity on the configuration portal.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Device Management Profile (DEVICE) ====&lt;br /&gt;
&#039;&#039;Device Name&#039;&#039; — A custom string identifier defined by the user to label the hardware unit. To change this value, input the string into the text box adjacent to the &#039;&#039;Device Name&#039;&#039; field and commit the modification by clicking the &#039;&#039;Apply&#039;&#039; button below.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Access Password Management&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The configuration portal is locked behind a password challenge. Authentication is bound to the requesting client&#039;s IP address and remains valid for a sliding window of 5 minutes. The countdown resets with each action taken within the Web-UI; 5 minutes of total idle time drops the token and forces an automatic session logout.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
To provision a new access token, input the desired value into the &#039;&#039;New Password&#039;&#039; and &#039;&#039;Repeat new password&#039;&#039; text boxes, then commit the change using the corresponding &#039;&#039;Apply&#039;&#039; button.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_device.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
A successful write update will show the following success confirmation message:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_new password_2.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Network Parameter Configuration (NETWORK) ====&lt;br /&gt;
The networking section handles the low-level identity profiles, including the hardware address (&#039;&#039;Device MAC&#039;&#039;) and the IP block topology. When the network automation flag is set to &#039;&#039;DHCP - ENABLE&#039;&#039;, the RS485-ETHERNET PoE converter requests an operational IP setup from the local network gateway or DHCP server. Conversely, flipping this setting to &#039;&#039;DISABLE&#039;&#039; switches the stack over to static configurations, requiring manual entries for the target IP address (&#039;&#039;Device static IP&#039;&#039;) and the corresponding subnet mask (&#039;&#039;Subnet mask&#039;&#039;).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_netsett.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Modifying the hardware MAC address requires a hard system reboot to reinitialize the network controller chip; this can be done by clicking the &#039;&#039;RESTART&#039;&#039; button. Updating static IP variables requires recycling the Ethernet interface stack, which can be done by clicking the &#039;&#039;RECONNECT&#039;&#039; button.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Executing either operation terminates the active browser session, logs the user out, and restarts the physical Ethernet interface. Depending on the newly committed settings, the web management panel will map onto a different network endpoint address.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Network Operational Profile (MODE) ====&lt;br /&gt;
The MODIG converter routes data payloads across the IP network using independent TCP and UDP protocol engines running concurrently.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The TCP engine operates under a strict Server-Client model, requiring a destination IP pointer indicating where serial payloads should be forwarded, paired with a target socket port number constrained within the user range of 1024 to 65535.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The UDP engine functions without maintaining fixed sessions or connection states. It requires a target destination IP pointer along with an unprivileged port assignment within the 1024 to 65535 range. Setting the destination address to the broadcast IP 255.255.255.255 switches the socket engine over to broad-network transmission (&#039;&#039;broadcasting&#039;&#039;), mirroring serial payloads to every active listening node on the local subnet.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_mode.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Serial Interface Tuning (RS485) ====&lt;br /&gt;
The adjustable physical parameters governing the integrated RS485 UART serial interface include:&lt;br /&gt;
* Communication Speed (&#039;&#039;Baudrate&#039;&#039;): Supports values from 200 bps up to 1,000,000 bps (1 Mbps)&lt;br /&gt;
* Serial Frame Size (&#039;&#039;Data bits&#039;&#039;): Configurable to 7 or 8 bits&lt;br /&gt;
* Bit Parity Verification (&#039;&#039;Parity&#039;&#039;): None, Even, or Odd&lt;br /&gt;
* Serial Framing End-Marker (&#039;&#039;Stop bits&#039;&#039;): 1, 1.5, or 2 bits&lt;br /&gt;
&lt;br /&gt;
The UART parameters configured inside the MODIG converter must match the serial properties of all peripheral target nodes attached to the RS485 line. Save new variables using the &#039;&#039;Apply&#039;&#039; button below the menu fields.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Data payloads routed over the physical RS485 bus are formatted into packets (frames), capped by an end-of-packet character sequence or a designated duration of line quietness. The converter packages serial data streams and drops them onto the network stack as unified blocks; frames missing proper completion markers are held in the serial buffer and will not pass onto the network layer.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The MODIG engine can monitor for frame completion by parsing for a programmable sequence of 1 to 4 characters (e.g., the keyword string “END”, a series of byte markers like “0xFF 0xFF 0xFF 0xFF”, or standard text line-end delimiters like CR LF — &#039;&#039;Carriage Return, Line Feed&#039;&#039;). The parsing sequence must be formatted as hexadecimal notation values corresponding to the standard ASCII map, prefixed by an &#039;x&#039; identifier; for example, the string “END” must be input as “x45 x4E x44”. Leaving this field empty disables character-based frame parsing.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The firmware can also evaluate frame boundaries by measuring silent periods on the physical bus. Bus quietness is calculated as equivalent character transmission windows relative to the active baud rate. Input a valid threshold scale from 0 to 255 inside the &#039;&#039;Packet complete idle characters&#039;&#039; field. Setting this value to 0 turns off the timer; a value of 1 instructs the engine to close the active buffer as soon as the line remains idle for the duration of a single character slot.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Both frame demarcation methods can run concurrently.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_rs485.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Embedded Testing Tools (TOOLS) ====&lt;br /&gt;
The web interface features basic testing utilites to inject raw test payloads directly onto the physical bus lines. The input field labeled &#039;&#039;Remote RS485 message&#039;&#039; transmits short text segments directly to the remote IP endpoints assigned within the network configuration panels (MODE) over open TCP or UDP sockets. Click &#039;&#039;Send&#039;&#039; to fire the payload.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The utility labeled &#039;&#039;Local RS485 message&#039;&#039; allows operators to transmit manual command strings from the active interface directly out of the local converter&#039;s RS485 transceiver. Click &#039;&#039;Send&#039;&#039; to execute the serial transmission.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_tools.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=MD12003_RS485_to_Ethernet_PoE_Converter_(EN)&amp;diff=576</id>
		<title>MD12003 RS485 to Ethernet PoE Converter (EN)</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=MD12003_RS485_to_Ethernet_PoE_Converter_(EN)&amp;diff=576"/>
		<updated>2026-06-15T18:51:02Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: /* Applications */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Description ====&lt;br /&gt;
&amp;lt;b&amp;gt;Industrial RS485 to Ethernet Bus Converter with PoE Support&amp;lt;br&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
The &#039;&#039;&#039;MODIG RS485-ETHERNET PoE&#039;&#039;&#039; is a versatile and easy-to-use converter that bridges an RS485 serial bus with an Ethernet network interface. The device is equipped with a Power over Ethernet (PoE) subsystem, allowing it to integrate seamlessly into modern network infrastructures where a single cable provides both DC power and local network connectivity. Its compact form factor combined with auxiliary power options (via USB-C or an external DC power supply) makes the MODIG converter highly adaptable across various industrial installation types.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET PoE.jpg|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Key Features and Specifications ====&lt;br /&gt;
* RS485 Interface: Terminals: A+, B-, GND, and TERM via Phoenix Contact MC 3.81 mm connector&lt;br /&gt;
* Termination Resistor: Integrated 120 Ω bus terminator (configurable)&lt;br /&gt;
* RS485 Circuit Protection: 1 kV galvanic isolation and integrated surge protection&lt;br /&gt;
* RS485 Baud Rate: Supports any custom value from 200 bps to 1,000,000 bps (1 Mbps)&lt;br /&gt;
* RS485 Serial Parameters: Data bits: 7/8; Parity: None/Even/Odd; Stop bits: 1/1.5/2; Half-Duplex&lt;br /&gt;
* Network Capacity: Supports up to 64 nodes on the RS485 bus&lt;br /&gt;
* Buffer Size: Maximum RS485 data frame length of 4 kB (4096 bytes)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Network Interface: RJ45 port, 10/100 Mbps Base-T Full Duplex&lt;br /&gt;
* Network Addressing: Configurable MAC address; IPv4 support with Static IP or DHCP assignment&lt;br /&gt;
* Operational Modes: TCP Server, TCP Client, Concurrent UDP, and UDP Broadcast&lt;br /&gt;
* Device Configuration: Password-protected, built-in Web-UI (HTTP)&lt;br /&gt;
* Diagnostics: Operational status readout via USB or Web-UI&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Main Input: Power over Ethernet (PoE) compliant with IEEE 802.3af/at Class 0 standard&lt;br /&gt;
* Auxiliary Inputs: Optional power delivery via USB-C (5 V / 0.2 A) or DC power jack (7–38 V DC / 0.2 A)&lt;br /&gt;
* Enclosure: Industrial rugged aluminum housing; Dimensions: 92 mm x 80 mm x 25 mm&lt;br /&gt;
* Operating Temperature Range: -20°C to +50°C&lt;br /&gt;
* Status Indicators: Diagnostic LEDs&lt;br /&gt;
* Firmware Upgrade: Supported via USB interface&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Kit Contents ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Product Code&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;MODIG RS485-ETHERNET PoE Converter&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*Fully assembled, programmed, and tested converter module&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;USB Cable&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*USB connectivity cable with USB-A to USB-C connectors&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Applications ====&lt;br /&gt;
The MODIG RS485-ETHERNET PoE converter enables bidirectional data routing between an RS485 bus and an Ethernet network. Communication can be established transparently between two MODIG RS485-ETHERNET PoE modules or integrated with any third-party device that supports standard TCP and/or UDP protocols. The native PoE power supply simplifies deployment in modern network systems.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Serial data frames from the RS485 bus are packed and converted into Ethernet TCP/UDP packets. For large payloads (exceeding 1.5 kB up to the 4 kB maximum), an internal fragmentation mechanism splits the payload into smaller network frames. At the receiving destination node, the original RS485 data format is fully reconstructed, ensuring completely transparent communication across the network layer.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Typical application diagram for the MODIG RS485-ETHERNET PoE converter:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET PoE main schem.png|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== RS485 Interface ====&lt;br /&gt;
The RS485 interface is accessible via a 4-pin Phoenix Contact MC 3.81 mm screw terminal block.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Pin Number&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Label&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;1&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;T&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Activates the internal 120 Ω line termination resistor. The resistor is engaged when pin T is shorted to pin A+.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;2&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;A+&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|RS485 differential line A (Non-inverting / Positive potential)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;3&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;B-&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|RS485 differential line B (Inverting / Negative potential)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;4&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;⏚&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Signal Ground (GND) for the RS485 bus&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_rs_con.jpg|none|450px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The MODIG converter can be connected to an RS485 bus containing up to 64 devices (including the converter itself). Devices must be daisy-chained to avoid stub lines or bus branches; any necessary drop lines must be kept as short as possible. 120 Ω impedance matching termination resistors should be placed at both physical ends of the bus line. &amp;lt;br&amp;gt;The MODIG converter includes an on-board termination resistor, which can be enabled by bridging terminal &#039;&#039;&#039;A+&#039;&#039;&#039; and terminal &#039;&#039;&#039;T&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The diagram below shows a simplified wiring schematic of the RS485 bus network, terminated with a standard 120 Ω resistor on one end, and the converter&#039;s internal termination on the other. It also illustrates the correct daisy-chain connection method versus incorrect topology:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_rs schem.jpg|none|950px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ETHERNET Interface and PoE Power Supply ==== &lt;br /&gt;
The MODIG converter features a 10/100 Mbps Ethernet port utilizing a standard RJ45 connector labeled ETH PoE. This allows the converter to join a Local Area Network (LAN). The &#039;&#039;&#039;LNK&#039;&#039;&#039; LED indicates a valid network link, while a flashing &#039;&#039;&#039;ACT&#039;&#039;&#039; LED signals active data traffic over the Ethernet interface.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Power can be delivered directly through the ETH PoE connector. The integrated PoE controller complies with IEEE 802.3af (Powered Devices Type-1) and IEEE 802.3at (Powered Devices Type-2) standards and is pre-configured as a Class 0 device, specifying a power footprint between 0.5 W and 13 W. PoE operations require a compatible network installation that includes standard PSE (Power Sourcing Equipment), such as a PoE network switch or midspan injector compliant with IEEE 802.3af/at. Active PoE power delivery is indicated by the solid green &#039;&#039;&#039;STA&#039;&#039;&#039; LED.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;border-color: red;background: #FFCCCC; color: black;&amp;quot;| WARNING: PoE installations carry operational voltages up to 60 VDC. All servicing and wiring on active networks must be performed with caution adhering to standard electrical safety protocols.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_eth conn.jpg|none|450px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== USB and DC Power Supply Options ==== &lt;br /&gt;
The MODIG converter can be powered via the USB-C port labeled USB. The external source must deliver 5 VDC ±10% with a minimum capacity of 0.2 A. This requirement is met by standard USB chargers, PC ports, or Single Board Computers (SBCs).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Alternatively, the device can be powered by applying a steady DC voltage to the barrel jack labeled DC 7-38V. This is a standard 2.1/5.5 mm power jack used by common commercial power adapters. The input voltage must fall within the range of 7 V to 38 VDC with a minimum current of 0.2 A, utilizing a center-positive pin configuration. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The MODIG converter supports simultaneous connections across all power inputs (PoE, USB, and DC). The internal power management system automatically locks onto the optimal voltage source.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_usb dc con.jpg|none|450px|thumb|center]]&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_zas_usb.jpg|400px|]]&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_2155.jpg|200px|]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Status LED Indicators ==== &lt;br /&gt;
The operation of the MODIG RS485-ETHERNET PoE converter is monitored using 3 diagnostic LEDs.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|LED Indicator&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Status Meaning&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;STA (&amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;green&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Blinking at a steady interval indicates the system logic is correctly powered, regardless of the active power source. A solid green light indicates a valid Ethernet network link and a successfully leased IP address.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;ETH (&amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;blue&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Blinking indicates active transmission or reception of TCP/UDP packets. A solid blue light indicates an active, established TCP Server-Client connection.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;RS (&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;red&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Blinking signals data transmission (TX) or reception (RX) activity on the RS485 serial bus.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_leds.jpg|none|450px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== RES Function Button ====&lt;br /&gt;
The hardware function button allows the user to trigger a full system reboot or perform a complete factory reset. To actuate the button, gently insert the end of a paperclip into the small pinhole labeled RES until a tactile click is felt.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A system reboot is triggered on an active device by holding the RES button down for approximately 5 seconds and then releasing it. During this action, the red RS LED will flash 4 times shortly followed by a single long illumination lasting 1 second. The button must be released during this long 1-second flash. The MODIG converter will then perform a clean hardware system restart.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A factory reset is executed on an active device by holding the RES button down for approximately 10 seconds before releasing it. This sequence triggers 4 short red flashes on the RS LED, a 1-second long flash, a 4-second delay, and finally a second long illumination. The button must be released during this second long flash. This action purges all custom configurations (wiping network setups, serial parameters, Web-UI access passwords, etc.) and restores the converter to its factory defaults.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_reset.jpg|none|450px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== USB Diagnostics Interface ====&lt;br /&gt;
The USB-C interface labeled USB serves as an auxiliary power input and doubles as a diagnostic bridge to track real-time runtime parameters. Connecting the converter to a PC registers a Virtual COM Port inside the host OS (e.g., listed as COM5).&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:MODIG_RS485-ETHERNET_PoE_COM.jpg|none|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Any standard serial terminal emulation software (e.g., PuTTY, BrayTerminal, etc.) can be opened to listen on the allocated Virtual COM Port. The port communication profile must be set to: 115200 bps, 8 data bits, No parity, 1 stop bit (115200, 8, N, 1). The terminal window will stream active diagnostic readouts from the MODIG converter:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_terminal.jpg|none|700px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
This feed provides a quick method to check the leased IP address assigned to the converter, along with critical parameters including DHCP lease status, MAC address, and active TCP/UDP configurations.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Firmware Upgrade Procedure ====&lt;br /&gt;
Flashing a new firmware version requires a Windows PC equipped with the official STM32Cube Programmer application, an available USB port, and a standard USB-A to USB-C link cable.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_programowanie.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The STM32Cube Programmer application can be obtained from the official STMicroelectronics portal:&lt;br /&gt;
https://www.st.com/en/development-tools/stm32cubeprog.html&lt;br /&gt;
&amp;lt;br&amp;gt;Select the appropriate installer for your desktop operating system, run the installation package, and follow the setup wizard.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_get soft.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
To put the MODIG converter into Device Firmware Upgrade (DFU) mode, follow these steps:&lt;br /&gt;
# Disconnect the converter from the Ethernet network, the RS485 bus, and all external power lines.&lt;br /&gt;
# While the device is fully unpowered, press and hold down the internal RES button using a paperclip.&lt;br /&gt;
# Keeping the RES button compressed, connect the USB cable from the PC to the USB-C port labeled USB on the MODIG converter.&lt;br /&gt;
&amp;lt;br&amp;gt;The status LEDs will remain completely dark, confirming that the internal bootloader has entered DFU mode. The host PC device manager will list a new hardware device:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_DFU mode.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Launch the STM32Cube Programmer software, change the interface connection type to USB, and click Connect.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_connect.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Click on Open File, browse to the directory containing the compiled firmware binary (e.g., Modig_3_0.elf), select it, and click Download. A confirmation dialog will pop up upon completion; click OK.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_open file.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Finally, click Disconnect within the utility and unplug the USB-C cable from the converter. Reconnecting the USB cable normally (without pressing the RES button) will cycle the power, and the MODIG converter will initialize running the newly flashed firmware.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Converter Configuration ====&lt;br /&gt;
All hardware and communication parameters of the MODIG RS485-ETHERNET PoE converter are managed using the embedded web configuration engine.&lt;br /&gt;
&amp;lt;br&amp;gt;Open a web browser on a PC or smartphone connected to the same Local Area Network (LAN) as the MODIG converter, and type the device&#039;s current IP address into the address bar. The active IP address can be found using the live serial diagnostic stream over USB (see the &amp;quot;USB Diagnostics Interface&amp;quot; section) or via the network router&#039;s DHCP lease table.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== User Authentication (Login) ====&lt;br /&gt;
Navigating to the correct IP address brings up the MODIG Web-UI dashboard challenge screen. Accessing the configuration backend requires entering the security password; the factory default value is “1234”.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_start.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Entering an invalid password will display an authentication failure alert.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_try again.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Main Menu Dashboard ====&lt;br /&gt;
A successful login session opens the core configuration panel. The bottom area of the layout displays foundational device info and real-time operational variables.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_main.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Once modifications to the operating parameters are complete, terminate the session by clicking the &#039;&#039;LOGOUT&#039;&#039; button. This explicit action writes the updated parameters into the device&#039;s non-volatile EEPROM configuration storage block.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
If a user fails to log out manually, the active Web-UI session will time out automatically after 5 minutes of inactivity. Any uncommitted parameter adjustments are saved to the non-volatile memory block after 1 minute of inactivity on the configuration portal.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Device Management Profile (DEVICE) ====&lt;br /&gt;
&#039;&#039;Device Name&#039;&#039; — A custom string identifier defined by the user to label the hardware unit. To change this value, input the string into the text box adjacent to the &#039;&#039;Device Name&#039;&#039; field and commit the modification by clicking the &#039;&#039;Apply&#039;&#039; button below.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Access Password Management&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The configuration portal is locked behind a password challenge. Authentication is bound to the requesting client&#039;s IP address and remains valid for a sliding window of 5 minutes. The countdown resets with each action taken within the Web-UI; 5 minutes of total idle time drops the token and forces an automatic session logout.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
To provision a new access token, input the desired value into the &#039;&#039;New Password&#039;&#039; and &#039;&#039;Repeat new password&#039;&#039; text boxes, then commit the change using the corresponding &#039;&#039;Apply&#039;&#039; button.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_device.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
A successful write update will show the following success confirmation message:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_new password_2.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Network Parameter Configuration (NETWORK) ====&lt;br /&gt;
The networking section handles the low-level identity profiles, including the hardware address (&#039;&#039;Device MAC&#039;&#039;) and the IP block topology. When the network automation flag is set to &#039;&#039;DHCP - ENABLE&#039;&#039;, the RS485-ETHERNET PoE converter requests an operational IP setup from the local network gateway or DHCP server. Conversely, flipping this setting to &#039;&#039;DISABLE&#039;&#039; switches the stack over to static configurations, requiring manual entries for the target IP address (&#039;&#039;Device static IP&#039;&#039;) and the corresponding subnet mask (&#039;&#039;Subnet mask&#039;&#039;).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_netsett.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Modifying the hardware MAC address requires a hard system reboot to reinitialize the network controller chip; this can be done by clicking the &#039;&#039;RESTART&#039;&#039; button. Updating static IP variables requires recycling the Ethernet interface stack, which can be done by clicking the &#039;&#039;RECONNECT&#039;&#039; button.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Executing either operation terminates the active browser session, logs the user out, and restarts the physical Ethernet interface. Depending on the newly committed settings, the web management panel will map onto a different network endpoint address.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Network Operational Profile (MODE) ====&lt;br /&gt;
The MODIG converter routes data payloads across the IP network using independent TCP and UDP protocol engines running concurrently.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The TCP engine operates under a strict Server-Client model, requiring a destination IP pointer indicating where serial payloads should be forwarded, paired with a target socket port number constrained within the user range of 1024 to 65535.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The UDP engine functions without maintaining fixed sessions or connection states. It requires a target destination IP pointer along with an unprivileged port assignment within the 1024 to 65535 range. Setting the destination address to the broadcast IP 255.255.255.255 switches the socket engine over to broad-network transmission (&#039;&#039;broadcasting&#039;&#039;), mirroring serial payloads to every active listening node on the local subnet.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_mode.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Serial Interface Tuning (RS485) ====&lt;br /&gt;
The adjustable physical parameters governing the integrated RS485 UART serial interface include:&lt;br /&gt;
* Communication Speed (&#039;&#039;Baudrate&#039;&#039;): Supports values from 200 bps up to 1,000,000 bps (1 Mbps)&lt;br /&gt;
* Serial Frame Size (&#039;&#039;Data bits&#039;&#039;): Configurable to 7 or 8 bits&lt;br /&gt;
* Bit Parity Verification (&#039;&#039;Parity&#039;&#039;): None, Even, or Odd&lt;br /&gt;
* Serial Framing End-Marker (&#039;&#039;Stop bits&#039;&#039;): 1, 1.5, or 2 bits&lt;br /&gt;
&lt;br /&gt;
The UART parameters configured inside the MODIG converter must match the serial properties of all peripheral target nodes attached to the RS485 line. Save new variables using the &#039;&#039;Apply&#039;&#039; button below the menu fields.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Data payloads routed over the physical RS485 bus are formatted into packets (frames), capped by an end-of-packet character sequence or a designated duration of line quietness. The converter packages serial data streams and drops them onto the network stack as unified blocks; frames missing proper completion markers are held in the serial buffer and will not pass onto the network layer.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The MODIG engine can monitor for frame completion by parsing for a programmable sequence of 1 to 4 characters (e.g., the keyword string “END”, a series of byte markers like “0xFF 0xFF 0xFF 0xFF”, or standard text line-end delimiters like CR LF — &#039;&#039;Carriage Return, Line Feed&#039;&#039;). The parsing sequence must be formatted as hexadecimal notation values corresponding to the standard ASCII map, prefixed by an &#039;x&#039; identifier; for example, the string “END” must be input as “x45 x4E x44”. Leaving this field empty disables character-based frame parsing.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The firmware can also evaluate frame boundaries by measuring silent periods on the physical bus. Bus quietness is calculated as equivalent character transmission windows relative to the active baud rate. Input a valid threshold scale from 0 to 255 inside the &#039;&#039;Packet complete idle characters&#039;&#039; field. Setting this value to 0 turns off the timer; a value of 1 instructs the engine to close the active buffer as soon as the line remains idle for the duration of a single character slot.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Both frame demarcation methods can run concurrently.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_rs485.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Embedded Testing Tools (TOOLS) ====&lt;br /&gt;
The web interface features basic testing utilites to inject raw test payloads directly onto the physical bus lines. The input field labeled &#039;&#039;Remote RS485 message&#039;&#039; transmits short text segments directly to the remote IP endpoints assigned within the network configuration panels (MODE) over open TCP or UDP sockets. Click &#039;&#039;Send&#039;&#039; to fire the payload.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The utility labeled &#039;&#039;Local RS485 message&#039;&#039; allows operators to transmit manual command strings from the active interface directly out of the local converter&#039;s RS485 transceiver. Click &#039;&#039;Send&#039;&#039; to execute the serial transmission.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_tools.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=MD12003_Konwerter_RS485-ETHERNET_PoE_(PL)&amp;diff=575</id>
		<title>MD12003 Konwerter RS485-ETHERNET PoE (PL)</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=MD12003_Konwerter_RS485-ETHERNET_PoE_(PL)&amp;diff=575"/>
		<updated>2026-06-15T18:50:56Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: /* Zastosowanie */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Opis ====&lt;br /&gt;
&amp;lt;b&amp;gt;Przemysłowy konwerter magistrali RS485 na Ethernet z zasilaniem PoE&amp;lt;br&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
Konwerter &#039;&#039;&#039;MODIG RS485-ETHERNET PoE&#039;&#039;&#039; to wielofunkcyjny i łatwy w obsłudze konwerter magistrali RS485, na interfejs sieciowy Ethernet. Konwerter jest wyposażony w system zasilania PoE - Power Over Ethernet i może być dołączony do nowoczesnej infrastruktury sieciowej, która za pomocą jednego przewodu zapewnia zasilanie i dostęp do sieci komputerowej. Zwarta konstrukcja i opcjonalne zasilanie z interfejsu USB lub z zasilacza napięcia stałego umożliwiają zastosowanie konwertera MODIG w wielu różnych instalacjach.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET PoE.jpg|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Podstawowe cechy i parametry ====&lt;br /&gt;
* Interfejs RS485: sygnały A+, B-, GND i TERM oraz złącze typu Phoenix MC 3,81&lt;br /&gt;
* Konfigurowany terminator magistrali: rezystor 120 Ω&lt;br /&gt;
* Zabezpieczenie RS485: separacja galwaniczna 1 kV, ochrona przeciwprzepięciowa&lt;br /&gt;
* Prędkość komunikacji RS485: dowolna wartość z zakresu 200 bps… 1 Mbps&lt;br /&gt;
* Parametry RS485: Data bits: 7/8; Parity: None/Even/Odd; Stop bits: 1/1,5/2, Half-Duplex&lt;br /&gt;
* Maksymalna liczba urządzeń (nodes) dołączonych do RS485: 64&lt;br /&gt;
* Maksymalna długość jednej ramki danych RS485: 4 kB (4096 znaków)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Interfejs sieciowy: RJ45, Ethernet 10/100 Mbps Full Duplex&lt;br /&gt;
* Adres MAC: konfigurowany&lt;br /&gt;
* Adres IP: IPv4, statyczny lub DHCP&lt;br /&gt;
* Tryby pracy: Serwer TCP/Klient TCP; równocześnie UDP lub UDP broadcast&lt;br /&gt;
* Konfiguracja: strona WWW, dostęp zabezpieczony hasłem&lt;br /&gt;
* Parametry pracy: odczyt poprzez USB lub WWW&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Układ zasilania PoE, kompatybilny ze standardem IEEE 802.3af/at Class 0&lt;br /&gt;
* Opcjonalne zasilanie: poprzez złącze USB-C: 5 V/0,2 A lub z zasilacza 7…38 V DC/0,2 A&lt;br /&gt;
* Aluminiowa obudowa o wymiarach: 92 mm x 80 mm x 25 mm&lt;br /&gt;
* Zakres temperatur pracy: -20°C do +50°C&lt;br /&gt;
* Sygnalizacja stanu: diody LED&lt;br /&gt;
* Aktualizacja oprogramowania (firmware): poprzez interfejs USB&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Wyposażenie standardowe ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Kod&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Opis&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;Konwerter MODIG RS485-ETHERNET PoE&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*Zmontowany i uruchomiony moduł&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;Przewód USB&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*Przewód USB z wtykami USB-A, USB-C&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Zastosowanie ====&lt;br /&gt;
Konwerter MODIG RS485-ETHERNET PoE umożliwia dwukierunkowe przesyłanie danych z interfejsu RS485 do sieci Ethernet. Komunikacja może odbywać się pomiędzy urządzeniami MODIG RS485-ETHERNET PoE lub z udziałem innych urządzeń obsługujących protokoły TCP i/lub UDP. System zasilania PoE ułatwia instalację konwertera w nowoczesnej infrastrukturze sieciowej.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Ramki danych RS485 są konwertowane na ramki Ethernet TCP/UDP. W przypadku ramek z dużą ilością danych (ponad 1,5 kB, max 4 kB), stosowany jest mechanizm fragmentacji - podział na ramki o mniejszym rozmiarze. W urządzeniu docelowym ramki danych RS485 są odtwarzane w taki sposób, aby transmisja była całkowicie transparentna.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Typowa aplikacja konwertera MODIG RS485-ETHERNET PoE:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET PoE main schem.png|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Interfejs RS485 ====&lt;br /&gt;
Interfejs RS485 jest dostępny przez złącze typu Phoenix Contact MC 3,81 mm, które zawiera 4 styki.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Numer styku&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Oznaczenie&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Funkcja&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;1&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;T&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Aktywowanie wewnętrznego rezystora terminującego 120 Ω.&lt;br /&gt;
Rezystor jest aktywny, gdy styk T jest połączony ze stykiem A+&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;2&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;A+&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Linia A magistrali RS485 (potencjał dodatni)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;3&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;B-&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Linia B magistrali RS485 (potencjał ujemny)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;4&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;⏚&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Masa GND magistrali RS485&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_rs_con.jpg|none|450px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Konwerter MODIG może być dołączony do magistrali RS485, która łączy maksymalnie 64 urządzenia (wliczając konwerter). Każde urządzenie powinno być dołączone w taki sposób, aby nie powstawały węzły/rozgałęzienia magistrali - ewentualne połączenia powinny być jak najkrótsze. Na obu końcach magistrali warto dołączyć rezystory terminujące 120 Ω. &amp;lt;br&amp;gt;Konwerter MODIG ma zintegrowany taki rezystor, ale żeby był aktywny należy połączyć ze sobą styki &#039;&#039;&#039;A+&#039;&#039;&#039; oraz &#039;&#039;&#039;T&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Na rysunku pokazano uproszczony schemat magistrali RS485, z jednej strony zakończonej rezystorem terminującym 120 Ω, a z drugiej strony rezystorem terminującym zintegrowanym w konwerterze. Ponadto pokazano właściwe, oraz błędne podłączenie urządzeń do magistrali&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_rs schem.jpg|none|950px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Interfejs ETHERNET i zasilanie PoE==== &lt;br /&gt;
Konwerter MODIG RS485-ETHERNET PoE  jest wyposażony w interfejs Ethernet 10/100 Mbps z klasycznym złączem typu RJ45 oznaczonym jako ETH PoE. Poprzez interfejs Ethernet konwerter może być podłączony do lokalnej sieci komputerowej - LAN. Kontrolka &#039;&#039;&#039;LNK&#039;&#039;&#039; sygnalizuje prawidłowe podłączenie do sieci Ethernet, miganie kontrolki &#039;&#039;&#039;ACT&#039;&#039;&#039; sygnalizuje przesyłanie danych poprzez interfejs Ethernet.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Poprzez złącze ETH PoE może być dostarczane zasilanie do konwertera. Zastosowany kontroler zasilania PoE jest kompatybilny ze standardami IEEE 802.3af - Powered Devices Type-1 oraz IEEE 802.3at - Powered Devices Type-2 i jest skonfigurowany do pracy w klasie 0 (Class 0), która określa pobór mocy urządzenia w zakresie 0,5...13 W. Zasilanie metodą PoE jest możliwe tylko w kompatybilnej instalacji, zawierającej urządzenie PSE (Power Sourcing Equipments) spełniające standard IEEE 802.3af/at np. router PoE. Prawidłowe działanie zasilania PoE będzie sygnalizowane świeceniem kontrolki &#039;&#039;&#039;STA&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;border-color: red;background: #FFCCCC; color: black;&amp;quot;| W instalacji PoE występują napięcia o wartościach sięgających aż 60 V. Wszelkie czynności wykonywane w takich instalacjach należy wykonywać ze szczególną ostrożnością i z zachowaniem zasad bezpieczeństwa.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_eth conn.jpg|none|450px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Zasilanie USB oraz DC==== &lt;br /&gt;
Zasilanie konwertera MODIG może być doprowadzane poprzez złącze USB-C oznaczone USB. Źródło zasilania musi mieć napięcie o wartości 5 V ±10% i prąd co najmniej 0,2 A. Odpowiednie parametry mają np. ładowarki USB, a także interfejsy USB komputerów PC lub komputerów SBC.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Inny sposobem zasilania konwertera jest doprowadzenie napięcia stałego do złącza oznaczonego DC 7-38V. Jest to klasyczne złącze 2.1/5.5 stosowane w wielu zasilaczach. Zgodnie z oznaczeniem, doprowadzone napięcie musi mieścić się w przedziale 7…38 V DC, min 0,2 A prądu a biegun dodatni musi być w środkowym styku złącza. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Konwerter  MODIG może być zasilany równocześnie ze wszystkich źródeł - PoE, USB, DC. System zasilania automatycznie wybierze optymalne źródło zasilania.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_usb dc con.jpg|none|450px|thumb|center]]&lt;br /&gt;
&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_zas_usb.jpg|400px|]]&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_2155.jpg|200px|]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Kontrolki sygnalizacyjne==== &lt;br /&gt;
Działanie konwertera MODIG RS485-ETHERNET PoE jest sygnalizowane za pomocą 3 kontrolek LED.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Kontrolka&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Znaczenie&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;STA&lt;br /&gt;
(&amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;zielony&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Cykliczne miganie kontrolki LED sygnalizuje prawidłowe zasilanie systemu, niezależnie od źródła zasilania.&lt;br /&gt;
Świecenie kontrolki LED oznacza prawidłowe podłączenie do sieci Ethernet i uzyskanie adresu IP.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;ETH&lt;br /&gt;
(&amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;niebieski&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Miganie kontrolki LED sygnalizuje wysyłanie/odbieranie ramek TCP/UDP.&lt;br /&gt;
Świecenie kontrolki LED oznacza aktywne połączenie TCP Serwer-Klient.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;RS&lt;br /&gt;
(&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;czerwony&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Miganie kontrolki LED sygnalizuje wysyłanie/odbieranie danych poprzez magistralę RS485.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_leds.jpg|none|450px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Przycisk funkcyjny RES ====&lt;br /&gt;
Przycisk funkcyjny pozwala wykonać restart urządzenia lub przywrócenie ustawień fabrycznych. Aby aktywować przycisk należy wsunąć końcówkę spinacza biurowego w otwór oznaczony RES, aż do lekko wyczuwalnego kliknięcia.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Restart urządzenia jest wykonywany przy włączonym urządzeniu, gdy przycisk RES jest aktywny (wciśnięty) przez ok. 5 sekund, a następnie zostaje zwolniony. Towarzyszy temu miganie czerwonej kontrolki LED RS - 4 krótkie mignięcia i ostatnie długie świecenie, trwające ok 1 s. Przycisk należy zwolnić w trakcie długiego świecenia kontrolki LED. W efekcie konwerter MODIG wykona całkowity restart systemu.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Przywrócenie ustawień fabrycznych jest wykonywane przy włączonym urządzeniu, gdy przycisk RES jest aktywny (wciśnięty) przez ok. 10 sekund, a następnie zostaje zwolniony. Towarzyszy temu miganie czerwonej kontrolki LED RS - 4 krótkie mignięcia, następnie długie świecenie, trwające ok 1 s, następnie ok. 4 s przerwy i ponowne długie świecenie. Przycisk należy zwolnić w trakcie drugiego długiego świecenia kontrolki LED. W efekcie wszystkie ustawienia (konfiguracja sieci, parametry RS485, a także hasło do strony konfiguracyjnej, itd) zostaną przywrócone do stanu fabrycznego.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_reset.jpg|none|450px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Interfejs USB ====&lt;br /&gt;
Złącze USB-C oznaczone USB pozwala doprowadzić zasilanie do konwertera MODIG, ale również pozwala monitorować parametry pracy konwertera. Poprzez złącze USB można podłączyć konwerter do komputera PC. W systemie operacyjnym pojawi się nowe urządzenie - port szeregowy USB oznaczony np. jako COM5.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:MODIG_RS485-ETHERNET_PoE_COM.jpg|none|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Dowolnym programem typu Terminal (np. Putty, BrayTerminal itd.) można podłączyć się do portu szeregowego USB utworzonego przez konwerter. Parametry komunikacji powinny być następujące: 115200, 8, N, 1. W oknie terminala będą wyświetlane dane przesyłane z konwertera MODIG:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_terminal.jpg|none|700px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Szczególnie ważną informacją może być adres IP, który został przydzielony dla konwertera, ale są tam także inne ważne informacje, m.in.: status DHCP, MAC, ustawienia TCP i UDP).&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Aktualizacja oprogramowania układowego (firmware) ====&lt;br /&gt;
Wykonanie aktualizacji oprogramowania układowego (firmware) wymaga komputera PC z zainstalowaną aplikacją STM32Cube Programmer oraz wolnym interfejsem USB i przewodu USB, którym można podłączyć konwerter MODIG z tym komputerem.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_programowanie.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Aplikację STM32Cube Programmer można pobrać ze strony:&lt;br /&gt;
https://www.st.com/en/development-tools/stm32cubeprog.html&lt;br /&gt;
&amp;lt;br&amp;gt;Należy wybrać wersję dla systemu operacyjnego zainstalowanego na komputerze PC i postępować zgodnie z instrukcjami na stronie. Po pobraniu pliku instalacyjnego należy aplikację zainstalować.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_get soft.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Konwerter MODIG należy wprowadzić w tryb aktualizacji oprogramowania układowego. W tym celu:&lt;br /&gt;
# Odłączamy konwerter od sieci Ethernet, od magistrali RS485 oraz od zasilania&lt;br /&gt;
# Przy wyłączonym konwerterze aktywujemy przycisk RES (za pomocą spinacza biurowego)&lt;br /&gt;
# Trzymając aktywny przycisk RES podłączamy przewód USB z komputera do konwertera MODIG (złącze USB-C oznaczone USB).&lt;br /&gt;
&amp;lt;br&amp;gt;Kontrolki LED będą wygaszone, co oznacza, że konwerter jest gotowy do aktualizacji oprogramowania. W systemie operacyjnym komputera PC powinno pojawić się urządzenie:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_DFU mode.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Uruchamiamy aplikację STM32Cube Programmer, wybieramy rodzaj połączenia USB i klikamy Connect.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_connect.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Wybieramy Open file i wskazujemy plik z nowym oprogramowaniem np. Modig_3_0.elf i klikamy Download. Po chwili pojawi się podsumowanie, gdzie klikamy OK. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_open file.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Na zakończenie klikamy Disconnect i odłączamy przewód USB od konwertera. Po ponownym podłączeniu przewodu USB (bez aktywowania przycisku RES) konwerter MODIG uruchomi się z nowym oprogramowaniem.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Konfiguracja konwertera ====&lt;br /&gt;
Wszystkie parametry konwertera MODIG RS485-ETHERNET PoE są ustawiane poprzez stronę internetową. &lt;br /&gt;
&amp;lt;br&amp;gt;W przeglądarce internetowej komputera lub smartfona podłączonego do sieci LAN (tej samej, w której znajduje się konwerter MODIG RS485-ETHERNET PoE), należy wpisać adres IP konwertera. Adres IP, który został przypisany do konwertera można sprawdzić poprzez odczytanie informacji wysyłanych przez interfejs USB (rozdział “Interfejs USB”) lub z poziomu urządzenia zarządzającego naszą siecią LAN np. routera.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Logowanie ====&lt;br /&gt;
Po wpisaniu właściwego IP zostanie wyświetlona strona konwertera MODIG. Pierwszym etapem jest wpisanie hasła dostępu do strony ustawień, domyślnie jest to “1234”.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_start.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Wpisanie niewłaściwego hasła zostanie odpowiednio zasygnalizowane.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_try again.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Menu główne ====&lt;br /&gt;
Po prawidłowym zalogowaniu zostanie wyświetlona strona główna menu ustawień. W dolnej części strony znajdują się podstawowe informacje o urządzeniu oraz parametry najważniejszych ustawień.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_main.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Po zakończeniu konfigurowania parametrów pracy należy wylogować się ze strony konfiguracyjnej poprzez przycisk &#039;&#039;LOGOUT&#039;&#039;. Dzięki temu ustawienia zostaną zapisane do nieulotnej pamięci konfiguracyjnej urządzenia.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Jeśli użytkownik nie wykona wylogowania, to nastąpi ono automatycznie po 5 minutach bezczynności na stronie konfiguracyjnej. Natomiast ustawienia konfiguracyjne zostaną zapisane do nieulotnej pamięci konfiguracyjnej urządzenia po 1 minucie bezczynności na stronie konfiguracyjnej.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Ustawienia urządzenia (DEVICE) ====&lt;br /&gt;
&#039;&#039;Device Name&#039;&#039; - nazwa, którą użytkownik może ustawić dla danego urządzenia. Aby zmienić nazwę należy wpisać nową nazwę w polu tekstowym przy etykiecie &#039;&#039;Device Name&#039;&#039; i potwierdzić przyciskiem &#039;&#039;Apply&#039;&#039; umieszczonym pod polem tekstowym.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Hasło dostępu do strony ustawień&lt;br /&gt;
Dostęp do strony ustawień jest możliwy po wpisaniu prawidłowego hasła. Dostęp jest przydzielany na podstawie adresu IP, z jakiego odbywa się logowanie i jest przydzielany na czas 5 minut. Czas jest odnawiany po każdej akcji wykonanej na stronie, po 5 minutach bezczynności następuje automatyczne wylogowanie.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Aby ustawić nowe hasło należy wpisać je w pola tekstowe oznaczone jako &#039;&#039;New Password&#039;&#039; oraz &#039;&#039;Repeat new password&#039;&#039; i zatwierdzić przyciskiem &#039;&#039;Apply&#039;&#039; umieszczonym pod polami tekstowymi.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_device.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Jeśli wszystko zostanie wykonane prawidłowo zobaczymy taki komunikat&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_new password_2.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Ustawienia sieciowe (NETWORK) ====&lt;br /&gt;
Grupa ustawień sieciowych obejmuje ustawienie adresu MAC (&#039;&#039;Device MAC&#039;&#039;) i adresu IP. Jeśli funkcja automatycznego przydzielania adresu IP jest aktywna (&#039;&#039;DHCP - ENABLE&#039;&#039;) konwerter RS485-ETHERNET PoE otrzyma adres IP z urządzenia zarządzającego naszą siecią LAN np. routera. Natomiast, jeśli DHCP zostanie wyłączone (&#039;&#039;DISABLE&#039;&#039;), to konwerter RS485-ETHERNET PoE wymaga ustawienia statycznego adresu IP (&#039;&#039;Device static IP&#039;&#039;) oraz maski sieciowej (&#039;&#039;Subnet mask&#039;&#039;)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_netsett.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Zmiana adresu MAC wymaga wykonania restartu urządzenia. Można tego dokonać za pomocą przycisku RESTART. Zmiana ustawień adresu IP wymaga ponownego zainicjowania interfejsu Ethernet. Można tego dokonać za pomocą przycisku &#039;&#039;RECONNECT&#039;&#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
W obu przypadkach urządzenie wyloguje użytkownika i wykona ponowne zainicjowanie interfejsu Ethernet. W zależności od ustawień, strona konfiguracyjna konwertera może być dostępna pod innym adresem IP, niż wcześniej.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Ustawienia trybu pracy (MODE) ====&lt;br /&gt;
Konwerter MODIG przesyła dane poprzez sieć Ethernet z użyciem protokołów TCP oraz UDP, które działają niezależnie od siebie.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Protokół TCP działa w konfiguracji Serwer-Klient i wymaga ustawienia adresu IP urządzenia do którego będzie skierowana komunikacja, oraz numeru portu komunikacyjnego, który powinien mieć wartość zakresu 1024…65535.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Protokół UDP nie wymaga nawiązywania i utrzymywania stałego połączenia między określonym odbiorcą. Wymaga ustawienia adresu IP urządzenia do którego będzie skierowana komunikacja, oraz numeru portu komunikacyjnego, który powinien mieć wartość zakresu 1024…65535. Jeśli adres IP zostanie ustawiony na 255.255.255.255 komunikacja będzie realizowana w trybie rozgłoszenioym (&#039;&#039;broadcasting&#039;&#039;), czyli komunikacja będzie dostępna dla wszystkich urządzeń w sieci LAN.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_mode.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Ustawienia interfejsu RS485 (RS485) ====&lt;br /&gt;
Parametry interfejsu RS485, które można ustawić w konwerterze MODIG to:&lt;br /&gt;
*prędkość komunikacji (&#039;&#039;Baudrate&#039;&#039;): dowolna wartość z zakresu 200…1000000 bps,&lt;br /&gt;
*ilość bitów danych w każdym znaku (&#039;&#039;Data bits&#039;&#039;): 7 lub 8 bitów,&lt;br /&gt;
*kontrola parzystości (&#039;&#039;Parity&#039;&#039;): None, Even, Odd,&lt;br /&gt;
*bity znacznika stop (&#039;&#039;Stop bits&#039;&#039;): 1; 1,5; 2,&lt;br /&gt;
Parametry interfejsu RS485 konwertera MODIG, powinny być ustawione tak samo, jak parametry pozostałych urządzeń dołączonych do interfejsu RS485. Nowe ustawienia należy zatwierdzić przyciskiem &#039;&#039;Apply&#039;&#039; umieszczonym pod polami ustawień.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Dane przesyłane poprzez magistralę RS485 mają postać ramek (pakietów), które zwykle są zakończone specyficzną kombinacją znaków lub następuje po nich określony czas bezczynności na magistrali. Dane z magistrali RS485 są przesyłane przez interfejs Ethernet jako całe ramki. Ramka, która nie zostanie odpowiednio zakończona nie zostanie przesłana przez interfejs Ethernet.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Konwerter MODIG może wykrywać koniec ramki jako sekwencję 1…4 dowolnych znaków, np. słowo “END” lub znaki “0xFF 0xFF 0xFF 0xFF” lub sekwencja CR LF (&#039;&#039;Carriage Return, Line Feed&#039;&#039;) stosowana przy zapisywaniu tekstu. Sekwencję zakończenia ramki należy wpisać w pole tekstowe przy etykiecie &#039;&#039;Packet complete characters&#039;&#039;. Znaki muszą być zapisane w formacie hex, czyli każdy znak musi być zapisany w postaci jego wartości hexadecymalnej (zgodnie z ASCII), poprzedzonej literą x - sekwencję “END” należy zapisać jako “x45 x4E x44”. Jeśli pole pozostanie puste to funkcja będzie nieaktywna.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Konwerter MODIG może również wykrywać koniec ramki jako określony czas bezczynności na magistrali. Czas bezczynności jest mierzony jako liczba znaków, które mogłyby być przesłane w tym czasie. W polu przy etykiecie Packet complete idle characters należy wpisać wartość z zakresu 0…255. Funkcja będzie nieaktywna, gdy wartość będzie wynosiła 0, wartość 1 oznacza, że ramka zostanie uznana za zakończoną, gdy czas bezczynności na magistrali będzie odpowiadał czasowi przesłania jednego dowolnego znaku, itd.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Obie metody wykrywania końca ramki mogą być jednocześnie aktywne.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_rs485.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Narzędzia dodatkowe (TOOLS) ====&lt;br /&gt;
Z poziomu strony konfiguracyjnej możliwe jest wysłanie prostych ramek poprzez interfejs RS485. Pole tekstowe oznaczone jako &#039;&#039;Remote RS485 message&#039;&#039; pozwala na wysłanie krótkiej treści do urządzenia, którego adres IP jest określony w ustawieniach trybu pracy (MODE), w sekcjach TCP i UDP. Wysłanie treści należy potwierdzić przyciskiem &#039;&#039;Send&#039;&#039; umieszczonym pod polem tekstowym.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Pole tekstowe oznaczone jako &#039;&#039;Local RS485 message&#039;&#039; pozwala na wysłanie krótkiej treści z urządzenia, którego strona konfiguracyjna jest właśnie widoczna w przeglądarce, poprzez interfejs RS485. Wysłanie treści należy potwierdzić przyciskiem &#039;&#039;Send&#039;&#039; umieszczonym pod polem tekstowym.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_tools.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=File:RS485-ETHERNET_PoE_main_schem.png&amp;diff=574</id>
		<title>File:RS485-ETHERNET PoE main schem.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=File:RS485-ETHERNET_PoE_main_schem.png&amp;diff=574"/>
		<updated>2026-06-15T18:50:09Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=File:RS485-ETH_Mini_application.png&amp;diff=573</id>
		<title>File:RS485-ETH Mini application.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=File:RS485-ETH_Mini_application.png&amp;diff=573"/>
		<updated>2026-06-15T18:46:41Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: Grzegorzbecker uploaded a new version of File:RS485-ETH Mini application.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=File:RS485-ETH_Mini_connection.png&amp;diff=572</id>
		<title>File:RS485-ETH Mini connection.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=File:RS485-ETH_Mini_connection.png&amp;diff=572"/>
		<updated>2026-06-15T18:45:28Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: Grzegorzbecker uploaded a new version of File:RS485-ETH Mini connection.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=MD12001_RS485_to_Ethernet_Mini_Converter_(EN)&amp;diff=571</id>
		<title>MD12001 RS485 to Ethernet Mini Converter (EN)</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=MD12001_RS485_to_Ethernet_Mini_Converter_(EN)&amp;diff=571"/>
		<updated>2026-06-15T18:43:04Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: /* USB Diagnostics Interface */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Description ====&lt;br /&gt;
&amp;lt;b&amp;gt;Miniature Industrial RS485 to Ethernet Bus Converter&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The &amp;lt;b&amp;gt;MODIG RS485-ETHERNET Mini&amp;lt;/b&amp;gt; is a versatile and user-friendly bus converter that bridges an RS485 serial network with an Ethernet network interface. An additional USB-C port is provided to power the device and enables real-time monitoring of its operational runtime parameters. Its ultra-compact form factor and ergonomic enclosure allow it to be deployed either as a permanent field installation component or used as a highly portable diagnostic tool.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Key Features and Specifications ====&lt;br /&gt;
* RS485 Interface: Terminals: A+, B-, GND, and TERM via Phoenix Contact MC 3.81 mm connector&lt;br /&gt;
* Termination Resistor: Integrated 120 Ω bus terminator (configurable)&lt;br /&gt;
* RS485 Circuit Protection: 1 kV galvanic isolation and integrated surge protection&lt;br /&gt;
* RS485 Baud Rate: Supports any custom value from 200 bps to 1,000,000 bps (1 Mbps)&lt;br /&gt;
* RS485 Serial Parameters: Data bits: 7/8; Parity: None/Even/Odd; Stop bits: 1/1.5/2; Half-Duplex&lt;br /&gt;
* Network Capacity: Supports up to 64 nodes on the RS485 bus&lt;br /&gt;
* Buffer Size: Maximum RS485 data frame length of 4 kB (4096 bytes)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Network Interface: RJ45 port, 10/100 Mbps Base-T Ethernet&lt;br /&gt;
* Network Addressing: Configurable MAC address; IPv4 support with Static IP or DHCP assignment&lt;br /&gt;
* Operational Modes: TCP Server, TCP Client, Concurrent UDP, and UDP Broadcast&lt;br /&gt;
* Device Configuration: Password-protected, built-in Web-UI (HTTP)&lt;br /&gt;
* Diagnostics: Operational status readout via USB or Web-UI&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Power Supply: 5 VDC @ 0.2 A via USB-C interface port&lt;br /&gt;
* Dimensions: 80 x 47 x 24 mm&lt;br /&gt;
* Operating Temperature Range: -20°C to +50°C&lt;br /&gt;
* Status Indicators: Diagnostic LEDs&lt;br /&gt;
* Firmware Upgrade: Supported via USB interface&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Kit Contents ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Product Code&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;MODIG RS485-ETHERNET Mini Converter&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*Fully assembled, programmed, and tested converter module&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;USB Cable&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*USB connectivity cable with USB-A to USB-C connectors&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Applications ====&lt;br /&gt;
The converter enables bidirectional data routing between an RS485 serial bus and an Ethernet network. Communication can be established transparently between two MODIG RS485-ETHERNET Mini modules or integrated with any third-party field device supporting standard TCP and/or UDP protocols.&amp;lt;br&amp;gt;&lt;br /&gt;
Serial data frames from the RS485 bus are packed and converted into Ethernet TCP/UDP packets. For large payloads (exceeding 1.5 kB up to the 4 kB maximum), an internal fragmentation mechanism splits the payload into smaller network frames. At the receiving destination node, the original RS485 data format is fully reconstructed, ensuring completely transparent communication across the network layer.&amp;lt;br&amp;gt;&lt;br /&gt;
Typical application layout for the MODIG RS485-ETHERNET Mini converter:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_application.png|none|950px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== RS485 Interface ====&lt;br /&gt;
The physical RS485 interface utilizes a 4-pin Phoenix Contact MC 3.81 mm screw terminal block.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Pin Number&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Label&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|1&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| &#039;&#039;&#039;T&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| &lt;br /&gt;
Activates the internal 120 Ω line termination resistor. &amp;lt;br&amp;gt; The resistor is engaged when terminal &#039;&#039;&#039;T&#039;&#039;&#039; is shorted to terminal &#039;&#039;&#039;A+&#039;&#039;&#039;.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|2&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| &#039;&#039;&#039;A+&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| RS485 differential line A (Non-inverting / Positive potential)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|3&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| &#039;&#039;&#039;B-&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| RS485 differential line B (Inverting / Negative potential)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|4&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| &#039;&#039;&#039;⏚&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Signal Ground (GND) for the RS485 bus&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_RS485.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The MODIG converter can be connected to an RS485 bus containing up to 64 devices (including the converter itself). Devices must be daisy-chained to avoid stub lines or bus branches; any necessary drop lines must be kept as short as possible. 120 Ω impedance matching termination resistors should be placed at both physical ends of the bus line. The MODIG converter includes an on-board termination resistor, which can be enabled by bridging terminal &#039;&#039;&#039;A+&#039;&#039;&#039; and terminal &#039;&#039;&#039;T&#039;&#039;&#039;.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The diagram below shows a simplified wiring schematic of the RS485 bus network, terminated with a standard 120 Ω resistor on one end, and the converter&#039;s internal termination on the other. It also illustrates the correct daisy-chain connection method versus incorrect topology.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_connection.png|none|1000px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Power Supply ====&lt;br /&gt;
Power to the MODIG converter is delivered via the USB-C port labeled &#039;&#039;&#039;USB&amp;amp;PWR&#039;&#039;&#039;. The external source must deliver 5 VDC ±10% with a minimum capacity of 0.2 A. This requirement is met by standard USB chargers, PC interface ports, or Single Board Computers (SBCs).&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_PWR.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ETHERNET Interface ====&lt;br /&gt;
The MODIG converter is equipped with a 10/100 Mbps Ethernet subsystem utilizing a standard RJ45 connector interface. This interface allows the converter to join a Local Area Network (LAN).&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The solid &#039;&#039;&#039;LNK&#039;&#039;&#039; LED indicates a valid physical network connection, while a flashing &#039;&#039;&#039;ACT&#039;&#039;&#039; LED signals active data traffic over the Ethernet network layer.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_LAN.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Status LED Indicators ====&lt;br /&gt;
The operation of the MODIG converter is monitored using 3 diagnostic LEDs.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|LED Indicator&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Status Meaning&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;&amp;lt;b&amp;gt;STA&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Blinking at a steady interval indicates the system logic is operating correctly.&lt;br /&gt;
A solid light indicates a valid Ethernet network link and a successfully leased IP address.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;&amp;lt;b&amp;gt;ETH&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Blinking indicates active transmission or reception of TCP/UDP packets.&lt;br /&gt;
A solid light indicates an active, established TCP Server-Client connection.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;&amp;lt;b&amp;gt;RS&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Blinking signals data transmission (TX) or reception (RX) activity on the RS485 serial bus.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_LAN.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== RES Function Button ====&lt;br /&gt;
The hardware function button allows the user to trigger a full system reboot or perform a complete factory reset. To actuate the button, gently insert a pin or the end of a paperclip into the small pinhole labeled &#039;&#039;&#039;RES&#039;&#039;&#039; until a tactile resistance is felt.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A system reboot is triggered on an active device by holding the &#039;&#039;&#039;RES&#039;&#039;&#039; button down for approximately 5 seconds and then releasing it. During this action, the red RS LED will flash 4 times shortly followed by a single long illumination lasting 1 second. The button must be released during this long 1-second flash. The MODIG converter will then perform a clean hardware system restart.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A factory reset is executed on an active device by holding the &#039;&#039;&#039;RES&#039;&#039;&#039; button down for approximately 10 seconds before releasing it. This sequence triggers 4 short red flashes on the RS LED, a 1-second long flash, a 4-second delay, and finally a second long illumination. The button must be released during this second long flash. This action purges all custom configurations (wiping network setups, serial parameters, Web-UI access passwords, etc.) and restores the converter to its factory defaults.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_RES.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== USB Diagnostics Interface ====&lt;br /&gt;
The USB-C interface port labeled USB&amp;amp;PWR serves as the main power input and doubles as a diagnostic bridge to track real-time runtime parameters. Connecting the MODIG converter to a PC registers a Virtual COM Port inside the host operating system (e.g., listed as COM5).&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:MODIG_RS485-ETHERNET_PoE_COM.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Any standard serial terminal emulation software (e.g., PuTTY, BrayTerminal, etc.) can be opened to listen on the allocated Virtual COM Port. The communication channel profile must be configured to: 115200 bps, 8 data bits, No parity, 1 stop bit (115200, 8, N, 1). The terminal window will stream active diagnostic readouts from the MODIG converter:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_terminal.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
This feed provides a quick method to check the leased IP address assigned to the converter, along with critical parameters including DHCP lease status, MAC address, and active TCP/UDP socket configurations.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Firmware Upgrade Procedure ====&lt;br /&gt;
The latest version of the firmware binary can be acquired here: [https://wiki.kamamilabs.com/images/a/a7/Modig_3_0.zip Modig_3_0.zip]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Flashing a new firmware version requires a desktop PC equipped with the official STM32Cube Programmer application, an available USB port, and a standard USB-A to USB-C link cable.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_upd.png|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
The STM32Cube Programmer application can be obtained from the official STMicroelectronics portal:&lt;br /&gt;
https://www.st.com/en/development-tools/stm32cubeprog.html&lt;br /&gt;
Select the appropriate installer for your desktop operating system, run the installation package, and follow the setup wizard.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_get_soft.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
To put the MODIG converter into Device Firmware Upgrade (DFU) mode, follow these steps:&lt;br /&gt;
#Disconnect the converter from the Ethernet network, the RS485 bus lines, and its power source.&lt;br /&gt;
#While the device is fully unpowered, press and hold down the hardware RES button.&lt;br /&gt;
#Keeping the RES button compressed, connect the USB cable from the PC to the USB&amp;amp;PWR port on the MODIG converter.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The status LEDs will remain completely dark, confirming that the internal bootloader has entered DFU mode. The host PC device manager will list a new hardware entry:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_DFU_mode.jpg|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Launch the STM32Cube Programmer software, change the interface connection type to USB, and click &#039;&#039;Connect&#039;&#039;.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_connect.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Click on &#039;&#039;Open file&#039;&#039;, browse to the directory containing the compiled firmware binary (e.g., &#039;&#039;Modig_3_0.elf&#039;&#039;), select it, and click &#039;&#039;Download&#039;&#039;. A confirmation dialog will pop up upon completion; click OK. &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_openfile.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Finally, click Disconnect within the utility and unplug the USB cable from the converter. Reconnecting the USB cable normally (without pressing the RES button) will cycle the power, and the MODIG converter will initialize running the newly flashed firmware stack.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Converter Configuration ====&lt;br /&gt;
All hardware and communication parameters of the MODIG converter are managed using the embedded web configuration engine. Open a web browser on a PC or smartphone connected to the same Local Area Network (LAN) as the MODIG module, and type the device&#039;s current IP address into the address bar. The active IP address can be found using the live serial diagnostic stream over USB (see the “USB Diagnostics Interface” section) or via the network router&#039;s DHCP lease table.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== User Authentication (Login) ===== &lt;br /&gt;
Navigating to the correct IP address brings up the MODIG Web-UI dashboard challenge screen. Accessing the configuration backend requires entering the security password; the factory default value is “1234”.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_start.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Entering an invalid password will display an authentication failure alert.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_try_again.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Main Menu Dashboard ===== &lt;br /&gt;
A successful login session opens the core configuration panel. The bottom area of the layout displays foundational device info and real-time operational variables.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_main.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Once modifications to the operating parameters are complete, terminate the session by clicking the LOGOUT button. This explicit action writes the updated parameters into the device&#039;s non-volatile EEPROM configuration storage block.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
If a user fails to log out manually, the active Web-UI session will time out automatically after 5 minutes of inactivity. Any uncommitted parameter adjustments are saved to the non-volatile memory block after 1 minute of inactivity on the configuration portal.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Device Management Profile (DEVICE) ===== &lt;br /&gt;
&#039;&#039;Device Name&#039;&#039; — A custom string identifier defined by the user to label the hardware unit. To change this value, input the string into the text box adjacent to the &#039;&#039;Device Name&#039;&#039; field and commit the modification by clicking the &#039;&#039;Apply&#039;&#039; button below.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Access Password Management&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The configuration portal is locked behind a password challenge. Authentication is bound to the requesting client&#039;s IP address and remains valid for a sliding window of 5 minutes. The countdown resets with each action taken within the Web-UI; 5 minutes of total idle time drops the token and forces an automatic session logout.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
To provision a new access token, input the desired value into the &#039;&#039;New Password&#039;&#039; and &#039;&#039;Repeat new password&#039;&#039; text boxes, then commit the change using the corresponding &#039;&#039;Apply&#039;&#039; button.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_device.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
A successful write update will show the following success confirmation message:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_new_password_2.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Network Parameter Configuration (NETWORK) ===== &lt;br /&gt;
The networking section handles the low-level identity profiles, including the hardware address (&#039;&#039;Device MAC&#039;&#039;) and the IP block topology. When the network automation flag is set to &#039;&#039;DHCP - ENABLE&#039;&#039;, the MODIG converter requests an operational IP setup from the local network gateway or DHCP server. Conversely, flipping this setting to &#039;&#039;DISABLE&#039;&#039; switches the stack over to static configurations, requiring manual entries for the target IP address (&#039;&#039;Device static IP&#039;&#039;) and the corresponding subnet mask (&#039;&#039;Subnet mask&#039;&#039;).&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_netsett.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Modifying the hardware MAC address requires a hard system reboot to reinitialize the network controller chip; this can be done by clicking the &#039;&#039;RESTART&#039;&#039; button. Updating static IP variables requires recycling the Ethernet interface stack, which can be done by clicking the &#039;&#039;RECONNECT&#039;&#039; button.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Executing either operation terminates the active browser session, logs the user out, and restarts the physical Ethernet interface. Depending on the newly committed settings, the web management panel will map onto a different network endpoint address.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Network Operational Profile (MODE) ===== &lt;br /&gt;
The MODIG converter routes data payloads across the IP network using independent TCP and UDP protocol engines running concurrently.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The TCP engine operates under a strict Server-Client model, requiring a destination IP pointer indicating where serial payloads should be forwarded, paired with a target socket port number constrained within the user range of 1024 to 65535.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The UDP engine functions without maintaining fixed sessions or connection states. It requires a target destination IP pointer along with an unprivileged port assignment within the 1024 to 65535 range. Setting the destination address to the broadcast IP 255.255.255.255 switches the socket engine over to broad-network transmission (broadcasting), mirroring serial payloads to every active listening node on the local subnet.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_mode.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Serial Interface Tuning (RS485) ===== &lt;br /&gt;
The adjustable physical parameters governing the integrated RS485 UART serial interface include:&amp;lt;br&amp;gt;&lt;br /&gt;
∙ Communication Speed (&#039;&#039;Baudrate&#039;&#039;): Supports values from 200 bps up to 1,000,000 bps (1 Mbps),&amp;lt;br&amp;gt;&lt;br /&gt;
∙ Serial Frame Size (Data bits): Configurable to 7 or 8 bits,&amp;lt;br&amp;gt;&lt;br /&gt;
∙ Bit Parity Verification (&#039;&#039;Parity&#039;&#039;): None, Even, or Odd,&amp;lt;br&amp;gt;&lt;br /&gt;
∙ Serial Framing End-Marker (&#039;&#039;Stop bits&#039;&#039;): 1, 1.5, or 2 bits.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The UART parameters configured inside the MODIG converter must match the serial properties of all peripheral target nodes attached to the RS485 line. Save new variables using the Apply button below the menu fields.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Data payloads routed over the physical RS485 bus are formatted into packets (frames), capped by an end-of-packet character sequence or a designated duration of line quietness. The converter packages serial data streams and drops them onto the network stack as unified blocks; frames missing proper completion markers are held in the serial buffer and will not pass onto the network layer.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The MODIG engine can monitor for frame completion by parsing for a programmable sequence of 1 to 4 characters (e.g., the keyword string “END”, a series of byte markers like “0xFF 0xFF 0xFF 0xFF”, or standard text line-end delimiters like CR LF — &#039;&#039;Carriage Return, Line Feed&#039;&#039;). The parsing sequence must be formatted as hexadecimal notation values corresponding to the standard ASCII map, prefixed by an &#039;x&#039; identifier; for example, the string “END” must be input as “x45 x4E x44”. Leaving this field empty disables character-based frame parsing.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The firmware can also evaluate frame boundaries by measuring silent periods on the physical bus. Bus quietness is calculated as equivalent character transmission windows relative to the active baud rate. Input a valid threshold scale from 0 to 255 inside the &#039;&#039;Packet complete idle characters&#039;&#039; field. Setting this value to 0 turns off the timer; a value of 1 instructs the engine to close the active buffer as soon as the line remains idle for the duration of a single character slot. Both frame demarcation methods can run concurrently.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_rs485.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Embedded Testing Tools (TOOLS) ===== &lt;br /&gt;
The web interface features basic testing utilities to inject raw test payloads directly onto the physical bus lines. The input field labeled &#039;&#039;Remote RS485 message&#039;&#039; transmits short text segments directly to the remote IP endpoints assigned within the network configuration panels (&#039;&#039;MODE&#039;&#039;) over open TCP or UDP sockets. Click &#039;&#039;Send&#039;&#039; to fire the payload.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The utility labeled &#039;&#039;Local RS485 message&#039;&#039; allows operators to transmit manual command strings from the active interface directly out of the local converter&#039;s RS485 transceiver. Click &#039;&#039;Send&#039;&#039; to execute the serial transmission.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_tools.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=MD12002_RS485_to_Ethernet_DIN_Rail_Converter_(EN)&amp;diff=570</id>
		<title>MD12002 RS485 to Ethernet DIN Rail Converter (EN)</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=MD12002_RS485_to_Ethernet_DIN_Rail_Converter_(EN)&amp;diff=570"/>
		<updated>2026-06-15T18:41:50Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: /* USB Diagnostics Interface */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Description ====&lt;br /&gt;
&amp;lt;b&amp;gt;Industrial RS485 to Ethernet Bus Converter for DIN Rail Mounting&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The &amp;lt;b&amp;gt;MODIG RS485-ETHERNET DIN&amp;lt;/b&amp;gt; is a versatile and user-friendly bus converter that bridges an RS485 serial network with an Ethernet network interface. The device is specifically engineered for mounting on a standard 35 mm DIN electrical installation rail (TH35). Thanks to its ultra-slim and compact design, the module has a physical width of just 35 mm, allowing it to fit easily into tightly packed industrial switchboards or small distribution cabinets. An integrated USB auxiliary interface simplifies maintenance and parameter configuration.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:Konwerter_RS485-ETHERNET_DIN.jpg|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Key Features and Specifications ====&lt;br /&gt;
* RS485 Interface: Terminals: A+, B-, GND, and TERM via Phoenix Contact MC 3.81 mm connector&lt;br /&gt;
* Termination Resistor: Integrated 120 Ω bus terminator (configurable)&lt;br /&gt;
* RS485 Circuit Protection: 1 kV galvanic isolation and integrated surge protection&lt;br /&gt;
* RS485 Baud Rate: Supports any custom value from 200 bps to 1,000,000 bps (1 Mbps)&lt;br /&gt;
* RS485 Serial Parameters: Data bits: 7/8; Parity: None/Even/Odd; Stop bits: 1/1.5/2; Half-Duplex&lt;br /&gt;
* Network Capacity: Supports up to 64 nodes on the RS485 bus&lt;br /&gt;
* Buffer Size: Maximum RS485 data frame length of 4 kB (4096 bytes)&lt;br /&gt;
* Network Interface: RJ45 port, 10/100 Mbps Base-T Full Duplex Ethernet&lt;br /&gt;
* Network Addressing: Configurable MAC address; IPv4 support with Static IP or DHCP assignment&lt;br /&gt;
* Operational Modes: TCP Server, TCP Client, Concurrent UDP, and UDP Broadcast&lt;br /&gt;
* Device Configuration: Password-protected, built-in Web-UI (HTTP)&lt;br /&gt;
* Diagnostics: Operational status readout via USB or Web-UI&lt;br /&gt;
* DC Power Input: Supports a steady external DC voltage range of 7–38 V DC (min. 0.2 A)&lt;br /&gt;
* Auxiliary Power Input: Optional power delivery via an integrated USB-C connector&lt;br /&gt;
* Form Factor: Rugged enclosure designed for standard DIN 35 (TH 35) rail installation; Dimensions: 90 x 35 x 65 mm&lt;br /&gt;
* Operating Temperature Range: -20°C to +50°C&lt;br /&gt;
* Status Indicators: Diagnostic LEDs&lt;br /&gt;
* Firmware Upgrade: Supported via USB interface&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Applications ====&lt;br /&gt;
The MODIG RS485-ETHERNET DIN converter enables bidirectional data routing between an RS485 serial bus and an Ethernet network. Communication can be established transparently between two MODIG RS485-ETHERNET DIN modules or integrated with any third-party field device supporting standard TCP and/or UDP protocols.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Serial data frames from the RS485 bus are packed and converted into Ethernet TCP/UDP packets. For large payloads (exceeding 1.5 kB up to the 4 kB maximum), an internal fragmentation mechanism splits the payload into smaller network frames. At the receiving destination node, the original RS485 data format is fully reconstructed, ensuring completely transparent communication across the network layer.&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
Typical application layout for the MODIG RS485-ETHERNET DIN converter:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_main_schem.png|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== RS485 Interface ====&lt;br /&gt;
The physical RS485 interface is accessible via a 4-pin Phoenix Contact MC 3.81 mm screw terminal block.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Pin Number&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Label&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;1&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;T&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Activates the internal 120 Ω line termination resistor. The resistor is engaged when terminal &#039;&#039;&#039;T&#039;&#039;&#039; is shorted to terminal &#039;&#039;&#039;A+&#039;&#039;&#039;.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;2&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;A+&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|RS485 differential line A (Non-inverting / Positive potential)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;3&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;B-&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|RS485 differential line B (Inverting / Negative potential)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;4&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;⏚&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Signal Ground (GND) for the RS485 bus&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_rs con.jpg|none|300px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The MODIG converter can be connected to an RS485 bus containing up to 64 devices (including the converter itself). Devices must be daisy-chained to avoid stub lines or bus branches; any necessary drop lines must be kept as short as possible. 120 Ω impedance matching termination resistors should be placed at both physical ends of the bus line. The MODIG converter includes an on-board termination resistor, which can be enabled by bridging terminal &#039;&#039;&#039;A+&#039;&#039;&#039; and terminal &#039;&#039;&#039;T&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The diagram below shows a simplified wiring schematic of the RS485 bus network, terminated with a standard 120 Ω resistor on one end, and the converter&#039;s internal termination on the other. It also illustrates the correct daisy-chain connection method versus incorrect topology.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_rs schem.png|none|950px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ETHERNET Interface ====&lt;br /&gt;
The MODIG converter features a 10/100 Mbps Ethernet port utilizing a standard RJ45 connector interface labeled ETHERNET. This allows the converter to join a Local Area Network (LAN). The &#039;&#039;&#039;LNK&#039;&#039;&#039; LED indicates a valid physical network connection, while a flashing &#039;&#039;&#039;ACT&#039;&#039;&#039; LED signals active data traffic over the Ethernet network layer.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_eth conn.jpg|none|300px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== DC Power Supply ====&lt;br /&gt;
Primary power to the MODIG converter is delivered by applying a steady DC voltage to the terminal block labeled DC 7-38V. This is a 2-pin Phoenix Contact MC 3.81 mm screw terminal interface. The external power source must deliver a voltage within the range of 7 to 38 V DC with a minimum current capacity of 0.2 A. &amp;lt;b&amp;gt;Strict attention must be paid to ensuring the correct wiring polarity.&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_pwr_con.jpg|none|300px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Alternatively, auxiliary power can be delivered to the module via the USB-C port labeled USB. The external source must deliver 5 V DC ±10% with a minimum capacity of 0.2 A. This requirement is met by standard USB chargers, PC interface ports, or Single Board Computers (SBCs).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_usb_con.jpg|300px|]]           &lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Status LED Indicators ====&lt;br /&gt;
The operation of the MODIG RS485-ETHERNET DIN converter is monitored using 3 diagnostic LEDs.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|LED Indicator&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Status Meaning&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;STA (&amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;green&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Blinking at a steady interval indicates the system logic is correctly powered, regardless of the active power source. A solid green light indicates a valid Ethernet network link and a successfully leased IP address.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;ETH (&amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;blue&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Blinking indicates active transmission or reception of TCP/UDP packets. A solid blue light indicates an active, established TCP Server-Client connection.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;RS (&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;red&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Blinking signals data transmission (TX) or reception (RX) activity on the RS485 serial bus.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET DIN leds.jpg|none|300px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== RES Function Button ====&lt;br /&gt;
The hardware function button allows the user to trigger a full system reboot or perform a complete factory reset. To actuate the button, gently insert the end of a paperclip into the small pinhole labeled RES until a tactile click is felt.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A system reboot is triggered on an active device by holding the RES button down for approximately 5 seconds and then releasing it. During this action, the red RS LED will flash 4 times shortly followed by a single long illumination lasting 1 second. The button must be released during this long 1-second flash. The MODIG converter will then perform a clean hardware system restart.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A factory reset is executed on an active device by holding the RES button down for approximately 10 seconds before releasing it. This sequence triggers 4 short red flashes on the RS LED, a 1-second long flash, a 4-second delay, and finally a second long illumination. The button must be released during this second long flash. This action purges all custom configurations (wiping network setups, serial parameters, Web-UI access passwords, etc.) and restores the converter to its factory defaults.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_reset.jpg|none|300px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== USB Diagnostics Interface ====&lt;br /&gt;
The USB-C interface port labeled USB serves as an auxiliary power input and doubles as a diagnostic bridge to track real-time runtime parameters. Connecting the converter to a PC registers a Virtual COM Port inside the host operating system (e.g., listed as COM5).&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:MODIG_RS485-ETHERNET_PoE_COM.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Any standard serial terminal emulation software (e.g., PuTTY, BrayTerminal, etc.) can be opened to listen on the allocated Virtual COM Port. The communication channel profile must be configured to: 115200 bps, 8 data bits, No parity, 1 stop bit (115200, 8, N, 1). The terminal window will stream active diagnostic readouts from the MODIG converter:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_terminal.jpg|none|700px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
This feed provides a quick method to check the leased IP address assigned to the converter, along with critical parameters including DHCP lease status, MAC address, and active TCP/UDP socket configurations.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Device Firmware Upgrade (Firmware Update) ====&lt;br /&gt;
Flashing a new firmware version requires a desktop PC equipped with the official STM32Cube Programmer application, an available USB port, and a standard USB-A to USB-C link cable.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_programowanie.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The STM32Cube Programmer application can be obtained from the official STMicroelectronics portal:&lt;br /&gt;
https://www.st.com/en/development-tools/stm32cubeprog.html&lt;br /&gt;
&amp;lt;br&amp;gt;Select the appropriate installer for your desktop operating system, run the installation package, and follow the setup wizard.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_get soft.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
To put the MODIG converter into Device Firmware Upgrade (DFU) mode, follow these steps:&lt;br /&gt;
# Disconnect the converter from the Ethernet network, the RS485 bus lines, and its external power source.&lt;br /&gt;
# While the device is fully unpowered, press and hold down the hardware RES button using a paperclip.&lt;br /&gt;
# Keeping the RES button compressed, connect the USB cable from the PC to the USB-C port labeled USB on the MODIG converter.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The status LEDs will remain completely dark, confirming that the internal bootloader has entered DFU mode. The host PC device manager will list a new hardware entry:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_DFU mode.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Launch the STM32Cube Programmer software, change the interface connection type to USB, and click Connect.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_connect.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Click on Open file, browse to the directory containing the compiled firmware binary (e.g., Modig_3_0.elf), select it, and click Download. A confirmation dialog will pop up upon completion; click OK. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_open file.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Finally, click Disconnect within the utility and unplug the USB cable from the converter. Reconnecting the USB cable normally (without pressing the RES button) will cycle the power, and the MODIG converter will initialize running the newly flashed firmware stack.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Converter Configuration ====&lt;br /&gt;
All hardware and communication parameters of the MODIG converter are managed using the embedded web configuration engine.&lt;br /&gt;
&amp;lt;br&amp;gt;Open a web browser on a PC or smartphone connected to the same Local Area Network (LAN) as the MODIG module, and type the device&#039;s current IP address into the address bar. The active IP address can be found using the live serial diagnostic stream over USB (see the “USB Diagnostics Interface” section) or via the network router&#039;s DHCP lease table.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== User Authentication (Login) ====&lt;br /&gt;
Navigating to the correct IP address brings up the MODIG Web-UI dashboard challenge screen. Accessing the configuration backend requires entering the security password; the factory default value is “1234”.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_start.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Entering an invalid password will display an authentication failure alert.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_try again.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Main Menu Dashboard ====&lt;br /&gt;
A successful login session opens the core configuration panel. The bottom area of the layout displays foundational device info and real-time operational variables.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_main.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Once modifications to the operating parameters are complete, terminate the session by clicking the &#039;&#039;LOGOUT&#039;&#039; button. This explicit action writes the updated parameters into the device&#039;s non-volatile EEPROM configuration storage block.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
If a user fails to log out manually, the active Web-UI session will time out automatically after 5 minutes of inactivity. Any uncommitted parameter adjustments are saved to the non-volatile memory block after 1 minute of inactivity on the configuration portal.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Device Management Profile (DEVICE) ====&lt;br /&gt;
&#039;&#039;Device Name&#039;&#039; — A custom string identifier defined by the user to label the hardware unit. To change this value, input the string into the text box adjacent to the &#039;&#039;Device Name&#039;&#039; field and commit the modification by clicking the &#039;&#039;Apply&#039;&#039; button below.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Access Password Management&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The configuration portal is locked behind a password challenge. Authentication is bound to the requesting client&#039;s IP address and remains valid for a sliding window of 5 minutes. The countdown resets with each action taken within the Web-UI; 5 minutes of total idle time drops the token and forces an automatic session logout.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
To provision a new access token, input the desired value into the &#039;&#039;New Password&#039;&#039; and &#039;&#039;Repeat new password&#039;&#039; text boxes, then commit the change using the corresponding &#039;&#039;Apply&#039;&#039; button.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_device.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
A successful write update will show the following success confirmation message:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_new password_2.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Network Parameter Configuration (NETWORK) ====&lt;br /&gt;
The networking section handles the low-level identity profiles, including the hardware address (&#039;&#039;Device MAC&#039;&#039;) and the IP block topology. When the network automation flag is set to &#039;&#039;DHCP - ENABLE&#039;&#039;, the MODIG converter requests an operational IP setup from the local network gateway or DHCP server. Conversely, flipping this setting to &#039;&#039;DISABLE&#039;&#039; switches the stack over to static configurations, requiring manual entries for the target IP address (&#039;&#039;Device static IP&#039;&#039;) and the corresponding subnet mask (&#039;&#039;Subnet mask&#039;&#039;).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_netsett.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Modifying the hardware MAC address requires a hard system reboot to reinitialize the network controller chip; this can be done by clicking the &#039;&#039;RESTART&#039;&#039; button. Updating static IP variables requires recycling the Ethernet interface stack, which can be done by clicking the &#039;&#039;RECONNECT&#039;&#039; button.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Executing either operation terminates the active browser session, logs the user out, and restarts the physical Ethernet interface. Depending on the newly committed settings, the web management panel will map onto a different network endpoint address.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Network Operational Profile (MODE) ====&lt;br /&gt;
The MODIG converter routes data payloads across the IP network using independent TCP and UDP protocol engines running concurrently.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The TCP engine operates under a strict Server-Client model, requiring a destination IP pointer indicating where serial payloads should be forwarded, paired with a target socket port number constrained within the user range of 1024 to 65535.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The UDP engine functions without maintaining fixed sessions or connection states. It requires a target destination IP pointer along with an unprivileged port assignment within the 1024 to 65535 range. Setting the destination address to the broadcast IP 255.255.255.255 switches the socket engine over to broad-network transmission (&#039;&#039;broadcasting&#039;&#039;), mirroring serial payloads to every active listening node on the local subnet.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_mode.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Serial Interface Tuning (RS485) ====&lt;br /&gt;
The adjustable physical parameters governing the integrated RS485 UART serial interface include:&lt;br /&gt;
* Communication Speed (&#039;&#039;Baudrate&#039;&#039;): Supports values from 200 bps up to 1,000,000 bps (1 Mbps)&lt;br /&gt;
* Serial Frame Size (&#039;&#039;Data bits&#039;&#039;): Configurable to 7 or 8 bits&lt;br /&gt;
* Bit Parity Verification (&#039;&#039;Parity&#039;&#039;): None, Even, or Odd&lt;br /&gt;
* Serial Framing End-Marker (&#039;&#039;Stop bits&#039;&#039;): 1, 1.5, or 2 bits&lt;br /&gt;
&lt;br /&gt;
The UART parameters configured inside the MODIG converter must match the serial properties of all peripheral target nodes attached to the RS485 line. Save new variables using the &#039;&#039;Apply&#039;&#039; button below the menu fields.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Data payloads routed over the physical RS485 bus are formatted into packets (frames), capped by an end-of-packet character sequence or a designated duration of line quietness. The converter packages serial data streams and drops them onto the network stack as unified blocks; frames missing proper completion markers are held in the serial buffer and will not pass onto the network layer.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The MODIG engine can monitor for frame completion by parsing for a programmable sequence of 1 to 4 characters (e.g., the keyword string “END”, a series of byte markers like “0xFF 0xFF 0xFF 0xFF”, or standard text line-end delimiters like CR LF — &#039;&#039;Carriage Return, Line Feed&#039;&#039;). The parsing sequence must be formatted as hexadecimal notation values corresponding to the standard ASCII map, prefixed by an &#039;x&#039; identifier; for example, the string “END” must be input as “x45 x4E x44”. Leaving this field empty disables character-based frame parsing.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The firmware can also evaluate frame boundaries by measuring silent periods on the physical bus. Bus quietness is calculated as equivalent character transmission windows relative to the active baud rate. Input a valid threshold scale from 0 to 255 inside the &#039;&#039;Packet complete idle characters&#039;&#039; field. Setting this value to 0 turns off the timer; a value of 1 instructs the engine to close the active buffer as soon as the line remains idle for the duration of a single character slot. Both frame demarcation methods can run concurrently.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_rs485.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Embedded Testing Tools (TOOLS) ====&lt;br /&gt;
The web interface features basic testing utilities to inject raw test payloads directly onto the physical bus lines. The input field labeled &#039;&#039;Remote RS485 message&#039;&#039; transmits short text segments directly to the remote IP endpoints assigned within the network configuration panels (MODE) over open TCP or UDP sockets. Click &#039;&#039;Send&#039;&#039; to fire the payload.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The utility labeled &#039;&#039;Local RS485 message&#039;&#039; allows operators to transmit manual command strings from the active interface directly out of the local converter&#039;s RS485 transceiver. Click &#039;&#039;Send&#039;&#039; to execute the serial transmission.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_tools.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=File:MODIG_RS485-ETHERNET_PoE_COM.png&amp;diff=569</id>
		<title>File:MODIG RS485-ETHERNET PoE COM.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=File:MODIG_RS485-ETHERNET_PoE_COM.png&amp;diff=569"/>
		<updated>2026-06-15T18:40:44Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=MD12002_RS485_to_Ethernet_DIN_Rail_Converter_(EN)&amp;diff=568</id>
		<title>MD12002 RS485 to Ethernet DIN Rail Converter (EN)</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=MD12002_RS485_to_Ethernet_DIN_Rail_Converter_(EN)&amp;diff=568"/>
		<updated>2026-06-15T18:37:50Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: /* RS485 Interface */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Description ====&lt;br /&gt;
&amp;lt;b&amp;gt;Industrial RS485 to Ethernet Bus Converter for DIN Rail Mounting&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The &amp;lt;b&amp;gt;MODIG RS485-ETHERNET DIN&amp;lt;/b&amp;gt; is a versatile and user-friendly bus converter that bridges an RS485 serial network with an Ethernet network interface. The device is specifically engineered for mounting on a standard 35 mm DIN electrical installation rail (TH35). Thanks to its ultra-slim and compact design, the module has a physical width of just 35 mm, allowing it to fit easily into tightly packed industrial switchboards or small distribution cabinets. An integrated USB auxiliary interface simplifies maintenance and parameter configuration.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:Konwerter_RS485-ETHERNET_DIN.jpg|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Key Features and Specifications ====&lt;br /&gt;
* RS485 Interface: Terminals: A+, B-, GND, and TERM via Phoenix Contact MC 3.81 mm connector&lt;br /&gt;
* Termination Resistor: Integrated 120 Ω bus terminator (configurable)&lt;br /&gt;
* RS485 Circuit Protection: 1 kV galvanic isolation and integrated surge protection&lt;br /&gt;
* RS485 Baud Rate: Supports any custom value from 200 bps to 1,000,000 bps (1 Mbps)&lt;br /&gt;
* RS485 Serial Parameters: Data bits: 7/8; Parity: None/Even/Odd; Stop bits: 1/1.5/2; Half-Duplex&lt;br /&gt;
* Network Capacity: Supports up to 64 nodes on the RS485 bus&lt;br /&gt;
* Buffer Size: Maximum RS485 data frame length of 4 kB (4096 bytes)&lt;br /&gt;
* Network Interface: RJ45 port, 10/100 Mbps Base-T Full Duplex Ethernet&lt;br /&gt;
* Network Addressing: Configurable MAC address; IPv4 support with Static IP or DHCP assignment&lt;br /&gt;
* Operational Modes: TCP Server, TCP Client, Concurrent UDP, and UDP Broadcast&lt;br /&gt;
* Device Configuration: Password-protected, built-in Web-UI (HTTP)&lt;br /&gt;
* Diagnostics: Operational status readout via USB or Web-UI&lt;br /&gt;
* DC Power Input: Supports a steady external DC voltage range of 7–38 V DC (min. 0.2 A)&lt;br /&gt;
* Auxiliary Power Input: Optional power delivery via an integrated USB-C connector&lt;br /&gt;
* Form Factor: Rugged enclosure designed for standard DIN 35 (TH 35) rail installation; Dimensions: 90 x 35 x 65 mm&lt;br /&gt;
* Operating Temperature Range: -20°C to +50°C&lt;br /&gt;
* Status Indicators: Diagnostic LEDs&lt;br /&gt;
* Firmware Upgrade: Supported via USB interface&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Applications ====&lt;br /&gt;
The MODIG RS485-ETHERNET DIN converter enables bidirectional data routing between an RS485 serial bus and an Ethernet network. Communication can be established transparently between two MODIG RS485-ETHERNET DIN modules or integrated with any third-party field device supporting standard TCP and/or UDP protocols.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Serial data frames from the RS485 bus are packed and converted into Ethernet TCP/UDP packets. For large payloads (exceeding 1.5 kB up to the 4 kB maximum), an internal fragmentation mechanism splits the payload into smaller network frames. At the receiving destination node, the original RS485 data format is fully reconstructed, ensuring completely transparent communication across the network layer.&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
Typical application layout for the MODIG RS485-ETHERNET DIN converter:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_main_schem.png|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== RS485 Interface ====&lt;br /&gt;
The physical RS485 interface is accessible via a 4-pin Phoenix Contact MC 3.81 mm screw terminal block.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Pin Number&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Label&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;1&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;T&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Activates the internal 120 Ω line termination resistor. The resistor is engaged when terminal &#039;&#039;&#039;T&#039;&#039;&#039; is shorted to terminal &#039;&#039;&#039;A+&#039;&#039;&#039;.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;2&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;A+&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|RS485 differential line A (Non-inverting / Positive potential)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;3&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;B-&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|RS485 differential line B (Inverting / Negative potential)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;4&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;⏚&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Signal Ground (GND) for the RS485 bus&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_rs con.jpg|none|300px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The MODIG converter can be connected to an RS485 bus containing up to 64 devices (including the converter itself). Devices must be daisy-chained to avoid stub lines or bus branches; any necessary drop lines must be kept as short as possible. 120 Ω impedance matching termination resistors should be placed at both physical ends of the bus line. The MODIG converter includes an on-board termination resistor, which can be enabled by bridging terminal &#039;&#039;&#039;A+&#039;&#039;&#039; and terminal &#039;&#039;&#039;T&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The diagram below shows a simplified wiring schematic of the RS485 bus network, terminated with a standard 120 Ω resistor on one end, and the converter&#039;s internal termination on the other. It also illustrates the correct daisy-chain connection method versus incorrect topology.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_rs schem.png|none|950px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ETHERNET Interface ====&lt;br /&gt;
The MODIG converter features a 10/100 Mbps Ethernet port utilizing a standard RJ45 connector interface labeled ETHERNET. This allows the converter to join a Local Area Network (LAN). The &#039;&#039;&#039;LNK&#039;&#039;&#039; LED indicates a valid physical network connection, while a flashing &#039;&#039;&#039;ACT&#039;&#039;&#039; LED signals active data traffic over the Ethernet network layer.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_eth conn.jpg|none|300px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== DC Power Supply ====&lt;br /&gt;
Primary power to the MODIG converter is delivered by applying a steady DC voltage to the terminal block labeled DC 7-38V. This is a 2-pin Phoenix Contact MC 3.81 mm screw terminal interface. The external power source must deliver a voltage within the range of 7 to 38 V DC with a minimum current capacity of 0.2 A. &amp;lt;b&amp;gt;Strict attention must be paid to ensuring the correct wiring polarity.&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_pwr_con.jpg|none|300px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Alternatively, auxiliary power can be delivered to the module via the USB-C port labeled USB. The external source must deliver 5 V DC ±10% with a minimum capacity of 0.2 A. This requirement is met by standard USB chargers, PC interface ports, or Single Board Computers (SBCs).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_usb_con.jpg|300px|]]           &lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Status LED Indicators ====&lt;br /&gt;
The operation of the MODIG RS485-ETHERNET DIN converter is monitored using 3 diagnostic LEDs.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|LED Indicator&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Status Meaning&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;STA (&amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;green&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Blinking at a steady interval indicates the system logic is correctly powered, regardless of the active power source. A solid green light indicates a valid Ethernet network link and a successfully leased IP address.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;ETH (&amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;blue&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Blinking indicates active transmission or reception of TCP/UDP packets. A solid blue light indicates an active, established TCP Server-Client connection.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;RS (&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;red&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Blinking signals data transmission (TX) or reception (RX) activity on the RS485 serial bus.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET DIN leds.jpg|none|300px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== RES Function Button ====&lt;br /&gt;
The hardware function button allows the user to trigger a full system reboot or perform a complete factory reset. To actuate the button, gently insert the end of a paperclip into the small pinhole labeled RES until a tactile click is felt.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A system reboot is triggered on an active device by holding the RES button down for approximately 5 seconds and then releasing it. During this action, the red RS LED will flash 4 times shortly followed by a single long illumination lasting 1 second. The button must be released during this long 1-second flash. The MODIG converter will then perform a clean hardware system restart.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A factory reset is executed on an active device by holding the RES button down for approximately 10 seconds before releasing it. This sequence triggers 4 short red flashes on the RS LED, a 1-second long flash, a 4-second delay, and finally a second long illumination. The button must be released during this second long flash. This action purges all custom configurations (wiping network setups, serial parameters, Web-UI access passwords, etc.) and restores the converter to its factory defaults.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_reset.jpg|none|300px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== USB Diagnostics Interface ====&lt;br /&gt;
The USB-C interface port labeled USB serves as an auxiliary power input and doubles as a diagnostic bridge to track real-time runtime parameters. Connecting the converter to a PC registers a Virtual COM Port inside the host operating system (e.g., listed as COM5).&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:MODIG_RS485-ETHERNET_PoE_COM.jpg|none|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Any standard serial terminal emulation software (e.g., PuTTY, BrayTerminal, etc.) can be opened to listen on the allocated Virtual COM Port. The communication channel profile must be configured to: 115200 bps, 8 data bits, No parity, 1 stop bit (115200, 8, N, 1). The terminal window will stream active diagnostic readouts from the MODIG converter:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_terminal.jpg|none|700px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
This feed provides a quick method to check the leased IP address assigned to the converter, along with critical parameters including DHCP lease status, MAC address, and active TCP/UDP socket configurations.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Device Firmware Upgrade (Firmware Update) ====&lt;br /&gt;
Flashing a new firmware version requires a desktop PC equipped with the official STM32Cube Programmer application, an available USB port, and a standard USB-A to USB-C link cable.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_programowanie.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The STM32Cube Programmer application can be obtained from the official STMicroelectronics portal:&lt;br /&gt;
https://www.st.com/en/development-tools/stm32cubeprog.html&lt;br /&gt;
&amp;lt;br&amp;gt;Select the appropriate installer for your desktop operating system, run the installation package, and follow the setup wizard.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_get soft.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
To put the MODIG converter into Device Firmware Upgrade (DFU) mode, follow these steps:&lt;br /&gt;
# Disconnect the converter from the Ethernet network, the RS485 bus lines, and its external power source.&lt;br /&gt;
# While the device is fully unpowered, press and hold down the hardware RES button using a paperclip.&lt;br /&gt;
# Keeping the RES button compressed, connect the USB cable from the PC to the USB-C port labeled USB on the MODIG converter.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The status LEDs will remain completely dark, confirming that the internal bootloader has entered DFU mode. The host PC device manager will list a new hardware entry:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_DFU mode.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Launch the STM32Cube Programmer software, change the interface connection type to USB, and click Connect.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_connect.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Click on Open file, browse to the directory containing the compiled firmware binary (e.g., Modig_3_0.elf), select it, and click Download. A confirmation dialog will pop up upon completion; click OK. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_open file.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Finally, click Disconnect within the utility and unplug the USB cable from the converter. Reconnecting the USB cable normally (without pressing the RES button) will cycle the power, and the MODIG converter will initialize running the newly flashed firmware stack.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Converter Configuration ====&lt;br /&gt;
All hardware and communication parameters of the MODIG converter are managed using the embedded web configuration engine.&lt;br /&gt;
&amp;lt;br&amp;gt;Open a web browser on a PC or smartphone connected to the same Local Area Network (LAN) as the MODIG module, and type the device&#039;s current IP address into the address bar. The active IP address can be found using the live serial diagnostic stream over USB (see the “USB Diagnostics Interface” section) or via the network router&#039;s DHCP lease table.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== User Authentication (Login) ====&lt;br /&gt;
Navigating to the correct IP address brings up the MODIG Web-UI dashboard challenge screen. Accessing the configuration backend requires entering the security password; the factory default value is “1234”.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_start.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Entering an invalid password will display an authentication failure alert.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_try again.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Main Menu Dashboard ====&lt;br /&gt;
A successful login session opens the core configuration panel. The bottom area of the layout displays foundational device info and real-time operational variables.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_main.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Once modifications to the operating parameters are complete, terminate the session by clicking the &#039;&#039;LOGOUT&#039;&#039; button. This explicit action writes the updated parameters into the device&#039;s non-volatile EEPROM configuration storage block.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
If a user fails to log out manually, the active Web-UI session will time out automatically after 5 minutes of inactivity. Any uncommitted parameter adjustments are saved to the non-volatile memory block after 1 minute of inactivity on the configuration portal.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Device Management Profile (DEVICE) ====&lt;br /&gt;
&#039;&#039;Device Name&#039;&#039; — A custom string identifier defined by the user to label the hardware unit. To change this value, input the string into the text box adjacent to the &#039;&#039;Device Name&#039;&#039; field and commit the modification by clicking the &#039;&#039;Apply&#039;&#039; button below.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Access Password Management&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The configuration portal is locked behind a password challenge. Authentication is bound to the requesting client&#039;s IP address and remains valid for a sliding window of 5 minutes. The countdown resets with each action taken within the Web-UI; 5 minutes of total idle time drops the token and forces an automatic session logout.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
To provision a new access token, input the desired value into the &#039;&#039;New Password&#039;&#039; and &#039;&#039;Repeat new password&#039;&#039; text boxes, then commit the change using the corresponding &#039;&#039;Apply&#039;&#039; button.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_device.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
A successful write update will show the following success confirmation message:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_new password_2.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Network Parameter Configuration (NETWORK) ====&lt;br /&gt;
The networking section handles the low-level identity profiles, including the hardware address (&#039;&#039;Device MAC&#039;&#039;) and the IP block topology. When the network automation flag is set to &#039;&#039;DHCP - ENABLE&#039;&#039;, the MODIG converter requests an operational IP setup from the local network gateway or DHCP server. Conversely, flipping this setting to &#039;&#039;DISABLE&#039;&#039; switches the stack over to static configurations, requiring manual entries for the target IP address (&#039;&#039;Device static IP&#039;&#039;) and the corresponding subnet mask (&#039;&#039;Subnet mask&#039;&#039;).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_netsett.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Modifying the hardware MAC address requires a hard system reboot to reinitialize the network controller chip; this can be done by clicking the &#039;&#039;RESTART&#039;&#039; button. Updating static IP variables requires recycling the Ethernet interface stack, which can be done by clicking the &#039;&#039;RECONNECT&#039;&#039; button.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Executing either operation terminates the active browser session, logs the user out, and restarts the physical Ethernet interface. Depending on the newly committed settings, the web management panel will map onto a different network endpoint address.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Network Operational Profile (MODE) ====&lt;br /&gt;
The MODIG converter routes data payloads across the IP network using independent TCP and UDP protocol engines running concurrently.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The TCP engine operates under a strict Server-Client model, requiring a destination IP pointer indicating where serial payloads should be forwarded, paired with a target socket port number constrained within the user range of 1024 to 65535.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The UDP engine functions without maintaining fixed sessions or connection states. It requires a target destination IP pointer along with an unprivileged port assignment within the 1024 to 65535 range. Setting the destination address to the broadcast IP 255.255.255.255 switches the socket engine over to broad-network transmission (&#039;&#039;broadcasting&#039;&#039;), mirroring serial payloads to every active listening node on the local subnet.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_mode.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Serial Interface Tuning (RS485) ====&lt;br /&gt;
The adjustable physical parameters governing the integrated RS485 UART serial interface include:&lt;br /&gt;
* Communication Speed (&#039;&#039;Baudrate&#039;&#039;): Supports values from 200 bps up to 1,000,000 bps (1 Mbps)&lt;br /&gt;
* Serial Frame Size (&#039;&#039;Data bits&#039;&#039;): Configurable to 7 or 8 bits&lt;br /&gt;
* Bit Parity Verification (&#039;&#039;Parity&#039;&#039;): None, Even, or Odd&lt;br /&gt;
* Serial Framing End-Marker (&#039;&#039;Stop bits&#039;&#039;): 1, 1.5, or 2 bits&lt;br /&gt;
&lt;br /&gt;
The UART parameters configured inside the MODIG converter must match the serial properties of all peripheral target nodes attached to the RS485 line. Save new variables using the &#039;&#039;Apply&#039;&#039; button below the menu fields.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Data payloads routed over the physical RS485 bus are formatted into packets (frames), capped by an end-of-packet character sequence or a designated duration of line quietness. The converter packages serial data streams and drops them onto the network stack as unified blocks; frames missing proper completion markers are held in the serial buffer and will not pass onto the network layer.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The MODIG engine can monitor for frame completion by parsing for a programmable sequence of 1 to 4 characters (e.g., the keyword string “END”, a series of byte markers like “0xFF 0xFF 0xFF 0xFF”, or standard text line-end delimiters like CR LF — &#039;&#039;Carriage Return, Line Feed&#039;&#039;). The parsing sequence must be formatted as hexadecimal notation values corresponding to the standard ASCII map, prefixed by an &#039;x&#039; identifier; for example, the string “END” must be input as “x45 x4E x44”. Leaving this field empty disables character-based frame parsing.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The firmware can also evaluate frame boundaries by measuring silent periods on the physical bus. Bus quietness is calculated as equivalent character transmission windows relative to the active baud rate. Input a valid threshold scale from 0 to 255 inside the &#039;&#039;Packet complete idle characters&#039;&#039; field. Setting this value to 0 turns off the timer; a value of 1 instructs the engine to close the active buffer as soon as the line remains idle for the duration of a single character slot. Both frame demarcation methods can run concurrently.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_rs485.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Embedded Testing Tools (TOOLS) ====&lt;br /&gt;
The web interface features basic testing utilities to inject raw test payloads directly onto the physical bus lines. The input field labeled &#039;&#039;Remote RS485 message&#039;&#039; transmits short text segments directly to the remote IP endpoints assigned within the network configuration panels (MODE) over open TCP or UDP sockets. Click &#039;&#039;Send&#039;&#039; to fire the payload.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The utility labeled &#039;&#039;Local RS485 message&#039;&#039; allows operators to transmit manual command strings from the active interface directly out of the local converter&#039;s RS485 transceiver. Click &#039;&#039;Send&#039;&#039; to execute the serial transmission.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_tools.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=File:RS485-ETHERNET_DIN_main_schem.png&amp;diff=567</id>
		<title>File:RS485-ETHERNET DIN main schem.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=File:RS485-ETHERNET_DIN_main_schem.png&amp;diff=567"/>
		<updated>2026-06-15T18:37:11Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: Grzegorzbecker uploaded a new version of File:RS485-ETHERNET DIN main schem.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=MD12002_Konwerter_RS485-ETHERNET_DIN_(PL)&amp;diff=566</id>
		<title>MD12002 Konwerter RS485-ETHERNET DIN (PL)</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=MD12002_Konwerter_RS485-ETHERNET_DIN_(PL)&amp;diff=566"/>
		<updated>2026-06-15T18:35:27Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: /* Interfejs RS485 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Opis ====&lt;br /&gt;
&amp;lt;b&amp;gt;Przemysłowy konwerter magistrali RS485 na Ethernet na szynę DIN&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Konwerter &amp;lt;b&amp;gt; MODIG RS485-ETHERNET DIN&amp;lt;/b&amp;gt; to wielofunkcyjny i łatwy w obsłudze konwerter magistrali RS485, na interfejs sieciowy Ethernet. Konwerter jest przystosowany do montażu na szynie elektroinstalacyjnej DIN 35. Dzięki kompaktowej konstrukcji urządzenie ma szerokość tylko 35 mm i może być zamontowane nawet w niewielkiej szafce rozdzielczej. Dodatkowy interfejs USB ułatwia obsługę i konfigurację.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:Konwerter_RS485-ETHERNET_DIN.jpg|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Podstawowe cechy i parametry ====&lt;br /&gt;
* Interfejs RS485: sygnały A+, B-, GND i TERM oraz złącze typu Phoenix MC 3,81&lt;br /&gt;
* Konfigurowany terminator magistrali: rezystor 120 Ω&lt;br /&gt;
* Zabezpieczenie RS485: separacja galwaniczna 1 kV, ochrona przeciwprzepięciowa&lt;br /&gt;
* Prędkość komunikacji RS485: dowolna wartość z zakresu 200 bps… 1 Mbps&lt;br /&gt;
* Parametry RS485: Data bits: 7/8; Parity: None/Even/Odd; Stop bits: 1/1,5/2, Half-Duplex&lt;br /&gt;
* Maksymalna liczba urządzeń (nodes) dołączonych do RS485: 64&lt;br /&gt;
* Maksymalna długość jednej ramki danych RS485: 4 kB (4096 znaków)&lt;br /&gt;
* Interfejs sieciowy: RJ45, Ethernet 10/100 Mbps Full Duplex&lt;br /&gt;
* Adres MAC: konfigurowany&lt;br /&gt;
* Adres IP: IPv4, statyczny lub DHCP&lt;br /&gt;
* Tryby pracy: Serwer TCP/Klient TCP; równocześnie UDP lub UDP broadcast&lt;br /&gt;
* Konfiguracja: strona WWW, dostęp zabezpieczony hasłem&lt;br /&gt;
* Parametry pracy: odczyt poprzez USB lub WWW&lt;br /&gt;
* Zasilanie: napięcie stałe o wartości z zakresu 7…38 V DC i min. 0,2 A&lt;br /&gt;
* Opcjonalne zasilanie: poprzez złącze USB-C&lt;br /&gt;
* Obudowa przystosowana do montażu na szynie DIN 35 (TH 35) 90 x 35 x 65 mm&lt;br /&gt;
* Zakres temperatur pracy: -20°C do +50°C&lt;br /&gt;
* Sygnalizacja stanu: diody LED&lt;br /&gt;
* Aktualizacja oprogramowania (firmware): poprzez interfejs USB&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Zastosowanie ====&lt;br /&gt;
Konwerter MODIG RS485-ETHERNET DIN umożliwia dwukierunkowe przesyłanie danych z interfejsu RS485 do sieci Ethernet. Komunikacja może odbywać się pomiędzy urządzeniami MODIG RS485-ETHERNET DIN lub z udziałem innych urządzeń obsługujących protokoły TCP i/lub UDP.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Ramki danych RS485 są konwertowane na ramki Ethernet TCP/UDP. W przypadku ramek z dużą ilością danych (ponad 1,5 kB, max 4 kB), stosowany jest mechanizm fragmentacji - podział na ramki o mniejszym rozmiarze. W urządzeniu docelowym ramki danych RS485 są odtwarzane w taki sposób, aby transmisja była całkowicie transparentna.&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
Typowa aplikacja konwertera MODIG RS485-ETHERNET DIN:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET DIN main schem.png|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Interfejs RS485====&lt;br /&gt;
Interfejs RS485 jest dostępny przez złącze typu Phoenix Contact MC 3,81 mm, które zawiera 4 styki.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Numer styku&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Oznaczenie&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Funkcja&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;1&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;T&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Aktywowanie wewnętrznego rezystora terminującego 120 Ω.&lt;br /&gt;
Rezystor jest aktywny, gdy styk &#039;&#039;&#039;T&#039;&#039;&#039; jest połączony ze stykiem &#039;&#039;&#039;A+&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;2&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;A+&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Linia &#039;&#039;&#039;A&#039;&#039;&#039; magistrali RS485 (potencjał dodatni)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;3&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;B-&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Linia &#039;&#039;&#039;B&#039;&#039;&#039; magistrali RS485 (potencjał ujemny)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;4&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;⏚&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Masa &#039;&#039;&#039;GND&#039;&#039;&#039; magistrali RS485&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_rs con.jpg|none|300px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konwerter MODIG może być dołączony do magistrali RS485, która łączy maksymalnie 64 urządzenia (wliczając konwerter). Każde urządzenie powinno być dołączone w taki sposób, aby nie powstawały węzły/rozgałęzienia magistrali - ewentualne połączenia powinny być jak najkrótsze. Na obu końcach magistrali warto dołączyć rezystory terminujące 120 Ω. Konwerter MODIG ma zintegrowany taki rezystor, ale żeby był aktywny należy połączyć ze sobą styki &#039;&#039;&#039;A+&#039;&#039;&#039; oraz &#039;&#039;&#039;T&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Na rysunku pokazano uproszczony schemat magistrali RS485, z jednej strony zakończonej rezystorem terminującym 120 Ω, a z drugiej strony rezystorem terminującym zintegrowanym w konwerterze. Ponadto pokazano właściwe, oraz błędne podłączenie urządzeń do magistrali.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_rs_schem.png|none|950px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Interfejs ETHERNET====&lt;br /&gt;
Konwerter MODIG jest wyposażony w interfejs Ethernet 10/100 Mbps z klasycznym złączem typu RJ45 oznaczonym jako ETHERNET. Poprzez interfejs Ethernet konwerter może być podłączony do lokalnej sieci komputerowej - LAN. Kontrolka &#039;&#039;&#039;LNK&#039;&#039;&#039; sygnalizuje prawidłowe podłączenie do sieci Ethernet, miganie kontrolki &#039;&#039;&#039;ACT&#039;&#039;&#039; sygnalizuje przesyłanie danych poprzez interfejs Ethernet.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_eth conn.jpg|none|300px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Zasilanie DC====&lt;br /&gt;
Zasilanie konwertera MODIG polega na doprowadzeniu napięcia stałego do złącza oznaczonego DC 7-38V. Jest to złącze typu Phoenix Contact MC 3,81 mm z dwoma stykami. Źródło zasilania musi dostarczać napięcie z zakresu 7…38 V DC i min. 0,2 A. &#039;&#039;&#039;Należy zwrócić uwagę na jego właściwą polaryzację.&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_pwr_con.jpg|none|300px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Opcjonalnie zasilanie konwertera MODIG może być doprowadzane poprzez złącze USB-C oznaczone USB. Źródło zasilania musi mieć napięcie o wartości 5 V ±10% i prąd co najmniej 0,2 A. Odpowiednie parametry mają np. ładowarki USB, a także interfejsy USB komputerów PC lub komputerów SBC.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_usb_con.jpg|300px|]]           &lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Kontrolki sygnalizacyjne====&lt;br /&gt;
Działanie konwertera MODIG RS485-ETHERNET DIN jest sygnalizowane za pomocą 3 kontrolek LED.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Kontrolka&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Znaczenie&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;STA&lt;br /&gt;
(&amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;zielony&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Cykliczne miganie kontrolki LED sygnalizuje prawidłowe zasilanie systemu, niezależnie od źródła zasilania.&lt;br /&gt;
Świecenie kontrolki LED oznacza prawidłowe podłączenie do sieci Ethernet i uzyskanie adresu IP.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;ETH&lt;br /&gt;
(&amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;niebieski&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Miganie kontrolki LED sygnalizuje wysyłanie/odbieranie ramek TCP/UDP.&lt;br /&gt;
Świecenie kontrolki LED oznacza aktywne połączenie TCP Serwer-Klient.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;RS&lt;br /&gt;
(&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;czerwony&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Miganie kontrolki LED sygnalizuje wysyłanie/odbieranie danych poprzez magistralę RS485.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET DIN leds.jpg|none|300px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Przycisk funkcyjny RES====&lt;br /&gt;
Przycisk funkcyjny pozwala wykonać restart urządzenia lub przywrócenie ustawień fabrycznych. Aby aktywować przycisk należy wsunąć końcówkę spinacza biurowego w otwór oznaczony RES, aż do lekko wyczuwalnego kliknięcia.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Restart urządzenia jest wykonywany przy włączonym urządzeniu, gdy przycisk RES jest aktywny (wciśnięty) przez ok. 5 sekund, a następnie zostaje zwolniony. Towarzyszy temu miganie czerwonej kontrolki LED RS - 4 krótkie mignięcia i ostatnie długie świecenie, trwające ok 1 s. Przycisk należy zwolnić w trakcie długiego świecenia kontrolki LED. W efekcie konwerter MODIG wykona całkowity restart systemu.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Przywrócenie ustawień fabrycznych jest wykonywane przy włączonym urządzeniu, gdy przycisk RES jest aktywny (wciśnięty) przez ok. 10 sekund, a następnie zostaje zwolniony. Towarzyszy temu miganie czerwonej kontrolki LED RS - 4 krótkie mignięcia, następnie długie świecenie, trwające ok 1 s, następnie ok. 4 s przerwy i ponowne długie świecenie. Przycisk należy zwolnić w trakcie drugiego długiego świecenia kontrolki LED. W efekcie wszystkie ustawienia (konfiguracja sieci, parametry RS485, a także hasło do strony konfiguracyjnej, itd) zostaną przywrócone do stanu fabrycznego.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_reset.jpg|none|300px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Interfejs USB====&lt;br /&gt;
Złącze USB-C oznaczone USB pozwala doprowadzić zasilanie do konwertera MODIG, ale również pozwala monitorować parametry pracy konwertera. Poprzez złącze USB można podłączyć konwerter do komputera PC. W systemie operacyjnym pojawi się nowe urządzenie - port szeregowy USB oznaczony np. jako COM5.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:MODIG_RS485-ETHERNET_PoE_COM.jpg|none|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Dowolnym programem typu Terminal (np. Putty, BrayTerminal itd.) można podłączyć się do portu szeregowego USB utworzonego przez konwerter. Parametry komunikacji powinny być następujące: 115200, 8, N, 1. W oknie terminala będą wyświetlane dane przesyłane z konwertera MODIG:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_terminal.jpg|none|700px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Szczególnie ważną informacją może być adres IP, który został przydzielony dla konwertera, ale są tam także inne ważne informacje, m.in.: status DHCP, MAC, ustawienia TCP i UDP).&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Aktualizacja oprogramowania układowego (firmware)====&lt;br /&gt;
Wykonanie aktualizacji oprogramowania układowego (firmware) wymaga komputera PC z zainstalowaną aplikacją STM32Cube Programmer oraz wolnym interfejsem USB i przewodu USB, którym można podłączyć konwerter MODIG z tym komputerem.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_programowanie.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Aplikację STM32Cube Programmer można pobrać ze strony:&lt;br /&gt;
https://www.st.com/en/development-tools/stm32cubeprog.html&lt;br /&gt;
&amp;lt;br&amp;gt;Należy wybrać wersję dla systemu operacyjnego zainstalowanego na komputerze PC i postępować zgodnie z instrukcjami na stronie. Po pobraniu pliku instalacyjnego należy aplikację zainstalować.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_get soft.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Konwerter MODIG należy wprowadzić w tryb aktualizacji oprogramowania układowego. W tym celu:&lt;br /&gt;
# Odłączamy konwerter od sieci Ethernet, od magistrali RS485 oraz od zasilania&lt;br /&gt;
# Przy wyłączonym konwerterze aktywujemy przycisk RES (za pomocą spinacza biurowego)&lt;br /&gt;
# Trzymając aktywny przycisk RES podłączamy przewód USB z komputera do konwertera MODIG (złącze USB-C oznaczone USB).&lt;br /&gt;
&amp;lt;br&amp;gt;Kontrolki LED będą wygaszone, co oznacza, że konwerter jest gotowy do aktualizacji oprogramowania. W systemie operacyjnym komputera PC powinno pojawić się urządzenie:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_DFU mode.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Uruchamiamy aplikację STM32Cube Programmer, wybieramy rodzaj połączenia USB i klikamy Connect.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_connect.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Wybieramy Open file i wskazujemy plik z nowym oprogramowaniem np. Modig_3_0.elf i klikamy Download. Po chwili pojawi się podsumowanie, gdzie klikamy OK. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_open file.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Na zakończenie klikamy Disconnect i odłączamy przewód USB od konwertera. Po ponownym podłączeniu przewodu USB (bez aktywowania przycisku RES) konwerter MODIG uruchomi się z nowym oprogramowaniem.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Konfiguracja konwertera====&lt;br /&gt;
Wszystkie parametry konwertera MODIG są ustawiane poprzez stronę internetową. &lt;br /&gt;
&amp;lt;br&amp;gt;W przeglądarce internetowej komputera lub smartfona podłączonego do sieci LAN (tej samej, w której znajduje się konwerter MODIG), należy wpisać adres IP konwertera. Adres IP, który został przypisany do konwertera można sprawdzić poprzez odczytanie informacji wysyłanych przez interfejs USB (rozdział “Interfejs USB”) lub z poziomu urządzenia zarządzającego naszą siecią LAN np. routera.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Logowanie====&lt;br /&gt;
Po wpisaniu właściwego IP zostanie wyświetlona strona konwertera MODIG. Pierwszym etapem jest wpisanie hasła dostępu do strony ustawień, domyślnie jest to “1234”.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_start.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Wpisanie niewłaściwego hasła zostanie odpowiednio zasygnalizowane.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_try again.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Menu główne====&lt;br /&gt;
Po prawidłowym zalogowaniu zostanie wyświetlona strona główna menu ustawień. W dolnej części strony znajdują się podstawowe informacje o urządzeniu oraz parametry najważniejszych ustawień.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_main.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Po zakończeniu konfigurowania parametrów pracy należy wylogować się ze strony konfiguracyjnej poprzez przycisk &#039;&#039;LOGOUT&#039;&#039;. Dzięki temu ustawienia zostaną zapisane do nieulotnej pamięci konfiguracyjnej urządzenia.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Jeśli użytkownik nie wykona wylogowania, to nastąpi ono automatycznie po 5 minutach bezczynności na stronie konfiguracyjnej. Natomiast ustawienia konfiguracyjne zostaną zapisane do nieulotnej pamięci konfiguracyjnej urządzenia po 1 minucie bezczynności na stronie konfiguracyjnej.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Ustawienia urządzenia (DEVICE)====&lt;br /&gt;
&#039;&#039;Device Name&#039;&#039; - nazwa, którą użytkownik może ustawić dla danego urządzenia. Aby zmienić nazwę należy wpisać nową nazwę w polu tekstowym przy etykiecie &#039;&#039;Device Name&#039;&#039; i potwierdzić przyciskiem &#039;&#039;Apply&#039;&#039; umieszczonym pod polem tekstowym.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Hasło dostępu do strony ustawień&amp;lt;br&amp;gt;&lt;br /&gt;
Dostęp do strony ustawień jest możliwy po wpisaniu prawidłowego hasła. Dostęp jest przydzielany na podstawie adresu IP, z jakiego odbywa się logowanie i jest przydzielany na czas 5 minut. Czas jest odnawiany po każdej akcji wykonanej na stronie, po 5 minutach bezczynności następuje automatyczne wylogowanie.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Aby ustawić nowe hasło należy wpisać je w pola tekstowe oznaczone jako &#039;&#039;New Password&#039;&#039; oraz &#039;&#039;Repeat new password&#039;&#039; i zatwierdzić przyciskiem &#039;&#039;Apply&#039;&#039; umieszczonym pod polami tekstowymi.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_device.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Jeśli wszystko zostanie wykonane prawidłowo zobaczymy taki komunikat&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_new password_2.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Ustawienia sieciowe (NETWORK)====&lt;br /&gt;
Grupa ustawień sieciowych obejmuje ustawienie adresu MAC (&#039;&#039;Device MAC&#039;&#039;) i adresu IP. Jeśli funkcja automatycznego przydzielania adresu IP jest aktywna (&#039;&#039;DHCP - ENABLE&#039;&#039;) konwerter RS485-ETHERNET PoE otrzyma adres IP z urządzenia zarządzającego naszą siecią LAN np. routera. Natomiast, jeśli DHCP zostanie wyłączone (&#039;&#039;DISABLE&#039;&#039;), to konwerter RS485-ETHERNET PoE wymaga ustawienia statycznego adresu IP (&#039;&#039;Device static IP&#039;&#039;) oraz maski sieciowej (&#039;&#039;Subnet mask&#039;&#039;)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_netsett.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Zmiana adresu MAC wymaga wykonania restartu urządzenia. Można tego dokonać za pomocą przycisku &#039;&#039;RESTART&#039;&#039;. Zmiana ustawień adresu IP wymaga ponownego zainicjowania interfejsu Ethernet. Można tego dokonać za pomocą przycisku &#039;&#039;RECONNECT&#039;&#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
W obu przypadkach urządzenie wyloguje użytkownika i wykona ponowne zainicjowanie interfejsu Ethernet. W zależności od ustawień, strona konfiguracyjna konwertera może być dostępna pod innym adresem IP, niż wcześniej.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Ustawienia trybu pracy (MODE)====&lt;br /&gt;
Konwerter MODIG przesyła dane poprzez sieć Ethernet z użyciem protokołów TCP oraz UDP, które działają niezależnie od siebie.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Protokół TCP działa w konfiguracji Serwer-Klient i wymaga ustawienia adresu IP urządzenia do którego będzie skierowana komunikacja, oraz numeru portu komunikacyjnego, który powinien mieć wartość zakresu 1024…65535.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Protokół UDP nie wymaga nawiązywania i utrzymywania stałego połączenia między określonym odbiorcą. Wymaga ustawienia adresu IP urządzenia do którego będzie skierowana komunikacja, oraz numeru portu komunikacyjnego, który powinien mieć wartość zakresu 1024…65535. Jeśli adres IP zostanie ustawiony na 255.255.255.255 komunikacja będzie realizowana w trybie rozgłoszenioym (&#039;&#039;broadcasting&#039;&#039;), czyli komunikacja będzie dostępna dla wszystkich urządzeń w sieci LAN.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_mode.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Ustawienia interfejsu RS485 (RS485) ====&lt;br /&gt;
Parametry interfejsu RS485, które można ustawić w konwerterze MODIG to:&lt;br /&gt;
*prędkość komunikacji (&#039;&#039;Baudrate&#039;&#039;): dowolna wartość z zakresu 200…1000000 bps,&lt;br /&gt;
*ilość bitów danych w każdym znaku (&#039;&#039;Data bits&#039;&#039;): 7 lub 8 bitów,&lt;br /&gt;
*kontrola parzystości (&#039;&#039;Parity&#039;&#039;): None, Even, Odd,&lt;br /&gt;
*bity znacznika stop (&#039;&#039;Stop bits&#039;&#039;): 1; 1,5; 2,&lt;br /&gt;
Parametry interfejsu RS485 konwertera MODIG, powinny być ustawione tak samo, jak parametry pozostałych urządzeń dołączonych do interfejsu RS485. Nowe ustawienia należy zatwierdzić przyciskiem &#039;&#039;Apply&#039;&#039; umieszczonym pod polami ustawień.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Dane przesyłane poprzez magistralę RS485 mają postać ramek (pakietów), które zwykle są zakończone specyficzną kombinacją znaków lub następuje po nich określony czas bezczynności na magistrali. Dane z magistrali RS485 są przesyłane przez interfejs Ethernet jako całe ramki. Ramka, która nie zostanie odpowiednio zakończona nie zostanie przesłana przez interfejs Ethernet.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Konwerter MODIG może wykrywać koniec ramki jako sekwencję 1…4 dowolnych znaków, np. słowo “END” lub znaki “0xFF 0xFF 0xFF 0xFF” lub sekwencja CR LF (&#039;&#039;Carriage Return, Line Feed&#039;&#039;) stosowana przy zapisywaniu tekstu. Sekwencję zakończenia ramki należy wpisać w pole tekstowe przy etykiecie &#039;&#039;Packet complete characters&#039;&#039;. Znaki muszą być zapisane w formacie hex, czyli każdy znak musi być zapisany w postaci jego wartości hexadecymalnej (zgodnie z ASCII), poprzedzonej literą x - sekwencję “END” należy zapisać jako “x45 x4E x44”. Jeśli pole pozostanie puste to funkcja będzie nieaktywna.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Konwerter MODIG może również wykrywać koniec ramki jako określony czas bezczynności na magistrali. Czas bezczynności jest mierzony jako liczba znaków, które mogłyby być przesłane w tym czasie. W polu przy etykiecie Packet complete idle characters należy wpisać wartość z zakresu 0…255. Funkcja będzie nieaktywna, gdy wartość będzie wynosiła 0, wartość 1 oznacza, że ramka zostanie uznana za zakończoną, gdy czas bezczynności na magistrali będzie odpowiadał czasowi przesłania jednego dowolnego znaku, itd.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Obie metody wykrywania końca ramki mogą być jednocześnie aktywne.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_rs485.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Narzędzia dodatkowe (TOOLS) ====&lt;br /&gt;
Z poziomu strony konfiguracyjnej możliwe jest wysłanie prostych ramek poprzez interfejs RS485. Pole tekstowe oznaczone jako &#039;&#039;Remote RS485 message&#039;&#039; pozwala na wysłanie krótkiej treści do urządzenia, którego adres IP jest określony w ustawieniach trybu pracy (MODE), w sekcjach TCP i UDP. Wysłanie treści należy potwierdzić przyciskiem &#039;&#039;Send&#039;&#039; umieszczonym pod polem tekstowym.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Pole tekstowe oznaczone jako &#039;&#039;Local RS485 message&#039;&#039; pozwala na wysłanie krótkiej treści z urządzenia, którego strona konfiguracyjna jest właśnie widoczna w przeglądarce, poprzez interfejs RS485. Wysłanie treści należy potwierdzić przyciskiem &#039;&#039;Send&#039;&#039; umieszczonym pod polem tekstowym.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_tools.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=File:RS485-ETHERNET_DIN_rs_schem.png&amp;diff=565</id>
		<title>File:RS485-ETHERNET DIN rs schem.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=File:RS485-ETHERNET_DIN_rs_schem.png&amp;diff=565"/>
		<updated>2026-06-15T18:35:16Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: Grzegorzbecker uploaded a new version of File:RS485-ETHERNET DIN rs schem.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=File:RS485-ETHERNET_DIN_rs_schem.png&amp;diff=564</id>
		<title>File:RS485-ETHERNET DIN rs schem.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=File:RS485-ETHERNET_DIN_rs_schem.png&amp;diff=564"/>
		<updated>2026-06-15T18:32:01Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=MD12002_Konwerter_RS485-ETHERNET_DIN_(PL)&amp;diff=563</id>
		<title>MD12002 Konwerter RS485-ETHERNET DIN (PL)</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=MD12002_Konwerter_RS485-ETHERNET_DIN_(PL)&amp;diff=563"/>
		<updated>2026-06-15T18:30:10Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: /* Zastosowanie */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Opis ====&lt;br /&gt;
&amp;lt;b&amp;gt;Przemysłowy konwerter magistrali RS485 na Ethernet na szynę DIN&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Konwerter &amp;lt;b&amp;gt; MODIG RS485-ETHERNET DIN&amp;lt;/b&amp;gt; to wielofunkcyjny i łatwy w obsłudze konwerter magistrali RS485, na interfejs sieciowy Ethernet. Konwerter jest przystosowany do montażu na szynie elektroinstalacyjnej DIN 35. Dzięki kompaktowej konstrukcji urządzenie ma szerokość tylko 35 mm i może być zamontowane nawet w niewielkiej szafce rozdzielczej. Dodatkowy interfejs USB ułatwia obsługę i konfigurację.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:Konwerter_RS485-ETHERNET_DIN.jpg|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Podstawowe cechy i parametry ====&lt;br /&gt;
* Interfejs RS485: sygnały A+, B-, GND i TERM oraz złącze typu Phoenix MC 3,81&lt;br /&gt;
* Konfigurowany terminator magistrali: rezystor 120 Ω&lt;br /&gt;
* Zabezpieczenie RS485: separacja galwaniczna 1 kV, ochrona przeciwprzepięciowa&lt;br /&gt;
* Prędkość komunikacji RS485: dowolna wartość z zakresu 200 bps… 1 Mbps&lt;br /&gt;
* Parametry RS485: Data bits: 7/8; Parity: None/Even/Odd; Stop bits: 1/1,5/2, Half-Duplex&lt;br /&gt;
* Maksymalna liczba urządzeń (nodes) dołączonych do RS485: 64&lt;br /&gt;
* Maksymalna długość jednej ramki danych RS485: 4 kB (4096 znaków)&lt;br /&gt;
* Interfejs sieciowy: RJ45, Ethernet 10/100 Mbps Full Duplex&lt;br /&gt;
* Adres MAC: konfigurowany&lt;br /&gt;
* Adres IP: IPv4, statyczny lub DHCP&lt;br /&gt;
* Tryby pracy: Serwer TCP/Klient TCP; równocześnie UDP lub UDP broadcast&lt;br /&gt;
* Konfiguracja: strona WWW, dostęp zabezpieczony hasłem&lt;br /&gt;
* Parametry pracy: odczyt poprzez USB lub WWW&lt;br /&gt;
* Zasilanie: napięcie stałe o wartości z zakresu 7…38 V DC i min. 0,2 A&lt;br /&gt;
* Opcjonalne zasilanie: poprzez złącze USB-C&lt;br /&gt;
* Obudowa przystosowana do montażu na szynie DIN 35 (TH 35) 90 x 35 x 65 mm&lt;br /&gt;
* Zakres temperatur pracy: -20°C do +50°C&lt;br /&gt;
* Sygnalizacja stanu: diody LED&lt;br /&gt;
* Aktualizacja oprogramowania (firmware): poprzez interfejs USB&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Zastosowanie ====&lt;br /&gt;
Konwerter MODIG RS485-ETHERNET DIN umożliwia dwukierunkowe przesyłanie danych z interfejsu RS485 do sieci Ethernet. Komunikacja może odbywać się pomiędzy urządzeniami MODIG RS485-ETHERNET DIN lub z udziałem innych urządzeń obsługujących protokoły TCP i/lub UDP.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Ramki danych RS485 są konwertowane na ramki Ethernet TCP/UDP. W przypadku ramek z dużą ilością danych (ponad 1,5 kB, max 4 kB), stosowany jest mechanizm fragmentacji - podział na ramki o mniejszym rozmiarze. W urządzeniu docelowym ramki danych RS485 są odtwarzane w taki sposób, aby transmisja była całkowicie transparentna.&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
Typowa aplikacja konwertera MODIG RS485-ETHERNET DIN:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET DIN main schem.png|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Interfejs RS485====&lt;br /&gt;
Interfejs RS485 jest dostępny przez złącze typu Phoenix Contact MC 3,81 mm, które zawiera 4 styki.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Numer styku&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Oznaczenie&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Funkcja&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;1&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;T&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Aktywowanie wewnętrznego rezystora terminującego 120 Ω.&lt;br /&gt;
Rezystor jest aktywny, gdy styk &#039;&#039;&#039;T&#039;&#039;&#039; jest połączony ze stykiem &#039;&#039;&#039;A+&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;2&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;A+&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Linia &#039;&#039;&#039;A&#039;&#039;&#039; magistrali RS485 (potencjał dodatni)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;3&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;B-&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Linia &#039;&#039;&#039;B&#039;&#039;&#039; magistrali RS485 (potencjał ujemny)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;4&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;⏚&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Masa &#039;&#039;&#039;GND&#039;&#039;&#039; magistrali RS485&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_rs con.jpg|none|300px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konwerter MODIG może być dołączony do magistrali RS485, która łączy maksymalnie 64 urządzenia (wliczając konwerter). Każde urządzenie powinno być dołączone w taki sposób, aby nie powstawały węzły/rozgałęzienia magistrali - ewentualne połączenia powinny być jak najkrótsze. Na obu końcach magistrali warto dołączyć rezystory terminujące 120 Ω. Konwerter MODIG ma zintegrowany taki rezystor, ale żeby był aktywny należy połączyć ze sobą styki &#039;&#039;&#039;A+&#039;&#039;&#039; oraz &#039;&#039;&#039;T&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Na rysunku pokazano uproszczony schemat magistrali RS485, z jednej strony zakończonej rezystorem terminującym 120 Ω, a z drugiej strony rezystorem terminującym zintegrowanym w konwerterze. Ponadto pokazano właściwe, oraz błędne podłączenie urządzeń do magistrali.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_rs schem.jpg|none|950px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Interfejs ETHERNET====&lt;br /&gt;
Konwerter MODIG jest wyposażony w interfejs Ethernet 10/100 Mbps z klasycznym złączem typu RJ45 oznaczonym jako ETHERNET. Poprzez interfejs Ethernet konwerter może być podłączony do lokalnej sieci komputerowej - LAN. Kontrolka &#039;&#039;&#039;LNK&#039;&#039;&#039; sygnalizuje prawidłowe podłączenie do sieci Ethernet, miganie kontrolki &#039;&#039;&#039;ACT&#039;&#039;&#039; sygnalizuje przesyłanie danych poprzez interfejs Ethernet.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_eth conn.jpg|none|300px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Zasilanie DC====&lt;br /&gt;
Zasilanie konwertera MODIG polega na doprowadzeniu napięcia stałego do złącza oznaczonego DC 7-38V. Jest to złącze typu Phoenix Contact MC 3,81 mm z dwoma stykami. Źródło zasilania musi dostarczać napięcie z zakresu 7…38 V DC i min. 0,2 A. &#039;&#039;&#039;Należy zwrócić uwagę na jego właściwą polaryzację.&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_pwr_con.jpg|none|300px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Opcjonalnie zasilanie konwertera MODIG może być doprowadzane poprzez złącze USB-C oznaczone USB. Źródło zasilania musi mieć napięcie o wartości 5 V ±10% i prąd co najmniej 0,2 A. Odpowiednie parametry mają np. ładowarki USB, a także interfejsy USB komputerów PC lub komputerów SBC.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_usb_con.jpg|300px|]]           &lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Kontrolki sygnalizacyjne====&lt;br /&gt;
Działanie konwertera MODIG RS485-ETHERNET DIN jest sygnalizowane za pomocą 3 kontrolek LED.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Kontrolka&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Znaczenie&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;STA&lt;br /&gt;
(&amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;zielony&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Cykliczne miganie kontrolki LED sygnalizuje prawidłowe zasilanie systemu, niezależnie od źródła zasilania.&lt;br /&gt;
Świecenie kontrolki LED oznacza prawidłowe podłączenie do sieci Ethernet i uzyskanie adresu IP.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;ETH&lt;br /&gt;
(&amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;niebieski&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Miganie kontrolki LED sygnalizuje wysyłanie/odbieranie ramek TCP/UDP.&lt;br /&gt;
Świecenie kontrolki LED oznacza aktywne połączenie TCP Serwer-Klient.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;RS&lt;br /&gt;
(&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;czerwony&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Miganie kontrolki LED sygnalizuje wysyłanie/odbieranie danych poprzez magistralę RS485.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET DIN leds.jpg|none|300px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Przycisk funkcyjny RES====&lt;br /&gt;
Przycisk funkcyjny pozwala wykonać restart urządzenia lub przywrócenie ustawień fabrycznych. Aby aktywować przycisk należy wsunąć końcówkę spinacza biurowego w otwór oznaczony RES, aż do lekko wyczuwalnego kliknięcia.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Restart urządzenia jest wykonywany przy włączonym urządzeniu, gdy przycisk RES jest aktywny (wciśnięty) przez ok. 5 sekund, a następnie zostaje zwolniony. Towarzyszy temu miganie czerwonej kontrolki LED RS - 4 krótkie mignięcia i ostatnie długie świecenie, trwające ok 1 s. Przycisk należy zwolnić w trakcie długiego świecenia kontrolki LED. W efekcie konwerter MODIG wykona całkowity restart systemu.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Przywrócenie ustawień fabrycznych jest wykonywane przy włączonym urządzeniu, gdy przycisk RES jest aktywny (wciśnięty) przez ok. 10 sekund, a następnie zostaje zwolniony. Towarzyszy temu miganie czerwonej kontrolki LED RS - 4 krótkie mignięcia, następnie długie świecenie, trwające ok 1 s, następnie ok. 4 s przerwy i ponowne długie świecenie. Przycisk należy zwolnić w trakcie drugiego długiego świecenia kontrolki LED. W efekcie wszystkie ustawienia (konfiguracja sieci, parametry RS485, a także hasło do strony konfiguracyjnej, itd) zostaną przywrócone do stanu fabrycznego.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_reset.jpg|none|300px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Interfejs USB====&lt;br /&gt;
Złącze USB-C oznaczone USB pozwala doprowadzić zasilanie do konwertera MODIG, ale również pozwala monitorować parametry pracy konwertera. Poprzez złącze USB można podłączyć konwerter do komputera PC. W systemie operacyjnym pojawi się nowe urządzenie - port szeregowy USB oznaczony np. jako COM5.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:MODIG_RS485-ETHERNET_PoE_COM.jpg|none|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Dowolnym programem typu Terminal (np. Putty, BrayTerminal itd.) można podłączyć się do portu szeregowego USB utworzonego przez konwerter. Parametry komunikacji powinny być następujące: 115200, 8, N, 1. W oknie terminala będą wyświetlane dane przesyłane z konwertera MODIG:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_terminal.jpg|none|700px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Szczególnie ważną informacją może być adres IP, który został przydzielony dla konwertera, ale są tam także inne ważne informacje, m.in.: status DHCP, MAC, ustawienia TCP i UDP).&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Aktualizacja oprogramowania układowego (firmware)====&lt;br /&gt;
Wykonanie aktualizacji oprogramowania układowego (firmware) wymaga komputera PC z zainstalowaną aplikacją STM32Cube Programmer oraz wolnym interfejsem USB i przewodu USB, którym można podłączyć konwerter MODIG z tym komputerem.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_programowanie.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Aplikację STM32Cube Programmer można pobrać ze strony:&lt;br /&gt;
https://www.st.com/en/development-tools/stm32cubeprog.html&lt;br /&gt;
&amp;lt;br&amp;gt;Należy wybrać wersję dla systemu operacyjnego zainstalowanego na komputerze PC i postępować zgodnie z instrukcjami na stronie. Po pobraniu pliku instalacyjnego należy aplikację zainstalować.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_get soft.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Konwerter MODIG należy wprowadzić w tryb aktualizacji oprogramowania układowego. W tym celu:&lt;br /&gt;
# Odłączamy konwerter od sieci Ethernet, od magistrali RS485 oraz od zasilania&lt;br /&gt;
# Przy wyłączonym konwerterze aktywujemy przycisk RES (za pomocą spinacza biurowego)&lt;br /&gt;
# Trzymając aktywny przycisk RES podłączamy przewód USB z komputera do konwertera MODIG (złącze USB-C oznaczone USB).&lt;br /&gt;
&amp;lt;br&amp;gt;Kontrolki LED będą wygaszone, co oznacza, że konwerter jest gotowy do aktualizacji oprogramowania. W systemie operacyjnym komputera PC powinno pojawić się urządzenie:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_DFU mode.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Uruchamiamy aplikację STM32Cube Programmer, wybieramy rodzaj połączenia USB i klikamy Connect.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_connect.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Wybieramy Open file i wskazujemy plik z nowym oprogramowaniem np. Modig_3_0.elf i klikamy Download. Po chwili pojawi się podsumowanie, gdzie klikamy OK. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_open file.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Na zakończenie klikamy Disconnect i odłączamy przewód USB od konwertera. Po ponownym podłączeniu przewodu USB (bez aktywowania przycisku RES) konwerter MODIG uruchomi się z nowym oprogramowaniem.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Konfiguracja konwertera====&lt;br /&gt;
Wszystkie parametry konwertera MODIG są ustawiane poprzez stronę internetową. &lt;br /&gt;
&amp;lt;br&amp;gt;W przeglądarce internetowej komputera lub smartfona podłączonego do sieci LAN (tej samej, w której znajduje się konwerter MODIG), należy wpisać adres IP konwertera. Adres IP, który został przypisany do konwertera można sprawdzić poprzez odczytanie informacji wysyłanych przez interfejs USB (rozdział “Interfejs USB”) lub z poziomu urządzenia zarządzającego naszą siecią LAN np. routera.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Logowanie====&lt;br /&gt;
Po wpisaniu właściwego IP zostanie wyświetlona strona konwertera MODIG. Pierwszym etapem jest wpisanie hasła dostępu do strony ustawień, domyślnie jest to “1234”.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_start.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Wpisanie niewłaściwego hasła zostanie odpowiednio zasygnalizowane.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_try again.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Menu główne====&lt;br /&gt;
Po prawidłowym zalogowaniu zostanie wyświetlona strona główna menu ustawień. W dolnej części strony znajdują się podstawowe informacje o urządzeniu oraz parametry najważniejszych ustawień.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_main.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Po zakończeniu konfigurowania parametrów pracy należy wylogować się ze strony konfiguracyjnej poprzez przycisk &#039;&#039;LOGOUT&#039;&#039;. Dzięki temu ustawienia zostaną zapisane do nieulotnej pamięci konfiguracyjnej urządzenia.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Jeśli użytkownik nie wykona wylogowania, to nastąpi ono automatycznie po 5 minutach bezczynności na stronie konfiguracyjnej. Natomiast ustawienia konfiguracyjne zostaną zapisane do nieulotnej pamięci konfiguracyjnej urządzenia po 1 minucie bezczynności na stronie konfiguracyjnej.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Ustawienia urządzenia (DEVICE)====&lt;br /&gt;
&#039;&#039;Device Name&#039;&#039; - nazwa, którą użytkownik może ustawić dla danego urządzenia. Aby zmienić nazwę należy wpisać nową nazwę w polu tekstowym przy etykiecie &#039;&#039;Device Name&#039;&#039; i potwierdzić przyciskiem &#039;&#039;Apply&#039;&#039; umieszczonym pod polem tekstowym.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Hasło dostępu do strony ustawień&amp;lt;br&amp;gt;&lt;br /&gt;
Dostęp do strony ustawień jest możliwy po wpisaniu prawidłowego hasła. Dostęp jest przydzielany na podstawie adresu IP, z jakiego odbywa się logowanie i jest przydzielany na czas 5 minut. Czas jest odnawiany po każdej akcji wykonanej na stronie, po 5 minutach bezczynności następuje automatyczne wylogowanie.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Aby ustawić nowe hasło należy wpisać je w pola tekstowe oznaczone jako &#039;&#039;New Password&#039;&#039; oraz &#039;&#039;Repeat new password&#039;&#039; i zatwierdzić przyciskiem &#039;&#039;Apply&#039;&#039; umieszczonym pod polami tekstowymi.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_device.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Jeśli wszystko zostanie wykonane prawidłowo zobaczymy taki komunikat&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_new password_2.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Ustawienia sieciowe (NETWORK)====&lt;br /&gt;
Grupa ustawień sieciowych obejmuje ustawienie adresu MAC (&#039;&#039;Device MAC&#039;&#039;) i adresu IP. Jeśli funkcja automatycznego przydzielania adresu IP jest aktywna (&#039;&#039;DHCP - ENABLE&#039;&#039;) konwerter RS485-ETHERNET PoE otrzyma adres IP z urządzenia zarządzającego naszą siecią LAN np. routera. Natomiast, jeśli DHCP zostanie wyłączone (&#039;&#039;DISABLE&#039;&#039;), to konwerter RS485-ETHERNET PoE wymaga ustawienia statycznego adresu IP (&#039;&#039;Device static IP&#039;&#039;) oraz maski sieciowej (&#039;&#039;Subnet mask&#039;&#039;)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_netsett.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Zmiana adresu MAC wymaga wykonania restartu urządzenia. Można tego dokonać za pomocą przycisku &#039;&#039;RESTART&#039;&#039;. Zmiana ustawień adresu IP wymaga ponownego zainicjowania interfejsu Ethernet. Można tego dokonać za pomocą przycisku &#039;&#039;RECONNECT&#039;&#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
W obu przypadkach urządzenie wyloguje użytkownika i wykona ponowne zainicjowanie interfejsu Ethernet. W zależności od ustawień, strona konfiguracyjna konwertera może być dostępna pod innym adresem IP, niż wcześniej.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Ustawienia trybu pracy (MODE)====&lt;br /&gt;
Konwerter MODIG przesyła dane poprzez sieć Ethernet z użyciem protokołów TCP oraz UDP, które działają niezależnie od siebie.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Protokół TCP działa w konfiguracji Serwer-Klient i wymaga ustawienia adresu IP urządzenia do którego będzie skierowana komunikacja, oraz numeru portu komunikacyjnego, który powinien mieć wartość zakresu 1024…65535.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Protokół UDP nie wymaga nawiązywania i utrzymywania stałego połączenia między określonym odbiorcą. Wymaga ustawienia adresu IP urządzenia do którego będzie skierowana komunikacja, oraz numeru portu komunikacyjnego, który powinien mieć wartość zakresu 1024…65535. Jeśli adres IP zostanie ustawiony na 255.255.255.255 komunikacja będzie realizowana w trybie rozgłoszenioym (&#039;&#039;broadcasting&#039;&#039;), czyli komunikacja będzie dostępna dla wszystkich urządzeń w sieci LAN.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_mode.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Ustawienia interfejsu RS485 (RS485) ====&lt;br /&gt;
Parametry interfejsu RS485, które można ustawić w konwerterze MODIG to:&lt;br /&gt;
*prędkość komunikacji (&#039;&#039;Baudrate&#039;&#039;): dowolna wartość z zakresu 200…1000000 bps,&lt;br /&gt;
*ilość bitów danych w każdym znaku (&#039;&#039;Data bits&#039;&#039;): 7 lub 8 bitów,&lt;br /&gt;
*kontrola parzystości (&#039;&#039;Parity&#039;&#039;): None, Even, Odd,&lt;br /&gt;
*bity znacznika stop (&#039;&#039;Stop bits&#039;&#039;): 1; 1,5; 2,&lt;br /&gt;
Parametry interfejsu RS485 konwertera MODIG, powinny być ustawione tak samo, jak parametry pozostałych urządzeń dołączonych do interfejsu RS485. Nowe ustawienia należy zatwierdzić przyciskiem &#039;&#039;Apply&#039;&#039; umieszczonym pod polami ustawień.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Dane przesyłane poprzez magistralę RS485 mają postać ramek (pakietów), które zwykle są zakończone specyficzną kombinacją znaków lub następuje po nich określony czas bezczynności na magistrali. Dane z magistrali RS485 są przesyłane przez interfejs Ethernet jako całe ramki. Ramka, która nie zostanie odpowiednio zakończona nie zostanie przesłana przez interfejs Ethernet.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Konwerter MODIG może wykrywać koniec ramki jako sekwencję 1…4 dowolnych znaków, np. słowo “END” lub znaki “0xFF 0xFF 0xFF 0xFF” lub sekwencja CR LF (&#039;&#039;Carriage Return, Line Feed&#039;&#039;) stosowana przy zapisywaniu tekstu. Sekwencję zakończenia ramki należy wpisać w pole tekstowe przy etykiecie &#039;&#039;Packet complete characters&#039;&#039;. Znaki muszą być zapisane w formacie hex, czyli każdy znak musi być zapisany w postaci jego wartości hexadecymalnej (zgodnie z ASCII), poprzedzonej literą x - sekwencję “END” należy zapisać jako “x45 x4E x44”. Jeśli pole pozostanie puste to funkcja będzie nieaktywna.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Konwerter MODIG może również wykrywać koniec ramki jako określony czas bezczynności na magistrali. Czas bezczynności jest mierzony jako liczba znaków, które mogłyby być przesłane w tym czasie. W polu przy etykiecie Packet complete idle characters należy wpisać wartość z zakresu 0…255. Funkcja będzie nieaktywna, gdy wartość będzie wynosiła 0, wartość 1 oznacza, że ramka zostanie uznana za zakończoną, gdy czas bezczynności na magistrali będzie odpowiadał czasowi przesłania jednego dowolnego znaku, itd.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Obie metody wykrywania końca ramki mogą być jednocześnie aktywne.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_rs485.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Narzędzia dodatkowe (TOOLS) ====&lt;br /&gt;
Z poziomu strony konfiguracyjnej możliwe jest wysłanie prostych ramek poprzez interfejs RS485. Pole tekstowe oznaczone jako &#039;&#039;Remote RS485 message&#039;&#039; pozwala na wysłanie krótkiej treści do urządzenia, którego adres IP jest określony w ustawieniach trybu pracy (MODE), w sekcjach TCP i UDP. Wysłanie treści należy potwierdzić przyciskiem &#039;&#039;Send&#039;&#039; umieszczonym pod polem tekstowym.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Pole tekstowe oznaczone jako &#039;&#039;Local RS485 message&#039;&#039; pozwala na wysłanie krótkiej treści z urządzenia, którego strona konfiguracyjna jest właśnie widoczna w przeglądarce, poprzez interfejs RS485. Wysłanie treści należy potwierdzić przyciskiem &#039;&#039;Send&#039;&#039; umieszczonym pod polem tekstowym.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_tools.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=MD12002_RS485_to_Ethernet_DIN_Rail_Converter_(EN)&amp;diff=562</id>
		<title>MD12002 RS485 to Ethernet DIN Rail Converter (EN)</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=MD12002_RS485_to_Ethernet_DIN_Rail_Converter_(EN)&amp;diff=562"/>
		<updated>2026-06-15T18:29:39Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: /* Applications */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Description ====&lt;br /&gt;
&amp;lt;b&amp;gt;Industrial RS485 to Ethernet Bus Converter for DIN Rail Mounting&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The &amp;lt;b&amp;gt;MODIG RS485-ETHERNET DIN&amp;lt;/b&amp;gt; is a versatile and user-friendly bus converter that bridges an RS485 serial network with an Ethernet network interface. The device is specifically engineered for mounting on a standard 35 mm DIN electrical installation rail (TH35). Thanks to its ultra-slim and compact design, the module has a physical width of just 35 mm, allowing it to fit easily into tightly packed industrial switchboards or small distribution cabinets. An integrated USB auxiliary interface simplifies maintenance and parameter configuration.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:Konwerter_RS485-ETHERNET_DIN.jpg|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Key Features and Specifications ====&lt;br /&gt;
* RS485 Interface: Terminals: A+, B-, GND, and TERM via Phoenix Contact MC 3.81 mm connector&lt;br /&gt;
* Termination Resistor: Integrated 120 Ω bus terminator (configurable)&lt;br /&gt;
* RS485 Circuit Protection: 1 kV galvanic isolation and integrated surge protection&lt;br /&gt;
* RS485 Baud Rate: Supports any custom value from 200 bps to 1,000,000 bps (1 Mbps)&lt;br /&gt;
* RS485 Serial Parameters: Data bits: 7/8; Parity: None/Even/Odd; Stop bits: 1/1.5/2; Half-Duplex&lt;br /&gt;
* Network Capacity: Supports up to 64 nodes on the RS485 bus&lt;br /&gt;
* Buffer Size: Maximum RS485 data frame length of 4 kB (4096 bytes)&lt;br /&gt;
* Network Interface: RJ45 port, 10/100 Mbps Base-T Full Duplex Ethernet&lt;br /&gt;
* Network Addressing: Configurable MAC address; IPv4 support with Static IP or DHCP assignment&lt;br /&gt;
* Operational Modes: TCP Server, TCP Client, Concurrent UDP, and UDP Broadcast&lt;br /&gt;
* Device Configuration: Password-protected, built-in Web-UI (HTTP)&lt;br /&gt;
* Diagnostics: Operational status readout via USB or Web-UI&lt;br /&gt;
* DC Power Input: Supports a steady external DC voltage range of 7–38 V DC (min. 0.2 A)&lt;br /&gt;
* Auxiliary Power Input: Optional power delivery via an integrated USB-C connector&lt;br /&gt;
* Form Factor: Rugged enclosure designed for standard DIN 35 (TH 35) rail installation; Dimensions: 90 x 35 x 65 mm&lt;br /&gt;
* Operating Temperature Range: -20°C to +50°C&lt;br /&gt;
* Status Indicators: Diagnostic LEDs&lt;br /&gt;
* Firmware Upgrade: Supported via USB interface&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Applications ====&lt;br /&gt;
The MODIG RS485-ETHERNET DIN converter enables bidirectional data routing between an RS485 serial bus and an Ethernet network. Communication can be established transparently between two MODIG RS485-ETHERNET DIN modules or integrated with any third-party field device supporting standard TCP and/or UDP protocols.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Serial data frames from the RS485 bus are packed and converted into Ethernet TCP/UDP packets. For large payloads (exceeding 1.5 kB up to the 4 kB maximum), an internal fragmentation mechanism splits the payload into smaller network frames. At the receiving destination node, the original RS485 data format is fully reconstructed, ensuring completely transparent communication across the network layer.&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
Typical application layout for the MODIG RS485-ETHERNET DIN converter:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_main_schem.png|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== RS485 Interface ====&lt;br /&gt;
The physical RS485 interface is accessible via a 4-pin Phoenix Contact MC 3.81 mm screw terminal block.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Pin Number&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Label&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;1&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;T&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Activates the internal 120 Ω line termination resistor. The resistor is engaged when terminal &#039;&#039;&#039;T&#039;&#039;&#039; is shorted to terminal &#039;&#039;&#039;A+&#039;&#039;&#039;.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;2&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;A+&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|RS485 differential line A (Non-inverting / Positive potential)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;3&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;B-&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|RS485 differential line B (Inverting / Negative potential)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;4&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&#039;&#039;&#039;⏚&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Signal Ground (GND) for the RS485 bus&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_rs con.jpg|none|300px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The MODIG converter can be connected to an RS485 bus containing up to 64 devices (including the converter itself). Devices must be daisy-chained to avoid stub lines or bus branches; any necessary drop lines must be kept as short as possible. 120 Ω impedance matching termination resistors should be placed at both physical ends of the bus line. The MODIG converter includes an on-board termination resistor, which can be enabled by bridging terminal &#039;&#039;&#039;A+&#039;&#039;&#039; and terminal &#039;&#039;&#039;T&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The diagram below shows a simplified wiring schematic of the RS485 bus network, terminated with a standard 120 Ω resistor on one end, and the converter&#039;s internal termination on the other. It also illustrates the correct daisy-chain connection method versus incorrect topology.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_rs schem.jpg|none|950px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ETHERNET Interface ====&lt;br /&gt;
The MODIG converter features a 10/100 Mbps Ethernet port utilizing a standard RJ45 connector interface labeled ETHERNET. This allows the converter to join a Local Area Network (LAN). The &#039;&#039;&#039;LNK&#039;&#039;&#039; LED indicates a valid physical network connection, while a flashing &#039;&#039;&#039;ACT&#039;&#039;&#039; LED signals active data traffic over the Ethernet network layer.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_eth conn.jpg|none|300px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== DC Power Supply ====&lt;br /&gt;
Primary power to the MODIG converter is delivered by applying a steady DC voltage to the terminal block labeled DC 7-38V. This is a 2-pin Phoenix Contact MC 3.81 mm screw terminal interface. The external power source must deliver a voltage within the range of 7 to 38 V DC with a minimum current capacity of 0.2 A. &amp;lt;b&amp;gt;Strict attention must be paid to ensuring the correct wiring polarity.&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_pwr_con.jpg|none|300px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Alternatively, auxiliary power can be delivered to the module via the USB-C port labeled USB. The external source must deliver 5 V DC ±10% with a minimum capacity of 0.2 A. This requirement is met by standard USB chargers, PC interface ports, or Single Board Computers (SBCs).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_usb_con.jpg|300px|]]           &lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Status LED Indicators ====&lt;br /&gt;
The operation of the MODIG RS485-ETHERNET DIN converter is monitored using 3 diagnostic LEDs.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|LED Indicator&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Status Meaning&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;STA (&amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;green&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Blinking at a steady interval indicates the system logic is correctly powered, regardless of the active power source. A solid green light indicates a valid Ethernet network link and a successfully leased IP address.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;ETH (&amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;blue&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Blinking indicates active transmission or reception of TCP/UDP packets. A solid blue light indicates an active, established TCP Server-Client connection.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;RS (&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;red&amp;lt;/span&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|Blinking signals data transmission (TX) or reception (RX) activity on the RS485 serial bus.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET DIN leds.jpg|none|300px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== RES Function Button ====&lt;br /&gt;
The hardware function button allows the user to trigger a full system reboot or perform a complete factory reset. To actuate the button, gently insert the end of a paperclip into the small pinhole labeled RES until a tactile click is felt.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A system reboot is triggered on an active device by holding the RES button down for approximately 5 seconds and then releasing it. During this action, the red RS LED will flash 4 times shortly followed by a single long illumination lasting 1 second. The button must be released during this long 1-second flash. The MODIG converter will then perform a clean hardware system restart.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A factory reset is executed on an active device by holding the RES button down for approximately 10 seconds before releasing it. This sequence triggers 4 short red flashes on the RS LED, a 1-second long flash, a 4-second delay, and finally a second long illumination. The button must be released during this second long flash. This action purges all custom configurations (wiping network setups, serial parameters, Web-UI access passwords, etc.) and restores the converter to its factory defaults.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_DIN_reset.jpg|none|300px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== USB Diagnostics Interface ====&lt;br /&gt;
The USB-C interface port labeled USB serves as an auxiliary power input and doubles as a diagnostic bridge to track real-time runtime parameters. Connecting the converter to a PC registers a Virtual COM Port inside the host operating system (e.g., listed as COM5).&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:MODIG_RS485-ETHERNET_PoE_COM.jpg|none|600px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Any standard serial terminal emulation software (e.g., PuTTY, BrayTerminal, etc.) can be opened to listen on the allocated Virtual COM Port. The communication channel profile must be configured to: 115200 bps, 8 data bits, No parity, 1 stop bit (115200, 8, N, 1). The terminal window will stream active diagnostic readouts from the MODIG converter:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_terminal.jpg|none|700px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
This feed provides a quick method to check the leased IP address assigned to the converter, along with critical parameters including DHCP lease status, MAC address, and active TCP/UDP socket configurations.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Device Firmware Upgrade (Firmware Update) ====&lt;br /&gt;
Flashing a new firmware version requires a desktop PC equipped with the official STM32Cube Programmer application, an available USB port, and a standard USB-A to USB-C link cable.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_programowanie.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The STM32Cube Programmer application can be obtained from the official STMicroelectronics portal:&lt;br /&gt;
https://www.st.com/en/development-tools/stm32cubeprog.html&lt;br /&gt;
&amp;lt;br&amp;gt;Select the appropriate installer for your desktop operating system, run the installation package, and follow the setup wizard.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_get soft.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
To put the MODIG converter into Device Firmware Upgrade (DFU) mode, follow these steps:&lt;br /&gt;
# Disconnect the converter from the Ethernet network, the RS485 bus lines, and its external power source.&lt;br /&gt;
# While the device is fully unpowered, press and hold down the hardware RES button using a paperclip.&lt;br /&gt;
# Keeping the RES button compressed, connect the USB cable from the PC to the USB-C port labeled USB on the MODIG converter.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The status LEDs will remain completely dark, confirming that the internal bootloader has entered DFU mode. The host PC device manager will list a new hardware entry:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_DFU mode.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Launch the STM32Cube Programmer software, change the interface connection type to USB, and click Connect.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_connect.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Click on Open file, browse to the directory containing the compiled firmware binary (e.g., Modig_3_0.elf), select it, and click Download. A confirmation dialog will pop up upon completion; click OK. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_open file.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Finally, click Disconnect within the utility and unplug the USB cable from the converter. Reconnecting the USB cable normally (without pressing the RES button) will cycle the power, and the MODIG converter will initialize running the newly flashed firmware stack.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Converter Configuration ====&lt;br /&gt;
All hardware and communication parameters of the MODIG converter are managed using the embedded web configuration engine.&lt;br /&gt;
&amp;lt;br&amp;gt;Open a web browser on a PC or smartphone connected to the same Local Area Network (LAN) as the MODIG module, and type the device&#039;s current IP address into the address bar. The active IP address can be found using the live serial diagnostic stream over USB (see the “USB Diagnostics Interface” section) or via the network router&#039;s DHCP lease table.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== User Authentication (Login) ====&lt;br /&gt;
Navigating to the correct IP address brings up the MODIG Web-UI dashboard challenge screen. Accessing the configuration backend requires entering the security password; the factory default value is “1234”.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_start.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Entering an invalid password will display an authentication failure alert.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_try again.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Main Menu Dashboard ====&lt;br /&gt;
A successful login session opens the core configuration panel. The bottom area of the layout displays foundational device info and real-time operational variables.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_main.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Once modifications to the operating parameters are complete, terminate the session by clicking the &#039;&#039;LOGOUT&#039;&#039; button. This explicit action writes the updated parameters into the device&#039;s non-volatile EEPROM configuration storage block.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
If a user fails to log out manually, the active Web-UI session will time out automatically after 5 minutes of inactivity. Any uncommitted parameter adjustments are saved to the non-volatile memory block after 1 minute of inactivity on the configuration portal.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Device Management Profile (DEVICE) ====&lt;br /&gt;
&#039;&#039;Device Name&#039;&#039; — A custom string identifier defined by the user to label the hardware unit. To change this value, input the string into the text box adjacent to the &#039;&#039;Device Name&#039;&#039; field and commit the modification by clicking the &#039;&#039;Apply&#039;&#039; button below.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Access Password Management&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The configuration portal is locked behind a password challenge. Authentication is bound to the requesting client&#039;s IP address and remains valid for a sliding window of 5 minutes. The countdown resets with each action taken within the Web-UI; 5 minutes of total idle time drops the token and forces an automatic session logout.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
To provision a new access token, input the desired value into the &#039;&#039;New Password&#039;&#039; and &#039;&#039;Repeat new password&#039;&#039; text boxes, then commit the change using the corresponding &#039;&#039;Apply&#039;&#039; button.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_device.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
A successful write update will show the following success confirmation message:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_new password_2.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Network Parameter Configuration (NETWORK) ====&lt;br /&gt;
The networking section handles the low-level identity profiles, including the hardware address (&#039;&#039;Device MAC&#039;&#039;) and the IP block topology. When the network automation flag is set to &#039;&#039;DHCP - ENABLE&#039;&#039;, the MODIG converter requests an operational IP setup from the local network gateway or DHCP server. Conversely, flipping this setting to &#039;&#039;DISABLE&#039;&#039; switches the stack over to static configurations, requiring manual entries for the target IP address (&#039;&#039;Device static IP&#039;&#039;) and the corresponding subnet mask (&#039;&#039;Subnet mask&#039;&#039;).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_netsett.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Modifying the hardware MAC address requires a hard system reboot to reinitialize the network controller chip; this can be done by clicking the &#039;&#039;RESTART&#039;&#039; button. Updating static IP variables requires recycling the Ethernet interface stack, which can be done by clicking the &#039;&#039;RECONNECT&#039;&#039; button.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Executing either operation terminates the active browser session, logs the user out, and restarts the physical Ethernet interface. Depending on the newly committed settings, the web management panel will map onto a different network endpoint address.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Network Operational Profile (MODE) ====&lt;br /&gt;
The MODIG converter routes data payloads across the IP network using independent TCP and UDP protocol engines running concurrently.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The TCP engine operates under a strict Server-Client model, requiring a destination IP pointer indicating where serial payloads should be forwarded, paired with a target socket port number constrained within the user range of 1024 to 65535.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The UDP engine functions without maintaining fixed sessions or connection states. It requires a target destination IP pointer along with an unprivileged port assignment within the 1024 to 65535 range. Setting the destination address to the broadcast IP 255.255.255.255 switches the socket engine over to broad-network transmission (&#039;&#039;broadcasting&#039;&#039;), mirroring serial payloads to every active listening node on the local subnet.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_mode.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Serial Interface Tuning (RS485) ====&lt;br /&gt;
The adjustable physical parameters governing the integrated RS485 UART serial interface include:&lt;br /&gt;
* Communication Speed (&#039;&#039;Baudrate&#039;&#039;): Supports values from 200 bps up to 1,000,000 bps (1 Mbps)&lt;br /&gt;
* Serial Frame Size (&#039;&#039;Data bits&#039;&#039;): Configurable to 7 or 8 bits&lt;br /&gt;
* Bit Parity Verification (&#039;&#039;Parity&#039;&#039;): None, Even, or Odd&lt;br /&gt;
* Serial Framing End-Marker (&#039;&#039;Stop bits&#039;&#039;): 1, 1.5, or 2 bits&lt;br /&gt;
&lt;br /&gt;
The UART parameters configured inside the MODIG converter must match the serial properties of all peripheral target nodes attached to the RS485 line. Save new variables using the &#039;&#039;Apply&#039;&#039; button below the menu fields.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Data payloads routed over the physical RS485 bus are formatted into packets (frames), capped by an end-of-packet character sequence or a designated duration of line quietness. The converter packages serial data streams and drops them onto the network stack as unified blocks; frames missing proper completion markers are held in the serial buffer and will not pass onto the network layer.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The MODIG engine can monitor for frame completion by parsing for a programmable sequence of 1 to 4 characters (e.g., the keyword string “END”, a series of byte markers like “0xFF 0xFF 0xFF 0xFF”, or standard text line-end delimiters like CR LF — &#039;&#039;Carriage Return, Line Feed&#039;&#039;). The parsing sequence must be formatted as hexadecimal notation values corresponding to the standard ASCII map, prefixed by an &#039;x&#039; identifier; for example, the string “END” must be input as “x45 x4E x44”. Leaving this field empty disables character-based frame parsing.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The firmware can also evaluate frame boundaries by measuring silent periods on the physical bus. Bus quietness is calculated as equivalent character transmission windows relative to the active baud rate. Input a valid threshold scale from 0 to 255 inside the &#039;&#039;Packet complete idle characters&#039;&#039; field. Setting this value to 0 turns off the timer; a value of 1 instructs the engine to close the active buffer as soon as the line remains idle for the duration of a single character slot. Both frame demarcation methods can run concurrently.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_rs485.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Embedded Testing Tools (TOOLS) ====&lt;br /&gt;
The web interface features basic testing utilities to inject raw test payloads directly onto the physical bus lines. The input field labeled &#039;&#039;Remote RS485 message&#039;&#039; transmits short text segments directly to the remote IP endpoints assigned within the network configuration panels (MODE) over open TCP or UDP sockets. Click &#039;&#039;Send&#039;&#039; to fire the payload.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The utility labeled &#039;&#039;Local RS485 message&#039;&#039; allows operators to transmit manual command strings from the active interface directly out of the local converter&#039;s RS485 transceiver. Click &#039;&#039;Send&#039;&#039; to execute the serial transmission.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETHERNET_PoE_tools.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=File:RS485-ETHERNET_DIN_main_schem.png&amp;diff=561</id>
		<title>File:RS485-ETHERNET DIN main schem.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=File:RS485-ETHERNET_DIN_main_schem.png&amp;diff=561"/>
		<updated>2026-06-15T18:29:13Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: Grzegorzbecker uploaded a new version of File:RS485-ETHERNET DIN main schem.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=File:RS485-ETHERNET_DIN_main_schem.png&amp;diff=560</id>
		<title>File:RS485-ETHERNET DIN main schem.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=File:RS485-ETHERNET_DIN_main_schem.png&amp;diff=560"/>
		<updated>2026-06-15T18:27:38Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=MD12001_Konwerter_RS485-ETHERNET_Mini_(PL)&amp;diff=559</id>
		<title>MD12001 Konwerter RS485-ETHERNET Mini (PL)</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=MD12001_Konwerter_RS485-ETHERNET_Mini_(PL)&amp;diff=559"/>
		<updated>2026-06-15T18:24:29Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: /* Zastosowanie */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Opis ====&lt;br /&gt;
&amp;lt;b&amp;gt;Miniaturowy przemysłowy konwerter magistrali RS485 na Ethernet&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Konwerter &amp;lt;b&amp;gt;MODIG RS485-ETHERNET Mini &amp;lt;/b&amp;gt;to wielofunkcyjny i łatwy w obsłudze konwerter magistrali RS485, na interfejs sieciowy Ethernet. Dodatkowe złącze USB-C służy do zasilania konwertera oraz umożliwia monitorowanie parametrów jego pracy. Zwarta konstrukcja i ergonomiczna obudowa konwertera umożliwiają jego zastosowanie zarówno jako stały element instalacji, lub jako urządzenie przenośne.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Podstawowe cechy i parametry ====&lt;br /&gt;
* Interfejs RS485: A+, B-, GND, TERM, złącze typu Phoenix MC 3,81&lt;br /&gt;
* Konfigurowany terminator 120 Ω&lt;br /&gt;
* Zabezpieczenie RS485: separacja galwaniczna 1 kV, ochrona przeciwprzepięciowa&lt;br /&gt;
* Prędkość komunikacji RS485: dowolna wartość z zakresu 200 bps… 1 Mbps&lt;br /&gt;
* Parametry RS485: Data bits: 7/8; Parity: None/Even/Odd; Stop bits: 1/1,5/2, Half-Duplex&lt;br /&gt;
* Maksymalna liczba urządzeń (nodes) dołączonych do RS485: 64&lt;br /&gt;
* Maksymalna długość jednej ramki danych RS485: 4 kB (4096 znaków)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Interfejs sieciowy: RJ45, Ethernet 10/100 Mbps&lt;br /&gt;
* Adres MAC: konfigurowany&lt;br /&gt;
* Adres IP: IPv4, statyczny lub DHCP&lt;br /&gt;
* Tryby pracy: Serwer TCP/Klient TCP; równocześnie UDP lub UDP broadcast&lt;br /&gt;
* Konfiguracja: strona WWW, dostęp zabezpieczony hasłem&lt;br /&gt;
* Parametry pracy: odczyt poprzez USB lub WWW&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Zasilanie: poprzez złącze USB-C: 5 V; 0,2 A&lt;br /&gt;
* Wymiary: 80 x 47 x 24 mm&lt;br /&gt;
* Zakres temperatur pracy: -20°C do +50°C&lt;br /&gt;
* Sygnalizacja stanu: diody LED&lt;br /&gt;
* Aktualizacja oprogramowania (firmware): poprzez interfejs USB&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Wyposażenie standardowe ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Kod&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Opis&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;MODIG RS485-ETHERNET Mini&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*Zmontowany i uruchomiony moduł&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;Przewód USB&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*Przewód USB z wtykami USB-A, USB-C&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Zastosowanie ====&lt;br /&gt;
Konwerter umożliwia dwukierunkowe przesyłanie danych z interfejsu RS485 do sieci Ethernet. Komunikacja może odbywać się pomiędzy urządzeniami MODIG RS485-ETHERNET Mini lub z udziałem innych urządzeń obsługujących protokoły TCP i/lub UDP.&amp;lt;br&amp;gt;&lt;br /&gt;
Ramki danych RS485 są konwertowane na ramki Ethernet TCP/UDP. W przypadku ramek z dużą ilością danych (ponad 1,5 kB, max 4 kB), stosowany jest mechanizm fragmentacji - podział na ramki o mniejszym rozmiarze. W urządzeniu docelowym ramki danych RS485 są odtwarzane w taki sposób, aby transmisja była całkowicie transparentna.&amp;lt;br&amp;gt;&lt;br /&gt;
Typowa aplikacja konwertera Konwerter MODIG RS485-ETHERNET Mini:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_application.png|none|950px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Złącze RS485 ====&lt;br /&gt;
Złącze typu Phoenix Contact MC 3,81 mm zawiera 4 styki.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Numer&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Oznaczenie&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Funkcja&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|1&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| &#039;&#039;&#039;T&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| &lt;br /&gt;
Aktywowanie wewnętrznego rezystora terminującego 120 Ω. &amp;lt;br&amp;gt; Rezystor jest aktywny, gdy styk &#039;&#039;&#039;T&#039;&#039;&#039; jest połączony ze stykiem &#039;&#039;&#039;A+&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|2&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| &#039;&#039;&#039;A+&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Linia &#039;&#039;&#039;A&#039;&#039;&#039; magistrali RS485 (potencjał dodatni)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|3&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| &#039;&#039;&#039;B-&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Linia &#039;&#039;&#039;B&#039;&#039;&#039; magistrali RS485 (potencjał ujemny)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|4&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| &#039;&#039;&#039;⏚&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Masa &#039;&#039;&#039;GND&#039;&#039;&#039; magistrali RS485.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_RS485.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Konwerter MODIG może być dołączony do magistrali RS485, która łączy maksymalnie 64 urządzenia (wliczając konwerter). Każde urządzenie powinno być dołączone w taki sposób, aby nie powstawały węzły/rozgałęzienia magistrali - ewentualne połączenia powinny być jak najkrótsze. Na obu końcach magistrali należy dołączyć rezystory terminujące 120 Ω. Konwerter MODIG ma zintegrowany taki rezystor, ale żeby był aktywny należy połączyć ze sobą styk &#039;&#039;&#039;A+&#039;&#039;&#039; oraz &#039;&#039;&#039;T&#039;&#039;&#039;.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Na rysunku pokazano uproszczony schemat magistrali RS485, z jednej strony zakończonej rezystorem terminującym 120 Ω, a z drugiej strony rezystorem terminującym zintegrowanym w konwerterze. Ponadto pokazano właściwe, oraz błędne podłączenie urządzeń do magistrali.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_connection.png|none|1000px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Zasilanie ====&lt;br /&gt;
Zasilanie konwertera MODIG jest doprowadzane poprzez złącze USB-C oznaczone &#039;&#039;&#039;USB&amp;amp;PWR&#039;&#039;&#039;. Źródło zasilania musi mieć napięcie o wartości 5 V ±10% i prąd co najmniej 0,2 A. Odpowiednie parametry mają np. ładowarki USB, a także interfejsy USB komputerów PC lub komputerów SBC.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_PWR.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Interfejs ETHERNET ====&lt;br /&gt;
Konwerter MODIG jest wyposażony w interfejs Ethernet 10/100 Mbps z klasycznym złączem typu RJ45. Interfejs pozwala na podłączenie konwertera do lokalnej sieci komputerowej - LAN.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Świecąca kontrolka &#039;&#039;&#039;LNK&#039;&#039;&#039; sygnalizuje prawidłowe podłączenie do sieci Ethernet, miganie kontrolki &#039;&#039;&#039;ACT&#039;&#039;&#039; sygnalizuje przesyłanie danych poprzez interfejs Ethernet.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_LAN.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Kontrolki sygnalizacyjne ====&lt;br /&gt;
Działanie konwertera MODIG jest sygnalizowane za pomocą 3 kontrolek LED.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Kontrolka&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Znaczenie&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;&amp;lt;b&amp;gt;STA&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Cykliczne miganie kontrolki LED sygnalizuje prawidłowe działanie systemu.&lt;br /&gt;
Świecenie kontrolki LED oznacza prawidłowe podłączenie do sieci Ethernet i uzyskanie adresu IP.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;&amp;lt;b&amp;gt;ETH&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Miganie kontrolki LED sygnalizuje wysyłanie/odbieranie ramek TCP/UDP.&lt;br /&gt;
Świecenie kontrolki LED oznacza aktywne połączenie TCP Serwer-Klient.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;&amp;lt;b&amp;gt;RS&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Miganie kontrolki LED sygnalizuje wysyłanie/odbieranie danych poprzez magistralę RS485.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_LAN.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Przycisk funkcyjny &#039;&#039;RES&#039;&#039; ====&lt;br /&gt;
Przycisk funkcyjny pozwala wykonać restart urządzenia lub przywrócenie ustawień fabrycznych. Aby aktywować przycisk należy wsunąć szpilkę lub końcówkę spinacza biurowego w otwór oznaczony &#039;&#039;&#039;RES&#039;&#039;&#039;, aż do lekko wyczuwalnego oporu.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Restart urządzenia jest wykonywany przy włączonym urządzeniu, gdy przycisk &#039;&#039;&#039;RES&#039;&#039;&#039; jest aktywny (wciśnięty) przez ok. 5 sekund, a następnie zostaje zwolniony. Towarzyszy temu miganie czerwonej kontrolki LED RS - 4 krótkie mignięcia i ostatnie długie świecenie, trwające ok 1 s. Przycisk należy zwolnić w trakcie długiego świecenia kontrolki LED. W efekcie konwerter MODIG wykona całkowity restart systemu.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Przywrócenie ustawień fabrycznych jest wykonywane przy włączonym urządzeniu, gdy przycisk &#039;&#039;&#039;RES&#039;&#039;&#039; jest aktywny (wciśnięty) przez ok. 10 sekund, a następnie zostaje zwolniony. Towarzyszy temu miganie czerwonej kontrolki LED RS - 4 krótkie mignięcia, następnie długie świecenie, trwające ok 1 s, następnie ok. 4 s przerwy i ponowne długie świecenie. Przycisk należy zwolnić w trakcie drugiego długiego świecenia kontrolki LED. W efekcie wszystkie ustawienia (konfiguracja sieci, parametry RS485, a także hasło do strony konfiguracyjnej, itd) zostaną przywrócone do stanu fabrycznego.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_RES.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Interfejs USB ====&lt;br /&gt;
Złącze USB-C oznaczone USB&amp;amp;PWR pozwala doprowadzić zasilanie do konwertera MODIG, ale również pozwala monitorować parametry pracy konwertera. Poprzez złącze USB&amp;amp;PWR można podłączyć konwerter MODIG do komputera PC. W systemie operacyjnym pojawi się nowe urządzenie - port szeregowy USB oznaczony np. jako COM5.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_COM.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Dowolnym programem typu Terminal (np. Putty, BrayTerminal itd.) można podłączyć się do portu szeregowego USB utworzonego przez konwerter MODIG. Parametry komunikacji powinny być następujące: 115200, 8, N, 1. W oknie terminala będą wyświetlane dane przesyłane z konwertera MODIG:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_terminal.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Szczególnie ważną informacją może być adres IP, który został przydzielony dla konwertera, ale są tam także inne ważne informacje, m.in.: status DHCP, MAC, ustawienia TCP i UDP).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Aktualizacja oprogramowania układowego (firmware) ====&lt;br /&gt;
Najnowsza wersja oprogramowania znajduje się tutaj: [https://wiki.kamamilabs.com/images/a/a7/Modig_3_0.zip Modig_3_0.zip]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Wykonanie aktualizacji oprogramowania układowego (firmware) wymaga komputera PC z zainstalowaną aplikacją STM32Cube Programmer oraz wolnym interfejsem USB i przewodu USB, którym można podłączyć konwerter MODIG z tym komputerem.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_upd.png|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Aplikację STM32Cube Programmer można pobrać ze strony:&lt;br /&gt;
https://www.st.com/en/development-tools/stm32cubeprog.html&lt;br /&gt;
Należy wybrać wersję dla systemu operacyjnego zainstalowanego na komputerze PC i postępować zgodnie z instrukcjami na stronie. Po pobraniu pliku instalacyjnego należy aplikację zainstalować.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_get_soft.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Konwerter MODIG należy wprowadzić w tryb aktualizacji oprogramowania układowego. W tym celu:&lt;br /&gt;
#Odłączamy konwerter od sieci Ethernet, od magistrali RS485 oraz od zasilania&lt;br /&gt;
#Przy wyłączonym konwerterze aktywujemy przycisk RES&lt;br /&gt;
#Trzymając aktywny przycisk RES podłączamy przewód USB do komputera i do konwertera MODIG (złącze USB-C oznaczone USB&amp;amp;PWR).&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Kontrolki LED będą wygaszone, co oznacza, że konwerter jest gotowy do aktualizacji oprogramowania. W systemie operacyjnym komputera PC powinno pojawić się urządzenie:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_DFU_mode.jpg|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Uruchamiamy aplikację STM32Cube Programmer, wybieramy rodzaj połączenia USB i klikamy &#039;&#039;Connect&#039;&#039;.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_connect.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Wybieramy &#039;&#039;Open file&#039;&#039; i wskazujemy plik z nowym oprogramowaniem np. &#039;&#039;Modig_3_0.elf&#039;&#039; i klikamy &#039;&#039;Download&#039;&#039;. Po chwili pojawi się podsumowanie, gdzie klikamy OK. &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_openfile.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Na zakończenie klikamy Disconnect i odłączamy przewód USB od konwertera. Po ponownym podłączeniu przewodu USB (bez aktywowania przycisku RES) konwerter MODIG uruchomi się z nowym oprogramowaniem.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Konfiguracja konwertera ====&lt;br /&gt;
Wszystkie parametry konwertera MODIG są ustawiane poprzez stronę internetową. W przeglądarce internetowej komputera lub smartfona podłączonego do sieci LAN (tej samej, w której znajduje się konwerter MODIG), należy wpisać adres IP konwertera. Adres IP, który został przypisany do konwertera MODIG można sprawdzić poprzez odczytanie informacji wysyłanych przez interfejs USB (rozdział “Interfejs USB”) lub z poziomu urządzenia zarządzającego naszą siecią LAN np. routera.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===== Logowanie ===== &lt;br /&gt;
Po wpisaniu właściwego IP zostanie wyświetlona strona konwertera MODIG. Pierwszym etapem jest wpisanie hasła dostępu do strony ustawień, domyślnie jest to “1234”.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_start.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Wpisanie niewłaściwego hasła zostanie odpowiednio zasygnalizowane.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_try_again.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Menu główne ===== &lt;br /&gt;
Po prawidłowym zalogowaniu zostanie wyświetlona strona główna menu ustawień. W dolnej części strony znajdują się podstawowe informacje o urządzeniu oraz parametry najważniejszych ustawień.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_main.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Po zakończeniu konfigurowania parametrów pracy należy wylogować się ze strony konfiguracyjnej poprzez przycisk LOGOUT. Dzięki temu ustawienia zostaną zapisane do nieulotnej pamięci konfiguracyjnej urządzenia.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Jeśli użytkownik nie wykona wylogowania, to nastąpi ono automatycznie po 5 minutach bezczynności na stronie konfiguracyjnej. Natomiast ustawienia konfiguracyjne zostaną zapisane do nieulotnej pamięci konfiguracyjnej urządzenia po 1 minucie bezczynności na stronie konfiguracyjnej.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ustawienia urządzenia (&#039;&#039;DEVICE&#039;&#039;) ===== &lt;br /&gt;
&#039;&#039;Device Name&#039;&#039; - nazwa, którą użytkownik może ustawić dla danego urządzenia. Aby zmienić nazwę należy wpisać nową nazwę w polu tekstowym przy etykiecie &#039;&#039;Device Name&#039;&#039; i potwierdzić przyciskiem &#039;&#039;Apply&#039;&#039; umieszczonym pod polem tekstowym.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Hasło dostępu do strony ustawień&lt;br /&gt;
Dostęp do strony ustawień jest możliwy po wpisaniu prawidłowego hasła. Dostęp jest przydzielany na podstawie adresu IP, z jakiego odbywa się logowanie i jest przydzielany na czas 5 minut. Czas jest odnawiany po każdej akcji wykonanej na stronie, po 5 minutach bezczynności następuje automatyczne wylogowanie.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Aby ustawić nowe hasło należy wpisać je w pola tekstowe oznaczone jako &#039;&#039;New Password&#039;&#039; oraz &#039;&#039;Repeat new password&#039;&#039; i zatwierdzić przyciskiem &#039;&#039;Apply&#039;&#039; umieszczonym pod polami tekstowymi.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_device.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Jeśli wszystko zostanie wykonane prawidłowo zobaczymy taki komunikat&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_new_password_2.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ustawienia sieciowe (&#039;&#039;NETWORK&#039;&#039;) ===== &lt;br /&gt;
Grupa ustawień sieciowych obejmuje ustawienie adresu MAC (&#039;&#039;Device MAC&#039;&#039;) i adresu IP. Jeśli funkcja automatycznego przydzielania adresu IP jest aktywna (&#039;&#039;DHCP - ENABLE&#039;&#039;) konwerter MODIG otrzyma adres IP z urządzenia zarządzającego naszą siecią LAN np. routera. Natomiast, jeśli DHCP zostanie wyłączone (&#039;&#039;DISABLE&#039;&#039;), to konwerter MODIG wymaga ustawienia statycznego adresu IP (&#039;&#039;Device static IP&#039;&#039;) oraz maski sieciowej (&#039;&#039;Subnet mask&#039;&#039;)&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_netsett.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Zmiana adresu MAC wymaga wykonania restartu urządzenia. Można tego dokonać za pomocą przycisku &#039;&#039;RESTART&#039;&#039;. Zmiana ustawień adresu IP wymaga ponownego zainicjowania interfejsu Ethernet. Można tego dokonać za pomocą przycisku &#039;&#039;RECONNECT&#039;&#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
W obu przypadkach urządzenie wyloguje użytkownika i wykona ponowne zainicjowanie interfejsu Ethernet. W zależności od ustawień, strona konfiguracyjna konwertera może być dostępna pod innym adresem IP, niż wcześniej.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ustawienia trybu pracy (&#039;&#039;MODE&#039;&#039;) ===== &lt;br /&gt;
Konwerter MODIG przesyła dane poprzez sieć Ethernet z użyciem protokołów TCP oraz UDP, które działają niezależnie od siebie.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Protokół TCP działa w konfiguracji Serwer-Klient i wymaga ustawienia adresu IP urządzenia do którego będzie skierowana komunikacja, oraz numeru portu komunikacyjnego, który powinien mieć wartość zakresu 1024…65535.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Protokół UDP nie wymaga nawiązywania i utrzymywania stałego połączenia między określonym odbiorcą. Wymaga ustawienia adresu IP urządzenia do którego będzie skierowana komunikacja, oraz numeru portu komunikacyjnego, który powinien mieć wartość zakresu 1024…65535. Jeśli adres IP zostanie ustawiony na 255.255.255.255 komunikacja będzie realizowana w trybie rozgłoszeniowym (broadcasting), czyli komunikacja będzie dostępna dla wszystkich urządzeń w sieci LAN.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_mode.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ustawienia interfejsu RS485 (&#039;&#039;RS485&#039;&#039;) ===== &lt;br /&gt;
Parametry interfejsu RS485, które można ustawić w konwerterze MODIG to:&amp;lt;br&amp;gt;&lt;br /&gt;
∙ prędkość komunikacji (&#039;&#039;Baudrate&#039;&#039;): dowolna wartość z zakresu 200…1000000 bps,&amp;lt;br&amp;gt;&lt;br /&gt;
∙ ilość bitów danych w każdym znaku (Data bits): 7 lub 8 bitów,&amp;lt;br&amp;gt;&lt;br /&gt;
∙ kontrola parzystości (&#039;&#039;Parity&#039;&#039;): None, Even, Odd,&amp;lt;br&amp;gt;&lt;br /&gt;
∙ bity znacznika stop (&#039;&#039;Stop bits&#039;&#039;): 1; 1,5; 2,&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Parametry interfejsu RS485 konwertera MODIG, powinny być ustawione tak samo, jak parametry pozostałych urządzeń dołączonych do interfejsu RS485. Nowe ustawienia należy zatwierdzić przyciskiem Apply umieszczonym pod polami ustawień.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Dane przesyłane poprzez magistralę RS485 mają postać ramek (pakietów), które zwykle są zakończone specyficzną kombinacją znaków lub następuje po nich określony czas bezczynności na magistrali. Dane z magistrali RS485 są przesyłane przez interfejs Ethernet jako całe ramki. Ramka, która nie zostanie odpowiednio zakończona nie zostanie przesłana przez interfejs Ethernet.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Konwerter MODIG może wykrywać koniec ramki jako sekwencję 1…4 dowolnych znaków, np. “END”, “0xFF 0xFF 0xFF 0xFF” lub sekwencja CR LF (&#039;&#039;Carriage Return, Line Feed&#039;&#039;) stosowana przy zapisywaniu tekstu. Sekwencję zakończenia ramki należy wpisać w pole tekstowe przy etykiecie &#039;&#039;Packet complete characters&#039;&#039;. Znaki muszą być zapisane w formacie hex, czyli każdy znak musi być zapisany w postaci jego wartości hexadecymalnej (zgodnie z ASCII), poprzedzonej literą x - sekwencję “END” należy zapisać jako “x45 x4E x44”. Jeśli pole pozostanie puste to funkcja będzie nieaktywna.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Konwerter MODIG może również wykrywać koniec ramki jako określony czas bezczynności na magistrali. Czas bezczynności jest mierzony jako liczba znaków, które mogłyby być przesłane w tym czasie. W polu przy etykiecie &#039;&#039;Packet complete idle characters&#039;&#039; należy wpisać wartość z zakresu 0…255. Funkcja będzie nieaktywna, gdy wartość będzie wynosiła 0, wartość 1 oznacza, że ramka zostanie uznana za zakończoną, gdy czas bezczynności na magistrali będzie odpowiadał czasowi przesłania jednego dowolnego znaku, itd.&lt;br /&gt;
Obie metody wykrywania końca ramki mogą być jednocześnie aktywne.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_rs485.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Narzędzia dodatkowe (&#039;&#039;TOOLS&#039;&#039;) =====&lt;br /&gt;
Z poziomu strony konfiguracyjnej możliwe jest wysłanie prostych ramek poprzez interfejs RS485. Pole tekstowe oznaczone jako &#039;&#039;Remote RS485 message&#039;&#039; pozwala na wysłanie krótkiej treści do urządzenia, którego adres IP jest określony w ustawieniach trybu pracy (&#039;&#039;MODE&#039;&#039;), w sekcjach TCP i UDP. Wysłanie treści należy potwierdzić przyciskiem &#039;&#039;Send&#039;&#039; umieszczonym pod polem tekstowym.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Pole tekstowe oznaczone jako &#039;&#039;Local RS485 message&#039;&#039; pozwala na wysłanie krótkiej treści z urządzenia, którego strona konfiguracyjna jest właśnie widoczna w przeglądarce, poprzez interfejs RS485. Wysłanie treści należy potwierdzić przyciskiem &#039;&#039;Send&#039;&#039; umieszczonym pod polem tekstowym.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_tools.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=MD12001_RS485_to_Ethernet_Mini_Converter_(EN)&amp;diff=558</id>
		<title>MD12001 RS485 to Ethernet Mini Converter (EN)</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=MD12001_RS485_to_Ethernet_Mini_Converter_(EN)&amp;diff=558"/>
		<updated>2026-06-15T18:24:15Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: /* Applications */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Description ====&lt;br /&gt;
&amp;lt;b&amp;gt;Miniature Industrial RS485 to Ethernet Bus Converter&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The &amp;lt;b&amp;gt;MODIG RS485-ETHERNET Mini&amp;lt;/b&amp;gt; is a versatile and user-friendly bus converter that bridges an RS485 serial network with an Ethernet network interface. An additional USB-C port is provided to power the device and enables real-time monitoring of its operational runtime parameters. Its ultra-compact form factor and ergonomic enclosure allow it to be deployed either as a permanent field installation component or used as a highly portable diagnostic tool.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Key Features and Specifications ====&lt;br /&gt;
* RS485 Interface: Terminals: A+, B-, GND, and TERM via Phoenix Contact MC 3.81 mm connector&lt;br /&gt;
* Termination Resistor: Integrated 120 Ω bus terminator (configurable)&lt;br /&gt;
* RS485 Circuit Protection: 1 kV galvanic isolation and integrated surge protection&lt;br /&gt;
* RS485 Baud Rate: Supports any custom value from 200 bps to 1,000,000 bps (1 Mbps)&lt;br /&gt;
* RS485 Serial Parameters: Data bits: 7/8; Parity: None/Even/Odd; Stop bits: 1/1.5/2; Half-Duplex&lt;br /&gt;
* Network Capacity: Supports up to 64 nodes on the RS485 bus&lt;br /&gt;
* Buffer Size: Maximum RS485 data frame length of 4 kB (4096 bytes)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Network Interface: RJ45 port, 10/100 Mbps Base-T Ethernet&lt;br /&gt;
* Network Addressing: Configurable MAC address; IPv4 support with Static IP or DHCP assignment&lt;br /&gt;
* Operational Modes: TCP Server, TCP Client, Concurrent UDP, and UDP Broadcast&lt;br /&gt;
* Device Configuration: Password-protected, built-in Web-UI (HTTP)&lt;br /&gt;
* Diagnostics: Operational status readout via USB or Web-UI&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Power Supply: 5 VDC @ 0.2 A via USB-C interface port&lt;br /&gt;
* Dimensions: 80 x 47 x 24 mm&lt;br /&gt;
* Operating Temperature Range: -20°C to +50°C&lt;br /&gt;
* Status Indicators: Diagnostic LEDs&lt;br /&gt;
* Firmware Upgrade: Supported via USB interface&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Kit Contents ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Product Code&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;MODIG RS485-ETHERNET Mini Converter&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*Fully assembled, programmed, and tested converter module&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;USB Cable&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*USB connectivity cable with USB-A to USB-C connectors&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Applications ====&lt;br /&gt;
The converter enables bidirectional data routing between an RS485 serial bus and an Ethernet network. Communication can be established transparently between two MODIG RS485-ETHERNET Mini modules or integrated with any third-party field device supporting standard TCP and/or UDP protocols.&amp;lt;br&amp;gt;&lt;br /&gt;
Serial data frames from the RS485 bus are packed and converted into Ethernet TCP/UDP packets. For large payloads (exceeding 1.5 kB up to the 4 kB maximum), an internal fragmentation mechanism splits the payload into smaller network frames. At the receiving destination node, the original RS485 data format is fully reconstructed, ensuring completely transparent communication across the network layer.&amp;lt;br&amp;gt;&lt;br /&gt;
Typical application layout for the MODIG RS485-ETHERNET Mini converter:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_application.png|none|950px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== RS485 Interface ====&lt;br /&gt;
The physical RS485 interface utilizes a 4-pin Phoenix Contact MC 3.81 mm screw terminal block.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Pin Number&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Label&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|1&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| &#039;&#039;&#039;T&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| &lt;br /&gt;
Activates the internal 120 Ω line termination resistor. &amp;lt;br&amp;gt; The resistor is engaged when terminal &#039;&#039;&#039;T&#039;&#039;&#039; is shorted to terminal &#039;&#039;&#039;A+&#039;&#039;&#039;.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|2&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| &#039;&#039;&#039;A+&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| RS485 differential line A (Non-inverting / Positive potential)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|3&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| &#039;&#039;&#039;B-&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| RS485 differential line B (Inverting / Negative potential)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|4&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| &#039;&#039;&#039;⏚&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Signal Ground (GND) for the RS485 bus&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_RS485.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The MODIG converter can be connected to an RS485 bus containing up to 64 devices (including the converter itself). Devices must be daisy-chained to avoid stub lines or bus branches; any necessary drop lines must be kept as short as possible. 120 Ω impedance matching termination resistors should be placed at both physical ends of the bus line. The MODIG converter includes an on-board termination resistor, which can be enabled by bridging terminal &#039;&#039;&#039;A+&#039;&#039;&#039; and terminal &#039;&#039;&#039;T&#039;&#039;&#039;.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The diagram below shows a simplified wiring schematic of the RS485 bus network, terminated with a standard 120 Ω resistor on one end, and the converter&#039;s internal termination on the other. It also illustrates the correct daisy-chain connection method versus incorrect topology.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_connection.png|none|1000px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Power Supply ====&lt;br /&gt;
Power to the MODIG converter is delivered via the USB-C port labeled &#039;&#039;&#039;USB&amp;amp;PWR&#039;&#039;&#039;. The external source must deliver 5 VDC ±10% with a minimum capacity of 0.2 A. This requirement is met by standard USB chargers, PC interface ports, or Single Board Computers (SBCs).&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_PWR.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ETHERNET Interface ====&lt;br /&gt;
The MODIG converter is equipped with a 10/100 Mbps Ethernet subsystem utilizing a standard RJ45 connector interface. This interface allows the converter to join a Local Area Network (LAN).&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The solid &#039;&#039;&#039;LNK&#039;&#039;&#039; LED indicates a valid physical network connection, while a flashing &#039;&#039;&#039;ACT&#039;&#039;&#039; LED signals active data traffic over the Ethernet network layer.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_LAN.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Status LED Indicators ====&lt;br /&gt;
The operation of the MODIG converter is monitored using 3 diagnostic LEDs.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|LED Indicator&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Status Meaning&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;&amp;lt;b&amp;gt;STA&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Blinking at a steady interval indicates the system logic is operating correctly.&lt;br /&gt;
A solid light indicates a valid Ethernet network link and a successfully leased IP address.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;&amp;lt;b&amp;gt;ETH&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Blinking indicates active transmission or reception of TCP/UDP packets.&lt;br /&gt;
A solid light indicates an active, established TCP Server-Client connection.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;&amp;lt;b&amp;gt;RS&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Blinking signals data transmission (TX) or reception (RX) activity on the RS485 serial bus.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_LAN.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== RES Function Button ====&lt;br /&gt;
The hardware function button allows the user to trigger a full system reboot or perform a complete factory reset. To actuate the button, gently insert a pin or the end of a paperclip into the small pinhole labeled &#039;&#039;&#039;RES&#039;&#039;&#039; until a tactile resistance is felt.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A system reboot is triggered on an active device by holding the &#039;&#039;&#039;RES&#039;&#039;&#039; button down for approximately 5 seconds and then releasing it. During this action, the red RS LED will flash 4 times shortly followed by a single long illumination lasting 1 second. The button must be released during this long 1-second flash. The MODIG converter will then perform a clean hardware system restart.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A factory reset is executed on an active device by holding the &#039;&#039;&#039;RES&#039;&#039;&#039; button down for approximately 10 seconds before releasing it. This sequence triggers 4 short red flashes on the RS LED, a 1-second long flash, a 4-second delay, and finally a second long illumination. The button must be released during this second long flash. This action purges all custom configurations (wiping network setups, serial parameters, Web-UI access passwords, etc.) and restores the converter to its factory defaults.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_RES.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== USB Diagnostics Interface ====&lt;br /&gt;
The USB-C interface port labeled USB&amp;amp;PWR serves as the main power input and doubles as a diagnostic bridge to track real-time runtime parameters. Connecting the MODIG converter to a PC registers a Virtual COM Port inside the host operating system (e.g., listed as COM5).&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_COM.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Any standard serial terminal emulation software (e.g., PuTTY, BrayTerminal, etc.) can be opened to listen on the allocated Virtual COM Port. The communication channel profile must be configured to: 115200 bps, 8 data bits, No parity, 1 stop bit (115200, 8, N, 1). The terminal window will stream active diagnostic readouts from the MODIG converter:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_terminal.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
This feed provides a quick method to check the leased IP address assigned to the converter, along with critical parameters including DHCP lease status, MAC address, and active TCP/UDP socket configurations.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Firmware Upgrade Procedure ====&lt;br /&gt;
The latest version of the firmware binary can be acquired here: [https://wiki.kamamilabs.com/images/a/a7/Modig_3_0.zip Modig_3_0.zip]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Flashing a new firmware version requires a desktop PC equipped with the official STM32Cube Programmer application, an available USB port, and a standard USB-A to USB-C link cable.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_upd.png|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
The STM32Cube Programmer application can be obtained from the official STMicroelectronics portal:&lt;br /&gt;
https://www.st.com/en/development-tools/stm32cubeprog.html&lt;br /&gt;
Select the appropriate installer for your desktop operating system, run the installation package, and follow the setup wizard.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_get_soft.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
To put the MODIG converter into Device Firmware Upgrade (DFU) mode, follow these steps:&lt;br /&gt;
#Disconnect the converter from the Ethernet network, the RS485 bus lines, and its power source.&lt;br /&gt;
#While the device is fully unpowered, press and hold down the hardware RES button.&lt;br /&gt;
#Keeping the RES button compressed, connect the USB cable from the PC to the USB&amp;amp;PWR port on the MODIG converter.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The status LEDs will remain completely dark, confirming that the internal bootloader has entered DFU mode. The host PC device manager will list a new hardware entry:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_DFU_mode.jpg|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Launch the STM32Cube Programmer software, change the interface connection type to USB, and click &#039;&#039;Connect&#039;&#039;.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_connect.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Click on &#039;&#039;Open file&#039;&#039;, browse to the directory containing the compiled firmware binary (e.g., &#039;&#039;Modig_3_0.elf&#039;&#039;), select it, and click &#039;&#039;Download&#039;&#039;. A confirmation dialog will pop up upon completion; click OK. &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_openfile.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Finally, click Disconnect within the utility and unplug the USB cable from the converter. Reconnecting the USB cable normally (without pressing the RES button) will cycle the power, and the MODIG converter will initialize running the newly flashed firmware stack.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Converter Configuration ====&lt;br /&gt;
All hardware and communication parameters of the MODIG converter are managed using the embedded web configuration engine. Open a web browser on a PC or smartphone connected to the same Local Area Network (LAN) as the MODIG module, and type the device&#039;s current IP address into the address bar. The active IP address can be found using the live serial diagnostic stream over USB (see the “USB Diagnostics Interface” section) or via the network router&#039;s DHCP lease table.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== User Authentication (Login) ===== &lt;br /&gt;
Navigating to the correct IP address brings up the MODIG Web-UI dashboard challenge screen. Accessing the configuration backend requires entering the security password; the factory default value is “1234”.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_start.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Entering an invalid password will display an authentication failure alert.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_try_again.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Main Menu Dashboard ===== &lt;br /&gt;
A successful login session opens the core configuration panel. The bottom area of the layout displays foundational device info and real-time operational variables.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_main.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Once modifications to the operating parameters are complete, terminate the session by clicking the LOGOUT button. This explicit action writes the updated parameters into the device&#039;s non-volatile EEPROM configuration storage block.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
If a user fails to log out manually, the active Web-UI session will time out automatically after 5 minutes of inactivity. Any uncommitted parameter adjustments are saved to the non-volatile memory block after 1 minute of inactivity on the configuration portal.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Device Management Profile (DEVICE) ===== &lt;br /&gt;
&#039;&#039;Device Name&#039;&#039; — A custom string identifier defined by the user to label the hardware unit. To change this value, input the string into the text box adjacent to the &#039;&#039;Device Name&#039;&#039; field and commit the modification by clicking the &#039;&#039;Apply&#039;&#039; button below.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Access Password Management&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The configuration portal is locked behind a password challenge. Authentication is bound to the requesting client&#039;s IP address and remains valid for a sliding window of 5 minutes. The countdown resets with each action taken within the Web-UI; 5 minutes of total idle time drops the token and forces an automatic session logout.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
To provision a new access token, input the desired value into the &#039;&#039;New Password&#039;&#039; and &#039;&#039;Repeat new password&#039;&#039; text boxes, then commit the change using the corresponding &#039;&#039;Apply&#039;&#039; button.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_device.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
A successful write update will show the following success confirmation message:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_new_password_2.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Network Parameter Configuration (NETWORK) ===== &lt;br /&gt;
The networking section handles the low-level identity profiles, including the hardware address (&#039;&#039;Device MAC&#039;&#039;) and the IP block topology. When the network automation flag is set to &#039;&#039;DHCP - ENABLE&#039;&#039;, the MODIG converter requests an operational IP setup from the local network gateway or DHCP server. Conversely, flipping this setting to &#039;&#039;DISABLE&#039;&#039; switches the stack over to static configurations, requiring manual entries for the target IP address (&#039;&#039;Device static IP&#039;&#039;) and the corresponding subnet mask (&#039;&#039;Subnet mask&#039;&#039;).&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_netsett.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Modifying the hardware MAC address requires a hard system reboot to reinitialize the network controller chip; this can be done by clicking the &#039;&#039;RESTART&#039;&#039; button. Updating static IP variables requires recycling the Ethernet interface stack, which can be done by clicking the &#039;&#039;RECONNECT&#039;&#039; button.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Executing either operation terminates the active browser session, logs the user out, and restarts the physical Ethernet interface. Depending on the newly committed settings, the web management panel will map onto a different network endpoint address.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Network Operational Profile (MODE) ===== &lt;br /&gt;
The MODIG converter routes data payloads across the IP network using independent TCP and UDP protocol engines running concurrently.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The TCP engine operates under a strict Server-Client model, requiring a destination IP pointer indicating where serial payloads should be forwarded, paired with a target socket port number constrained within the user range of 1024 to 65535.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The UDP engine functions without maintaining fixed sessions or connection states. It requires a target destination IP pointer along with an unprivileged port assignment within the 1024 to 65535 range. Setting the destination address to the broadcast IP 255.255.255.255 switches the socket engine over to broad-network transmission (broadcasting), mirroring serial payloads to every active listening node on the local subnet.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_mode.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Serial Interface Tuning (RS485) ===== &lt;br /&gt;
The adjustable physical parameters governing the integrated RS485 UART serial interface include:&amp;lt;br&amp;gt;&lt;br /&gt;
∙ Communication Speed (&#039;&#039;Baudrate&#039;&#039;): Supports values from 200 bps up to 1,000,000 bps (1 Mbps),&amp;lt;br&amp;gt;&lt;br /&gt;
∙ Serial Frame Size (Data bits): Configurable to 7 or 8 bits,&amp;lt;br&amp;gt;&lt;br /&gt;
∙ Bit Parity Verification (&#039;&#039;Parity&#039;&#039;): None, Even, or Odd,&amp;lt;br&amp;gt;&lt;br /&gt;
∙ Serial Framing End-Marker (&#039;&#039;Stop bits&#039;&#039;): 1, 1.5, or 2 bits.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The UART parameters configured inside the MODIG converter must match the serial properties of all peripheral target nodes attached to the RS485 line. Save new variables using the Apply button below the menu fields.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Data payloads routed over the physical RS485 bus are formatted into packets (frames), capped by an end-of-packet character sequence or a designated duration of line quietness. The converter packages serial data streams and drops them onto the network stack as unified blocks; frames missing proper completion markers are held in the serial buffer and will not pass onto the network layer.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The MODIG engine can monitor for frame completion by parsing for a programmable sequence of 1 to 4 characters (e.g., the keyword string “END”, a series of byte markers like “0xFF 0xFF 0xFF 0xFF”, or standard text line-end delimiters like CR LF — &#039;&#039;Carriage Return, Line Feed&#039;&#039;). The parsing sequence must be formatted as hexadecimal notation values corresponding to the standard ASCII map, prefixed by an &#039;x&#039; identifier; for example, the string “END” must be input as “x45 x4E x44”. Leaving this field empty disables character-based frame parsing.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The firmware can also evaluate frame boundaries by measuring silent periods on the physical bus. Bus quietness is calculated as equivalent character transmission windows relative to the active baud rate. Input a valid threshold scale from 0 to 255 inside the &#039;&#039;Packet complete idle characters&#039;&#039; field. Setting this value to 0 turns off the timer; a value of 1 instructs the engine to close the active buffer as soon as the line remains idle for the duration of a single character slot. Both frame demarcation methods can run concurrently.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_rs485.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Embedded Testing Tools (TOOLS) ===== &lt;br /&gt;
The web interface features basic testing utilities to inject raw test payloads directly onto the physical bus lines. The input field labeled &#039;&#039;Remote RS485 message&#039;&#039; transmits short text segments directly to the remote IP endpoints assigned within the network configuration panels (&#039;&#039;MODE&#039;&#039;) over open TCP or UDP sockets. Click &#039;&#039;Send&#039;&#039; to fire the payload.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The utility labeled &#039;&#039;Local RS485 message&#039;&#039; allows operators to transmit manual command strings from the active interface directly out of the local converter&#039;s RS485 transceiver. Click &#039;&#039;Send&#039;&#039; to execute the serial transmission.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_tools.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=MD12001_RS485_to_Ethernet_Mini_Converter_(EN)&amp;diff=557</id>
		<title>MD12001 RS485 to Ethernet Mini Converter (EN)</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=MD12001_RS485_to_Ethernet_Mini_Converter_(EN)&amp;diff=557"/>
		<updated>2026-06-15T18:23:56Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: /* RS485 Interface */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Description ====&lt;br /&gt;
&amp;lt;b&amp;gt;Miniature Industrial RS485 to Ethernet Bus Converter&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The &amp;lt;b&amp;gt;MODIG RS485-ETHERNET Mini&amp;lt;/b&amp;gt; is a versatile and user-friendly bus converter that bridges an RS485 serial network with an Ethernet network interface. An additional USB-C port is provided to power the device and enables real-time monitoring of its operational runtime parameters. Its ultra-compact form factor and ergonomic enclosure allow it to be deployed either as a permanent field installation component or used as a highly portable diagnostic tool.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Key Features and Specifications ====&lt;br /&gt;
* RS485 Interface: Terminals: A+, B-, GND, and TERM via Phoenix Contact MC 3.81 mm connector&lt;br /&gt;
* Termination Resistor: Integrated 120 Ω bus terminator (configurable)&lt;br /&gt;
* RS485 Circuit Protection: 1 kV galvanic isolation and integrated surge protection&lt;br /&gt;
* RS485 Baud Rate: Supports any custom value from 200 bps to 1,000,000 bps (1 Mbps)&lt;br /&gt;
* RS485 Serial Parameters: Data bits: 7/8; Parity: None/Even/Odd; Stop bits: 1/1.5/2; Half-Duplex&lt;br /&gt;
* Network Capacity: Supports up to 64 nodes on the RS485 bus&lt;br /&gt;
* Buffer Size: Maximum RS485 data frame length of 4 kB (4096 bytes)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Network Interface: RJ45 port, 10/100 Mbps Base-T Ethernet&lt;br /&gt;
* Network Addressing: Configurable MAC address; IPv4 support with Static IP or DHCP assignment&lt;br /&gt;
* Operational Modes: TCP Server, TCP Client, Concurrent UDP, and UDP Broadcast&lt;br /&gt;
* Device Configuration: Password-protected, built-in Web-UI (HTTP)&lt;br /&gt;
* Diagnostics: Operational status readout via USB or Web-UI&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Power Supply: 5 VDC @ 0.2 A via USB-C interface port&lt;br /&gt;
* Dimensions: 80 x 47 x 24 mm&lt;br /&gt;
* Operating Temperature Range: -20°C to +50°C&lt;br /&gt;
* Status Indicators: Diagnostic LEDs&lt;br /&gt;
* Firmware Upgrade: Supported via USB interface&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Kit Contents ====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Product Code&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;MODIG RS485-ETHERNET Mini Converter&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*Fully assembled, programmed, and tested converter module&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;USB Cable&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
*USB connectivity cable with USB-A to USB-C connectors&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Applications ====&lt;br /&gt;
The converter enables bidirectional data routing between an RS485 serial bus and an Ethernet network. Communication can be established transparently between two MODIG RS485-ETHERNET Mini modules or integrated with any third-party field device supporting standard TCP and/or UDP protocols.&amp;lt;br&amp;gt;&lt;br /&gt;
Serial data frames from the RS485 bus are packed and converted into Ethernet TCP/UDP packets. For large payloads (exceeding 1.5 kB up to the 4 kB maximum), an internal fragmentation mechanism splits the payload into smaller network frames. At the receiving destination node, the original RS485 data format is fully reconstructed, ensuring completely transparent communication across the network layer.&amp;lt;br&amp;gt;&lt;br /&gt;
Typical application layout for the MODIG RS485-ETHERNET Mini converter:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_application.png|none|1000px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== RS485 Interface ====&lt;br /&gt;
The physical RS485 interface utilizes a 4-pin Phoenix Contact MC 3.81 mm screw terminal block.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Pin Number&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Label&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|1&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| &#039;&#039;&#039;T&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| &lt;br /&gt;
Activates the internal 120 Ω line termination resistor. &amp;lt;br&amp;gt; The resistor is engaged when terminal &#039;&#039;&#039;T&#039;&#039;&#039; is shorted to terminal &#039;&#039;&#039;A+&#039;&#039;&#039;.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|2&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| &#039;&#039;&#039;A+&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| RS485 differential line A (Non-inverting / Positive potential)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|3&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| &#039;&#039;&#039;B-&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| RS485 differential line B (Inverting / Negative potential)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|4&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| &#039;&#039;&#039;⏚&#039;&#039;&#039;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Signal Ground (GND) for the RS485 bus&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_RS485.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The MODIG converter can be connected to an RS485 bus containing up to 64 devices (including the converter itself). Devices must be daisy-chained to avoid stub lines or bus branches; any necessary drop lines must be kept as short as possible. 120 Ω impedance matching termination resistors should be placed at both physical ends of the bus line. The MODIG converter includes an on-board termination resistor, which can be enabled by bridging terminal &#039;&#039;&#039;A+&#039;&#039;&#039; and terminal &#039;&#039;&#039;T&#039;&#039;&#039;.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The diagram below shows a simplified wiring schematic of the RS485 bus network, terminated with a standard 120 Ω resistor on one end, and the converter&#039;s internal termination on the other. It also illustrates the correct daisy-chain connection method versus incorrect topology.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_connection.png|none|1000px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Power Supply ====&lt;br /&gt;
Power to the MODIG converter is delivered via the USB-C port labeled &#039;&#039;&#039;USB&amp;amp;PWR&#039;&#039;&#039;. The external source must deliver 5 VDC ±10% with a minimum capacity of 0.2 A. This requirement is met by standard USB chargers, PC interface ports, or Single Board Computers (SBCs).&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_PWR.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== ETHERNET Interface ====&lt;br /&gt;
The MODIG converter is equipped with a 10/100 Mbps Ethernet subsystem utilizing a standard RJ45 connector interface. This interface allows the converter to join a Local Area Network (LAN).&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The solid &#039;&#039;&#039;LNK&#039;&#039;&#039; LED indicates a valid physical network connection, while a flashing &#039;&#039;&#039;ACT&#039;&#039;&#039; LED signals active data traffic over the Ethernet network layer.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_LAN.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Status LED Indicators ====&lt;br /&gt;
The operation of the MODIG converter is monitored using 3 diagnostic LEDs.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|LED Indicator&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Status Meaning&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: green&amp;quot;&amp;gt;&amp;lt;b&amp;gt;STA&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Blinking at a steady interval indicates the system logic is operating correctly.&lt;br /&gt;
A solid light indicates a valid Ethernet network link and a successfully leased IP address.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: blue&amp;quot;&amp;gt;&amp;lt;b&amp;gt;ETH&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Blinking indicates active transmission or reception of TCP/UDP packets.&lt;br /&gt;
A solid light indicates an active, established TCP Server-Client connection.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;&amp;lt;b&amp;gt;RS&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Blinking signals data transmission (TX) or reception (RX) activity on the RS485 serial bus.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_LAN.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== RES Function Button ====&lt;br /&gt;
The hardware function button allows the user to trigger a full system reboot or perform a complete factory reset. To actuate the button, gently insert a pin or the end of a paperclip into the small pinhole labeled &#039;&#039;&#039;RES&#039;&#039;&#039; until a tactile resistance is felt.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A system reboot is triggered on an active device by holding the &#039;&#039;&#039;RES&#039;&#039;&#039; button down for approximately 5 seconds and then releasing it. During this action, the red RS LED will flash 4 times shortly followed by a single long illumination lasting 1 second. The button must be released during this long 1-second flash. The MODIG converter will then perform a clean hardware system restart.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A factory reset is executed on an active device by holding the &#039;&#039;&#039;RES&#039;&#039;&#039; button down for approximately 10 seconds before releasing it. This sequence triggers 4 short red flashes on the RS LED, a 1-second long flash, a 4-second delay, and finally a second long illumination. The button must be released during this second long flash. This action purges all custom configurations (wiping network setups, serial parameters, Web-UI access passwords, etc.) and restores the converter to its factory defaults.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_RES.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== USB Diagnostics Interface ====&lt;br /&gt;
The USB-C interface port labeled USB&amp;amp;PWR serves as the main power input and doubles as a diagnostic bridge to track real-time runtime parameters. Connecting the MODIG converter to a PC registers a Virtual COM Port inside the host operating system (e.g., listed as COM5).&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_COM.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Any standard serial terminal emulation software (e.g., PuTTY, BrayTerminal, etc.) can be opened to listen on the allocated Virtual COM Port. The communication channel profile must be configured to: 115200 bps, 8 data bits, No parity, 1 stop bit (115200, 8, N, 1). The terminal window will stream active diagnostic readouts from the MODIG converter:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_terminal.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
This feed provides a quick method to check the leased IP address assigned to the converter, along with critical parameters including DHCP lease status, MAC address, and active TCP/UDP socket configurations.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Firmware Upgrade Procedure ====&lt;br /&gt;
The latest version of the firmware binary can be acquired here: [https://wiki.kamamilabs.com/images/a/a7/Modig_3_0.zip Modig_3_0.zip]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Flashing a new firmware version requires a desktop PC equipped with the official STM32Cube Programmer application, an available USB port, and a standard USB-A to USB-C link cable.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_upd.png|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
The STM32Cube Programmer application can be obtained from the official STMicroelectronics portal:&lt;br /&gt;
https://www.st.com/en/development-tools/stm32cubeprog.html&lt;br /&gt;
Select the appropriate installer for your desktop operating system, run the installation package, and follow the setup wizard.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_get_soft.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
To put the MODIG converter into Device Firmware Upgrade (DFU) mode, follow these steps:&lt;br /&gt;
#Disconnect the converter from the Ethernet network, the RS485 bus lines, and its power source.&lt;br /&gt;
#While the device is fully unpowered, press and hold down the hardware RES button.&lt;br /&gt;
#Keeping the RES button compressed, connect the USB cable from the PC to the USB&amp;amp;PWR port on the MODIG converter.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The status LEDs will remain completely dark, confirming that the internal bootloader has entered DFU mode. The host PC device manager will list a new hardware entry:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_DFU_mode.jpg|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Launch the STM32Cube Programmer software, change the interface connection type to USB, and click &#039;&#039;Connect&#039;&#039;.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_connect.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Click on &#039;&#039;Open file&#039;&#039;, browse to the directory containing the compiled firmware binary (e.g., &#039;&#039;Modig_3_0.elf&#039;&#039;), select it, and click &#039;&#039;Download&#039;&#039;. A confirmation dialog will pop up upon completion; click OK. &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_openfile.jpg|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Finally, click Disconnect within the utility and unplug the USB cable from the converter. Reconnecting the USB cable normally (without pressing the RES button) will cycle the power, and the MODIG converter will initialize running the newly flashed firmware stack.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Converter Configuration ====&lt;br /&gt;
All hardware and communication parameters of the MODIG converter are managed using the embedded web configuration engine. Open a web browser on a PC or smartphone connected to the same Local Area Network (LAN) as the MODIG module, and type the device&#039;s current IP address into the address bar. The active IP address can be found using the live serial diagnostic stream over USB (see the “USB Diagnostics Interface” section) or via the network router&#039;s DHCP lease table.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== User Authentication (Login) ===== &lt;br /&gt;
Navigating to the correct IP address brings up the MODIG Web-UI dashboard challenge screen. Accessing the configuration backend requires entering the security password; the factory default value is “1234”.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_start.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Entering an invalid password will display an authentication failure alert.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_try_again.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Main Menu Dashboard ===== &lt;br /&gt;
A successful login session opens the core configuration panel. The bottom area of the layout displays foundational device info and real-time operational variables.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_main.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Once modifications to the operating parameters are complete, terminate the session by clicking the LOGOUT button. This explicit action writes the updated parameters into the device&#039;s non-volatile EEPROM configuration storage block.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
If a user fails to log out manually, the active Web-UI session will time out automatically after 5 minutes of inactivity. Any uncommitted parameter adjustments are saved to the non-volatile memory block after 1 minute of inactivity on the configuration portal.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Device Management Profile (DEVICE) ===== &lt;br /&gt;
&#039;&#039;Device Name&#039;&#039; — A custom string identifier defined by the user to label the hardware unit. To change this value, input the string into the text box adjacent to the &#039;&#039;Device Name&#039;&#039; field and commit the modification by clicking the &#039;&#039;Apply&#039;&#039; button below.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Access Password Management&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The configuration portal is locked behind a password challenge. Authentication is bound to the requesting client&#039;s IP address and remains valid for a sliding window of 5 minutes. The countdown resets with each action taken within the Web-UI; 5 minutes of total idle time drops the token and forces an automatic session logout.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
To provision a new access token, input the desired value into the &#039;&#039;New Password&#039;&#039; and &#039;&#039;Repeat new password&#039;&#039; text boxes, then commit the change using the corresponding &#039;&#039;Apply&#039;&#039; button.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_device.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
A successful write update will show the following success confirmation message:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_new_password_2.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Network Parameter Configuration (NETWORK) ===== &lt;br /&gt;
The networking section handles the low-level identity profiles, including the hardware address (&#039;&#039;Device MAC&#039;&#039;) and the IP block topology. When the network automation flag is set to &#039;&#039;DHCP - ENABLE&#039;&#039;, the MODIG converter requests an operational IP setup from the local network gateway or DHCP server. Conversely, flipping this setting to &#039;&#039;DISABLE&#039;&#039; switches the stack over to static configurations, requiring manual entries for the target IP address (&#039;&#039;Device static IP&#039;&#039;) and the corresponding subnet mask (&#039;&#039;Subnet mask&#039;&#039;).&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_netsett.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Modifying the hardware MAC address requires a hard system reboot to reinitialize the network controller chip; this can be done by clicking the &#039;&#039;RESTART&#039;&#039; button. Updating static IP variables requires recycling the Ethernet interface stack, which can be done by clicking the &#039;&#039;RECONNECT&#039;&#039; button.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Executing either operation terminates the active browser session, logs the user out, and restarts the physical Ethernet interface. Depending on the newly committed settings, the web management panel will map onto a different network endpoint address.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Network Operational Profile (MODE) ===== &lt;br /&gt;
The MODIG converter routes data payloads across the IP network using independent TCP and UDP protocol engines running concurrently.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The TCP engine operates under a strict Server-Client model, requiring a destination IP pointer indicating where serial payloads should be forwarded, paired with a target socket port number constrained within the user range of 1024 to 65535.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The UDP engine functions without maintaining fixed sessions or connection states. It requires a target destination IP pointer along with an unprivileged port assignment within the 1024 to 65535 range. Setting the destination address to the broadcast IP 255.255.255.255 switches the socket engine over to broad-network transmission (broadcasting), mirroring serial payloads to every active listening node on the local subnet.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_mode.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Serial Interface Tuning (RS485) ===== &lt;br /&gt;
The adjustable physical parameters governing the integrated RS485 UART serial interface include:&amp;lt;br&amp;gt;&lt;br /&gt;
∙ Communication Speed (&#039;&#039;Baudrate&#039;&#039;): Supports values from 200 bps up to 1,000,000 bps (1 Mbps),&amp;lt;br&amp;gt;&lt;br /&gt;
∙ Serial Frame Size (Data bits): Configurable to 7 or 8 bits,&amp;lt;br&amp;gt;&lt;br /&gt;
∙ Bit Parity Verification (&#039;&#039;Parity&#039;&#039;): None, Even, or Odd,&amp;lt;br&amp;gt;&lt;br /&gt;
∙ Serial Framing End-Marker (&#039;&#039;Stop bits&#039;&#039;): 1, 1.5, or 2 bits.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The UART parameters configured inside the MODIG converter must match the serial properties of all peripheral target nodes attached to the RS485 line. Save new variables using the Apply button below the menu fields.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Data payloads routed over the physical RS485 bus are formatted into packets (frames), capped by an end-of-packet character sequence or a designated duration of line quietness. The converter packages serial data streams and drops them onto the network stack as unified blocks; frames missing proper completion markers are held in the serial buffer and will not pass onto the network layer.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The MODIG engine can monitor for frame completion by parsing for a programmable sequence of 1 to 4 characters (e.g., the keyword string “END”, a series of byte markers like “0xFF 0xFF 0xFF 0xFF”, or standard text line-end delimiters like CR LF — &#039;&#039;Carriage Return, Line Feed&#039;&#039;). The parsing sequence must be formatted as hexadecimal notation values corresponding to the standard ASCII map, prefixed by an &#039;x&#039; identifier; for example, the string “END” must be input as “x45 x4E x44”. Leaving this field empty disables character-based frame parsing.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The firmware can also evaluate frame boundaries by measuring silent periods on the physical bus. Bus quietness is calculated as equivalent character transmission windows relative to the active baud rate. Input a valid threshold scale from 0 to 255 inside the &#039;&#039;Packet complete idle characters&#039;&#039; field. Setting this value to 0 turns off the timer; a value of 1 instructs the engine to close the active buffer as soon as the line remains idle for the duration of a single character slot. Both frame demarcation methods can run concurrently.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_rs485.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Embedded Testing Tools (TOOLS) ===== &lt;br /&gt;
The web interface features basic testing utilities to inject raw test payloads directly onto the physical bus lines. The input field labeled &#039;&#039;Remote RS485 message&#039;&#039; transmits short text segments directly to the remote IP endpoints assigned within the network configuration panels (&#039;&#039;MODE&#039;&#039;) over open TCP or UDP sockets. Click &#039;&#039;Send&#039;&#039; to fire the payload.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The utility labeled &#039;&#039;Local RS485 message&#039;&#039; allows operators to transmit manual command strings from the active interface directly out of the local converter&#039;s RS485 transceiver. Click &#039;&#039;Send&#039;&#039; to execute the serial transmission.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:RS485-ETH_Mini_tools.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=File:RS485-ETH_Mini_connection.png&amp;diff=556</id>
		<title>File:RS485-ETH Mini connection.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=File:RS485-ETH_Mini_connection.png&amp;diff=556"/>
		<updated>2026-06-15T18:22:47Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: Grzegorzbecker uploaded a new version of File:RS485-ETH Mini connection.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=File:RS485-ETH_Mini_application.png&amp;diff=555</id>
		<title>File:RS485-ETH Mini application.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=File:RS485-ETH_Mini_application.png&amp;diff=555"/>
		<updated>2026-06-15T18:20:38Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: Grzegorzbecker uploaded a new version of File:RS485-ETH Mini application.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.modig.pl/index.php?title=File:RS485-USB_application.png&amp;diff=554</id>
		<title>File:RS485-USB application.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.modig.pl/index.php?title=File:RS485-USB_application.png&amp;diff=554"/>
		<updated>2026-06-15T18:12:41Z</updated>

		<summary type="html">&lt;p&gt;Grzegorzbecker: Grzegorzbecker uploaded a new version of File:RS485-USB application.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
</feed>