The leader in industrial automation and control solutions

Introduction

All Maple Systems HMIs programmed with EBPro (EasyBuilder Pro), including every cMT X Series and cMT Series model, are compatible with Schneider Electric SoMachine M Series Ethernet. Configure your Controller and HMI/cMT with the following parameters to establish reliable communication.

Supported series: Schneider SoMachine M238/M241/M251/M258

HMI Settings

ParametersRecommendedOptionsNotes
PLC typeSchneider SoMachine M Series (Ethernet)
PLC I/FEthernetUse UDP
Port no.1740
Source port no.17421740 / 1742M258: 1740 — Other: 1742
ProtocolNodename (UDP)Nodename (UDP) / IP Address (Fast TCP)
User name, Password

PLC will randomly allocate UDP Port: 1740–1743; use Scan Network to get the correct port number.

PLC Setting

Schneider EcoStruxure Machine Expert software requires user restrictions to be disabled. There are two methods:

Method 1: Maintenance Menu

Navigate to MaintenanceUser ManagementUsers accounts managementDisable.

TM241CE24T_U web interface Maintenance tab showing User Management with the Disable button highlighted under Users accounts management.

Method 2: Online Menu

Navigate to OnlineSecurityDisable user rights management on device.

Machine Expert Logic Builder Online menu expanded to Security submenu with Disable user rights management on device highlighted.

How to Import Tags and Scan the Network

  1. Set POU Under MAST

    Under the MAST task, set the POU.
    Machine Expert application tree showing MAST task configuration with POU added as a call under Task Configuration.
  2. Add Symbol Configuration Object

    In the Tools tree, right-click ApplicationAdd ObjectSymbol configuration.
    Machine Expert Tools tree context menu showing Add Object submenu with Symbol configuration highlighted.
  3. Select PLC_PRG and Build

    Select PLC_PRG — its tag information will be shown. Build the project: BuildGenerate Code. An *.xml file is generated in the project directory.
    Symbol configuration tab showing POU tag list with array2D, ArrayStruct, StructofStruct, and other tags, with the Build button highlighted.
    Build menu open in Machine Expert with Generate Code option highlighted.
  4. Add Driver and Import Tag in EBPro (EasyBuilderPro)

    In EBPr0 (EasyBuilderPro), open System Parameter Settings, click New to add the Schneider SoMachine M Series driver to the device list, then click Import Tag.
    EasyBuilderPro System Parameter Settings Device tab showing Schneider SoMachine M Series device in the list with the Import Tag button highlighted.
  5. Confirm Import Success

    An import successful dialog confirms the tag information was imported.
    The Get Tag Info function may return incomplete addresses. Use the Import Tags function instead.
    EasyBuilder Pro dialog box displaying the message: Imported tag information successfully.
  6. Click Scan Network in Driver Settings

    In the driver settings, click Scan Network inside the IP Address Settings dialog.
    EasyBuilderPro IP Address Settings dialog showing IP address 192.168.1.111, Port 1740, with the Scan Network button highlighted.
  7. Select Network Adapter

    The Adapter Select dialog lists available network adapters. Select the adapter whose IP address matches the PLC network.
    Confirm that the PLC and PC network settings are the same. If the settings differ, the network scan may not succeed.
    Adapter Select dialog listing two adapters — Apple on local host at 172.20.10.3 and Intel 82579LM Gigabit adapter at 192.168.1.130 — with the Intel adapter selected.
  8. View Connection Details

    A network connection details dialog appears showing the properties of the selected network adapter. Verify the IP address and subnet settings match your PLC network.
    Network Connection Details dialog showing IP address, subnet mask, and gateway properties for the selected network adapter.
  9. Select Device from Scan Results

    The devices found on the network are listed. Select the device you want to connect to and click OK.
    QtCodesysScanNetwork dialog showing a list of discovered devices including cMT-4901, cMT-47C6, cMT-DDC8, cMT-5315, and M241CEC24, with M241CEC24 selected and its details showing Target Name TM241CEC24T_U and Source Port 1740.
  10. Confirm Communication Parameters

    After confirming the communication parameters, click OK.
    IP Address Settings dialog showing IP address 192.168.1.144, Port 1740, Source port no. 1740, with Timeout 5.0 sec and Turn around delay 0 ms.

Support Device Type

Data TypeEBPro (EasyBuilder) Data FormatMemo
Boolbit
Byte16-bit BCD, Hex, Binary, Unsigned8-bit
SInt16-bit BCD, Hex, Binary, Signed8-bit
USInt16-bit BCD, Hex, Binary, Unsigned8-bit
Word16-bit BCD, Hex, Binary, Unsigned16-bit
Int16-bit BCD, Hex, Binary, Signed16-bit
UInt16-bit BCD, Hex, Binary, Unsigned16-bit
DWord32-bit BCD, Hex, Binary, Unsigned32-bit
DInt32-bit BCD, Hex, Binary, Signed32-bit
Real32-bit Float32-bit
UDInt32-bit BCD, Hex, Binary, Unsigned32-bit
TIME32-bit BCD, Hex, Binary, Unsigned32-bit
TIME_OF_DAY32-bit BCD, Hex, Binary, Unsigned32-bit
DATE32-bit BCD, Hex, Binary, Unsigned32-bit
DATE_AND_TIME32-bit BCD, Hex, Binary, Unsigned32-bit
LInt64-bit Signed64-bit
ULInt64-bit Unsigned64-bit
LWord64-bit Unsigned64-bit
Double64-bit Float64-bit
StringWord array for ASCII input and displayLength = word

NOTE 1: String length must be set identical to the length set in software.

NOTE 2: EasyBuilderPro V6.03.02 or later supports 64-bit data types (cMT Series only). The address limit range is 48 bits maximum.

NOTE 3: Tag name does not support more than 80 characters.

NOTE 4: EasyBuilderPro V6.09.01.514 and later versions support communication with MachineExpert 2.2.

NOTE 5: Array of Struct [Array] is not supported.

NOTE 6: Support UTF8 Encoding for STRING. Enable this in Machine Expert under Project SettingsCompile optionsUTF8 Encoding for STRING.

Machine Expert Project Settings dialog open to Compile options, with UTF8 Encoding for STRING checkbox checked and highlighted.

How to Use Subnet Mask 255.255.0.0

  1. Confirm that the subnet mask of the network environment is 255.255.0.0 for both the PC/HMI and the PLC.
Windows Internet Protocol Version 4 Properties dialog showing IP address 192.168.1.130, subnet mask 255.255.0.0, and default gateway 192.168.1.254.

2. Set the Source port no. to 1740.

    EasyBuilderPro IP Address Settings dialog showing IP address 192.168.1.143, Port 1740, and Source port no. set to 1740 (highlighted).

    EasyAccess 2.0 PassThrough

    How to use Schneider SoMachine / Machine Expert for EasyAccess 2.0 PassThrough:

    1. Use Nodename via NAT (Remote TCP). Enter the actual PLC IP address and Port 1105 in the NAT Address field.
      EasyAccess 2.0 connection settings showing Connection Mode set to Nodename via NAT (Remote TCP) with NAT Address 192.168.1.246 and Port 1105.

      2. Click the refresh button.

        EasyAccess 2.0 connection settings showing Nodename via NAT connection mode with the refresh button highlighted.

        3. After reading the device list, click the device on the list.

          Machine Expert controller connection list showing two controllers — Weintek-Cortex and TM241C24T — with TM241C24T at 192.168.1.246 selected, running firmware V5.0.8.4.

          4. Select the machine found, enter the nodename, then go online and log in.

            Wiring Diagram

            NOTE: Use a standard Ethernet (RJ-45) straight-through cable.

            The diagram below shows the Ethernet cable wiring.

            Ethernet straight-through cable wiring diagram showing all 8 color-coded wire pairs connected pin-to-pin from one end to the other.