(0)| 9/23/2024 10:22 PM | |
|
Joined: 10/18/2018 Last visit: 12/16/2025 Posts: 5 Rating:
|
Hello Denilson, How can I read the user from the HMI to the PLC? I tried using Scheduled Tasks but was unsuccessful. My code was: let tag1 = Tags("@UserName"); let tagValue1 = tag1.read(); let tag2 = Tags("Plc_Tag"); tag2.Write(tagValue1); ------------------------------------------------------------------------------------------ |
Last edited by: Moderator_Lan at: 09/24/2024 08:05:36New subject after splitting |
|
| 9/24/2024 4:56 AM | |
|
Joined: 1/21/2013 Last visit: 1/17/2026 Posts: 4405 Rating:
|
Hi Barcas, The @UserName system tag is a local tag of the current session. Therefore, it cannot be used within a scheduled task that runs in the global scope. Kind regards |
Last edited by: Stefan Arcularius at: 09/24/2024 08:17:03Quote removed |
|
| 9/24/2024 3:01 PM | |
|
Joined: 10/18/2018 Last visit: 12/16/2025 Posts: 5 Rating:
|
Hello, Thanks for your advice, I used a basic panel so the script in the "tooltip property" was useful for me. Best! |
Follow us on