WW Intouch Math/Script

Duranthas

Lifetime Supporting Member
Join Date
Jul 2008
Location
Southeast Missouri
Posts
132
Hello, I'm trying to figure something out here and so far am having a bit of trouble at it. I have a SLC 5/04 that I'm reading integer values from but am now wanting to do some calculations with these numbers. I would like to add something simple like a button to click that will calculate a series of numbers. Now, my problem is that if I read the number and make a script that basically says when the PB is pressed to add a few numbers and place value in X, what can I use for X instead of an unused integer bit? If I'm reading the user guide correctly I can't change the value of a Memory tag, so is there a way around this?

Thanks
Duranthas
 
Of course you can write to a memory tag. Just make sure it's configured for Read Write instead of Read only.
 
You might also want to look into the data change scripts to make the calculation happen each time the integer value changes (ie, no button)
 
Thanks for the info guys. I'm honestly totally confused right now because I could have sworn that I had previously tried making a Memory Real tag but the Read and Read/Write button was grayed out and was stuck on Read. I must have gotten it mixed :oops: because now when I create one it's grayed, but it's stuck on Read/Write, which works for me. Anywho, thanks for correcting me because I started going off totally in the wrong direction.
 
That must have been it because I have viewer set as "impossible to close" so the red X in the top right is grayed out. Being in an industrial environment the mouse gets wonky with the coolant mist and all so the guys accidentally close it which then clears the alarm history.

Thanks for your time and knowledge :)
 

Similar Topics

Hi all. Customer wants analog faceplates really bad, even if we explained that it doesn't make much sense in his process. What he wants to see...
Replies
5
Views
127
Trying to export a Modern application for an upgrade to Intouch 2020 but I cannot export the application from the 2014 version because the export...
Replies
2
Views
108
Hi guys, I have experience with PLC to Excel etc...just starting on using intouch scada screens. I have an Excel sheet that uses mainly...
Replies
1
Views
146
Currently we have a fat( I think that is what it is called) Intouch application. An application resolution of 3840x1080, and inside that 2x...
Replies
0
Views
90
Hi guys We're in the process of creating a ME runtime to operate on a PC running windows using a InTouch INDT156 touchscreen, and we're having an...
Replies
3
Views
140
Back
Top Bottom