RSView32 memory tag question

i_love_plc

Member
Join Date
Mar 2007
Location
windsor
Posts
4
How can I have an memory tag created in RSView to reference to a VB varable.

ie.
I create a vb varable call "totalminutes"
I also created a device tag call "pCount" referencing to the PLC say c5:0.acc

Now, how can I have the memory tag call "Rate" to have the value of pCount/totalminute.
 
Your VB app will need to periodically 'poke' the value of "totalminutes" to a tag in RSView. Use the derived tag editor to calculate "rate" as "pcount" divided by the 'poked' tag.
 
Use this syntax:

gTagDb.GetTag("pCount") = totalminutes

If you want to read from the 32 use it this way.

Dim i
i = gTagDb.GetTag("pCount")
 

Similar Topics

Hi guys, I'm working on a RSView32 project, some of the tags i'm using is memory tag & type is 'String'. These are like product name, I've a...
Replies
4
Views
5,222
Does anyone know of a way to transfer tags and their values from RSView32 to a USB memory stick, build a folder for these tags and timestamp it...
Replies
1
Views
2,134
How much memory that RSView32 software has? 70M? I confuse with the PC memory, which is at 512MB, 1GB, etc...
Replies
1
Views
1,964
I'm importing an RSView32 project into FTView SE. I'm using Legacy Tag Database Conversion on a virtual machine with Windows XP, I did the first...
Replies
0
Views
372
Hi everybody, I have a rsview32 application, when I try to run it it loads upto 80% system settings and the crashes saying Rsview32 Project...
Replies
3
Views
1,907
Back
Top Bottom