2/20/2025 9:32 PM | |
Joined: 4/26/2022 Last visit: 3/4/2025 Posts: 3 Rating:
|
Hi, I have figured out how use the JavaScript to read a value from the PLC and display it in the IO field and how to do a unit conversion if the operator decides to switch units. However, I am having a hard time figuring out to script the value that the operator has entered into and IO field and do a unit conversion and writing it back to a tag ultimately sending it back to a DB address. Does anybody have an example of this or something similar? To be honest I am not even able to just get the value back to the to the PLC from the IO field with a script. I know it can be done by just putting the tag in the process value field but then I am not able to do any conversion with it. ------------------------------------------------------------------------------------------ |
Last edited by: Moderator_Lan at: 02/21/2025 07:11:39New subject after splitting |
|
Follow us on