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
HMI Settings
| Parameters | Recommended | Options | Notes |
|---|---|---|---|
| PLC type | SIEMENS S7-300 | ||
| PLC I/F | RS232 | ||
| Baud rate | 19200 | 9600, 19200 | |
| Data bits | 8 | ||
| Parity | Odd | ||
| Stop bits | 1 | ||
| PLC sta. no. | 2 | Must be same as the PLC setting. |
Device Address
| Bit/Word | Device type | Format | Range | Memo |
|---|---|---|---|---|
| B | I | DDDDo | 0 ~ 40957 | Input (I) |
| B | Q | DDDDo | 0 ~ 40957 | Output (O) |
| B | M | DDDDo | 0 ~ 40957 | Bit Memory |
| B | DBnBit | FFFFFDDDDo | 0 ~ 6553599997 | Data Register Bit |
| B | DBxBit | FFFFFDDDDDo | 0 ~ 10700655327 | |
| B | DB1Bit ~ DB99Bit | DDDDDo | 0 ~ 655327 | |
| W | IW | DDDD | 0 ~ 4095 | Input (I) |
| W | QW | DDDD | 0 ~ 4095 | Output (O) |
| W | MW | DDDD | 0 ~ 4095 | Bit Memory |
| DW | MD | DDDD | 0 ~ 4094 | |
| Byte | MB | DDDD | 0 ~ 4095 | Bit Memory Byte |
| Byte | DBBn | FFFFFDDDD | 0 ~ 655359999 | Data Register Byte |
| Byte | DBBx | FFFFFDDDDD | 0 ~ 1070065532 | |
| W | DBx | FFFFFDDDDD | 0 ~ 1070065532 | |
| W | DBn | FFFFFDDDD | 0 ~ 655359999 | Data Register (must be even) |
| DW | DBDn | FFFFFDDDD | 0 ~ 655359999 | Data Register Double Word (must be even) |
| DW | DBDx | FFFFFDDDDD | 0 ~ 1070065532 | |
| W | DBn_String | FFFFFDDDD | 0 ~ 655359999 | |
| W | DBx_String | FFFFFDDDDD | 0 ~ 1070065532 | |
| W | DBn_String1 | FFFFFDDDD | 0 ~ 655359999 | |
| W | DBx_String1 | FFFFFDDDDD | 0 ~ 1070065532 | |
| DW | DBDn_String | FFFFFDDDD | 0 ~ 655359999 | Data Register Double Word (must be even) |
| DW | DBDx_String | FFFFFDDDDD | 0 ~ 1070065532 | |
| W | DB1–DB99 | DDDD | 0 ~ 8192 | Data 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
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.
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**.
Building a *.AWL File
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.
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.
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.
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.
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*.AWLfile.
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.diffile; check Import AWL file and browse to your.AWLfile. Click OK.
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)
| HMI | Direction | PLC |
|---|---|---|
| Pin assignments | RS232 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)
| HMI | Direction | PLC |
|---|---|---|
| Pin assignments | RS232 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 |
