Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important information on the platform change.

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

Trying to access WebServer of the Core with Webvisu in a WR21

Trying to access WebServer of the Core with Webvisu in a WR21

ericvergara
Occasional Contributor

Hello,

A customer is trying to access to the WebServer of the Core through Codesys WebVisu using the object “Web Browser”:

 

ericvergara_0-1682511725945.png

 

In this object we just type the string of the URL which is the IP of the Core and a Boolean variable that enables the web visualization,

The customer wants to have an Isotropic scaling configuration as it would build some machines with different HMI screens so the content needs to adapt depending on the hardware,

Furthermore the option from below needs to be activated as they have screens with animations:

ericvergara_1-1682511725949.png

ericvergara_2-1682511725951.png

I attach a video of the outcome but it seems that when I enable the URL and when I am trying to use the keyboard of the Android of the WR21 I lose the connection and I cannot recover it,

2023-04-26_14h30_54.gif

If I change the scaling to “fixed” it works but the customer wants to use the automatic scaling and also if I deactivate the “Support client animations” works but then the animations of the screen do not work anymore,

Is there a way to solve this?

Many thanks,

7 REPLIES 7

CDSAddons
Established Member

Dear ericvergara

Which Codesys IDE and Visu add on version are you using in the project?
- have you already tested the project under the latest versions, especially the current visu add on version?

Does the problem also exist when you try to open webvisu with the project and open the visu-webbroserelement with the desired url?
- If so, please share the example as a project archive with all the libraries it contains and the versions used.

With kind regards - Codesys Support

 

ericvergara
Occasional Contributor

Hello CDSAddons,

I am using Codesys 3.5.19.0 and Codesys WebVisu AddOn 4.3, the last version of the ctrlX PLC Engineering is 1.20

 

ericvergara_0-1683616201057.png

 

This only happened to me in the Android tablet, 

Every time that the Android Keyboard slides in I guess that the content is scaled and that is the reason why I lose the web browser,

The project archive has a size of 70 MB so I cannot post it here, if you provide me an email adress I can send it to you,

Many thanks,

Please provide the archive to >LinkClosed<

With kind regards - Codesys Support

ericvergara
Occasional Contributor

Hello,

Already uploaded,

Thanks,

The ip address you are calling, is this connection stable when you open the webvisu via a different device or browser?

ericvergara
Occasional Contributor

Yes it is,

In fact if I open the Webvisu in my PC it works ok,

As I was saying I think this only happens in Android Devices, when the keyboard slides in the content is scaled and then I lose the conexion,

Codesys has fixed such a bug in the Visu Add-on version 4.4.0.0. ("Keyboard goes away quickly")
Jira VIS-1882 - WebVisu Smartphone: When "support client animation" is activated, the smartphone keyboard is only displayed for a few seconds

Basically concludes:
Whether the URL works in the browser element depends on the page, whether it can be displayed in an iFrame.

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