7/16/2014 1:15 PM | |
Joined: 12/1/2009 Last visit: 7/14/2025 Posts: 672 Rating:
|
Dear Hopling , I checked the CRC calculation of the block and it is giving me "81 09" which is correct. Now we will need to find out why it sends wrong CRC "01 09". I dont have TIA can you print your program in PDF and upload or send it to my email? Thanks. |
Give us your feedback and show us your respect! |
|
This contribution was helpful to
1 thankful Users |
7/16/2014 1:40 PM | |
Posts: 24 Rating:
|
Just sent it, hope for your help... |
7/16/2014 2:04 PM | |
Joined: 12/1/2009 Last visit: 7/14/2025 Posts: 672 Rating:
|
Dear Hopling , I cannot open you project correctly in my version. Kindly check the following parameters in theprotocol section of your CP. Transmission Rate: sameas atslave Data Bits: 8 Stop Bits: 1 Parity: same as at slave I see data bits 7 in your configuration. Change, tryand update me. Good luck! |
Give us your feedback and show us your respect! |
|
This contribution was helpful to
1 thankful Users |
7/16/2014 2:56 PM | |
Joined: 12/1/2009 Last visit: 7/14/2025 Posts: 672 Rating:
|
Alhamdulillah Hopling , I am very happy that it works now for you. It would be interesting to know if it is going to work after migrationto TIA as well. Actually theseparametersare a very good point to mention in the manual for other users. Thanks. |
Give us your feedback and show us your respect! |
|
7/16/2014 3:19 PM | |
Posts: 24 Rating:
|
I just migrated it to TIA without any problems... It's working as good as it worked while using STEP7 V5.5! |
This contribution was helpful to
1 thankful Users |
7/17/2014 11:54 AM | |
Joined: 12/1/2009 Last visit: 7/14/2025 Posts: 672 Rating:
|
Dear Bryll,
Useful for users is not always useful for vendors. I hopeone day Siemenswill provide us with a freesolution like for the new PLC's.
Yes pleaseand provide us with your feedback!
I have noplan forit at the moment. Im currently working on transferring myModbus-TCP Client(code from 2003) from STL to SCL. When I am done and have tested it I will share it as well.
Good idea? That dependsfor whom. Best Regards. |
Give us your feedback and show us your respect! |
|
7/18/2014 9:21 AM | |
Joined: 12/1/2009 Last visit: 7/14/2025 Posts: 672 Rating:
|
Dear Hopling,
I never needed a modbus rtu slave in my projects only masters. That's the reason there is no slave driver existing from me.
Your "positive feedback" is my reward, thanks.
I am sure that there issome very good user written code out there but these usersare not willing to share their "hard work" with us. Best Regards. |
Give us your feedback and show us your respect! |
|
7/18/2014 11:15 AM | |
Joined: 12/1/2009 Last visit: 7/14/2025 Posts: 672 Rating:
|
Dear Hopling, the driver does not support reading/writingon trigger! If there would be atriggerthe user would need to control the sequence by himself. I took this headache from the userby executing all requestssequentially and headache free. There is an advantage of cyclic transmission. In case of a transmission failure the values are written in the next cycle. This is not thecase when you write on trigger unless you handle it by yourself. I know, you lose a bit performance. What is your CPU cycle time with all 4 requests? Best Regards. |
Last edited by: TIBI68 at: 7/18/2014 11:35 AMLast edited by: TIBI68 at: 7/18/2014 11:33 AMGive us your feedback and show us your respect! |
|
7/18/2014 12:04 PM | |
Posts: 24 Rating:
|
del |
Last edited by: Hopling at: 7/18/2014 12:05 PM |
|
7/18/2014 12:39 PM | |
Joined: 12/1/2009 Last visit: 7/14/2025 Posts: 672 Rating:
|
Dear Hopling , this is just an idea and not tested but you can give it a try. At the write request blocks you use a free flag bit (trigger bit) on EN input and reset it withDONE or ERRORoutputs fromthat request block. I think you got what I mean From the var table you can set the trigger bit to check it out. Let me know your results. Best Regards. I forgot to mention that you will nee individual DONE and ERROR bits as well. |
Last edited by: TIBI68 at: 7/18/2014 12:44 PMGive us your feedback and show us your respect! |
|
This contribution was helpful to
1 thankful Users |
7/18/2014 1:40 PM | |
Joined: 12/1/2009 Last visit: 7/14/2025 Posts: 672 Rating:
|
Dear Hopling, I was very exitedso I check it out myself It works great for me as well! Thanks for your support! Best Regards. |
Give us your feedback and show us your respect! |
|
This contribution was helpful to
1 thankful Users |
Follow us on