6/14/2017 4:36 PM | |
Posts: 13 Rating:
|
Hallo all, Im very disappopinted with Modbus TCP IP. So much time for nothing So i configured the system , i think , correctly. NetPro tell to me communication ok with gren ">" arrow symbole, but in the MB_REDCL i see w#16#a0ff . See PDF Data with Pictures. Another question, i have Redundand S7-416H with 3 CP module each. Communications also redundand. So Pro 1 redundand CP modules i have 3 communications, i need call MB_REDCL for each communication its correct ? And one thing also disappointed me, the examples its werry bad, i can not put example in the system i start send/receive sequences. Need first do programm to the end. Kind Regards ------------------------------------------------------------------------------------------ AttachmentMODBUS TCP.pdf (1051 Downloads) |
Last edited by: Min_Moderator at: 6/19/2017 4:55:09 PMNew subject after splitting |
|
6/21/2017 6:41 PM | |
Posts: 3093 Rating:
|
Hello ToFast, Regards, |
6/22/2017 9:48 AM | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Joined: 10/21/2011 Last visit: 7/15/2021 Posts: 57 Rating:
|
With one telegram you can only read 125 registers. If you want to read more than 125 registers you need additional telegrams. If you want to read the registers from 1 to 139 with your configuration it would need 4 telegrams. You would need: - read 1 -119 - read 120 - 126 - read 128 - 132 - read 133 - 139 If you would configure only one data area from 1 - 139 you could read all data with two telegrams: - read 1 - 125 - read 126 - 139 You can't read an area that is assigned to multiple data blocks with one telegram. Even if the number of registers is below the maximum allow number. So if you want to read more than 119 registers you would get an error. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
6/29/2017 11:39 AM | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Posts: 13 Rating:
|
Hello, Right! if i split the telegrams its works. If i try same with modbus Simulator i see here something strange.... i Start from Adress 1 to 119 but in Modbus Simulator this is 40002-40119 meybe Simulator have something specific... I neeed to be sure 1-119 this is 40001-40119 ? is correct??? and then the 120-126 is 40120-40126 ??? Thanks for help!!! Kind Regards |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
6/29/2017 1:51 PM | |
Posts: 3093 Rating:
|
Hello ToFast, Regards, |
Last edited by: Kaulquappe at: 6/29/2017 1:52:17 PM |
|
6/29/2017 2:27 PM | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Posts: 13 Rating:
|
Yes i read allready, but like i write before the Modbus simulator confused me. That what you write to me i understand so like if Start Adress is like simple 40100 then data will be readed/writet in DBx.DBW0. Also if I look the table in the manual Modbus Device Adress 40001 started with Holding Register "0" i think i understand this point correctly. So from manual i understand this if i configure:
My point is next, i understand this correctly or not: Data_type_1 = "3" and the start_1="1" that is 40001 ? Data Type 3 offset 4xxxx (also in manual) + start adress "1" = 40001? Example : Start_1 = 1 (40001) end_1 = 119 (40119) its correct ? Becouse Modbus Poll (simulator) can not read data from Adress 40001 and if i put 40002 then he tell me data area is correct and also put in the Adress 40002 the correct data what i have in DBx.DBW0 (Start_1=1). So i need to find out Simulator tell me wrong Adress 40002 or i dont understand modbus manual correctly!!! |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Follow us on