Kkula
Greetings, Siemens Community.
I'd like to do the following, but I'm not sure it's possible.
I'd like to write a function that verifies a few parameters before updating a
Tag
's value to the desired
value
.
Below is some code that is similar to what i want to do. What code should I use to accomplish this? Is there another option?
Sincerely,
Trocken
export function CheckPrijava_bool(Tag, Value) {
let loginVal = Tags("DB_SPICA_HMI_st_curr_User_HMI").Read();
if (loginVal > 0) {
let
temp
= Tag.Name();
Tags("
temp
").Write(Value);
return;
}
Our flexible community website is a platform that allows users to connect, share information, and collaborate on various topics of interest. The website offers a range of features such as discussion forums, messaging, user profiles, event calendars, and more. Users can customize their experience by creating and joining different groups or communities based on their interests or location. The website is designed to be user-friendly and adaptable to the needs and preferences of our diverse user base. Whether you are looking to network professionally, share hobbies and interests, or simply connect with like-minded individuals, our flexible community website has something for everyone. Join us today and become a part of our thriving online community!
India
Copyright ©2025
Share this page with your family and friends.