Siemens S7-1200/S7-1500 (S7CommPlus, Symbolic Addressing) (Ethernet)

PLC Connection Guide

Supported Series

Siemens S7-1200 Firmware V4.6.1 or previous versions, S7-1500 Firmware V1.8.0 ~ V3.1.0, ET2000SP Series

PLC simulation: SIMATIC PLCSIM Advanced V3.0 and V4.0

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

HMI Setting

Parameters Recommended Options Notes
PLC type Siemens S7-1200/S7-1500 (S7CommPlus, Symbolic Addressing) (Ethernet)
PLC I/F Ethernet
Port no. 102
On-line simulator Yes Multi-HMI connect TIA Settings *Note

Limitations

Not supported on iP/iE Series HMI models.

*Note: According to Connection resource / HMI Communication settings

The screenshot shows the TIA Portal interface for configuring connection resources. It displays details like maximum number of resources, PG communication, HM communication, and S7 communication, along with available and used resources. Key sections highlighted are 'Connection resources' and 'Overview of addresses'.

PLC Settings

The image displays the 'Select the access level for the PLC' dialog. Options include 'Full access incl. fail-safe (no protection)', 'Full access (no protection)', 'Read access', 'HM access', and 'No access (complete protection)'. Each option indicates which functions (HMI, Read, Write, Fail-safe, Access per Password) are permitted. 'Full access incl. fail-safe (no protection)' allows all standard and fail-safe functions without a password.

PLCs with firmware version S7-1200/FW4.2/ & S7-1500/FW1.7/ and above support HMI access using a password function.

Note: If the user sets the HMI access level, the password for full access or read access must be used to communicate.

The image displays the 'IP Address Settings' dialog, allowing configuration of IP address, Port, Password Setting (Enable/Disable, Password input), Timeout, Turn around delay, and the number of resending commands.

Legacy and secure PG/PC communication permitted

Note: The option '[Only allow secure PG/PC and HMI communication]' is not supported and should not be checked.

Legacy and secure PG/PC communication permitted:

Communication security to PG/PC and HMI is determined by the options of both communication partners. Communication with TIA Portal < V17 and HMI systems < V17 is possible. Higher TIA Portal versions require separate activation of Legacy communication. Communication performance may be higher when only legacy PG/PC communication is used.

The checkbox 'Only allow secure PG/PC and HMI communication' is shown.

Get Tag Info

  1. In S7-1500 program software, create a PLC program and tags, then download to the PLC.
  2. Select 'Go offline'. EasyBuilder will connect to the PLC and get tag data. In PLC type, select "Siemens S7-1200/S7-1500 (S7CommPlus, Symbolic Addressing) (Ethernet)".

The image shows the 'Device Settings' dialog in EasyBuilder Pro. It includes fields for Name, Location, Device Type (Siemens S7-1200/S7-1500 (Symbolic Addressing) (Ethernet)), Device ID, I/F (Ethernet), and IP address/Port. Options for 'Support off-line simulation on HMI' and 'Use UDP (User Datagram Protocol)' are also present. Buttons include 'Settings...', 'Open Device Connection Guide...', 'OK', and 'Cancel'.

3. Click "Settings...", input PLC IP address.

The image displays the 'IP Address Settings' dialog, similar to the one seen earlier, for entering the PLC's IP address and Port number.

4. Check the PLC that is not connected to any PC. Click "Get Tag Info...".

The image shows the 'System Parameter Settings' window with a 'Device list'. It displays connected devices, including a local HMI and a Siemens S7-1500. The 'Get Tag Info...' button is highlighted.

5. Added Tag Manager that allows selecting the Siemens S7-1500 PLC tags to be imported.

The 'Tag Manager' window is displayed, showing a hierarchical view of PLC tags, including Blocks, UDTS, and Tags. Options to 'Select All', 'Discard All', 'OK', and 'Cancel' are available. A note states '* Prohibit duplicating structure name'.

6. Create an object and click read address “Settings...”

The 'New Bit Lamp/Toggle Switch Object' dialog is shown, with tabs for 'General', 'Security', 'Shape', and 'Label'. The 'General' tab allows for a 'Comment', selection between 'Bit Lamp' and 'Toggle Switch', and setting the 'Read address' including Device, Address, and Index. The 'Settings...' button for the read address is highlighted.

7. In PLC name select S7-1200/1500 then click Tag.

The 'New Bit Lamp/Toggle Switch Object' dialog is shown again, with 'Device' set to 'Siemens S7-1200/S7-1500' and a 'Tag' field. An 'Invert signal' checkbox is present. The 'Settings...' button for the tag is highlighted.

8. Select PLC tag.

The 'Tag Manager' window is displayed again, showing a list of PLC tags with their Data type and Description. The selected tag is 'PLC.Blocks.TONY.Test_Bool'. The 'Ok' button is highlighted.

Import Tags

Apart from using 'Get Tag' on HMI, tags from Siemens TIA project can be imported in EasyBuilder Pro.

* At least one db file must be imported. If only plc tags cannot be imported successfully.

1. In System Parameter Settings add S7-1200/1500 into the device list and then click [Import Tags...].

The 'System Parameter Settings' window is shown, with the device list including a local HMI and a Siemens S7-1500. The 'Import Tags...' button is highlighted.

2. Select the *.ap*(*.apxx) file.

When the *.ap file cannot be imported, the user can try [Project] -> [Archive], generate a *.zapxx file, decompress it and re-import it.

*Note1. Before importing TIA Files, users need to compile the file and download it to the PLC.

The image shows the TIA Portal interface with the 'Project' menu open, highlighting 'Archive...' and 'Save as...'. The file path indicates a project named 'EW_Nysa_Czyszczarka'.

3. Select the tags to be imported and then click OK.

(Support multiple devices in the same project)

The 'Archive' dialog is displayed, showing the source to be archived, select settings for archiving (Archive as compressed file, Discard restorable data, Add date and time to target name), and target path. The 'Archive' and 'Cancel' buttons are visible.

4. Tags are imported successfully.

A 'EasyBuilder Pro' dialog box appears with the message "Imported tag information successfully." and an 'OK' button.

Support Device Type:

Data type EasyBuilder data format Memo
Bool bit
Byte 16-bit BCD, Hex, Binary, Unsigned 8-bit
SInt 16-bit BCD, Hex, Binary, Signed 8-bit
USInt 16-bit BCD, Hex, Binary, Unsigned 8-bit
Word 16-bit BCD, Hex, Binary, Unsigned 16-bit
Int 16-bit BCD, Hex, Binary, Signed 16-bit
UInt 16-bit BCD, Hex, Binary, Unsigned 16-bit
DWord 32-bit BCD, Hex, Binary, Unsigned 32-bit
DInt 32-bit BCD, Hex, Binary, Signed 32-bit
Real 32-bit Float 32-bit
UDInt 32-bit BCD, Hex, Binary, Unsigned 32-bit
String Max: 256
WString Read only
DTL
IEC_COUNTER
IEC_DCOUNTER
IEC_SCOUNTER
IEC_UCOUNTER
IEC_UDCOUNTER
IEC_USCOUNTER
Time 32-bit BCD, Hex, Binary, Unsigned DWord
Time_Of_Day 32-bit BCD, Hex, Binary, Unsigned DWord
Array Bool, Byte, SINT, USInt, Word, Int, Ulnt, DWord, Dint, Real, UDInt, String
Struct Bool, Byte, SINT, USInt, Word, Int, Ulnt, DWord, Dint, Real, UDInt, String

String array can be used with index register.

The image shows the 'Device Settings' dialog for a Siemens S7-1500, with fields for Device, Tag, Data type (WORD), and Address format. The 'Index' field is set to 'Index 0 (16-bit)' and the 'Index register' checkbox is checked. 'Element count' is 32.

Both single-dimensional arrays and multi-dimensional arrays can start with non-zero values. Example: [1..9], or [1..3,2..5]

Importing data types other than those in the above table may result in failure to communicate.

Address tags do not allow the use of special characters, such as: [ ] " " etc., which may cause unexpected situations such as import exceptions or communication exceptions.

Wiring Diagram:

Ethernet cable:

The diagram shows an Ethernet cable with 8 wires and their corresponding pin assignments:

Models: S7-1200, S7-1200 PLC Connection Via Ethernet, PLC Connection Via Ethernet, Via Ethernet

File Info : application/pdf, 10 Pages, 510.55KB

PDF preview unavailable. Download the PDF instead.

Siemens S7 1200 S7 1500 S7CommPlus Symbolic Addressing Ethernet

References

Microsoft Word 2010 Microsoft Word 2010

Related Documents

Preview Siemens S7-200 PPI PLC Connection Guide
A comprehensive guide to connecting Siemens S7-200 PLCs using the PPI driver with WEINTEK HMIs. Covers HMI and PLC settings, device addressing, tag import, and pass-through configurations.
Preview Siemens S7-200 SMART PPI PLC Connection Guide
This guide provides detailed information on connecting Siemens S7-200 SMART series PLCs using the PPI protocol with WEINTEK HMIs. It covers HMI and PLC settings, device addressing, and wiring diagrams for RS-485 2W communication.
Preview WEINTEK EasyBuilder Pro Quick Start Guide: HMI Project Creation and Download
A comprehensive quick start guide for WEINTEK's EasyBuilder Pro software. Learn to create HMI projects, configure PLC devices, simulate, manage IP addresses, and download projects to WEINTEK HMIs.
Preview Siemens LOGO! (Ethernet) PLC Connection Guide
A guide to connecting Siemens LOGO! (Ethernet) PLCs using WEINTEK HMIs, detailing HMI and PLC settings, address mapping, and wiring.
Preview Designing and Using Keyboards with EasyBuilder Pro
This guide details how to design and utilize custom keyboards within the EasyBuilder Pro software for HMI applications. It covers creating pop-up keyboards, direct window keyboards, and Unicode keyboards, with step-by-step instructions and visual aids.
Preview MT8090/8092XE Series HMI Installation and Startup Guide
Comprehensive installation and startup guide for the MT8090/8092XE Series HMI, covering environmental considerations, unpacking, installation, power connections, system settings, software configuration, communication, calibration, battery replacement, and warranty information.
Preview EasyBuilder Pro: Window Operations Guide
Learn how to create, set, and delete windows in EasyBuilder Pro, including different window types, transparency settings, and editing tips for efficient project development.
Preview Weintek cMT1106X Series HMI Installation Guide
Comprehensive installation instructions for the Weintek cMT1106X Series HMI, covering setup, wiring, system settings, and safety precautions.