5/30/2016 12:34 PM | |
Posts: 1 Rating:
|
Hi, I am so badly looking for 6 digit address area solution. Is it possible to get MBMAREQ source to make my own solution ? thanks Marko |
7/13/2016 4:31 PM | |
Posts: 1 Rating:
|
Dear TIBI68, First I would like to thank You for creating this driver. I have a problem in communicating cp341 with koyo click as a test connection. I have taken the all steps provided in the manual and still i cannot read or write to dedicated registers. The parameters for koyo click is setup as the same as the cp 341. The Tx led is pulsing with ~0.5 Hz but the Rx led does not blink - CP side On the koyo side both leds are blinking. I have tried to switch the wires and still i cannot write or read the registers. the koyo click addressing of the registers are: 400005 for writing and 400003 for reading. i have called the MBMAREQ with the address of registers with one zero less. I am hopeful that You can take Your time to look at my problem. Best regards, Aleksandar |
7/19/2016 11:15 AM | |
Posts: 1 Rating:
|
Hi TIBI68, I want to use your MBMA 340 code to read coils and registers from deepsea 5510. I have connected the cp 340 to that controller and after downloading the program and changing communication parameters in the cp 340, I am able to see TX and RX Blinking .The only challenge i have is how i can read data from the deepsea slave. I have attached part of deepsea registers and i just want you to help me how i could read some thing for example battery voltage which is at register 1029 in the manual. Regards, Willey Attachmentaddress.pdf (1097 Downloads) |
Last edited by: willey at: 7/19/2016 2:20:24 PM |
|
7/30/2016 9:12 PM | |
Joined: 5/12/2011 Last visit: 3/6/2025 Posts: 78 Rating:
|
Shall i use this sample backup for Estabilishing communication S7 - 315 & EM6430 Energey meter which is supporting Modbus RTU communication using CP 341 card. |
8/2/2016 9:11 PM | |
Joined: 9/2/2012 Last visit: 7/10/2025 Posts: 712 Rating:
|
Dear TIBI68,
I didn't check the sample project with the hardware. But i would like to say "THANK YOU" for your effort and attention to the feedback. Also for sharing your "hard-work" for free . Really Gr8 Job .. You deserve more than 5* |
|
|
This contribution was helpful to
2 thankful Users |
10/24/2016 10:34 AM | |
Posts: 1 Rating:
|
Greetings, Any chance of an update to this package so it can access the full 64k address space for holding registers? Thanks! |
11/27/2016 7:59 AM | |
Joined: 9/8/2015 Last visit: 8/23/2025 Posts: 123 Rating:
|
Hi How this function can be used in TIA portal v13? I can not migrate into tia! |
9/30/2017 7:37 PM | |
Joined: 2/16/2017 Last visit: 10/17/2024 Posts: 9 Rating:
|
Dear TIBI68, Thank you for the great blocks! I was able to implement it in two of our machines.
I was able to integrate it in projects made, both, in Step7 and TIA Portal 13. After migrating and copying your blocks, I only had to select the library version for P_SEND and everything worked like a charm. Thanks again and have a good day! Cheers, Wojtek |
This contribution was helpful to
1 thankful Users |
2/14/2018 7:15 AM | |
Joined: 7/16/2008 Last visit: 2/28/2025 Posts: 17 Rating:
|
Hello I have a problem with my program for communication with Modbus Slave using MBMAREQ function. Sometimes (one per couple days or weeks) program stops because of Programming Error (Incorrect DB number: 16385). It is trying to acces to block number that I do not use. After that I have to Clear/Reset (from HW Config) and perform Warm Reset, then PLC is working again for some time. Power down/up doesn't helps, the same as only "Warm Reset", I always have to clear memory first and than reset. I'm stuck, don't know how to deal it. Do somebody have some idea? There is 2 last events from diagnostics: Event 1 of 100: Event ID 16# 4562 STOP caused by programming error (OB not loaded or not possible, or no FRB) Breakpoint in user program: Cyclic program (OB1) Priority class: 1 FB number: 10 Module address: 338 Previous operating mode: RUN Requested operating mode: STOP (internal) Internal error, Incoming event 08:28:58.820 2018-02-12 (Coding: 16# 4562 FF84 8E70 0101 000A 0152) Event 2 of 100: Event ID 16# 2532 Block number error when opening a DB Incorrect DB number: 16385 Requested OB: Programming error OB (OB121) OB not found, or disabled, or cannot be started in the in the current operating mode Internal error, Incoming event 08:28:58.810 2018-02-12 (Coding: 16# 2532 FE79 007A 4001 0000 0000) I also attach my project. Thanks in advance goblin AttachmentEnergias.zip (1069 Downloads) |
Last edited by: Jen_Moderator at: 2/14/2018 12:13:14 PMNew subject after splitting Last edited by: Jen_Moderator at: 2/15/2018 9:44:47 AMRemoved splitting remark. |
|
2/16/2018 7:23 PM | |
Joined: 7/16/2008 Last visit: 2/28/2025 Posts: 17 Rating:
|
I've change the LINK address (MW10->MW100) and I'll see if that helps but it take a couple of days. I also attach corrected project, TIBI68 - can you try to reopen it? Thanks goblin AttachmentEnergias.zip (1069 Downloads) |
2/23/2018 12:57 PM | |
Joined: 7/16/2008 Last visit: 2/28/2025 Posts: 17 Rating:
|
Today it happened again. Still the same diagnostics errors: Event 1 of 100: Event ID 16# 4562 STOP caused by programming error (OB not loaded or not possible, or no FRB) Breakpoint in user program: Cyclic program (OB1) Priority class: 1 FB number: 10 Module address: 338 Previous operating mode: RUN Requested operating mode: STOP (internal) Internal error, Incoming event 08:28:53.531 2018-02-23 (Coding: 16# 4562 FF84 8E70 0101 000A 0152) Event 2 of 100: Event ID 16# 2532 Block number error when opening a DB Incorrect DB number: 16385 Requested OB: Programming error OB (OB121) OB not found, or disabled, or cannot be started in the in the current operating mode Internal error, Incoming event 08:28:53.521 2018-02-23 (Coding: 16# 2532 FE79 007A 4001 0000 0000) When I went to HW CFG/PLC/Operating Mode and perform "Warm Restart" program has run again. I attach files from Stack dumps when CP was in STOP mode. TIBI68 can you take a look at it? I'll be gratefull for your help. thanks goblin AttachmentStack.zip (1046 Downloads) |
2/28/2018 6:34 AM | |
Joined: 12/1/2009 Last visit: 7/14/2025 Posts: 672 Rating:
|
Good day Goblin, I hope its working now. MOXA has good solutions and Hilscher https://www.hilscher.com/ too. Best Regards. |
Give us your feedback and show us your respect! |
|
8/3/2018 9:26 PM | |
Joined: 11/15/2017 Last visit: 12/1/2022 Posts: 23 Rating:
|
Sir, Does this block supports 6 digits register address like I want read 421300 register in energy meter but I am getting the error as start or end address over range status value e002h.Kindly please help for the same. Thanks in advance. Regards, Raj |
This contribution was helpful to
1 thankful Users |
8/8/2018 3:26 PM | |
Joined: 12/1/2009 Last visit: 7/14/2025 Posts: 672 Rating:
|
Sorry my friend but I don't visit the forum on regular basis. Anyhow, kindly find attached MBMAREQ block for 6 digit registers. Also one confusion I have. Plc can read address up to 65535. So how it can read any 6 digit address? That's quite simple, just the old fashion way. You must provide the function code by yourself. Good Luck. AttachmentMBMAREQH.zip (1244 Downloads) |
Give us your feedback and show us your respect! |
|
This contribution was helpful to
5 thankful Users |
Follow us on