Transcription of COMMUNICATION - EIC2
1 HIMax . COMMUNICATION manual COMMUNICATION . 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 CD-ROM and our website and Copyright 2009, HIMA Paul Hildebrandt GmbH + Co KG.
2 All rights reserved Contact HIMA contact details: HIMA Paul Hildebrandt GmbH + Co KG. Box 1261. 68777 Br hl, Germany Tel: +49 6202 709-0. Fax: +49 6202 709-107. E-mail: HI 801 101 E Rev. (0944). COMMUNICATION Table of Contents Table of Contents 1 Introduction .. 11. Structure and Use of this 11. Target 12. Formatting Conventions .. 12. Safety Notes .. 12. Operating Tips .. 13. 2 Safety .. 14. Operating 14. Residual Risk .. 17. Safety 17. Emergency 17. 3 Product Description .. 18. Safety-Related Protocol (safeethernet).. 18. Standard 19. Redundancy .. 20. Structure of the HIMax COM Module Part Number .. 20. Protocol Registration and 22. Ethernet Interfaces .. 23. Ethernet Interfaces Properties .. 23. Configuring the Ethernet Interfaces.
3 24. Network Ports Used for Ethernet COMMUNICATION .. 29. Fieldbus Interfaces .. 29. Pin Assignment of D-SUB Connectors FB1 and FB2 .. 30. 4 safeethernet .. 31. What is safeethernet?.. 32. Configuring a Redundant safeethernet 34. safeethernet Editor .. 37. Detail View of the safeethernet Editor .. 39. Tab: System 39. Possible safeethernet Connections .. 42. Mono safeethernet Connection (Channel 1) .. 42. Redundant safeethernet Connection (Channel 1 and Channel 2) .. 42. Permitted 43. safeethernet Parameters .. 44. Maximum Cycle Time (Minimum Watchdog Time) of the HIMax Controller .. 44. Receive Timeout .. 45. Response 45. Sync/Async .. 46. 46. Acknowledge 46. Production Rate .. 46. Queue .. 47. HI 801 101 E Rev.
4 Page 3 of 344. Table of Contents COMMUNICATION Worst Case Reaction Time for safeethernet .. 48. Calculating the Worst Case Reaction Time of Two HIMax Controllers .. 48. Calculating the Worst Case Reaction Time in Connection with One HIMatrix PES49. Calculating the Worst Case Reaction Time with two HIMatrix Controllers or RIOs 49. Calculating the Worst Case Reaction Time with Two HIMax and One HIMatrix PES.. 50. safeethernet Profile .. 51. Profile I (Fast & Cleanroom) .. 51. Profile II (Fast & Noisy).. 52. Profile III (Medium & Cleanroom) .. 52. Profile IV (Medium & Noisy) .. 53. Profile V (Slow & Cleanroom).. 53. Profile VI (Slow & Noisy) .. 54. Cross-Project 55. Variants for Cross-Project COMMUNICATION .
5 56. Cross-Project COMMUNICATION between SILworX and ELOP II 57. Configuring the HIMax in a SILworX Project .. 57. Configuring a HIMatrix in an ELOP II Factory Project .. 61. Control Panel (safeethernet) .. 63. View Box (safeethernet Connection) .. 64. 5 PROFINET IO .. 65. PROFINET IO Function 65. HIMA PROFINET IO Controller .. 66. System 66. PROFINET IO 67. Creating a HIMA PROFINET IO Controller in SILworX .. 67. Menu Function in the PROFINET IO Controller .. 69. Properties .. 69. Menu Functions for PROFINET IO Device (within the Controller) .. 70. Properties .. 70. DAP Module (Device Access Point Module) .. 71. Input/Output PROFINET IO Modules .. 71. Input Submodule .. 72. Submodule Output .. 73. Input and Output Submodule.
6 75. Application 77. Alarm CR .. 78. Input CR .. 79. Output CR .. 80. HIMA PROFINET IO 81. System 81. PROFINET IO 82. Configuring the PROFINET IO Device in 82. Creating a HIMA PROFINET IO Controller in SILworX .. 85. Menu Function Properties .. 88. PROFINET IO Modules .. 90. Page 4 of 344 HI 801 101 E Rev. COMMUNICATION Table of Contents 6 PROFIBUS DP .. 92. HIMA PROFIBUS DP 93. Creating a HIMA PROFIBUS DP Master .. 93. PROFIBUS DP: Example .. 94. Configuring the PROFIBUS DP Slave .. 94. Configuring the PROFIBUS DP Master .. 96. Menu Functions of the PROFIBUS DP Master .. 103. 103. Menu Function 'Properties' .. 104. PROFIBUS DP Bus Access Method .. 108. Master/Slave 108. Token 108. Target Token Rotation Time (Ttr).
7 108. Calculating the Target Token Rotation Time (Ttr).. 109. Isochronous PROFIBUS DP Cycle (DP V2 and Higher).. 111. Isochronous Mode (DP V2 and higher).. 112. Isochronous Sync Mode (DP V2 and higher).. 112. Isochronous Freeze Mode (DP V2 and higher) .. 112. Menu Functions of the PROFIBUS DP Slave (in the Master) .. 113. Creating a PROFIBUS DP Slave (in the Master).. 113. 113. 114. Importing the GSD File .. 119. Configuring User Parameters .. 120. PROFIBUS Function Blocks .. 122. MSTAT Function Block .. 123. RALRM Function 126. RDIAG Function Block .. 130. RDREC Function 134. SLACT Function 137. WRREC Function 140. PROFIBUS Auxiliary Function Blocks .. 143. ACTIVE Auxiliary Function 143. Auxiliary Function Block ALARM.
8 144. DEID Auxiliary Function Block .. 145. ID Auxiliary Function Block .. 146. NSLOT Auxiliary Function 147. SLOT Auxiliary Function Block .. 147. STDDIAG Auxiliary Function 148. Error Codes of the Function Blocks .. 150. Control Panel (PROFIBUS DP Master) .. 151. Context Menu (PROFIBUS DP Master).. 151. View Box (PROFIBUS Master) .. 152. PROFIBUS DP Master State .. 153. Behavior of the PROFIBUS DP Master .. 153. Function of the FBx LED in the PROFIBUS 154. HIMA PROFIBUS DP 155. Creating a HIMA PROFIBUS DP Slave .. 155. HI 801 101 E Rev. Page 5 of 344. Table of Contents COMMUNICATION Menu Functions of the PROFIBUS DP Slave .. 156. Edit .. 156. Properties .. 157. Control Panel (Profibus DP Slave).. 160.
9 Context Menu (PROFIBUS DP Slave) .. 160. View Box (PROFIBUS DP Slave).. 160. Function of the FBx LED in the PROFIBUS Slave .. 161. 7 Modbus ..162. HIMA Modbus Master .. 163. Modbus Example .. 164. Configuring the Modbus TCP Slave .. 164. Configuring the Modbus TCP Master .. 166. Example of Alternative Register/Bit 167. Menu Functions of the HIMA Modbus 169. Edit .. 169. Properties .. 170. Modbus Function Codes (Request Telegrams) .. 172. Modbus Standard Function Codes .. 172. HIMA-Specific Function 173. Read Request 175. Write Request Telegram .. 177. Ethernet Slaves (TCP/UDP Slaves) .. 179. System Variables for TCP/UDP 180. TCP/UDP Slave Properties .. 180. Modbus Gateway (TCP/UDP Gateway) .. 182. Gateway Properties.
10 184. System Variables for the Gateway Slave .. 184. Gateway Slave Properties .. 184. Serial Modbus .. 185. Serial Modbus Properties .. 186. System Variables for the Modbus 186. Modbus Slave Properties .. 187. Control Panel (Modbus Master) .. 187. Context Menu (Modbus Master) .. 188. View Box (Modbus Master) .. 188. Control Panel (Modbus Master->Slave).. 188. FBx LED Function in the Modbus Master .. 189. HIMA Modbus Slave .. 190. Configuring the Modbus TCP Slave .. 190. Configuring the Redundant Modbus TCP 191. Rules for Redundant Modbus TCP 192. Menu Functions of the HIMA Modbus Slave Set .. 193. Modbus Slave Set Properties .. 193. Register 194. Bit Variables .. 194. Assigning Send/Receive 195. Modbus Slave Set System Variables.