cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

Modbus TCP App - Server Subscription Error - DL_INVALID_ADDRESS

Modbus TCP App - Server Subscription Error - DL_INVALID_ADDRESS

star_board
Established Member

Hello,

Iam using the Modbus TCP App to configure a Modbus Server. I've successfully set up the primary server parameters, such as the IP address, port, unit ID, etc. However, I encounter an issue when attempting to create a subscription.

I have tried to use both PLC DataLayer nodes, as well as system nodes on the field "Node Adress":star_board_1-1722498546580.png

star_board_2-1722498574984.png

I consistently receive the error message "DL_INVALID_ADDRESS" every time I attempt to save my configurations:

star_board_0-1722498489038.png

Thanks in advance 😉

 

 

 

6 REPLIES 6

Sudeep
Occasional Visitor

Hi,

The "start address" for holding register is wrong. 

Holding Register address range is from 3001 to 4000.

Input Register address range is from 4001 to 5000.

Can you please try using "start address" with the range specified above for holding register.

Also may I know which version of the app is being used.

star_board
Established Member

Thanks! It worked now! I also found it in the documentation of the app:

star_board_0-1722610372410.png

That means that I only have 999 available registers to use in the server app right? 
Another quick question. How can I delete a configured subscription? the Buttons appear blocked in my UI:

star_board_1-1722610448775.png

 

 

You're welcome!
Yes, you will have 999 holding register and 999 input register available to use in server app.

Can you please let me know which version of Modbus TCP app you are using? I can share bit more info on why the server subscription deletion is greyed out or blocked in your UI.

star_board
Established Member

I have tested this with version 2.6.3 and 2.6.1., and in both instances, the icon for deleting server subscriptions is greyed out within the App UI. Additionally, I attempted to remove the associated child node in the Data Layer, which resulted in the following error:

star_board_0-1723114701769.png

 

 

Thank you for your reply!
As of the versions which you've tested (2.6.1 and 2.6.3) "server subscription" deletion is not supported from web UI, even from datalayer it isn't supported.

Please let me know if you have any further questions.

star_board
Established Member

Thanks for the help! 😊

I successfully managed to delete subscriptions using the method described below. I'm sharing it here since it may be helpful to others:

1. Switch to Service mode and disable the app.
star_board_0-1723646265280.png

2. Access "Manages app data".
star_board_1-1723646304629.png

3. Change to file view.
star_board_2-1723646328336.png

4. Access modbustcp/server/instances and delete the relevant .json file.
star_board_3-1723646386702.png

 

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist