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-200 PPI. Configure your Controller and HMI/cMT with the following parameters to establish reliable communication.

Supported Series: Siemens S7-200 series PLC (CPU212/214/215/216/221/222/224/226/226XM)

Website: http://www.siemens.com/entry/cc/en/

HMI Settings

ParametersRecommendedOptionsNotes
PLC typeSIEMENS S7-200 PPI
PLC I/FRS485 2WRS485 2W
Baud rate96009600, 19200, 187.5KOnly MT6000/8000V2 support baud rate 187.5K
Data bits87, 8
ParityEvenEven, Odd, None
Stop bits11, 2
Turn around delay5
ACK delay time (ms)30
PLC sta. no.21 ~ 126
Online simulatorYES
Extend address modeYES
Broadcast commandNO

PLC Settings

PLC sta. no. cannot be the same as HMI sta. no.

Device Addresses

Bit/WordDevice TypeFormatRangeMemo
BIDDDDo0 ~ 40957Input (I)
BQDDDDo0 ~ 40957Output (O)
BMDDDDo0 ~ 40957Bit Memory
BVW_BitDDDDDo0 ~ 102397V Memory Bit Address
BSDDDDo0 ~ 40957SCR
BSMDDDDo0 ~ 40957Special Memory
BT_BitDDD0 ~ 255Timer
BC_BitDDD0 ~ 255Counter
ByteVBDDDDD0 ~ 10239
WVWDDDDD0 ~ 10239V Memory
WVW_OddDDDDD0 ~ 10239V Memory
WVW_StringDDDDD0 ~ 10239String
WVW_String_OddDDDDD0 ~ 10239String
DWVDDDDDD0 ~ 10239V Memory Double Word
DWVD_OddDDDDD0 ~ 10239V Memory Double Word
DWVD_StringDDDDD0 ~ 10239String
DWVD_String_OddDDDDD0 ~ 10239String
ByteMBDDDDD0 ~ 10239Byte Memory
WMWDDDDD0 ~ 10239Word Memory
WMW_OddDDDDD0 ~ 10239Word Memory
DWMDDDDDD0 ~ 10239Word Memory
ByteSBDDDDD0 ~ 10239SCR
WSWDDDDD0 ~ 10239SCR
DWSDDDDDD0 ~ 10239SCR
ByteSMBDDDDD0 ~ 10239Special Memory
WSMWDDDDD0 ~ 10239Special Memory
DWSMDDDDDD0 ~ 10239Special Memory
WTDDD0 ~ 255Timer
WCDDD0 ~ 255Counter
WTIME_OF_DAYD0 ~ 7Time of day (HEX) *Note1

Double Word and floating point value must use VD device type.

NOTE: *Note1: TIME_OF_DAY address description is as follows:

AddressDescriptionValue Range
0Year0 ~ 99
1Month1 ~ 12
2Day1 ~ 31
3Hour0 ~ 23
4Minute0 ~ 59
5Second0 ~ 59
6Sec_10_1000
7Weekday0: Disable, 1: Sunday, 2: Monday, 3: Thursday, 4: Wednesday, 5: Thursday, 6: Friday, 7: Saturday

Multi-HMI Multi-PLC Communication Settings

Diagram showing two Maple Systems HMIs connected to a Siemens S7-200 PLC in a PPI network.

For S7-200 PLC, Multi-HMIs-Multi-PLCs communication can be achieved using the S7-200 PPI driver. Refer to the settings below.

In EBPro (EasyBuilder) COM Port Settings, two important parameters must be set:

EasyBuilder COM Port Settings dialog showing baud rate 9600, data bits 8, parity Even, stop bits 1 bit, high station address 3, and gap update factor 1.

High Station Address (HSA)

Sets the maximum station number of HMI units in the PPI network. For the effectiveness of system operation, it is highly recommended that the HMI station number starts from zero and goes on sequentially. If there are 4 HMIs in the PPI network, set station numbers from 0–3 and set High station address (HSA) to 3.

Set the HMI station number in System Parameters > Model > HMI station no.:

System Parameter Settings dialog showing the Model tab with HMI station no. set to 0.

Gap Update Factor (GUF)

The condition to pass a Token. In a PPI network, only HMIs can hold a Token; PLCs can only be controlled.

When the HMI that holds the Token communicates with the PLC for a number of times equal to the value set here, the HMI passes the Token (control of PLC) to the next HMI. For example, if GUF is set to 1, the HMI passes control of the PLC to the next HMI after each read or write operation.

If GUF is set to a larger value, the HMI holding the Token will control the PLC for a longer time, potentially preventing other HMIs from communicating with the PLC.

A complete communication means the HMI reads or writes a PLC value one time.

NOTE: HMI sta. no. cannot be the same as PLC sta. no. It is highly recommended that HMI station numbers start from 0 and go on sequentially for the effectiveness of operation.

How to Import Tag

Tags created in the Symbol Table in Step 7-MicroWIN software can be imported to EBPro (EasyBuilder).

  1. Create tags in Symbol Table

    In the Symbol Table, create the tags. Select all tags, right-click, and copy them.
    Step 7-MicroWIN Symbol Table showing three tags: TestMD at MD0, TestBitM at M5.7, and TestVW at VW20, all selected.
  2. Add driver and click Import Tag

    Launch EBPro (EasyBuilder), add the driver in the device list in System Parameter Settings, and then click Import Tag.
    System Parameter Settings Device tab showing Local PLC 1 configured as Siemens S7-200 on COM 1 with RS485 2W, with the Import Tag button highlighted.
  3. Paste copied tags and confirm

    Paste the tags copied in step 1 into the Paste dialog, then click OK.
    Paste dialog showing three pasted tags: TestMD at MD0, TestBitM at M5.7, and TestVW at VW20.
  4. Select all tags and confirm

    In the Add Tags dialog, select all tags and click OK.
    Add Tags dialog showing three tags selected: TestBitM as Bit at M-57, TestMD as Word at MD-0, and TestVW as Word at VW-20.
  5. Verify successful import

    If the import succeeds, a confirmation message window appears.

Pass-Through Settings

Designate client IP: In Pass-through mode, designate the client IP address to connect to the HMI. The “client” usually refers to the Siemens Step 7 application.

SIEMENS PLC Pass-Through Settings dialog with Designate client IP checked and IP address set to 192.168.1.10, accessed via the Pass-Through Settings button.

The following lists the system registers relevant to Siemens S7-200 PPI and Siemens S7-300 MPI Pass-through:

  • LW-10850: disable/enable (0: disable, 1: normal, 2: IP limited) (Siemens pass-through)
  • LW-10851: destination COM port (Siemens pass-through) — generally refers to the COM port connected with the PLC
  • LW-10852: destination PLC station no. (Siemens pass-through)
  • LW-10853: communication protocol (0: invalid, 1: PPI, 2: MPI) (Siemens pass-through)
  • LW-10854 to LW-10857: IP of connecting client (Siemens pass-through) — displays current client IP address connected with HMI
  • LW-10858 to LW-10861: IP of designated client (Siemens pass-through) — if LW-10850 is set to 1, use these registers to designate the client IP connected with HMI
  • LW-10862: connection status (0: ready, 1: client connecting) (Siemens pass-through)
  • LW-10863: execution status (0: normal, 1: error) (Siemens pass-through)
  • LW-10864: the last error (Siemens pass-through)

The following table lists the error codes, descriptions, and possible reasons.

Error CodeDescriptionPossible Reason
0Successfully executed
1Prohibit client from connecting HMIHMI is already running pass-through and will not accept any request from other clients.
2Prohibit client from connecting HMIWhen LW-10850 is set to 1, the client IP connecting to the HMI is different from the IP specified in LW-10858 ~ LW-10861.
3Invalid communication protocolInvalid setting in LW-10853.
4Invalid PLC station numberThe PLC station number specified in LW-10852 does not exist.
5Delayed communicationPLC connection failure.
6Busy communicationPLC does not accept pass-through request. Confirm PLC settings.
7Invalid pass-through requestEnvironment setup failure.

Wiring Diagram

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

RS-485 2W

HMIDirectionPLC
Pin assignmentsRS485 2W
9P D-Sub Male
Data-↔ (bidirectional)8 Data-
Data+↔ (bidirectional)3 Data+
GND↔ (bidirectional)5 GND