Declare some variables in VBS - WinCC 7.2

allexkym

Member
Join Date
Oct 2013
Location
Belo Horizonte
Posts
11
In my WinCC Runtime program, I have to declare these variables:

Dim AllProperties As HMIProperties
Dim objProperty As HMIProperty
Dim objDynamic As HMIVariableTrigger

How can I declare them in VBS? I tried this:

Dim AllProperties

Set AllProperties = CreateObject("grafexe.HMIProperties")
'grafexe is the library of HMIProperties

And this:

Set AllProperties = CreateObject("HMIProperties")

But they didn't work.

Does anybody have any idea to do it?

Thanks,

Alex Dias de Oliveira
 

Similar Topics

I'm new in PLC programming. I have a small project which have 12 temperature sensor. How I should declare the variable for this 12 sensor. I...
Replies
4
Views
2,450
I'm new in PLC programming. I have a small project which have 15 temperature sensor. How I should declare the variable for this 15 sensor. I...
Replies
3
Views
1,918
Hello Folks: I'm trying to create a function that takes an DINT to dynamically set the range to a random number generator. Below is the code, I...
Replies
7
Views
1,873
Hi all, Anyone knows how to declare a one second pulse in the Rslogix 5000? Is there any command for this function? It does not same like GE or...
Replies
34
Views
86,582
How to declare PIW PQW in WinCC (Analog Values)with simatic manager.... Any Examples Appreciated ..........
Replies
14
Views
7,773
Back
Top Bottom