(0)| 9/15/2016 10:13 AM | |
|
Posts: 5225 Rating:
|
..to add - how about the terminating resistors? |
| 9/15/2016 1:19 PM | |
|
Posts: 24 Rating:
|
Hi All, Please find the attached file of my program with the VFD's, in my case i am "Reading- 4 Data's"(Voltage-416120, Dint, Length-2 ; Frequency-416130, Dint, Length-2 ; Current-416140, Uint, Length-1 ; Kw-416100, Dint, Length-2). "Writing- 2 Data's"(Control Word-450000, Uint, Length-2 ; Speed Reference-450010, Uint, Length-1). I am used individual "MB_MASTER" instruction for each registers, and it has been executed one after the other, by "Done" or "Error" bits of each registers instructions. Baudrate : 19200, Parity : 0, Stop Bit : 1. Regards, Santhosh.HS AttachmentVFD Comm Data.pdf (1210 Downloads) |
This contribution was helpful to
|
|
| 11/3/2020 7:22 PM | |
|
Joined: 2/22/2016 Last visit: 4/15/2025 Posts: 142 Rating:
|
Hi Santosh Thank you for your recommendation Korro. As Enof and Ganesh are writing modbus-rtu isn't the fastest protocol, however I do have some trick up my sleeve.
The blocks in the attachment is well tested, and I promise it will work on first try. Since electrical signal travel with the speed of light, cable length will not affect cycle time of the bus. 25m of cable at 19200 bps, you don't need terminating resistors, however they wound't hurt. What is the cycle time of your PLC? You may speed up bus by using a cyclic interrupt instead of program cycle organization block. Please ask if you have further questions. Kind regards Attachmentdanfoss.zip (811 Downloads) |
|
I don't check personal messages frequently, please send an email to modbuslibrary@sn7.no |
|
Follow us on