8/1/2022 10:51 AM | |
Joined: 5/13/2021 Last visit: 4/24/2024 Posts: 4 Rating: (0) |
Hello everyone, I have one problem with my project in WinCC Runtime, which is installed on PC Windows 10 IOT computer. After adding Microsoft Communications Control on screen in WinCC (mscomm32.ocx is installed ang registered on runtime computer and Wincc adv v17 computer) and configuring settings, which include: nr Commport, Input variable, PortOpen and Settings i can not read data from my external device - Mifare card reader. I confgured this settings only in properties in this control - not in code. I have the same serial port settings on runtime application and COM port on Windows. I activated ActiveX settings in internet options and I use VBscript code describing in this faq about serial interface with runtime. After line: Set objMSComm1 = HMIRuntime.Screens("Main").ScreenItems("MSComm1") my code is not executing after click on assigned button. My actual code is in Code_COM_Comm .txt file. Thank you in advance for your help. AttachmentCode_COM_Comm.txt (416 Downloads) |
Last edited by: Sizamonit at: 08/01/2022 10:58:05Last edited by: Jen_Moderator at: 08/01/2022 13:28:46Link optimized. Last edited by: Sizamonit at: 08/01/2022 14:06:56 |
|
8/1/2022 10:52 AM | |
Joined: 5/13/2021 Last visit: 4/24/2024 Posts: 4 Rating: (0) |
And there i have screen from MSComm control in WinCC. |
Follow us on