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

Modbus TCP App issue.

Modbus TCP App issue.

Open
Occasional Contributor

Hello Community,

I am new to Modbus TCP App,

I am using S20-ETH-BK and S20-DIDO-8/1,

I am testing ctrlX Modbus TCP App to write to digital output, but however the digital output LED indicator did not light up.

Below is my setup.

Open_1-1661738710126.png

Plug & play is disabled.

Designation "D" is flashing green - 

Open_2-1661738906063.png

ctrlX Modbus TCP App setup

2022-08-29_10h11_19.png

I am unsure if it is because my S20-DIDO-8/1 designation "D" is flashing green or my setup is incorrect. 

Hope someone can advise me.

Warmest regards,

 

 

 

 

5 REPLIES 5

CodeShepherd
Community Moderator
Community Moderator

Could you please have a look to this post for further information?

cc2go
Occasional Contributor

Hello,

we tested the Modbus TCP App with the S20-ETH-BK. What I can see in your screenshot and your module you made a mistake. With the S20-DIDO-8/1 you will need just one register for the Inputs and another for the Outputs.
The available registers you can find at the bus couplers webpage.

When you use FC4 with register 8000 , quantity 1 and for FC16 with register 9000 or 9001 (check the webpage of BK), quantity 1 it should work.

If it's not working, please send me a PN.

Open
Occasional Contributor

Hello cc2go,

Thank you for your reply, I see the mistake and have rectified.

I am able to read the S20-DIDO-8/1 digital input channels in the Modbus TCP app.

However my output channels i am not able to write the outputs.

Below is my setup:

Open_0-1668402503519.png

Open_1-1668402545294.png

What value should i enter to write to the output channels?

Warmest regards,

Open

cc2go
Occasional Contributor

Does the diagnosis of the S20-ETH-BK in the direct web browser view show something (bus coupler or local bus)?
What is the state of the the BK, like Plug & Play active)?

Is a process data watchdog configured?
We can take a look together, send a PN how I can contact you.

2022-11-14_09h34_37.png

Open
Occasional Contributor

Thank you cc2go, for your help!

My S20 Bus coupler plug & play mode is enabled therefore writing values to my output channels is not allowed. 

After disabling plug & play mode writing output channels is allowed.

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