4/18/2011 12:09 PM | |
Joined: 10/7/2005 Last visit: 5/30/2023 Posts: 2966 Rating:
|
Hello createstars an OB 23 call is a clear indication that the CPU can not find the I/O module for the address (there's no acknowledgement from the I/O module which causes a QVZ which leads to the call of OB23). Are you sure your I/O cardis on address 0? |
Cheers |
|
4/19/2011 3:12 AM | |
Posts: 71 Rating:
|
Hi Fritz, Thanks for the reply. Im doing the S5 and S7 I/O Mapping. The address is set on the memory card in IM308C module , using the COM profibus. To do the mapping, i program as follows: L IW 8 T PW 0 It's just like a very simple program. Do we need physical Input modules for PW? as for the Input modules with the address of 8, i'm pretty sure is there. createstars |
4/19/2011 5:43 AM | |
Joined: 10/7/2005 Last visit: 5/30/2023 Posts: 2966 Rating:
|
Hello createstars the I/O's don't have to exist as physical I/O cards, trying to do direct read/write from/to "missing" Profibus I/O's will also causethe same OB23 problem. Having said that, you do ask"Do we need physical Input modules for PW?" which has me a bit confused as your logic does a "T PW 0" which meansyou are writing toperipheral Outputword 0. So the question is: What I/O's do you have configured in COM Profibus? Can you upload your COM PB config here and gives us more details about your system (e.g. type of CPU, existing physical I/O cards and addresses in your S5, desired input/output mapping between the S5 and S7 etc. Is this perhaps still the same question/problem as from THIS link?). Please check too if your S5 contains and I/O address list inDB 1 which would need to beammended if itis in use (DB1 usage is optional for single CPU system, so you won'thave to worry about this if your S5 currently does NOT have a DB1). Last but not least and just in case you don't have this oneyet, below is link which has plenty of examples on how to link an S5 and S7 via Profibus DP: What master/slave communication options are available on PROFIBUS DP? I hope this helps |
Cheers |
|
4/19/2011 6:44 AM | |
Posts: 71 Rating:
|
I'm currently using S7 as DP master and IM308c on S5 as DP slave. Im just trying to map a simple value from S5 to S7 i wanted to map IW8 from S5 to S7 so in OB1 , i programmed L IW8 T PW 0 However, it doesn't work. SO i put the one below instead, L KF100 T FW 0 L FW0 T PW 0 And it still not working. The CPU im using here is CPU 942B AttachmentCOMPro1.zip (101 Downloads) |
4/19/2011 10:30 AM | |
Joined: 10/7/2005 Last visit: 5/30/2023 Posts: 2966 Rating:
|
Hello createstars Good news first: your COM PB configuration seems ok. You have however configuredyour I/O modules with Byte consistency which - according to the ET 200 Distributed I/O System manual (see Appendix B2 and also attached pic)-prohibitsyou from using peripheral "T PW" access to the Output word in a 941 to 943 CPU. Possible Solutions: 1.) Try "T QW 0" (the outputs are in the process image anyhow, no needtouse peripheral addressing) 2.) Change the COM PBto an I/O module with word consistency. If neither of the above helps please check the following: 3.) Is the IM 308 C in the correct slot (see HERE for more)? 4.) Are you sure that the configured COM PB I/O addresses are NOT in use by another I/O card in the S5 systemalready? 5.) Have you tried other (free/unused) I/O addresses? I hope this helps and please let us know what you find |
Cheers |
|
4/27/2011 3:30 AM | |
Posts: 71 Rating:
|
Hello Fritz, 1) In the Com Profibus, i change from DI/Byte consistency to word consistency with the identifier of 2AI or 2AO. Then in S5 i program as T PW. Still not working. 2) I tried using T QW, there're no data going through... sigh... createstars |
4/27/2011 5:37 AM | |
Joined: 10/7/2005 Last visit: 5/30/2023 Posts: 2966 Rating:
|
what about items 3, 4 & 5 of my previous post dear createstars (see also repeated below) 3.) Is the IM 308 C in the correct slot (see HERE for more)? 4.) Are you sure that the configured COM PB I/O addresses are NOT in use by another I/O card in the S5 systemalready? 5.) Have you tried other (free/unused) I/O addresses? And in anticpation of a negative response, here's a new item 6: 6.) Have you tried a different IM308C? I hope this helps |
Cheers |
|
4/27/2011 5:57 AM | |
Posts: 71 Rating:
|
Hi Fritz, Thanks for the reply. I checked the IM308C Slot, it's in the correct slot as stated in the manual. the Rack indicate" IM308C" slot as well. The I/O used is free and is not used in another places. Tried using others I/O addresses as well. Yes, i have used other IM308C card and it's not working. The only weird thing i found out is the memory card from IM308C. When i create a com profibus with the DP master and DP slaves, modules , addressing etc. I downloaded to the memory card. It stated "Successfully written" When i import the data from the memory card, the addressing the DP Slave would be EMPTY is that normal? Thank you. createstars |
4/29/2011 4:57 AM | |
Posts: 71 Rating:
|
Hi Fritz, I have not getting any reply from you. Is there any help i can get from you? Thank you |
Follow us on