5/8/2014 9:44 PM | |
Posts: 12 Rating:
|
I have in the plant installed 39 Simocode pro V and conect with the PLC S7-315, Simocode red is ready, my problem is when i used SFC 59, the program run but when i targeting dp direction and open DB, where i save the register, just can see two dp direction, in the others DB repeat same values show in before DB. ado you understand me? Rewards Jose Colina
AttachmentFC4.pdf (235 Downloads) |
5/9/2014 9:50 AM | |
Posts: 467 Rating:
|
hello, I do not understand the problem. Please send me screenshots where I can see what you mean. (what is dp direction, which DB,...) Very helpfull would be to get the S7-project. You can send the inormations including the problem descriptionto: technical-assistance@siemens.com kind regards LesPaul |
5/11/2014 2:53 AM | |
Posts: 12 Rating:
|
Hello Les Paul, Added S7 project for you studie, i hope you can help us with the problem. the problem is the values in the DB are repeater in all DB Rewards Attachmentsimocode.zip (243 Downloads) |
5/12/2014 11:00 AM | |
Joined: 10/7/2005 Last visit: 9/12/2024 Posts: 3020 Rating:
|
Hello Jose colina I fear you used the wrong values for the "LADDR" Parameter of SFC59 where you assigned the DP Slaves Node address instead of its lowest I/O address. Please change the "LADDR" Parameterto reflect the lowest assigned I/O address of each SIMOCODE(see also <F1> inbuilt help on SFC59 for more on this). I would also suggest you change your HWconfig and give each SIMOCODE the same I and Q start address (for no other reason than neatness and avoidance of confusion when assigningSFC59's LADDR value). As you have some 39 SIMOCODE's, one more thing to look out for is that there is a CPU dependent system limit for the amount of simultaneously active SFC59 calls. Have a look at What restrictions are there for active jobs when communicating with SFC 58 / SFC 59 and SFB 52 / SFB 53 via PROFIBUS DP and PROFINET IO? for more on this and I suggest you implement a multiplexed/staged way for the SFC59 calls. I hope this helps |
Last edited by: fritz at: 5/12/2014 11:19 AMTypos Cheers |
|
This contribution was helpful to
1 thankful Users |
5/13/2014 11:35 AM | |
Joined: 10/7/2005 Last visit: 9/12/2024 Posts: 3020 Rating:
|
Hello Jose colina you used basic type 1 for each SIMOCODE which gives you 10 bytes of Inputs and 4 bytes of Outputs perSIMOCODE. What this means is that if you simply drag in one SIMOCODE DP Slave after the other inS7 HWconfig, Step7 will auto assignI/O addresses and there is technically nothing wrong with that at all. It does also mean that if you drag in one SIMOCODE DP Slave after the other, you'll end up with auto assigned I/O addresses as follows: 1stSIMOCODE:I range of 0-9 and Q range of 0-3 (I and Q start address are the same) 2nd SIMOCODE:I range of 10-19 and Q range of 4-7 (I and Q start addresses differ) 3rd SIMOCODE:I range of 20-29 and Q range of 8-11 and so forth. My strictly personal preference for devices like SIMOCODEs is to manually set the I and Q start address the same one for each, for example: 1st SIMOCODE: I range of 0-9 and Q range of 0-3 2nd SIMOCODE: I range of 10-19 and Q range of 10-13 3rd SIMOCODE : I range of 20-29 and Q range of 20-23 and so forth. Thisalso aids in ease ofvalue assignment for SFC59 which needsthe lowest I or Q address of the DP Slave for itsLADDR Parameter (and if these are both the same it makes this task a tad bit easier and less error prone). I hope this helps |
Cheers |
|
This contribution was helpful to
1 thankful Users |
5/15/2014 9:36 PM | |
Posts: 12 Rating:
|
Hellofritz I have a question, in the SFC 59, the item LADDR is DP adresses or N° Imput? Regards
|
5/16/2014 5:03 AM | |
Joined: 10/7/2005 Last visit: 9/12/2024 Posts: 3020 Rating:
|
Hello Jose colina allow me to quote myself from my earlier post to answer that question:
|
Cheers |
|
5/20/2014 2:19 PM | |
Posts: 12 Rating:
|
Hello Fritz, thanks for you help, i can resolved the problem Great Regards
|
Follow us on