2/4/2014 8:46 AM | |
Posts: 1368 Rating: (126) |
Hello Nijkamp, do you have a GSD for the PROFINET device? Then installthe filein STEP 7 and bind the device to the Siemens-PLC. Greetings, Pittiplatsch |
2/4/2014 9:41 AM | |
Posts: 1368 Rating: (126) |
Hello Nijkamp, do you want to communicate with PROFINET or "normal" Ethernet (TCP/IP, UDP)? Every PN Device has a logical adress with user data. These are a part of the process image of the plc and will be actualized automatically. Another way to communicate with the device is via TCP/IP or UDP or ISO. Therefore, you can use the open communication blocks (TCON, TSEND...). Information to these blocks, you find here ISO-on-TCP: http://support.automation.siemens.com/WW/view/en/29737976 TCP: http://support.automation.siemens.com/WW/view/en/29737950 UDP: http://support.automation.siemens.com/WW/view/en/29738463 |
Last edited by: GrasserF at: 2/4/2014 9:49 AMLinks edit Last edited by: Pittiplatsch at: 2/4/2014 9:42 AM |
|
6/10/2014 12:44 PM | |
Posts: 1 Rating: (0) |
Hi Nijkamp I am currently trying to do the same. I am waiting on hardware to test but think I know how it should work, I have done this with profibus and seems to work OK. In twincat, download documentation for EL6631-0010 Add hardware to system manager. Add Profinet IO device under IO devices. Append this box(Right click device) and add EL6631 Open drop down and API should be shown. Right click API and append profinet module, here you can add you variables from the Siemens PLC(Words, bitsetc) Link variables to PLC program. Complile and Run. I think this should be happy on the Twincat end, not certain, I am unable to test until hardware arrives, possibly a little confuguration required regarding the profinet device. On the siemens end. I exported the EL6631 from the twincat io folder to the Siemens, and added this to the Hardware configuration manager. Add the variable types you would like to pass to Twincat here, I think in the same order they were added in Twincat, these then become directly accesible as Output to the plc Q. In the logic create a function that only updates the values as required. I can send config files for both if needed. Like I said, I THINK this will work, until I can test, I am not certain. |
Follow us on