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 Siemens S7-300 series PLC with PC Adapter. Configure your Controller and HMI/cMT with the following parameters to establish reliable communication.

Supported Series: Siemens S7-300 series PLC with PC Adapter

Website: https://www.siemens.com/global/en.html

HMI Settings

ParametersRecommendedOptionsNotes
PLC typeSIEMENS S7-300
PLC I/FRS232
Baud rate192009600, 19200
Data bits8
ParityOdd
Stop bits1
PLC sta. no.2Must be same as the PLC setting.

Device Address

Bit/WordDevice typeFormatRangeMemo
BIDDDDo0 ~ 40957Input (I)
BQDDDDo0 ~ 40957Output (O)
BMDDDDo0 ~ 40957Bit Memory
BDBnBitFFFFFDDDDo0 ~ 6553599997Data Register Bit
BDBxBitFFFFFDDDDDo0 ~ 10700655327
BDB1Bit ~ DB99BitDDDDDo0 ~ 655327
WIWDDDD0 ~ 4095Input (I)
WQWDDDD0 ~ 4095Output (O)
WMWDDDD0 ~ 4095Bit Memory
DWMDDDDD0 ~ 4094
ByteMBDDDD0 ~ 4095Bit Memory Byte
ByteDBBnFFFFFDDDD0 ~ 655359999Data Register Byte
ByteDBBxFFFFFDDDDD0 ~ 1070065532
WDBxFFFFFDDDDD0 ~ 1070065532
WDBnFFFFFDDDD0 ~ 655359999Data Register (must be even)
DWDBDnFFFFFDDDD0 ~ 655359999Data Register Double Word (must be even)
DWDBDxFFFFFDDDDD0 ~ 1070065532
WDBn_StringFFFFFDDDD0 ~ 655359999
WDBx_StringFFFFFDDDDD0 ~ 1070065532
WDBn_String1FFFFFDDDD0 ~ 655359999
WDBx_String1FFFFFDDDDD0 ~ 1070065532
DWDBDn_StringFFFFFDDDD0 ~ 655359999Data Register Double Word (must be even)
DWDBDx_StringFFFFFDDDDD0 ~ 1070065532
WDB1DB99DDDD0 ~ 8192Data Register

NOTE: Double word and floating point values must use the DBDn device type.

How to Import Tag

SIEMENS STEP 7 allows building user-defined tag files (*.dif and *.AWL) that can be imported in EBPro (EasyBuilder Pro) via System Parameter Settings. The following describes how to build and import these two file types.

Building a *.dif File

  1. Open Symbols and create tags

    In SIMATIC Manager, navigate to your CPU’s S7 Program and open Symbols. In the Symbol Editor, create user-defined tags by entering symbol names, addresses, data types, and comments.
    SIMATIC Manager with Symbol Editor open showing a list of user-defined tags with I0.0 through I0.7 addresses, data types set to BOOL.
  2. Export the symbol table

    In the Symbol Editor, click Symbol Table then choose Export. In the Export dialog, browse to the save location, enter a file name (e.g. PLC_Tag.dif), set save type to *Data Interchange Format (.DIF), and click Save**.
    Symbol Editor with Symbol Table menu open showing Export highlighted, and the Export dialog with PLC_Tag.dif entered as the filename and Data Interchange Format selected as the file type.

Building a *.AWL File

  1. Create data blocks in Blocks folder

    In SIMATIC Manager, navigate to your CPU’s S7 Program and open Blocks. Confirm the required data block (DB) objects are present in the Blocks folder.
    SIMATIC Manager project tree showing CPU 312C with the Blocks folder selected, and multiple data blocks DB1 through DB120 listed in the right pane.
  2. Open LAD/STL/FBD and generate source

    From the STEP 7 Start menu, open LAD, STL, FBD – Programming S7 Blocks. In the program window, click File u003e Generate Source.
    Windows Start menu showing STEP 7 programs with LAD, STL, FBD – Programming S7 Blocks highlighted, and the File menu open with Generate Source selected.
  3. Select Sources as storage path

    In the New dialog, confirm Sources is selected as the storage path in the project tree. Enter an object name (e.g. Object_Tag) and click OK.
    STEP 7 New dialog with Sources selected as the storage path and Object_Tag entered as the object name, with the OK button highlighted.
  4. Select objects to export

    In the Generate Source dialog, move the desired data blocks from the Blocks Not Selected list to the Blocks Selected list using the arrow buttons, then click OK.
    Generate Source Object_Tag dialog showing DB2, DB6, DB11, and DB20 moved to the Blocks Selected list, with Absolute addresses option chosen.
  5. Export source to build AWL file

    Back in SIMATIC Manager, under Sources you will see the saved object. Right-click the object and select Export Source. In the Export source dialog, browse to the save location and click Save to generate the *.AWL file.
    SIMATIC Manager with the Sources folder expanded and Object_Tag selected, right-click context menu showing Export Source highlighted, and the Export source save dialog open.
  6. Import tags in EasyBuilder

    In EBPro (EasyBuilder Pro), open System Parameter Settings, select your PLC device, and click Import Tag. In the Import Address Tag dialog, check Import DIF file and browse to your .dif file; check Import AWL file and browse to your .AWL file. Click OK.
  7. Confirm successful tag import

    A confirmation dialog appears when tag information has been imported successfully. Click OK.

Wiring Diagrams

NOTE: The serial port pin assignments may vary between HMI models.

RS-232 (Siemens S7-300 PC Adapter)

HMIDirectionPLC
Pin assignmentsRS232 9P
9 D-Sub Male
Rx↔ (bidirectional)3 TX
Tx↔ (bidirectional)2 RX
GND↔ (bidirectional)5 GND
↕︎ (tie)7 RTS
8 CTS

RS-232 (Systeme Helmholz SSW7-TS)

HMIDirectionPLC
Pin assignmentsRS232 9P
9 D-Sub Male
Rx↔ (bidirectional)3 TX
Tx↔ (bidirectional)2 RX
GND↔ (bidirectional)5 GND
↕︎ (tie)7 RTS
8 CTS
↕︎ (tie)4 DTS
6 DSR