Skip to content

Connections and Network Setup

The Overvis MC252 uses standard TCP/IPv4 addressing for Ethernet communication. DHCP is enabled by default, allowing the device to automatically obtain network settings from your router. Without DHCP the factory default IP address is 192.168.0.111.

IP Addressing Fundamentals

When devices communicate over an Ethernet network using the TCP/IPv4 protocol, each device uses IP addressing settings to identify the sender and receiver of data. MC252 stores the following in its memory:

  • IP Address: A unique address within the subnet (four bytes written as integers 0-255, separated by dots)
  • Subnet Mask: Identical for all devices within the subnet (written similar to IP address)
  • Gateway Address: Used to communicate with other networks

Requirements for Proper Communication:

Devices within a subnet communicate properly when these conditions are met:

  • Common Subnet Mask: All devices in the subnet must use the same mask. Most small LANs use 255.255.255.0.
  • Valid Mask Format: The mask starts with consecutive 1 bits, followed by consecutive 0 bits.
  • Subnet Address: All IP address bits corresponding to the mask’s 1 bits must be identical across all devices. Common LANs use 192.168 as the address prefix with mask 255.255.255.0. The third byte can serve as a subnet number in complex LANs; in smaller LANs, it’s typically 0.
  • Unique Host Address: The IP address bits corresponding to the mask’s 0 bits must be unique to each device within the subnet.
  • Gateway Configuration: A router or gateway device that communicates with other networks typically uses an address like 192.168.0.1, 192.168.0.100, or 192.168.0.101. Other devices can use this address as their gateway. The gateway address is not required for intra-subnet communication—only for connecting to external networks (such as the Internet).

Table 1 - Factory addressing settings for MC252

ParameterValue
Addressing using DHCPYes
IP Address192.168.0.111
Subnet Mask255.255.255.0
Gateway192.168.0.1

With factory default settings, MC252 supports two connection methods via Ethernet.

Method 1: Network with DHCP Server

If your network includes a router or DHCP server that assigns IP addresses to new devices:

  1. Connect MC252 to the network
  2. Wait for the device to obtain an IP address (appears on the display with (E) prefix for Ethernet)
  3. If the display shows 0.0.0.0, the address has not been received yet
  4. If 192.168.0.111 appears after 20-60 seconds, DHCP acquisition failed and the device switched to its static address

Method 2: Direct Connection or Network Without DHCP

If DHCP is unavailable, or MC252 is connected directly to a computer:

  1. MC252 will switch to static addressing after 20-60 seconds
  2. Configure the client device with:
    • Subnet mask: 255.255.255.0
    • IP address: 192.168.0.X (where X = 1-254, excluding 111)
    • Ensure the chosen address doesn’t conflict with other devices on the subnet

If your network uses different addressing (different mask or IP range from Table 1), or if 192.168.0.111 is already taken:

  1. Temporarily disconnect the conflicting device from the network
  2. Establish direct communication between your client device and MC252
  3. Configure both devices for proper network communication
  4. Reconnect to the network

Configuring Ethernet Connection on Windows PC

Section titled “Configuring Ethernet Connection on Windows PC”

In some cases you may need to connect MC252 directly to your computer to access its web interface and change settings. Connect the device with an Ethernet cable to the LAN port on your PC, then configure your network adapter as described below.

The following example shows how to configure a Windows PC (Windows 7/8/10/11) to communicate directly with MC252 using factory settings. For other operating systems, configure your client device’s addressing according to its documentation.

How to access network adapter settings on Windows 7 / 8 / 10
  1. Log in as administrator
  2. Select StartControl Panel
  3. If items are categorized, select Network and Internet
  4. Go to Network and Sharing Center
  5. In the left sidebar, select Change adapter settings
How to access network adapter settings on Windows 11
  1. Log in as administrator
  2. Select StartSettings
  3. Select the Network and Internet category
  4. Expand Advanced Network Settings
  5. Select More network adapter options
  1. In the Connections window, select the desired network adapter. If multiple connections appear, choose the correct one by adapter name or consult your system administrator.

  2. Right-click the connection icon and select Properties. The Properties window opens (Fig. 1).

    Connection properties window in Windows

    Fig. 1 – Connection properties window in Windows

    TCP/IPv4 properties window in Windows

    Fig. 2 – TCP/IPv4 properties window in Windows

  3. Select Internet Protocol Version 4 (TCP/IPv4) from the component list. Ensure it’s enabled (checkbox is checked). Click Properties. The TCP/IPv4 properties window opens (Fig. 2).

  4. Select Use the following IP address

  5. In the IP address field, enter an address in the range 192.168.0.1 to 192.168.0.254 (excluding 192.168.0.111, which MC252 uses)

  6. In the Subnet mask field, enter 255.255.255.0

  7. Leave Default gateway, Preferred DNS server, and Alternate DNS server fields blank or unchanged

  8. Click OK to close the Protocol Settings window

  9. Click OK to close the Connection Settings window

  10. If prompted to restart the PC, select Yes

To connect MC252 to the Internet via Ethernet:

  1. Connect MC252 to a local network router with DHCP addressing enabled
  2. Ensure the router is connected to your Internet service provider (ISP)
  3. Do not connect MC252 directly to the ISP’s cable

This setup enables outgoing connections (e.g., active-mode connection to cloud servers, connections to other servers using hostnames or static IP addresses).

graph LR
    A[MC252] -->|Ethernet| B[Router]
    B -->|WAN| C[Internet/ISP]
    B -->|LAN| D[Local Network]
    C --> E[Cloud Server / Remote Modbus TCP Devices]
    D --> F[Modbus TCP Devices]

Fig. 3 – MC252 Internet connection topology via Ethernet with DHCP

To access the device from the Internet via incoming connections (direct TCP connection or web interface):

  1. Acquire a Static IP: Get a dedicated line with a static IP address from your ISP

    • Connect the ISP cable to the router’s uplink port (usually color-coded, see router documentation)
    • Use a straight-through Ethernet cable to connect MC252 to the router
  2. Configure Router: Following your ISP’s recommendations, configure the router for Internet access using the router documentation.

  3. Set Up Port Forwarding: Configure the router to redirect queries from your static public IP address to MC252’s local IP address (factory default: 192.168.0.111)

    • For web interface access: redirect to port 80 on MC252’s local address
    • For Modbus TCP or tunnel access: redirect to the incoming Ethernet connections port (register 450, factory default: 502). See Modbus Interface for register configuration details.
    graph LR
        A[Internet Client] -->|Public IP:Port| B[Router]
        B -->|Port Forward| C[MC252]
        C -->|RS-485| D[Modbus Devices]

    Fig. 4 – MC252 incoming connections via port forwarding

  4. Configure DHCP Reservation: Either:

    • Configure the router to always assign the same IP address to MC252 via DHCP, OR
    • Disable DHCP in MC252 settings and use a static IP

    This ensures port forwarding works correctly.

  5. Verify Security: Confirm that MC252’s Internet connection is protected by standard security measures (see Connection Security). Specifically, set the write access password to some unique values. It is also recommended to set the read access password.

  6. Access the Device: When accessing MC252 from the Internet, use the static IP address provided by your ISP and the public port specified in your port forwarding configuration

Ensure your tariff plan includes GPRS or LTE service (for Internet connectivity) and/or SMS messaging (for SMS-based control).

To connect MC252 via GSM:

  1. Obtain SIM Card: Get a SIM card from your GSM operator
  2. Install Hardware: Insert the SIM card into MC252 and connect the appropriate antenna to ensure proper signal strength at the MC252 location
  3. Verify SIM Recognition: After starting MC252, confirm the SIM card is correctly identified
    • After communication initialization, the GSM indicator should blink continuously
    • If the indicator remains off for more than 4 seconds, check the SIM card, antenna, and GSM signal level on the MC252 display
  4. Verify Internet Connection (if using GPRS/LTE): Ensure the operator settings are correct
    • When connected to the Internet, the GSM indicator flashes 3 times per second
    • If flashing less frequently, check the APN settings
  5. Configure APN: If necessary, manually configure the APN according to your operator’s recommendations (see APN Configuration Examples below)

This setup enables outgoing connections (connecting to cloud servers in active mode, or to other servers with hostnames or static IP addresses on the Internet).

graph LR
    A[MC252] -->|GSM/LTE| B[Cellular Network]
    B --> C[Internet]
    C --> D[Cloud Server / Remote Modbus TCP Devices]
    A -->|RS-485| E[Modbus Devices]

Fig. 5 – MC252 Internet connection topology via GSM/LTE

APN Configuration Examples

United States:

  • T-Mobile: fast.t-mobile.com
  • AT&T: broadband or phone
  • Verizon: vzwinternet

Europe:

  • Vodafone (UK): internet or pp.vodafone.co.uk
  • O2 (UK): mobile.o2.co.uk
  • Orange (France): orange or orange.fr
  • Deutsche Telekom (Germany): internet.t-mobile or internet.telekom

Other Regions:

  • Contact your GSM operator for specific APN settings
  • Some operators require username and password in addition to APN
  • M2M/IoT SIM cards may use different APNs than consumer SIM cards

To configure the APN, use the MC252 web interface or modify register 2200-2263 via Modbus. See Modbus Interface for details.

  1. Obtain Static IP Service: Get a static IP SIM card or service from your operator
  2. Install Hardware: Insert the SIM card and connect the antenna to ensure proper signal strength at the MC252 location
  3. Configure Device:
    • Set the GSM incoming connections port in settings. See Web interface description for details.
    • Configure APN settings according to your operator’s recommendations
    • Restart MC252
  4. Verify Connection: Confirm the SIM card is identified correctly
    • After interface initialization, the GSM indicator should continue to flash
    • If the indicator remains off for more than 4 seconds, check the SIM card, antenna, and GSM signal level on the device display

MC252 provides several security features to protect against unauthorized access:

MC252 has basic protection against unauthorized access via network. Access for writing and/or reading via Modbus or SMS can be deactivated in settings.

Device settings can be changed remotely by entering a password (minimum 5 characters). Access passwords can be set for restriction of writing and/or reading via Modbus or SMS.

When entering the password, all settings are only available to the specific client using the specific protocol. In case of no requests from the client over a long period, the access returns to locked mode.

MC252 supports constant communication with data collection and management servers, for example, Overvis Cloud.

MC252 factory settings are preconfigured for Overvis connection, but the connection is disabled by default and must be enabled manually. The Overvis system uses MAC address-based authentication — the device’s unique MAC address is sent to the server at each connection session.

There are three ways to connect MC252 to Overvis Cloud:

  1. Using PIN/QR Code from Label (Recommended for first-time setup) — The fastest method using reverse connection where MC252 connects to Overvis. Simply scan the QR code on your device label. Detailed in Quick Start Guide.

  2. Using Activation Code (Requires physical access) — Uses reverse connection with an 8-digit code displayed on the MC252 screen and web interface. This method proves physical device access, making it suitable for taking over previously used devices, verifying ownership, or when the label is unavailable.

  3. Direct Connection from Overvis (For advanced users) — Overvis connects directly to MC252 through router port forwarding, requiring a static public IP address. Used rarely due to complexity and security considerations.

Method 1: Using PIN/QR Code from Device Label

Section titled “Method 1: Using PIN/QR Code from Device Label”

This is the recommended method for first-time setup, using the registration information from your MC252 label.

sequenceDiagram
    participant MC252
    participant Overvis
    participant User

    MC252->>Overvis: Connect & send handshake (MAC address)
    Overvis->>MC252: Confirm handshake
    Note over MC252,Overvis: Connection established, waiting for binding

    User->>Overvis: Scan QR code / Enter PIN URL
    User->>Overvis: Login to account
    User->>Overvis: Submit PIN in "Create Network" page
    Overvis->>Overvis: Link PIN to MAC address
    Overvis->>Overvis: Find matching connection by MAC
    Overvis->>User: Create network under user's account

    loop Data Communication
        User->>Overvis: Request device data
        Overvis->>MC252: Read registers (via established connection)
        MC252->>Overvis: Return data
        Overvis->>User: Display data
    end

Fig. 6 – Connection sequence for PIN/QR code method (reverse connection)

Connection Flow: MC252 initiates outbound connection to Overvis and maintains it. User registers by linking the PIN to this existing connection. No port forwarding required.

Prerequisites:

  • MC252 connected to Internet (via Ethernet or GSM)
  • QR code label on device (or PIN code from label)
  • Overvis Cloud account (or create during setup)

Connection Steps:

  1. Verify Internet Connection

    Ensure MC252 is connected to the Internet. Check the device display for a valid IP address—the prefix (E) indicates Ethernet connection, (G) indicates GSM. Address should not be 0.0.0.0.

  2. Access Overvis Server

    Scan the QR code on the device label with your phone or tablet, OR manually enter the URL from the label (format: https://c.overvis.com/ABCD1234). The link automatically redirects to Overvis server login page with the PIN embedded in the URL.

  3. Login or Create Account

    If you have an account, enter your credentials. New users should register for a free account first.

  4. Create Network

    After login, Overvis displays the “Create Network” page. If you came from the QR code/link, the PIN is pre-filled automatically. Otherwise, manually enter the PIN from the device label. Click “Check connection” to verify MC252 is online.

  5. Configure Network

    Give your network a descriptive name (a “network” represents your MC252 plus all connected Modbus devices). MC252 itself (Modbus unit ID 111) is added automatically. Add your RS-485 devices by selecting models and entering their Modbus addresses.

  6. Verify Operation

    Open a device page in Overvis and read parameters to confirm real-time communication.

After successful registration, the MC252 display will show either active or no code:

┌─────────────────────┐
│ │
│ Server: │
│ (E) no code │
└─────────────────────┘

Fig. 7 – Status displayed after PIN/QR code activation

This method requires viewing the MC252 device screen or web interface, proving you have physical access to the device. It’s the primary method for taking over previously used devices and verifying ownership. The activation code also serves as a security measure—only someone with physical access can see and use it.

sequenceDiagram
    participant MC252
    participant Overvis
    participant User

    MC252->>Overvis: Connect & send handshake (MAC address)
    Overvis->>Overvis: Generate random 8-digit Activation Code
    Overvis->>Overvis: Store AC-MAC link
    Overvis->>MC252: Send Activation Code
    MC252->>MC252: Display AC on screen & web interface
    Note over MC252,Overvis: Connection established, waiting for binding

    User->>Overvis: Login to account
    User->>MC252: Read AC from display/web interface
    User->>Overvis: Enter Activation Code
    Overvis->>Overvis: Verify AC-MAC link
    Overvis->>Overvis: Find matching connection by MAC
    Overvis->>User: Create network under user's account
    Overvis->>MC252: Confirm binding
    MC252->>MC252: Display "active"

    loop Data Communication
        User->>Overvis: Request device data
        Overvis->>MC252: Read registers (via established connection)
        MC252->>Overvis: Return data
        Overvis->>User: Display data
    end

Fig. 8 – Connection sequence for Activation Code method (reverse connection)

Connection Flow: MC252 initiates outbound connection to Overvis and receives a unique 8-digit Activation Code. User enters this code to bind the device to their account. No port forwarding required.

Prerequisites:

  • MC252 connected to Internet (via Ethernet or GSM)
  • Overvis Cloud account

Connection Steps:

  1. Connect to Internet

    Connect MC252 to the Internet using one of the methods described in Internet Connection via Ethernet or GSM Connection.

  2. Verify Connection and Get Code

    Confirm that the server connection is established and obtain the 8-digit activation code by checking the device display OR the MC252 web interface status page (Cloud tab).

    ┌─────────────────────┐
    │ │
    │ Server: │
    │ (E) 38571098 │
    └─────────────────────┘

    Fig. 9 – Activation code displayed on device screen

    The prefix indicates connection method: (E) for Ethernet, (G) for GSM

  3. Create network in Overvis and provide Activation Code

    Log in to your Overvis Cloud account at www.overvis.com. On the “Create Network” page, enter the 8-digit activation code to bind the device to your account.

  4. Configure Network

    Give your network a descriptive name (a “network” represents your MC252 plus all connected Modbus devices). MC252 itself (Modbus unit ID 111) is added automatically. Add your RS-485 devices by selecting models and entering their Modbus addresses.

  5. Verify Activation

    After successful activation, the MC252 display will show active:

    ┌─────────────────────┐
    │ │
    │ Server: │
    │ (E) active │
    └─────────────────────┘

    Fig. 10 – Activation status displayed on device screen

This method allows Overvis to connect directly to your MC252 using its public IP address. It requires more advanced network configuration.

sequenceDiagram
    participant User
    participant MC252
    participant Router
    participant Overvis

    User->>Router: Configure port forwarding<br/>(Public IP:Port → MC252:502)
    User->>MC252: Set static/reserved IP
    User->>Overvis: Add network with direct connection method
    User->>Overvis: Enter public IP & port
    Overvis->>Router: Connect to Public IP:Port
    Router->>MC252: Forward to MC252:502
    MC252->>Router: Modbus TCP response
    Router->>Overvis: Forward response
    Overvis->>User: Show device online
    loop Data Communication
        User->>Overvis: Request device data
        Overvis->>Router: Read registers request
        Router->>MC252: Forward request to MC252:502
        MC252->>Router: Return data
        Router->>Overvis: Forward response
        Overvis->>User: Display data
    end

Fig. 11 – Connection sequence for direct connection method (incoming connection)

Connection Flow: Overvis initiates inbound connection to MC252 through router port forwarding. Requires static public IP.

Prerequisites:

  • Static public IP address from your ISP
  • Router with port forwarding capability
  • MC252 connected to your LAN
  • Overvis Cloud account
  • Basic understanding of router configuration and network security

Connection Steps:

  1. Obtain Static Public IP

    Contact your Internet Service Provider to obtain a static public IP address for your location. Dynamic IP addresses are not recommended as they may change. Some ISPs offer static IP as a paid add-on service.

  2. Configure Router Port Forwarding

    Access your router’s configuration interface and set up port forwarding to redirect external connections to MC252. Forward to MC252’s Modbus TCP port (default: 502). External port can be the same (502) or different for security. Forward to MC252’s internal IP address (e.g., 192.168.0.111).

    graph LR
        A[Overvis Cloud] -->|Public IP:Port| B[Router]
        B -->|Port Forward to 192.168.0.111:502| C[MC252]
        C -->|RS-485| D[Modbus Devices]

    Fig. 12 – Direct connection port forwarding configuration

  3. Configure DHCP Reservation or Static IP

    Ensure MC252 always has the same internal IP address:

    • Option A: Configure your router to assign MC252 a reserved IP via DHCP (recommended)
    • Option B: Disable DHCP on MC252 and manually configure a static IP address in the web interface
  4. Verify MC252 Accessibility

    Test the connection from outside your network. Use a Modbus TCP client from a different network (e.g., mobile hotspot), connect to your public IP address on the forwarded port, and try reading a register from MC252 (unit ID 111, register 1 for firmware version).

  5. Configure Security (Strongly Recommended)

    Set strong Modbus TCP passwords in MC252 web interface. Consider changing the external port to a non-standard number. Enable Modbus TCP access logging in MC252 settings. Configure your router’s firewall to restrict access by IP range if possible. See Connection Security for additional recommendations.

  6. Create Network in Overvis

    Log in to your Overvis Cloud account at www.overvis.com. On the “Create Network” page, select the direct connection method. Enter your static public IP address and the external port number (as configured in router). Enter MC252’s Modbus address (default: 111) and Modbus password if configured.

  7. Configure Network

    Give your network a descriptive name (a “network” represents your MC252 plus all connected Modbus devices). MC252 itself (Modbus unit ID 111) is added automatically. Add your RS-485 devices by selecting models and entering their Modbus addresses.

  8. Verify Operation

    Open a device page in Overvis and read parameters to confirm real-time communication. Monitor connection stability over 24-48 hours.

The only method of connection MC252 to other cloud servers and SCADA systems is the direct connection method via Modbus TCP.

Configure MC252 in the monitoring system as a remote Modbus TCP device. This requires setting up port forwarding on your router to redirect external connections to MC252’s local IP address and Modbus TCP port (default: 502). Your server will initiate connections to MC252 through your router, similar to Method 3 described above. You’ll need a static public IP address from your ISP, or alternatively, you can use a secure WireGuard VPN tunnel to bypass the need for public IP exposure.

Since MC252 uses the standard Modbus TCP protocol for direct connections, no special server software is required—any Modbus TCP client can communicate with the device. See the Modbus Interface documentation for complete register mappings and communication protocols.

Problem: MC252 display shows 0.0.0.0

The DHCP server is not responding. Wait up to 60 seconds for MC252 to switch to its static IP 192.168.0.111. If the issue persists, verify the network cable is properly connected and check your router’s DHCP settings.

Problem: Cannot access MC252 web interface

Verify your client device is on the same subnet as MC252. Check firewall settings on your client device and confirm the MC252 IP address shown on the display. You can press the R button briefly to grant temporary password-free access.

Problem: LAN LED is off

Check the Ethernet cable connection and verify it’s not damaged. Try using a different cable to rule out cable faults.

Problem: GSM LED stays off

The SIM card may not be inserted correctly — remove and reinsert it. Check that the SIM card PIN is disabled (disable it using a phone before inserting). Verify the antenna is connected properly. Poor signal strength may require relocating MC252 or using an external antenna.

Problem: GSM LED blinks slowly (every 1.5s) but no Internet

This indicates incorrect APN settings. Verify the APN configuration with your operator. Check that your SIM card has an active data plan and review the APN configuration in MC252 settings.

Problem: Cannot receive SMS commands

Verify the SIM card phone number is correct. Check the SMS format according to the Modbus Interface documentation. Ensure SMS service is enabled on the SIM card and verify any SMS passwords are configured correctly.

Problem: SRV LED stays off

MC252 is not connected to the Internet — check your Ethernet or GSM connection. Verify the server connection is enabled in the web interface. Check that the server address and port are correct in settings. Your network firewall may be blocking outgoing connections.

Problem: Activation code not displayed

The server connection has not been established yet. Verify Internet connectivity and wait up to 2 minutes after the Internet connection is established. Check the cloud server settings in the web interface.

Problem: “Device already registered” error

The device is bound to another Overvis account. Use the Restart Activation button in the Cloud settings page to unbind it, or contact the previous owner to remove the device from their account.

Problem: Intermittent connection drops

Check that the power supply voltage is within the required range (9-30V DC) and can provide sufficient current (up to 500mA). Look for electrical noise or interference sources near the device. Update MC252 firmware to the latest version.

Problem: RS-485 devices not responding

Verify the RS-485 wiring is correct (A and B terminals). Check that the RS-485 bus termination is properly configured. Verify Modbus RTU/ASCII settings match the connected devices. See the Modbus Interface documentation for detailed communication settings.

  • Web Interface — Complete guide to MC252’s web-based configuration interface
  • Modbus Interface — Register mappings and communication protocols for Modbus TCP/RTU/ASCII

If you’re experiencing issues not covered in this guide, we’re here to help:

  • Technical Support: Contact the manufacturer’s support team
  • Documentation: Visit overvis.com/support for additional resources
  • Community: Check the user forums for solutions from other MC252 users

For warranty service or hardware issues, please contact your authorized distributor or the manufacturer directly.