5/19/2017 9:16 AM | |
Joined: 9/16/2013 Last visit: 9/9/2023 Posts: 511 Rating:
|
Hello Guys, I have s7-315-2 PN/DP with integrated DP. I have no CP module. PLC should be DP master. ON other side there is basler device DECS250 ordered to support Profibus. I download and installed GSD file from BAsler website. Once I have add to my hardware configuration situation looks like on PIC1, pls take a look. I also provide everything inside DECS250 manual about Profibus communication, take a look pic 2. Here I will paste most important: "4. Select modules from the GSD file to be part of the data exchange. Selecting the cyclic parameters is recommended. The cyclic parameters are comprised of the first 12 instances in the PROFIBUS parameters table (Table 39). The first 25 parameters, which make up the first five instances, are float types. The next 59 parameters, which make up the last seven instances of cyclic parameters, are UINT8 types. It is not possible to write a portion of an instance by specifying a length smaller than the size of the instance. To modify a single parameter, read the entire instance, update the desired parameter, and write the entire instance back to the device PROFIBUS parameters are listed in Table 39. Instances with names ending in “cyclic” are automatically transmitted at a periodic rate. All other instances are acyclic and transmitted only when requested by the PLC." I also provide you part of the parameter table. 1. My question is how can I can partial data from this parameter table. So I want to take first 10 float which are cyclic parameters according this manual, but I also want to take floats somewhere in the middle of the table and also I want to change some data from PLC from the middle of the table. So idk how I can poitn somewhere in the middle of the table from PLC. WHen I look my hardware configuration should I add whole table in it? 2. take a read this "All other instances are acyclic and transmitted only when requested by the PLC."" . Since I'm doing all from hardware configuration (no functions for read and send) how can I required something from my SLAVE? MAybe something like this or?
Will this work and where this PQW300 adress is actually pointing inside DECS250 parameter table). Whats the correlation between my hardware configuration addresses and slave parameter table? I still got no devices with me, but Im trying to prepare program before equipment arrives Here are links for pics: AttachmentScreenshots.zip (66 Downloads) |
Last edited by: SOble at: 5/19/2017 9:16:41 AMLast edited by: SOble at: 5/19/2017 9:21:47 AMLast edited by: SOble at: 5/19/2017 9:23:47 AMLast edited by: SOble at: 5/19/2017 9:33:43 AMLast edited by: SOble at: 5/19/2017 8:12:16 PMLast edited by: Min_Moderator at: 5/26/2017 9:17:00 AMAdd attachment Website: |
|
6/14/2017 11:26 AM | |
Joined: 12/22/2006 Last visit: 1/25/2022 Posts: 1742 Rating:
|
Hello, In step7, in the slave slot definition, the first slot should be an universal module of 44 input bytes. If the slave accepts that, try now to read the data using SFC14. |
Last edited by: jklm at: 6/14/2017 11:27:23 AMBest regards |
|
Follow us on