Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
resources:demo:reference-designs:chronous_io [07 Mar 2022 13:18] – insert image Albert OGradyresources:demo:reference-designs:chronous_io [19 Jan 2023 12:34] (current) – [Going online with the PROFINET network] Frank Hunds
Line 5: Line 5:
   * Where customers need to integrate existing field instruments into new Ethernet based control systems   * Where customers need to integrate existing field instruments into new Ethernet based control systems
  
-{{ :resources:demo:reference-designs:adi_chronous.jpg?400 |}}+{{ :resources:demo:reference-designs:adi_chronous.jpg?600 |}}
  
-====== Quick Start Guide ======+===== Quick Start Guide ===== 
 + 
 +==== Features ==== 
 +  * 2 AD74413R Quad Channel Software Configurable Input Output providing 8 channels configurable I/O 
 +  * ADIN2299 RapID Platform Generation 2 industrial network interface with PROFINET 
 + 
 +==== Necessary Equipment ==== 
 +  * Chronous-I/
 +  * Siemens PLC 
 +  * 1 PC 
 + 
 +==== General Description ==== 
 +The Chronous-I/O device is a demonstration platform to show the capabilities of the ADIN2299 RapID Platform Generation 2 industrial network interface and AD74413R Quad Channel Software Configurable Input Output. It shows you to access the Input and Output channels from a PLC using PROFINET. 
 + 
 +==== Revision History ==== 
 +  * 03/2022 Revision 0: Initial Version 
 + 
 +===== Chronous-I/O Setup ===== 
 +{{ :resources:demo:reference-designs:adi_chronous_pc_plc.png?600 |}} 
 + 
 +==== Setting up the PROFINET network with Siemens PRONETA ==== 
 +To configure the Input Output channels of the Chronous-I/O a configuration of the network connection is needed. This can be achieved with Siemens TIA Portal during the creating of the PLC project or with Siemens PRONETA. Setup with Siemens PRONETA is described in the following. Setup with TIA Portal is described further down. 
 + 
 +  - Download and install [[https://new.siemens.com/global/en/products/automation/industrial-communication/profinet/proneta.html|Siemens PRONETA]] and its prerequisites (for PRONETA 3.3.0 these are [[https://dotnet.microsoft.com/en-us/download/dotnet-framework/net462|.NET 4.6.2 runtime]] and [[https://npcap.com/#download|Npcap]]). 
 +  - Start Siemens PRONETA 
 +  - In Settings configure the Network Adapter to be used 
 +  - Make sure the Chronous-I/O device is connected to the network of your PC 
 +  - The Chronous-I/O device should show up in the Network Analysis view (see Picture below) {{ :resources:demo:reference-designs:p01-pronetanetworkanalysis.png?600 |}} 
 +  -  Right click the chronousio item and choose Set Network Parameters (see Picture below) {{ :resources:demo:reference-designs:p03-pronetanetworkanalysischronousiosetparameter.png?600 |}} 
 +  - Assign a Device Name (see Picture below) {{ :resources:demo:reference-designs:p04-pronetanetworkanalysischronousiosetdevicename.png?600 |}} 
 +  - Open the Set Network Parameters dialog again and set the IP configuration (see Picture below) {{ :resources:demo:reference-designs:p05-pronetanetworkanalysischronousiosetip.png?600 |}} 
 +  - Now the network interface of the Chronous-I/O device is configured (see Picture below) and you can access the web page with your browser {{ :resources:demo:reference-designs:p06-pronetanetworkanalysischronousioconfigured.png?600 |}} 
 +==== Configuring the I/O with the Chronous-I/O Web Interface ==== 
 +  - After configuration of the network connection, open the web page of the Chronous-I/O device with your web browser. The web server uses the https protocol, so accepting the certificate security warning of the browser is necessary. The start page opens and shows the Input or Output values of the eight channels depending on their configuration. (see Picture below) {{ :resources:demo:reference-designs:p07-chronousiowebstartpagedefaultcfg.png?600 |}} 
 +  - Go to the Chronous-I/O configuration page (see Picture below). At first startup all channels are configured to High Impedance mode. {{ :resources:demo:reference-designs:w02-chronouswebdefaultcfg.png?600 |}} 
 +  - Set the function for each channel by selecting an option in the drop-down list and click the Submit button (see Picture below). For specific functions there are further configuration options available by the Cfg button. A more detailed description of the configuration options can be found in the datasheet of AD74413R Quad Channel Software Configurable Input Output {{ :resources:demo:reference-designs:w03-chronouswebexamplecfg.png?600 |}} 
 +  - On the Chronous-I/O start page (see Picture below) you can now see the values. The color of the channel names represent the channel direction according to the LEDs on the Chronous-I/O device. High Impedance channels are white, Output channels are yellow, and Input channels are green. Blinking red channels are switched off channels after an error, for example short circuit error. To enable this channels again, remove the cause of the error, go to the configuration, set High Impedance mode for this channel and then reconfigure it to the required settings. {{ :resources:demo:reference-designs:w04-chronouswebstartpageexamplecfg.png?600 |}} 
 + 
 +==== Setting up the PROFINET network with Siemens TIA Portal ==== 
 +{{ :resources:demo:reference-designs:adi_chronous_pc_plc.png?600 |}} 
 + 
 + 
 +^ Item Number  ^ Item Type   ^ Input size (Bytes) ^ Output size (Bytes) ^ Module ID  ^ Submodule ID ^ 
 +| 500    | Cylic     | 32  | 32  | 0x10500000  | 0x10500001 
 + 
 +The eight I/O values are represented as 32-bit floating point numbers. The ranges for the different functions are listed in the table below (see Table below) 
 + 
 +^ Channel function  ^ Min.   ^ Max. ^ Unit ^  
 +| VOLTAGE   | 0.0     | 10.0  | V  | 
 +| CURRENT   | 0.0     | 24.0*10<sup>-3</sup>  | A  | 
 +| RESISTANCE   | 0.0     | 1.0*10<sup>6</sup>  | Ω  | 
 +| DIGITAL   | 0.0     | 1.0  |   | 
 + 
 +==== Configuring the PLC Setup in the Siemens TIA Portal ==== 
 +  - Start TIA Portal and create a new project (see Figure below) {{ :resources:demo:reference-designs:t01-tiaportalcreate.png?600 |}} 
 +  - Go to First Steps and open the project view (see Figure below) {{ :resources:demo:reference-designs:t02-tiaportalfirststeps.png?600 |}} 
 +  - In the left panel, click Add New Device (see Figure below) {{ :resources:demo:reference-designs:t03-tiaportalprojectview.png?600 |}} 
 +  - Select the PLC that is connected (see Figure below) {{ :resources:demo:reference-designs:t04-tiaportaladdnewdevice.png?600 |}} 
 + 
 +==== Installing the Chronous-I/O general station description file (GSD) ==== 
 +  - Open the Options menu and select Manage general stations descriptions files (see Figure below) {{ :resources:demo:reference-designs:t05-tiaportalselectmanagegsdml.png?600 |}} 
 +  - Browse to file location of the Analog Devices Chronous-I/O GSDML file and install it, then close the dialog and wait until the hardware catalog has been updated (see Figure below) {{ :resources:demo:reference-designs:t06-tiaportalmanagegsdml.png?600 |}} 
 + 
 +==== Creating the PROFINET network ==== 
 +  - Go to Devices & Networks view and open the Hardware catalog on the right side. 
 +  - Select the Analog Devices Chronous-I/O device and drag it into the Devices & Networks view (see Figure below) {{ :resources:demo:reference-designs:t13-tiaportaldevicenetwork.png?600 |}} 
 +  - Click the Not assigned link within the Network view tab to bring up a yellow pop-up with the text appearing in the same format as a URL link, PLC_1.PROFINET_interface_1. Click this yellow pop-up to connect the device to the PLC by using the green line (see Figure below) {{ :resources:demo:reference-designs:t14-tiaportaldevicenetworkconnected.png?600 |}} 
 + 
 +==== Going online with the PROFINET network ==== 
 +  - Select PLC_1 and click Download to device button in the toolbar (see Figure 19). The dialog will open (see Figure below) {{ :resources:demo:reference-designs:t15-tiaportaldevicenetworkdownload.png?600 |}} 
 +  - Search for target device, select the appropriate PLC and click Load (see Figure below) {{ :resources:demo:reference-designs:t16-tiaportaldevicenetworkdownloadreadytoload.png?600 |}} 
 +  - In the Load preview window, click Load (see Figure below) {{ :resources:demo:reference-designs:t17-tiaportaldevicenetworkdownloadcheckbeforeload.png?600 |}} 
 +  - Right-click the Analog Devices PROFINET Network Interface ChronousIO icon across from the PLC and click Assign name to display the assign PROFINET device name window (see Figure below) {{ :resources:demo:reference-designs:t18-tiaportaldevicenetworkdevicesetprofinetname.png?600 |}} 
 +  - Click the orange Go online button at the top of the window to go online with the PROFINET network. Taking this step causes the outline of the screen to turn orange and green checkmarks appear on all devices, which indicates that the system is actively communicating. Communication between the PC of the user and the Siemens PLC is now working 
 +  - Click the blue Go offline button to complete this process 
 +  
 +==== Creating a first application ==== 
 +  - In the Devices & Networks view double click on the chronousio device to see the I/O addresses of the device (see Figure below) {{ :resources:demo:reference-designs:t20-tiaportaldeviceoverview.png?600 |}} 
 +  - Got to PLC_1 > PLC Tags > Show all tags and add new tags for the Chronous-I/O device (see Figure below) {{ :resources:demo:reference-designs:t21-tiaportaldeviceiotags.png?600 |}} 
 +  - Go to PLC-1 > Program blocks > Main [OB-1] and create a program as shown below (see Figure below), that just sends the value of Chronous-I/O channel 5 to Chronous-I/O channel 7. Note that the two channels must be configured as in the example configuration in chapter “Configuring the I/O with the Chronous-I/O Web interface”, as a matching Input and Output pair (digital input and output in this case). {{ :resources:demo:reference-designs:t22-tiaportalprogramblock.png?600 |}} 
 +  - Build the program by clicking the Compile button in the tool bar (see Figure below) {{ :resources:demo:reference-designs:t23-tiaportalcompileprogramblock.png?600 |}} 
 +  - Click the Download button in the tool bar to transfer the program to the PLC (see Figure below) {{ :resources:demo:reference-designs:t24-tiaportalloadprogramblock.png?600 |}} 
 +  - Click the Start CPU button and switch the CPU to RUN mode (see Figure below) {{ :resources:demo:reference-designs:t27-tiaportalstartcpu.png?600 |}} 
 +  - Connect a switch to the digital input channel 5 and see the value change in the web interface of the Chronous-I/O device and the output on channel 7 following the input value due to the example PLC program.
resources/demo/reference-designs/chronous_io.txt · Last modified: 19 Jan 2023 12:34 by Frank Hunds