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 Maple Systems Built-in CODESYS. Configure your Controller and HMI/cMT with the following parameters to establish reliable communication.

HMI Settings

ParametersRecommendedOptionsNotes
PLC typeMaple Systems Built-in CODESYS
PLC I/FEthernet
Online simulatorNO

How to Import Tags

  1. Set POU in MainTask

    Under MainTask, set POU PLC_PRG.
    CODESYS Devices panel showing MainTask expanded with PLC_PRG assigned, and the Symbol configuration tab open with Cyclic type set to t#20ms interval.
  2. Add Symbol Configuration to Devices list

    Right-click the Application node, choose Add Object, then select Symbol configuration…
    CODESYS Application context menu open with Add Object submenu expanded, showing Symbol configuration option highlighted.
    Add Symbol configuration dialog with name field set to Symbol configuration and Optimized Layout selected.
  3. Select PLC_PRG and build the project

    Select PLC_PRG — its tag information is shown. Then build the project via BuildGenerate Code.
    CODESYS Symbol configuration view with PLC_PRG selected in the Symbols tree, showing a list of variables with their data types and access rights.
  4. Locate the generated XML file

    A *.xml file is generated in the project directory after the build completes.
    Windows file explorer showing the project directory with VisuDemoFactory.Device.Application.xml highlighted as an XML Document at 29 KB.
  5. Add Maple Systems Built-in CODESYS driver in System Parameter Settings

    In System Parameter Settings, click New HMI… to add the Maple Systems Built-in CODESYS driver to the device list, then click Tag Manager…
    EasyBuilder Pro System Parameter Settings window showing the Device tab with a Weintek Built-in CODESYS device added to the device list and the Tag Manager button visible.
  6. Import the tag file in Tag Manager

    In Tag Manager, click Get tagImport Tag…, then select the .xml tag file generated by the PLC software.
    EasyBuilder Pro Tag Manager dialog with the Get tag dropdown open showing Import Tag option highlighted.
  7. Confirm import and exit

    When tags are imported successfully, click Exit to leave Tag Manager.
    EasyBuilder Pro Tag Manager showing imported tags from Application.POU_2 with data types BOOL, BYTE, DINT, DWORD, INT, REAL, SINT, UDINT, UINT listed, and Import Status showing Import tag information successfully.

Supported Device Types

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
LInt64-bit Signed64-bit
ULInt64-bit Unsigned64-bit
LWord64-bit Unsigned64-bit
LReal64-bit Float64-bit
StringWord array for ASCII input and displayLength=word

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

NOTE: EBPro V6.03.02 or later supports 64-bit data types (cMT Series only), but note that the address limit range is 48 bits maximum.

Wiring Diagram

The diagram below shows the Ethernet cable wiring.

Ethernet crossover cable wiring diagram showing pin-to-pin connections: W/Orange–1, Orange–2, W/Green–3, Blue–4, W/Blue–5, Green–6, W/Brown–7, Brown–8 on both ends with color-coded twisted pairs.