10/4/2012 1:39 PM | |
Joined: 10/17/2011 Last visit: 7/19/2022 Posts: 148 Rating:
|
Dear Sir, Now i am able to read data from 8 consucative holding registers. But how to read this plus data from far away holding register(1000 holding register gap) how to add this in SEND SOURCE DB and how to use it in FB2 and FB3? Warm regards, Damayanti Bhapkar
Attachment1si_modb_support2.zip (440 Downloads) |
This contribution was helpful to
1 thankful Users |
10/5/2012 8:38 AM | |
Joined: 10/17/2011 Last visit: 7/19/2022 Posts: 148 Rating:
|
Dear Sir, Thank you for your reply. I have tried with same slave but accessing different holding register using same SEND_SOURCE_DB, and as you suggested Now tried with different DBs Please go through the program attached, espicially OB1 When I give send request at I0.0, i can read concern holding registers, but when I give send request at I0.5 I am not able to get anything, error bit M26.1 becomes high. What to do? please help. Warm regards, Damayanti
Attachment1si_modb_1.zip (287 Downloads) |
10/10/2012 8:13 AM | |
Joined: 10/17/2011 Last visit: 7/19/2022 Posts: 148 Rating:
|
Dear All, Thank you for your valuable guidance. My problem is resolved. I am attaching the final program backup, where I am reading different holding registers of CONZERV EM6400 and PAC3100 energy meters. In this only I have change the DBB no of send source DB, which i am changing from MW150 in a VAT Table. Now, i will proceed for 1SI As a modbus slave for SCADA communication. Thanks. Warm regards, Damayanti
Attachment1si_conzEM6400_PAC3100.zip (412 Downloads) |
This contribution was helpful to
2 thankful Users |
10/16/2012 12:44 PM | |
Joined: 10/17/2011 Last visit: 7/19/2022 Posts: 148 Rating:
|
Dear Sir, thank you for your kind support. my client is having RS485 Modbus SCADA system as a modbus master. so i am using one more 1SI Module, as a modbus slave for this scada . but for trial, i don't have that scada with me. so, i am using 1si modbus module (which was previously used for energy meters) as a modbus master. I am able to read and write single and multiple registers as well. Again timer, counter and input can be read. Thank you again for your support. I am attaching my program copy, in which i am writing to 3 words of a db. only thing remaining is, i am changing function code and corresponding data from vat table and it works. but in real case, from modbus scada, how to change these values? Warm regards, Damayanti
Attachment1si_modslave_writ_mult_word_db.zip (304 Downloads) |
12/12/2012 10:56 PM | |
Joined: 9/27/2006 Last visit: 9/10/2024 Posts: 12282 Rating:
|
Hello Damayanti; You would need 10 instance DBs, each pointing to a new slave number, and possibly to other registers if need be (that is how you can ask for 2 different sets of registers on the same slave). Have a look at DR75's working project for a CP 341 Modbus master exchanging data with 3 slaves. Once you understand the mechanism, you can expand it for the number of slaves you require. You will find it in this thread: Multiple Modbus RTU slaves with CP341/CP441? Hope this helps, Daniel chartier |
12/14/2012 11:19 AM | |
Joined: 10/17/2011 Last visit: 7/19/2022 Posts: 148 Rating:
|
Dear dchartier Sir, Thank you for your valuable help. Now I have two energy meters only, CONZERV EM6400 and PAC3100 I am able to cyclically read parameters from these two MODBUS slaves on 1SI module. I am attaching, my program copy. At site, I will implement it for adding other slaves. Thank you. Damayanti
Attachment1SI_CYCLIC_CONZ_PAC.zip (411 Downloads) |
This contribution was helpful to
3 thankful Users |
Follow us on