9/11/2014 11:25 AM | |
Posts: 9 Rating: (0) |
Dear TIBI68, I add a picture.zip file of project. Thanks for your reply,
AttachmentPictures.zip (813 Downloads) |
Last edited by: AchutVn2T at: 9/11/2014 11:38 AM |
|
9/24/2014 8:14 PM | |
Joined: 11/6/2013 Last visit: 11/30/2023 Posts: 26 Rating: (7) |
Welcome TIBI68. I download Your library and use in my project to read and write temp regulators from ERO electronic company. Read works prefectly but write into regulator is imposible. I check probbably all configuration option and i can' write register SETPOINT (SP) into regulator. Of course i chec of this register is READ and WRITE. I check all settings on your block. This is documentation to regulator: http://www.eroelectronic.com/index.php?route=product/download/get&download_id=20 Please check and if possible tel what is a solution to write register. I need write only setpoint value. Best regards. Attachmenteng.822e PKC-MKC-2.zip (682 Downloads) |
Last edited by: BENIO at: 9/24/2014 8:34 PMI add MODBUS documentation to this regulator. |
|
9/24/2014 10:36 PM | |
Joined: 12/1/2009 Last visit: 3/31/2024 Posts: 672 Rating: (147) |
Dear BENIO, I dont see any reason why it should not work. If you dont mind you can send an email withyour programfor testing but I doubt that there is the problem. As per the manual you should write your setpoint into register 40138. There are some conditions to be checked for remote control: Checkthe manual page 72 "SERIAL LINK". Best Regards. |
Give us your feedback and show us your respect! |
|
This contribution was helpful to1 thankful Users |
9/25/2014 8:02 AM | |
Joined: 11/6/2013 Last visit: 11/30/2023 Posts: 26 Rating: (7) |
Welcome. Thanks for reply. In regulator i set proper setting. REDING work fantastic. ( 9660,8EVEN) I attached scrren. Today i check error in status on your block. Its 8600 VALUE. If You want a can make remote acces to PG station to look on working organism :) Attachmentscreens.zip (651 Downloads) |
Last edited by: BENIO at: 9/25/2014 8:06 AMI send You mail with remote solution to my PG. |
|
11/11/2014 1:22 PM | |
Posts: 24 Rating: (1) |
TIBI68, You told you will modify your blocks and add some more functionality. Can I ask you to add the parameter for swapping not just bytes in word but words in double words too? Sometimes for some devices it would be very usefull for reading DInt or Real values... |
Last edited by: Hopling at: 11/12/2014 7:23 AM |
|
11/25/2014 2:21 AM | |
Posts: 2 Rating: (1) |
Good day TIBI68 I'm using your library for the CP341, followed your manual and referenced the example code. As far as I can tell everything is correct. The Tx LED is flashing on the CP341. Before I get to the slave, the error output of FB10 is set with each MBMAREQ, yet the STATUS out of FB10 remains 0 (no failure). Any ideas? I have attached the project (tiny - 381 kb). Thanks --- new developoment --- Interfaced PLC to Modbus simulator, and it worked! Doesn't seem to work with our SELCO 6200 at the moment, although communications settings are the same. Attachment315pndp.zip (605 Downloads) |
Last edited by: Andrew_E at: 11/25/2014 6:54 AM |
|
12/12/2014 7:45 PM | |
Joined: 12/1/2009 Last visit: 3/31/2024 Posts: 672 Rating: (147) |
Dear Chis_18, kindly delete the flagM10.0 from both of the blocks first and then restart your CPU. If you still have any problem send me an email. Best Regards. |
Give us your feedback and show us your respect! |
|
This contribution was helpful to1 thankful Users |
2/20/2015 5:22 PM | |
Posts: 20 Rating: (1) |
Well. Looking better, I can see error each 3 seconds (as it's configurated), and status when I pass to RUN is E006. Best regards! |
7/20/2015 5:15 PM | |
Joined: 6/27/2013 Last visit: 4/15/2024 Posts: 28 Rating: (0) |
hello all can I use cp313c-2ptp as modbus master (because it has protocol ASCII) instade of cp 341 |
7/24/2015 9:33 AM | |
Joined: 6/27/2013 Last visit: 4/15/2024 Posts: 28 Rating: (0) |
hello I faced same your problem,status output at MBMAREQ gives error code E006h so we need experts to help us |
7/24/2015 11:04 AM | |
Joined: 6/27/2013 Last visit: 4/15/2024 Posts: 28 Rating: (0) |
hello the first comments under this topic refers to our friend TIPI68 sent some changes on library to others by email |
9/6/2015 10:07 AM | |
Joined: 2/9/2012 Last visit: 5/8/2024 Posts: 2 Rating: (0) |
Thank you for this great work. |
12/17/2015 8:46 AM | |
Posts: 29 Rating: (0) |
Hello, @TIBI68 Do you have TIA portal version of the CP341 Modbus RTU Master? |
1/2/2016 12:41 PM | |
Joined: 12/1/2009 Last visit: 3/31/2024 Posts: 672 Rating: (147) |
Happy New Year to you Anthony C. while Tx is blinking properly and interface parameters match on both devices I believe that you have a wiring problem. Swap the two wires and see if there is any change. Best Regards. |
Give us your feedback and show us your respect! |
|
Follow us on