Page 1 of 1
KUNBUS Scripter debugging problem
Posted: 24 Feb 2020, 16:29
by MaltarLED
I am having a problem when I try to download and debug a script for KUNBUS Gateway Serial RX. The USB Pi Bridge is connected to port COM3 on my laptop. The communication settings are as folowed:
- communication settings.png (19.99 KiB) Viewed 7853 times
When I try to start debugging I get the following message:
- communication settings.png (19.99 KiB) Viewed 7853 times
Re: KUNBUS Scripter debugging problem
Posted: 06 Mar 2020, 18:56
by dirk
Hi have a look at this tutorial -
GW Serial Example Setup. It is a link to our support knowledgebase.
- 1. Klick on this link
- 2020-03-06 18_59_15-Window.png (7.23 KiB) Viewed 7820 times
- 2. Email address
- 2020-03-06 18_59_49-Window.png (9.8 KiB) Viewed 7820 times
Re: KUNBUS Scripter debugging problem
Posted: 24 Mar 2020, 13:03
by Skleb
Hi Dirk,
I am trying to get the gateway running.
I followed instructions written in GW serial example setup but I don't see where is a download link for example script “ScriptExample_64Registers.pbs” .
Your help would be appreciated.
Kind regards,
Re: KUNBUS Scripter debugging problem
Posted: 25 Mar 2020, 08:17
by dirk
Hi Skleb, thanky you for your message, you are right the example script was accidentially removed.
I have attached it again and now it will work.
Re: KUNBUS Scripter debugging problem
Posted: 25 Mar 2020, 15:08
by Skleb
Hi Dirk,
thank you for updating the instructions.
I copied the script and connected Serial Gateway RX as on the picture in the instructions.
DR, FR and MD switches are all in "0" position. 24 V power supply is also connected.
When I press green button (start debugging), Kunbus-Script editor reports error- "Error receiving data from device. Please check the connection!"
I attached screenshots with COM settings and error report.
When I choose "start without downloading" I get the same "Error receiving data from device. Please check the connection!" error.
Please can you suggest what might be the problem?
Kind regards
Re: KUNBUS Scripter debugging problem
Posted: 31 Mar 2020, 12:06
by TECHSQUARE
Hi Skleb and Dirk,
Sorry to jump in to your conversation.
Have you tried to use the Modular Gateway Right instead of the Modular Gateway Left option?
We have tried the left option and encountered the same error that you had but when we tried with the right option then the error disappeared.
Please help let us know your feedback.
- left.jpg (546.47 KiB) Viewed 7558 times
- right.jpg (608.4 KiB) Viewed 7558 times
Re: KUNBUS Scripter debugging problem
Posted: 01 Apr 2020, 11:05
by dirk
Hi thank you for the good discussion. Here are some advices
- Please close and restart the Scripter application if you get this connection errors. The Scripter application may be a bit cumbersome. So the serial connection may not be closed and reopened properly.
- Check if the USB-PiBridge position equals to the picture. If so set the Setting "Modular Gateway Left".
- If the USB-PiBridge position not equals to the picture then use the option "Modular Gateway Right".
- USB-PiBridge
- USB-PiBridge.png (351.72 KiB) Viewed 7540 times