25 tia portal v11 communication rela0 en
TRANSCRIPT
For internal use only / © Siemens AG 2011. All Rights Reserved.
TIA Portal V11
Communication
For internal use only / © Siemens AG 2011. All Rights Reserved.
Safety
OUC
CP-Connections
General
TIA Portal V11
For internal use only / © Siemens AG 2011. All Rights Reserved.I IA AS CS2 FAPage 3 2011-09-22 TIA Portal V11 - Communication
Safety
OUC
CP-Connections
General
Available communication protocols
S7-CommunicationGlobal data communications
MPI Ethernet
PROFIBUS
S7-CommunicationS7-1200 (NEW)
via CM 1243-5 (DP Master)Server/Client with PUT/GET
FDL-CommunicationFMS-Communication
S7-CommunicationS7-1200 (NEW)
via Onboard PN-InterfaceServer/Client with PUT/GET
configured connections (CP for S7-300/400)ISO, TCP, ISO-on-TCP, UDP
Open User Communication (T-Blocks)S7-1200 (with wizard)TCP, ISO-on-TCP, UDP (NEW)S7-300/400 (Wizard with SP1)TCP, ISO-on-TCP, UDP
Legend:
available
not available
limited
For internal use only / © Siemens AG 2011. All Rights Reserved.
Safety
OUC
CP-Connections
General
TIA Portal V11
For internal use only / © Siemens AG 2011. All Rights Reserved.I IA AS CS2 FAPage 5 2011-09-22 TIA Portal V11 - Communication
Safety
OUC
CP-Connections
General
Creation of new connections
Procedure:Select the connection viewSelect the connection typeCreate the connection via
Drag & DropConnection tableMenu & Selection dialog
All possible connection partners are highlighted
Drag&Drop
Available connection partners
Possible connection interfaces
If there is currently no subnet, one is automatically
createdUnspecified connection
Connection view
For internal use only / © Siemens AG 2011. All Rights Reserved.I IA AS CS2 FAPage 6 2011-09-22 TIA Portal V11 - Communication
Safety
OUC
CP-Connections
General
01010101010101010101010101010101010101010
Connection highlighting Highlighting of connectionsSelection via subnet mouse-over
PROFINET subnet≙ physical connection
Connection≙ communication
Configured connections
Connection Overview TableDepending on the selection, the table shows one or multiple devices
For internal use only / © Siemens AG 2011. All Rights Reserved.I IA AS CS2 FAPage 7 2011-09-22 TIA Portal V11 - Communication
Safety
OUC
CP-Connections
General
Connection properties
Connection properties:InterfaceLocal IDsSpecial connection propertiesAddress detailse.g. IP-addresses, ports, …
For internal use only / © Siemens AG 2011. All Rights Reserved.I IA AS CS2 FAPage 8 2011-09-22 TIA Portal V11 - Communication
Safety
OUC
CP-Connections
General
Call of communication blocks
Procedure:Select the communication blocks(from the Instruction-Taskcard)Assign like STEP 7 Classic blocks
Use the connection-ID (from the connection properties)Use the Hardware address (LADDR) (from the device properties)
For internal use only / © Siemens AG 2011. All Rights Reserved.
Safety
OUC
CP-Connections
General
TIA Portal V11
For internal use only / © Siemens AG 2011. All Rights Reserved.I IA AS CS2 FAPage 10 2011-09-22 TIA Portal V11 - Communication
Safety
OUC
CP-Connections
General
Open User Communication (OUC)
To Know:An OUC-connection is programmedThe connection parameters will be stored in DBs(Same structure as in STEP 7 Classic)Thereby it is possible to change the connection parameters during runtimeA wizard supports the creation of the connection (Currently only for S7-1200; available first with S7-300/400 SP1)
For internal use only / © Siemens AG 2011. All Rights Reserved.I IA AS CS2 FAPage 11 2011-09-22 TIA Portal V11 - Communication
Safety
OUC
CP-Connections
General
Open User Communication (OUC)
Blocks without connection-management„TCON „ Establish connection„TDISCON“ Disconnect connection„TSEND“ & „TRCV“ Send data & receive data (TCP & ISO-on-TCP)„TUSEND“ & „TURCV“ Send data & receive data (UDP)
Blocks with automatic connection-management (only S7-1200)„TSEND_C“ Establish connection and send data„TRCV_C“ Establish connections and receive data
For internal use only / © Siemens AG 2011. All Rights Reserved.I IA AS CS2 FAPage 12 2011-09-22 TIA Portal V11 - Communication
Safety
OUC
CP-Connections
General
Without automatic connection-management
CPU 1 (active)
Connect
Connectiondata
IP addressConnection-IDTSAP/PORT
IE P
ort
TSENDSFB
TCONSFB
TDISCONSFB
TRCVSFB
CPU 2 (passive)
Connectiondata
IP addressConnection-IDTSAP/PORT
IE P
ort
TRCVSFB
TCONSFB
TDISCONSFB
TSENDSFB
Disconnect
Data
Data
For internal use only / © Siemens AG 2011. All Rights Reserved.I IA AS CS2 FAPage 13 2011-09-22 TIA Portal V11 - Communication
Safety
OUC
CP-Connections
General
With automatic connection - management
CPU 1 (aktive)Connect
Connection-data
IP addressConnection-IDTSAP/PORT
IE P
ort
TSEND_CSFB
TRCV_CSFB
CPU 2 (passive)
Connectiondata
IP addressConnection-IDTSAP/PORT
IE P
ort
TRCV_CSFB
TSEND_CSFB
Data
Disconnect *
Connect
Data
Disconnect*
* Verbindung trennen / halten kann parametriert werden
For internal use only / © Siemens AG 2011. All Rights Reserved.I IA AS CS2 FAPage 14 2011-09-22 TIA Portal V11 - Communication
Safety
OUC
CP-Connections
General
Creation of OUC-Connections (S7-1200)
Procedure:Insert communicationblocksConfigure connection parameters in the wizard (property window)Assign block parameters
Activation of Online-Connection-Diagnostics
The wizard is found in the editor property window
For internal use only / © Siemens AG 2011. All Rights Reserved.I IA AS CS2 FAPage 15 2011-09-22 TIA Portal V11 - Communication
Safety
OUC
CP-Connections
General
Connection parameter configuration
Procedure:Select the communication partner:
Device in the same projectNot specified (e.g. PC)
Select the connection type(TCP, ISO-on-TCP or UDP)Setup the Connection-IDSelect storage location (DB)for connection dataSetup the address details (e.g. TSAP-ID or Port-No.)
All connection partners within the project are displayed hereIf a connection between the communication partners doesn‘t exist, one will be automatically created
Creation of a new DB or selection of an existing DB
For internal use only / © Siemens AG 2011. All Rights Reserved.I IA AS CS2 FAPage 16 2011-09-22 TIA Portal V11 - Communication
Safety
OUC
CP-Connections
General
Connection data
The connection data is stored in the system blocks folder
Same structure as STEP 7 Classic
For internal use only / © Siemens AG 2011. All Rights Reserved.I IA AS CS2 FAPage 17 2011-09-22 TIA Portal V11 - Communication
Open User Communication (OUC)
Live Demo procedure
Create two S7-1200 devices
Call „TSEND_C“ in device 1
Configure device 1 connection
Call „TRCV_C“ in device 2
Configure device 2 connection
For internal use only / © Siemens AG 2011. All Rights Reserved.
Safety
OUC
CP-Connections
General
TIA Portal V11
For internal use only / © Siemens AG 2011. All Rights Reserved.I IA AS CS2 FAPage 19 2011-09-22 TIA Portal V11 - Communication
Safety
OUC
CP-Connections
General
Engineering and programming communications
Which possibilities exist for safety communication?
-Industrial EthernetCPU-CPU-Communication to S7 Distributed Safety resp. S7 F Systems
-Industrial EthernetCPU-CPU-Communication via S7-Connection
IE/PB-LinkPROFINET IO and PROFIBUS DPIO-Controller-I-Slave-Communication
-PROFINET IOIO-Controller-I-Device-Communication
PN/PN CouplerPROFINET IOIO-Controller-IO-Controller-Communication
-PROFIBUS DPI-Slave-I-Slave-Communication
-PROFIBUS DPMaster-I-Slave-Communication
DP/DP-CouplerPROFIBUS DPMaster-Master-Communication
Safety CPU-CPU-Communication:-PROFIBUS DPI-Slave-Slave-Communication
Additional hardware requiredSubnetSafety communication
For internal use only / © Siemens AG 2011. All Rights Reserved.I IA AS CS2 FAPage 20 2011-09-22 TIA Portal V11 - Communication
Safety
OUC
CP-Connections
General
Safety communication PROFIBUS DP
Which possibilities exist for PROFIBUS DP communication?
A: Master – MasterB: Master – I-SlaveC: I-Slave – I-SlaveD: I-Slave – Slave
For internal use only / © Siemens AG 2011. All Rights Reserved.I IA AS CS2 FAPage 21 2011-09-22 TIA Portal V11 - Communication
Safety
OUC
CP-Connections
General
Safety communication PROFINET IO
Which possibilities exist for PROFINET IO communication?
A: IO-Controller –IO-Controller
B: IO-Controller –I-Device
C: IO-Controller –I-Slave
D: I-Slave –I-Slave
For internal use only / © Siemens AG 2011. All Rights Reserved.
I IA AS CS 2 FA
Gleiwitzerstr.55590475 Nürnberg
Phone: +49 (911) 895 - 4646
E-Mail: [email protected]
Thank you for your attention!