Connection example [S7-1500]

<< Click to Display Table of Contents >>

Manual > Device Connection Guide > Siemens > Connection Procedure (Ethernet) > S7-300/400/1200/1500 >

Connection example [S7-1500]

overview

This is a setting example for connecting to a Siemens S7-1500 via Ethernet.

 

Model used

item

Model etc.

PLC

S7-1500 CPU 1511-1 PN (FirmwareV1.6)

Communication Unit

CPU 1511-1 PN

 

Configuration environment

item

environment

OS

Windows7 Professional 64Bit

tool

STEP7 Professional (TIA Potal V13 Update6)

 

Configuration details

item

setting

Setting items

Configuration Example

PLC side settings

Set with tools

IP address

192.168.0.1



Port number

102 (fixed)



Subnet mask

255.255.255.0

PC settings

Unit Settings

IP address

192.168.0.2



Port number

Automatic (fixed)



Communication Protocol

TCP/IP (fixed)

 

* Most of the settings on the computer will be adjusted to match the settings on the unit.

 

 

PLC side settings

Configure the "S7-1500". The configuration is done using TIA (Totally Integrated Automation) Potal.

 

1.Starting a project for S7-1500
If you are creating a new project, place the units you want to use from "Device configuration" and configure them accordingly.
c_plc_0809
 

2.Select the Ethernet unit (in this case, the CPU, since we are using a CPU direct port) and display the properties.
c_plc_0810
 

3.Select "Ethernet addresses" from the properties and set the IP address from the setting screen.
c_plc_0811
 

setting

Setting contents

IP address

192.168.0.1

Subnet mask

255.255.255.0

 

4.Configure "Protection"
c_plc_0812
 

setting

Setting contents

Access level

Full access (no protection)

Connection mechanisms

Check it

 

 

5.Compile
c_plc_0813
 
 

6.Download the settings to PLC
c_plc_0814
 

 

hint

In order to download the settings to CPU, you need to search for the Ethernet unit on "Online access" and connect to it.
c_plc_0815
 

 

 

PC settings

Use the Server application to connect to the PLC for which you have set up communications.

 

1.Right-click on "Application" - "Driver" in the tree and select Add Driver.
 

2.Select the following units from the displayed driver list and add them:
c_plc_0816
 

3.Open the properties of the added unit (U01) and click Communication Settings.
c_plc_0817
 

4.Configure the following in "PC Settings"
c_plc_0818
 

setting

Setting contents

Computer IP address

192.168.0.2

Computer port number

Automatic (Automatic because PLC cannot specify the communication port)

 

5.Set the following in "Unit side settings"
c_plc_0819
 

setting

Setting contents

Unit IP Address

192.168.0.1

Unit Port Number

102 (The destination port cannot be specified, so the default port of 102 is used.)

 

6.Select "Ping Test" to check if the ping goes through normally.
If you see a message like "Ping test is success~", the test was successful.
 

7.Under "Communication details" in the Communication details, set "CPU Slot" according to your environment.
c_plc_0820
 

setting

Setting contents

CPU Slot

1 (set according to your environment)

 

For S7-300/400: "2"

For S7-1200/1500: "1"

 

8.Perform a connection test to check the connection
c_plc_0821
 
If a message such as "Connection OK" is displayed, the connection is confirmed to be OK.