It is currently Thu Sep 09, 2010 6:07 am




Post new topic Reply to topic  [ 3 posts ] 
 On mouse click dbtag=opctag 
Author Message
Sergeant
Sergeant

Joined: Wed Dec 17, 2008 4:21 pm
Posts: 46
Post On mouse click dbtag=opctag
I would like to setup an expression a script on a mouse click that copies the data value from an OPC tag to a DB tag but I’m not sure the correct syntax.


Tue Jul 27, 2010 10:25 am
Profile
General
General

Joined: Sun Feb 25, 2007 2:54 pm
Posts: 375
Post Re: On mouse click dbtag=opctag
Code:
opcValue = system.tag.getTagValue("[]OPCTag")
system.tag.writeToTag("[]DBTag",opcValue)


Tue Jul 27, 2010 11:08 am
Profile WWW
Sergeant
Sergeant

Joined: Wed Dec 17, 2008 4:21 pm
Posts: 46
Post Re: On mouse click dbtag=opctag
Thanks Kyle


Wed Jul 28, 2010 9:50 am
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: