Comm32 Logo
Home Button  Buy Button 

Topic:   Implementation with WinCC Flexible crashes

By: GuestPosted on: Oct 26 2016 at 10:46:43 AM
Hi,

I have successfully implemented MSComm32 within WinCC and it works perfectly. However I require the Com Port Name for functionality and hence have tried SComm32. However the Runtime Simulation Crashes as soon as any I call any VB Script.

I am wondering if this is possibly due to the Copyright Notice that accompanies the trial version? I am not sure how or when it comes into affect? As soon as any property is called the system crashes.

I am running SIMATIC WinCC flexible 2008 SP3 on Windows 7 32bit.

Thank you for the assistance

By: GuestPosted on: Oct 26 2016 at 08:25:50 PM
As soon as the ocx is loaded into memory the application would setup the design time (ie default) properties. So even though you're not programmically setting any properties the code in the ocx runs through its init process as soon as it's referenced. Thats the time the copyright message would pop up.

Are you seeing any cooyright notice?

By: GuestPosted on: Apr 9 2017 at 01:57:05 PM
i have tried it with winncc rt professional tia v14 running on win 7 ultimate on siemens pc
same issue

regards

By: SammyPosted on: Apr 11 2017 at 07:57:43 AM
In your code, where you read the data from the serial port replace the .Input method with the .Read method.

Does that make any difference?

Reply - add a comment to this topic.

You may enter letters, numbers and standard punctuation only. HTML and other scripts/tags will be rejected.

Topic:- Implementation with WinCC Flexible crashes


Enter the numbers.

Your name here is optional