9/1/2008 3:07 PM | |
Posts: 5 Rating: (0) |
hello every one i have a problem with determinig the registers number of Modbus where in my project i am connecting CPu400 through CP443-1 to third part (DCS system) with MOdbus TCP protocol.. but the problem that i can't determine the modbus address list because i don't have any information in the configuration even in teh FB100 about the addresses.. and the designer of the DCS asks me in continue about the addresses.... so can any onw help me about that and tell me how can i determine the modbus register number? an example of these number was indicated in the Open modbus TCP manual page 4-12 with the colour Grey but i did not understand from where are these numbers coming from? thank you very much AttachmentOpen_Modbus_TCP_for_NCM_CP_English.pdf (1568 Downloads) |
9/2/2008 10:26 AM | |
Posts: 5 Rating: (0) |
Hi excuse me .. can i ask you another qusetion where i have noticed that you have written in your comment that in when i call FB100 i have to specify the same parameters but via DBxx.DBWyy .. so in the example of the Open Modbus TCP when they have configured CP as a server then in the OB1 they have called FB100 they have never entered any parameter .. and i have donethe same for my system.. i have configured it as a server then i have called in OB1 the FB100 without entering any parameter in their inputs for DB_1, START_1 and END_1 ...etc. till this moment i did not test the communication but with your words i think that it will never work .... i have attached an immagin about calling the FB100, FB200 and the FB200 configuration they are equal to the example NB: i have used DB11 to compress the data in an array of words, then i have FB200 in OB100 to assocciate the data which is coppied by their turns to DB224 my question is: are my configuration and my calls right? thank you very much samer Attachmentmodbus list.zip (1234 Downloads) |
9/3/2008 4:19 PM | |
Posts: 5 Rating: (0) |
hello everyone I have found just an error in what we have written above.. I would like to replied S7 sends always their data starting from the address 40001 where this address correspond to the register 0 in the DBx, where the DBx is an array [0..124] of words in this case the register 0 correspond to 40001 and the register 124 correspond to 40125 adn any other registers will be addressed by an offset of the address 40001, for example if we have DB11 which is an array [300..425] of words by this way the data will be through the register 40301=300+ 40001 to 40426 = 425+ 40001 so let us consider that our program was written as following DB_1=W#16#000B // DB11 that we have used to compress the data START_1=W#16# 12C // start address is in 300 END_1=W#16#1A9 // end address in 425 by this way when the client ask to read the register 40301, S7 will pass the data in the register 300 i conclude that the addresses will always start respect to 40001 for the holding registers.. by this way what we have written for the example of 4501 could not be correct .... if there is any thing wrong in what i have written or if the idea was not arrived correctly.. please i hope you make some replications.. thank you very much all the best wishes. AttachmentAdressing.pdf (1338 Downloads) |
9/4/2008 8:52 AM | |
Posts: 487 Rating: (36) |
Hi I'll try to help you .Our software is configured for Client .I must go and fetch the information ,we also don't send information Attached is the software FC82 is called in OB1 , OB100 during start-up Eric AttachmentFC82_and_OB100.pdf (1460 Downloads) |
Follow us on