3/7/2011 7:09 AM | |
Joined: 3/21/2006 Last visit: 3/17/2025 Posts: 10239 Rating:
|
Hello, Attach here your project. Best regards, Hristo Mihalev |
3/7/2011 8:27 AM | |
Joined: 10/7/2005 Last visit: 3/18/2025 Posts: 3042 Rating:
|
Hello PauloSilva2010 you already verified yourself that the DP/DP couplers I/O configuration is ok (you have "green light's"). As such all I can think of is that you are NOT writing to the outputs (perhaps the block that writes to them isnot being called?). Should this not be the case, pelase upload your project here as UMENCHOalready said. |
Cheers |
|
3/7/2011 1:10 PM | |
Joined: 8/12/2010 Last visit: 3/5/2025 Posts: 6 Rating:
|
Hello, Thanks for the fast answer. I send the program, FC9 have the outputs to the coupler. thanks, PSilva AttachmentPLC_Gest.zip (98 Downloads) |
3/8/2011 12:35 AM | |
Joined: 10/7/2005 Last visit: 3/18/2025 Posts: 3042 Rating:
|
Hello PauloSilva2010 you are indeed writing to the Outputs, the problem is though that you are writing to Process Image Outputs outside of the available/declared Process Image. You have a number ofoptions to fix this: 1.) Change the DP/DP coupler I/O addresses (and the I/O addresses in FC9) to be within your current Process Image rangeof 128. 2.) Increase the size of the Process Image(see "Cycle/Clock memory" tab in the CPU properties, change it to at least 1016 to cover allDP/DP coupler I/O's) 3.) Write to the peripheral Outputs. This does mean though that you will NOT be able to write to individual bits anymore but instead need to write to either Bytes (PQB), Words (PQW)or Doublewords (PQD). 4.) Use SFC14/15 (only needed if you must ensure data consistency acrossa wider range which does not seem to be applicable in your application) I hoep this helps and below are a couple of links with additional info. Where and when do you need peripheral addressing? Which entries deal with consistent data in conjunction with distributed I/O? |
Last edited by: fritz at: 3/8/2011 12:50 AMCheers |
|
This contribution was helpful to
2 thankful Users |
Follow us on