Page 1
IPN 021 S-DIAS PROFINET I/O Slave Instruction Manual Date of creation: 10.03.2015 Version date: 26.07.2023 Article number: 20-103-021-E...
Page 2
(print, photocopy, microfilm or in any other process) without the express permission. We reserve the right to make changes in the content without notice. The SIGMATEK GmbH & Co KG is not responsible for technical or printing errors in the handbook and assumes no responsibility for damages that occur...
Page 3
S-DIAS Profinet I/O Slave Module IPN 021 with 1 Profinet I/O IN 1 Profinet I/O OUT The S-DIAS Profinet I/O slave module IPN 021 slave module is an interface module between the S-DIAS control system and PROFINET bus. 26.07.2023 Page 1...
General knowledge of automation technology is required. Further help and training information, as well as the appropriate accessories can be found on our website www.sigmatek-automation.com. Our support team is happily available to answer your questions. Please see our website for our hotline number and business hours.
IPN 021 S-DIAS PROFINET I/O SLAVE Basic Safety Directives Symbols Used The following symbols are used in the operator documentation for warning and danger messages, as well as informational notes: DANGER Danger indicates that death or serious injury will occur, if the specified measures are not taken.
Page 9
S-DIAS PROFINET I/O SLAVE IPN 021 INFORMATION Information Provides important information on the product, handling or relevant sections of the documentation, which require attention. 26.07.2023 Page 7...
It does not guarantee properties under the warranty. Please thoroughly read the corresponding documents and this operating manual before handling a product. SIGMATEK GmbH & Co KG is not liable for damages caused through, non-compliance with these instructions or applicable regulations.
S-DIAS PROFINET I/O SLAVE IPN 021 General Safety Directives The Safety Directives in the other sections of this operating manual must be observed. These instructions are visually emphasized by symbols. INFORMATION According to EU Directives, the operating manual is a component of a product.
IPN 021 S-DIAS PROFINET I/O SLAVE CAUTION Handle the device with care and do not drop or let fall. Prevent foreign bodies and fluids from entering the device. The device must not be opened! Manipulez l’appareil avec précaution et ne le laissez pas tomber.
The product was constructed in compliance with the following European Union directives and tested for conformity. 3.1.1 EU Conformity Declaration EU Declaration of Conformity The product IPN 021 conforms to the following European directives: • 2014/35/EU Low-voltage Directive • 2014/30/EU Electromagnetic Compatibility (EMC Directive) •...
S-DIAS PROFINET I/O SLAVE IPN 021 Technical Data Performance Data Bus Controller Profinet I/O (lt. Profinet I/O Specification V2.3) Configuration 2x shielded Tyco Mini I/O port Cable length maximum of 100 m between two stations (segment length) 1 ms Minimum cyclic time...
IPN 021 S-DIAS PROFINET I/O SLAVE Electrical Requirements Voltage supply from S-DIAS bus +24 V Current consumption typically maximum S-Dias bus (+24 V power supply) 100 mA at +24 V 100 mA at +24 V 95 mA at +24 V...
S-DIAS PROFINET I/O SLAVE IPN 021 Status LEDs Module Status green module active no supply available BLINKING (5 Hz) no communication User yellow can be set from the application (e.g. the module LED can be set to blinking through the...
IPN 021 S-DIAS PROFINET I/O SLAVE Applicable Connectors Connectors: X1-X2: Tyco Mini I/O Plug Type 1 Lock Extend Version (not included in delivery) INFORMATION The S-DIAS module cannot be connected/disconnected while voltage is applied! X1 Profinet I/O-IN, X2 Profinet I/O-OUT (Tyco Mini I/O)
IPN 021 ESD Protection INFORMATION Before any device is connected to or disconnected from the IPN 021, the potential with ground should be equalized (by touching the control cabinet or ground terminal). This will allow the dissipation of electrostatic loads (caused by clothing/shoes).
Page 24
IPN 021 S-DIAS PROFINET I/O SLAVE INFORMATION The PROFINET cable must be mounted close to the module (e.g. using a clamp)! No mechanical stress can be applied to the connection! Page 22 26.07.2023...
S-DIAS PROFINET I/O SLAVE IPN 021 10 Assembly/Installation 10.1 Check Contents of Delivery Ensure that the contents of the delivery are complete and intact. See chapter 1.3 Contents of Delivery. INFORMATION On receipt and before initial use, check the device for damage. If the device is damaged, contact our customer service and do not install the device in your system.
IPN 021 S-DIAS PROFINET I/O SLAVE 10.2 Mounting The S-DIAS modules are designed for installation into the control cabinet. To mount the modules a DIN-rail is required. The DIN rail must establish a conductive connection with the back wall of the control cabinet. The individual S-DIAS modules are mounted on the DIN rail as a block and secured with latches.
Page 27
S-DIAS PROFINET I/O SLAVE IPN 021 Recommended minimum distances of the S-DIAS modules to the surrounding components or control cabinet wall: a, b, c … distances in mm (inches) 26.07.2023 Page 25...
IPN 021 S-DIAS PROFINET I/O SLAVE 12 Supported Cycle Times 12.1 Cycle Times below 1 ms (in µs) x= supported 12.2 Cycle Times equal to or higher than 1 ms (in ms) x= supported x= supported Page 30 26.07.2023...
13 Hardware Class IPN021 IPN021 Hardware Class for the S-DIAS-PROFINET Interface module IPN021 This hardware class is used to control the IPN 021 hardware module. With this module process and service data can be exchanged with a PROFINET network. Detailed hardware information can be found in the module documentation.
IPN 021 S-DIAS PROFINET I/O SLAVE 13.1 Allgemein Class State State This server displays the current status of the hardware class. Device ID State On this server, the Device ID of the hardware module is displayed. FPGA Version State FPGA version of the module in the format 16#XY (e.g. 16#10 = Version 1.0).
Page 35
S-DIAS PROFINET I/O SLAVE IPN 021 IP Address State Shows the IP address of the module. This string can be modified and is retentive. If the change at runtime should be included in the configuration, the methods UpdateStringsInConfig() and Reinitialize() must be called after the strings have been adjusted.
Page 36
Property Mode for endian conversion (used for reading and writing data), which is Mode necessary in most cases because SIGMATEK works with little endian and Siemens S7, e.g. with big endian byte order. No endian conversion Endian conversion by the hardware class (increases the realtime load dependent on the number / size of the PDO data).
The following methods can be called via the ProfiNetIF server. 13.2.1 GetPDOSizes Returns the size of the cyclic real-time reading and writing data. The parameter names can be seen from the perspective of SIGMATEK Application (Read PDO means cyclic data from the bus master to IPN021). Transfer parameters Type...
IPN 021 S-DIAS PROFINET I/O SLAVE 13.2.2 GetPDOData If the Device State has the value NetX_Operate, real-time data can be collected using this method, which were sent by the bus master. Transfer parameters Type Description pTargetMem PVOID The current PDO data from the bus master are copied to this memory.
S-DIAS PROFINET I/O SLAVE IPN 021 13.2.4 AddSubModule This method must be called in an init phase and defines a PROFINET sub-module. The configuration of the PROFINET slaves IPN021 by the user class must match the configuration in the PROFINET master. To easily transfer a linear memory as a PDO, it is recommended to use the clients PDOReadSize and PDOWriteSize.
IPN 021 S-DIAS PROFINET I/O SLAVE 13.2.5 InstallCallback Through this method a callback can be installed, whereby requests or notifications are forwarded to the user class by the bus master. Using see example. Transfer parameters Type Description pThis pVirtualBase This-Pointer of the object to be called...
S-DIAS PROFINET I/O SLAVE IPN 021 13.2.7 SetProcessAlarm Triggers a process alarm on Profinet. Transfer parameters Type Description udAlarmHandle UDINT The user can assign any value here, which he receives again at the callback with the response data for the assignment of the alarm.
IPN 021 S-DIAS PROFINET I/O SLAVE 13.2.8 AddDiagnosisAlarm Adds a diagnostic alarm that can be triggered later. Transfer parameters Type Description uiChannelNum UINT Added channel number for the diagnostic alarm. User- specific channel numbers from 0x0000 to 0x7FFF and the number 0x8000 for the sub-module itself are supported.
S-DIAS PROFINET I/O SLAVE IPN 021 13.2.10 RemoveDiagnosisAlarm Removes a previously added diagnosis alarm. Transfer parameters Type Description udDiagHandle UDINT Here, the handle is used, that was transferred via AddDiagnosisAlarm Callback Index parameter, after creation of the diagnosis alarm. Return parameters...
IPN 021 S-DIAS PROFINET I/O SLAVE 13.4 Example: Using Callbacks The following code examples each use an object channel to the NetXProfiNetInterface with "ToProfinet". This class is integrated into the IPN021 class and connected externally via the ProfiNetIF server. To install a callback (e.g. for asynchronous read and write requests from the PROFINET bus master), the following call is used: ToProfinet.InstallCallback(pThis:=this,...
Page 45
S-DIAS PROFINET I/O SLAVE IPN 021 PROFINETX_CMD_READ: This command occurs when the bus master performs an asynchronous read command. Command-specific description remaining parameters: Index: Free to be used by the two communicating applications to differ read news. pLength: Pointer to maximum length of the data to be read. If fewer data are available, the number of bytes actually read is returned to this memory.
Page 46
IPN 021 S-DIAS PROFINET I/O SLAVE pStatus: content this memory, return code returned. 0 = successfully executed Other possible return values can be looked up in the Profinet development environment at the parameter status of the WRREC block. PROFINETX_CMD_ADD_DIAG_ALARM_RESULT: This...
Page 47
S-DIAS PROFINET I/O SLAVE IPN 021 pData: Pointer to the memory with the error code of the Profinet module. 0 = OK, other error codes can be looked up in the header file NetXProfiNetErrorCodes.h. pStatus: is not used in this command...
Page 48
IPN 021 S-DIAS PROFINET I/O SLAVE pLength: Pointer to the length of the data behind pData. At this command always 4. pData: Pointer to the memory with the error code of the Profinet module. 0 = OK, other error codes can be looked up in the header file NetXProfiNetErrorCodes.h.
Page 49
S-DIAS PROFINET I/O SLAVE IPN 021 pData: Pointer to the memory with the error code of the Profinet module. 0 = OK, other error codes can be looked up in the header file NetXProfiNetErrorCodes.h. pStatus: is not used in this command end_case;...
ZipFile attached to the IPN021 class, unzip to desired folder o Install file as described in the TIA help under Install GSD File. o Example (with TIA): • IPN found device catalog: Additional field devices/PROFINET IO/I/O/Sigmatek GmbH Co KG/S-DIAS/ Page 48 26.07.2023...
Page 52
IPN 021 S-DIAS PROFINET I/O SLAVE Always create first the inputs and then the outputs, because the HW-class creates the sub-modules also in this order (regardless of the AddSubModule() calls) Page 50 26.07.2023...
In the time diagrams below, the transmission route for a query/answer transmission from the Profinet master to the SIGMATEK CPU and back are shown for the best and worst case respectively. The Profinet bus and IPN 021 module are not synchronous with one another.
IPN 021 S-DIAS PROFINET I/O SLAVE 13.6.1 Detail View of IPN021 Timing on the Local S-DIAS Bus 13.6.1.1 Timing in Best Case For the best case, a copy time of 700 µs for the NetX chip is assumed. So that the dual-port memory (DPM) is exchanged during each cycle, the isochronous start time (value setting "IsoStartPoint"...
Page 56
IPN 021 S-DIAS PROFINET I/O SLAVE 1. The data from the Profinet master are sent over the Profinet bus. 2. These data are sent from the Profinet bus in the NetX Profinet stack. 3. As soon as the dual-port memory is released via inverting the handshake flag by the hardware class, the data are copied from the NetX chip.
Page 57
Handshake flag for releasing the DPM is transferred over the S-DIAS bus during the next read process. The data are therewith available in the Sigmatek CPU one cycle later. Due to the unfavorable time point at which the data is sent over the Profinet bus, a delay in the transmission is generated (can be see in point 1-3).
IPN 021 S-DIAS PROFINET I/O SLAVE 13.6.2 Detail View of S-DIAS Timing behind VARAN 13.6.2.1 Timing in Best Case For the best case, a copy time of 700 µs for the NetX chip is assumed. Since the transfer of the handshake bit over the VARAN bus requires an extra cycle, the dual-port memory (DPM) can at best, be exchanged every second cycle.
Page 59
S-DIAS PROFINET I/O SLAVE IPN 021 1. The data from the Profinet master are sent over the Profinet bus. 2. These data are sent from the Profinet bus in the NetX Profinet stack. 3. As soon as the dual-port memory is released via inverting the handshake flag by the hardware class, the data are copied from the NetX chip.
Page 60
The Handshake flag for releasing the DPM is transferred over the S-DIAS bus during the next read process. The data are therewith available in the SIGMATEK CPU one cycle later. Due to the unfavorable time point at which the data is sent over the Profinet bus, a delay in the transmission is generated (can be see in point 1-3).
S-DIAS PROFINET I/O SLAVE IPN 021 14 Transport/Storage INFORMATION This device contains sensitive electronics. During transport and storage, high mechanical stress must therefore be avoided. For storage and transport, the same values for humidity and vibration as for operation must be maintained! Temperature and humidity fluctuations may occur during transport.
IPN 021 S-DIAS PROFINET I/O SLAVE 16 Maintenance INFORMATION During maintenance as well as servicing, observe the safety instructions from chapter 2 Basic Safety Directives. 16.1 Service This product was constructed for low-maintenance operation. 16.2 Repair INFORMATION In the event of a defect/repair, send the device with a detailed error description to the address listed at the beginning of this document.
Page 63
S-DIAS PROFINET I/O SLAVE IPN 021 Documentation Changes Change date Affected Chapter Note page(s) 23.03.2015 1.1 Performance Data Changed minimum cyclic time 1.3 Miscellaneous Changed Certification 07.05.2015 1.1 Performance Data * Added note 21.01.2016 1.3 Miscellaneous Standard changed 25.01.2016 1.2 Electrical Requirements Graphics added 28.04.2016...
Need help?
Do you have a question about the IPN 021 and is the answer not in the manual?
Questions and answers