SILworX Communication Manual

Silworx Communication Manual-Free PDF

  • Date:16 Nov 2019
  • Views:150
  • Downloads:14
  • Pages:386
  • Size:3.08 MB

Share Pdf : Silworx Communication Manual

Download and Preview : Silworx Communication Manual


Report CopyRight/DMCA Form For : Silworx Communication Manual


Transcription:

All HIMA products mentioned in this manual are protected by the HIMA trade mark Unless noted. otherwise this also applies to other manufacturers and their respective products referred to herein . All of the instructions and technical specifications in this manual have been written with great care and. effective quality assurance measures have been implemented to ensure their validity For questions . please contact HIMA directly HIMA appreciates any suggestion on which information should be. included in the manual , Equipment subject to change without notice HIMA also reserves the right to modify the written material. without prior notice , For further information refer to the HIMA DVD and our website http www hima de and. http www hima com , Copyright 2011 HIMA Paul Hildebrandt GmbH Co KG. All rights reserved,HIMA contact details ,HIMA Paul Hildebrandt GmbH Co KG. P O Box 1261,68777 Br hl Germany,Phone 49 6202 709 0.
Fax 49 6202 709 107,E mail info hima com,Revision Revisions Type of Change. technical editorial, 4 00 New edition of the SILworX V4 manual x x. 4 01 Change Chapter 12 x x, HI 801 101 E Rev 4 01 1151 . Communication 1 Introduction,Table of Contents,1 Introduction 11. 1 1 Structure and Use of this Manual 11,1 2 Target Audience 12.
1 3 Formatting Conventions 12,1 3 1 Safety Notes 12. 1 3 2 Operating Tips 13,2 Safety 14,2 1 Residual Risk 17. 2 2 Safety Precautions 17,2 3 Emergency Information 17. 3 Product Description 18,3 1 Safety Related Protocol safeethernet 18. 3 2 Standard Protocols 19,3 3 Redundancy 21,3 4 Protocol Registration and Activation 22.
3 5 Ethernet Interfaces 23,3 5 1 Ethernet Interfaces Properties 23. 3 5 2 Configuring the Ethernet Interfaces 25, 3 5 3 Network Ports Used for Ethernet Communication 30. 3 6 Fieldbus Interfaces 31,3 6 1 Installation 31,3 6 2 Registration and Activation 33. 3 6 3 Pin Assignment of the D sub Connectors 33,4 safeethernet 36. 4 1 What is safeethernet 37, 4 2 Configuring a Redundant safeethernet Connection 40.
4 2 1 Connecting Process Variables 41,4 2 2 Verifying safeethernet Communication 42. 4 3 safeethernet Editor 43,4 4 Detail View of the safeethernet Editor 45. 4 4 1 Tab System Variables 45,4 4 2 Tab Fragment Definitions 48. 4 5 Possible safeethernet Connections 48,4 5 1 Mono safeethernet Connection Channel 1 48. 4 5 2 Redundant safeethernet Connection Channel 1 and Channel 2 48. 4 5 3 Permitted Combinations 50,HI 801 101 E Rev 4 01 Page 3 of 386.
1 Introduction Communication,4 6 safeethernet Parameters 51. 4 6 1 Maximum Cycle Time Minimum Watchdog Time of the HIMax Controller 51. 4 6 2 Maximum Cycle Time of the HIMatrix Controller 52. 4 6 3 Receive Timeout 52,4 6 4 Response Time 52,4 6 5 Sync Async 53. 4 6 6 ResendTMO 53,4 6 7 Acknowledge Timeout 53,4 6 8 Production Rate 54. 4 6 9 Queue 54,4 7 Worst Case Reaction Time for safeethernet 55. 4 7 1 Calculating the Worst Case Reaction Time of Two HIMax controllers 56. 4 7 2 Calculating the Worst Case Reaction Time in Connection with One HIMatrix. controller 56, 4 7 3 Calculating the Worst Case Reaction Time with two HIMatrix Controllers or Remote.
I Os 57, 4 7 4 Calculating the Worst Case Reaction Time with two HIMax and one HIMatrix. Controller 57, 4 7 5 Calculating the Worst Case Reaction Time of Two HIMatrix Controllers 58. 4 7 6 Calculating the Worst Case Reaction Time with two Remote I Os 59. 4 7 7 Calculating the Worst Case Reaction Time with two HIMatrix and one HIMax. Controller 59,4 7 8 safeethernet Profile 60,4 7 9 Profile I Fast Cleanroom 61. 4 7 10 Profile II Fast Noisy 61,4 7 11 Profile III Medium Cleanroom 62. 4 7 12 Profile IV Medium Noisy 62,4 7 13 Profile V Slow Cleanroom 63.
4 7 14 Profile VI Slow Noisy 63,4 8 Cross Project Communication 64. 4 8 1 Variants for Cross Project Communication 65, 4 9 Cross Project Communication between SILworX and ELOP II Factory 66. 4 9 1 Configuring the HIMax in a SILworX Project 66. 4 9 2 Configuring a HIMatrix in an ELOP II Factory Project 70. 4 10 Control Panel safeethernet 72,4 10 1 View Box safeethernet Connection 73. 5 PROFINET IO 74,Page 4 of 386 HI 801 101 E Rev 4 01. Communication 1 Introduction,5 1 PROFINET IO Function Blocks 74.
5 2 Controlling the Consumer Provider Status IOxS 75. 5 2 1 Control Variables in the HIMA Controller 75,5 2 2 Control Variables in the HIMA DO Device 75. 5 2 3 Control Variables in the HIMA DI Device 75,5 3 PROFIsafe 76. 5 3 1 PROFIsafe Control Byte and Status Byte 77,5 3 2 F WD Time PROFIsafe watchdog time 77. 5 3 3 SFRT Safety Function Response Time 79, 5 4 Requirements for Safely Operating PROFIsafe 81. 5 4 1 Addressing 81,5 4 2 Network Aspects 81, 5 5 HIMA PROFINET IO Controller and PROFIsafe F Host 83.
5 6 PROFINET IO PROFIsafe Example 84, 5 6 1 Creating a HIMA PROFINET IO Controller in SILworX 84. 5 7 Menu Functions for the PROFINET IO Controller 89. 5 7 1 Example of Structure Tree for the PROFINET IO Controller 89. 5 7 2 PROFINET IO Controller 89,5 7 3 PROFINET IO Device within the Controller 91. 5 7 4 DAP Module Device Access Point Module 91,5 7 5 Input Output PROFINET IO Modules 93. 5 7 6 Input Submodule 94,5 7 7 Submodule Output 99. 5 7 8 Submodule Inputs and Outputs 101,5 7 9 Application Relation Properties 103.
5 7 10 Alarm CR Properties 104,5 7 11 Input CR Properties 105. 5 8 HIMA PROFINET IO Device 108,5 9 System Requirements 108. 5 10 PROFINET IO PROFIsafe Example 109, 5 10 1 Configuring the PROFINET IO Device in SILworX 109. 5 11 Menu Functions for PROFINET IO Device 112,5 11 1 Menu Function Properties 112. 5 11 2 HIMA PROFINET IO Modules 113,5 11 3 HIMA PROFIsafe Modules 114.
5 11 4 PROFINET IO and PROFIsafe module 115,6 PROFIBUS DP 118. 6 1 HIMA PROFIBUS DP Master 119,6 1 1 Creating a HIMA PROFIBUS DP Master 119. 6 2 PROFIBUS DP Example 120,6 2 1 Configuring the PROFIBUS DP Slave 120. 6 2 2 Configuring the PROFIBUS DP Master 122,6 3 Menu Functions of the PROFIBUS DP Master 129. 6 3 1 Edit 129,6 3 2 Menu Function Properties 130,HI 801 101 E Rev 4 01 Page 5 of 386.
1 Introduction Communication,6 4 PROFIBUS DP Bus Access Method 134. 6 4 1 Master Slave Protocol 134,6 4 2 Token Protocol 134. 6 4 3 Target Token Rotation Time Ttr 134, 6 4 4 Calculating the Target Token Rotation Time Ttr 135. 6 5 Isochronous PROFIBUS DP Cycle DP V2 and Higher 137. 6 5 1 Isochronous Mode DP V2 and higher 138,6 5 2 Isochronous Sync Mode DP V2 and higher 138. 6 5 3 Isochronous Freeze Mode DP V2 and higher 138. 6 6 Menu Functions of the PROFIBUS DP Slave in the Master 139. 6 6 1 Creating a PROFIBUS DP Slave in the Master 139. 6 6 2 Edit 139,6 6 3 Properties 140,6 7 Importing the GSD File 145.
6 8 Configuring User Parameters 146,6 9 PROFIBUS Function Blocks 148. 6 9 1 MSTAT Function Block 149,6 9 2 RALRM Function Block 152. 6 9 3 RDIAG Function Block 156,6 9 4 RDREC Function Block 160. 6 9 5 SLACT Function Block 163,6 9 6 WRREC Function Block 166. 6 10 PROFIBUS Auxiliary Function Blocks 169,6 10 1 Auxiliary Function Block ACTIVE 169.
6 10 2 Auxiliary Function Block ALARM 170,6 10 3 Auxiliary Function Block DEID 171. 6 10 4 Auxiliary Function Block ID 172,6 10 5 Auxiliary Function Block NSLOT 173. 6 10 6 Auxiliary Function Block SLOT 173,6 10 7 Auxiliary Function Block STDDIAG 174. 6 11 Error Codes of the Function Blocks 176,6 12 Control Panel PROFIBUS DP Master 177. 6 12 1 Context Menu PROFIBUS DP Master 177,6 12 2 Context Menu PROFIBUS DP Slave 177.
6 12 3 View Box PROFIBUS Master 178,6 12 4 PROFIBUS DP Master State 179. 6 12 5 Behavior of the PROFIBUS DP Master 179, 6 12 6 Function of the FBx LED in the PROFIBUS Master 180. 6 12 7 Function of the FAULT LED in the PROFIBUS Master HIMax only 180. 6 13 HIMA PROFIBUS DP Slave 181,6 13 1 Creating a HIMA PROFIBUS DP Slave 181. 6 14 Menu Functions of the PROFIBUS DP Slave 182,6 14 1 Edit 182. 6 14 2 Properties 184,6 15 Control Panel Profibus DP Slave 186.
6 15 1 View Box PROFIBUS DP Slave 186, 6 16 Function of the FBx LED in the PROFIBUS Slave 187. 6 17 Function of the FAULT LED in the PROFIBUS Slave HIMax only 187. Page 6 of 386 HI 801 101 E Rev 4 01, Communication 1 Introduction. 7 Modbus 188,7 1 RS485 Bus Topology 188,7 1 1 H 7506 Terminal Assignment 189. 7 1 2 Bus Cable 189,7 1 3 Properties of the RS485 Transmission 190. 7 2 HIMA Modbus Master 191,7 2 1 Modbus Example 192.
7 2 2 Example of Alternative Register Bit Addressing 196. 7 2 3 Menu Functions of the HIMA Modbus Master 197. 7 2 4 Modbus Function Codes of the Master 200,7 2 5 Ethernet Slaves TCP UDP Slaves 207. 7 2 6 Modbus Gateway TCP UDP Gateway 210,7 2 7 Serial Modbus 213. 7 2 8 Control Panel Modbus Master 215,7 2 9 Control Panel Modbus Master Slave 216. 7 2 10 FBx LED Function in the Modbus Master 217, 7 2 11 Function of the FAULT LED in the Modbus Master HIMax only 217. 7 3 HIMA Modbus Slave 218,7 3 1 Configuring the Modbus TCP Slave 219.
7 3 2 Configuring the Redundant Modbus TCP Slave 219. 7 3 3 Rules for Redundant Modbus TCP Slaves 220, 7 3 4 Menu Functions of the HIMA Modbus Slave Set 221. 7 3 5 Assigning Send Receive Variables 223,7 3 6 Modbus Slave Set System Variables 223. 7 3 7 Modbus Slave and Modbus Slave Redundant 223, 7 3 8 Modbus Function Codes of the HIMA Modbus Slaves 226. 7 3 9 HIMA Specific Function Codes 228, 7 3 10 Addressing Modbus using Bit and Register 230. 7 3 11 Offsets for Alternative Modbus Addressing 232. 7 3 12 Control Panel Modbus Slave 235,7 3 13 FBx LED Function in the Modbus Slave 237.
7 3 14 Function of the FAULT LED in the Modbus Slave HIMax only 237. 7 3 15 Error Codes of the Modbus TCP IP Connection 237. 8 Send Receive TCP 238,8 1 System Requirements 238. 8 1 1 Creating a S R TCP Protocol 238,8 2 Example S R TCP Configuration 239. 8 2 1 S R TCP Configuration of the Siemens Controller SIMATIC 300 241. 8 2 2 S R TCP Configuration of the HIMax Controller 245. 8 3 TCP S R Protocols Menu Functions 247,8 3 1 Edit 247. 8 3 2 Properties 247,HI 801 101 E Rev 4 01 Page 7 of 386. 1 Introduction Communication,8 4 Menu Functions for TCP Connection 249.
8 4 1 Edit 249,8 4 2 System Variables 249,8 4 3 Properties 250. 8 5 Data exchange 252,8 5 1 TCP Connections 252,8 5 2 Cyclic Data Exchange 253. 8 5 3 Acyclic Data Exchange with Function Blocks 253. 8 5 4 Simultaneous Cyclic and Acyclic Data Exchange 253. 8 5 5 Flow Control 253,8 6 Third Party Systems with Pad Bytes 254. 8 7 S R TCP Function Blocks 255,8 7 1 TCP Reset 256. 8 7 2 TCP Send 259,8 7 3 TCP Receive 262,8 7 4 TCP ReceiveLine 266.
8 7 5 TCP ReceiveVar 270,8 8 Control Panel Send Receive over TCP 275. 8 8 1 View box for General Parameters 275,8 8 2 View box for TCP connections 275. 8 8 3 Error Code of the TCP Connection 276, 8 8 4 Additional Error Code Table for the Function Blocks 277. 8 8 5 Connection State 277,8 8 6 Partner Connection State 277. 9 SNTP Protocol 278,9 1 SNTP Client 278,9 2 SNTP Client Server Information 280.
9 3 SNTP Server 280,10 X OPC Server 282,10 1 Equipment and System Requirements 282. 10 2 X OPC Server Properties 283, 10 3 HIMax Controller Properties for X OPC Connection 284. 10 4 Actions Required as a Result of Changes 285,10 5 Forcing Global Variables on I O Modules 285. 10 6 Configuring an OPC Server Connection 286,10 6 1 Software required 286. 10 6 2 Requirements for Operating the X OPC Server 286. 10 6 3 Installation on Host PC 287,10 6 4 Configuring the OPC Server in SILworX 290.
10 6 5 Settings for the OPC Server in the safeethernet Editor 291. 10 6 6 Configuring the X OPC Data Access Server in SILworX 291. 10 6 7 Configuring the X OPC Alarm Event Server in SILworX 294. 10 6 8 Configuring the Fragments and Priorities in SILworX 297. Page 8 of 386 HI 801 101 E Rev 4 01, Communication 1 Introduction. 10 7 Alarm Event Editor 300,10 7 1 Boolean Events 300. 10 7 2 Scalar Events 301, 10 8 Parameters for the X OPC Server Properties 304. 10 8 1 OPC Server Set 304,10 8 2 OPC Server 308,10 9 Uninstalling the X OPC Server 308. 11 Synchronous Serial Interface 309,11 1 System Requirements 309.
11 2 Block Diagram 309,11 3 D SUB Connectors FB1 and FB2 310. 11 4 Configuring Data Exchange between COM Module and SSI Submodule 310. 11 5 Configuration of the SSI 310, 11 5 1 Wire Lengths and Recommended Clock Rates 311. 11 6 Application Notes 312,12 ComUserTask 313,12 1 System Requirements 313. 12 1 1 Creating a ComUserTask 313,12 2 Requirements 314. 12 3 Abbreviations 314,12 4 CUT Interface in SILworX 315.
12 4 1 Schedule Interval ms 315,12 4 2 Scheduling Preprocessing 315. 12 4 3 Scheduling Postprocessing 315,12 4 4 STOP INVALID CONFIG 315. 12 4 5 CUT Interface Variables CPU CUT 316,12 4 6 Menu Function Properties 317. 12 4 7 Menu Function Edit 318,12 5 CUT Functions 320. 12 5 1 COM User Callback Functions 320,12 5 2 COM User Library Functions 320.
12 5 3 Header Files 320,12 5 4 Code Data Area and Stack for CUT 321. 12 5 5 Start Function CUCB TaskLoop 321,12 5 6 RS485 RS232 IF Serial Interfaces 322. 12 5 7 UDP TCP Socket IF 330,12 5 8 Timer IF 344,12 5 9 Dia. All HIMA products mentioned in this manual are protected by the HIMA trade mark Unless noted Unless noted otherwise this also applies to other manufacturers and their respective products referred to herein

Related Books