HCBBS Forum (English)
Submit Chemical Projects / Find Solutions
Amplify Your Requirements on a Broader Chemical Platform *Engineering · Technology · Equipment · Solutions*
Submit Request

Seeking help with Tristation 1131 configuration

2010-10-24View Original

Thread Content

This post was last edited by oatobnus on 2010-10-25 00:50. I’m using version V4.2; in the program section there are two types of variable declarations: one is local and the other is tagname. What’s the difference between them? Tagnames are generally used for input and output, but why is “loca” used in some cases? I hope someone experienced can give some advice!
Reply #22010-10-24
Reply 1# ssln123: The L variable occupies memory space, while the T variable also takes up memory. In my opinion, as long as it’s not necessary to use the data for purposes such as screen display or communication, then the L variable can be used; for example, in cases of starting via SOE, manually stopping, or clearing variables within a program
Reply #32010-10-25
Just like variables in high-level languages, there are local and global ones. The former is local while the latter is global.
Reply #42010-10-26
LOCAL is a memory variable, also known as an intermediate variable; The TAGNAME, which is an I/O variable, comes from the field.
Reply #52010-10-26
Reply to 4# WXJ198354: But I see that some of those defined as TAGNAME are not of the I/O type; they are memory types
Reply #62010-10-26
One more question: The two TAGNAMEs I defined during configuration keep causing errors, and the reason is that the memory addresses are identical although the names are different – one is Input_1 and the other is PSL001_1. Why is this happening? I saw that in other cases the addresses are assigned automatically after the tags are defined, and I defined those two tags in the same order as well. I really don’t understand why this issue arises; I had no choice but to change the names of those TAGNAMEs
Reply #72010-10-27
Reply to 6# ssln123: In version 3, addresses can be reused, meaning that two variables can use the same memory address; this is not allowed in version 4. Typically, Tagname is used for physical addresses, but memory addresses can also be chosen first, while Local is only used for memory addresses.

Submit a Project

**Looking for Chemical Technology, Equipment & Solutions?** No Registration Required Broader Platform Exposure | Global Chemical Service Provider Connections

Submit Request — Free Consultation

Disclaimer

This is an automated machine translation of the original thread. Some technical terms may have inaccuracies; the original text shall prevail. Click "View Original" at the top right to access the source page, which supports IP-based automatic real-time language translation. Please watch out for contact details and sales inducements to prevent fraud. All content and translations are for reference only, representing solely the poster's personal views. For enquiries, email service@hcbbs.com.