cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Kepware Advanced Derived Tags - Logic Expression with String Output

joetenny
12-Amethyst

Kepware Advanced Derived Tags - Logic Expression with String Output

I am looking to evaluate multiple tags in my Advanced Derived Tag with a String output.  I would like the output to be the following machine states: "Running" or "Idle" or "Down".  Is this possible?

ACCEPTED SOLUTION

Accepted Solutions
joetenny
12-Amethyst
(To:joetenny)

Working with PTC, here is what they helped me figure out:

 

To get Machine State it required 3 sets of advanced tags:
1. 3 derived tags to identify the state as a Boolean (Running, Idle and Down)
2. 3 derived tags that hold the strings for the states (String tags with values: "Running", "Idle" and "Down")
3. 3 link tags to link the state string to the MachineState tag based on actual state

 

Here is an image of the LinkRunning tag for reference.

joetenny_0-1733419059621.png

 

View solution in original post

3 REPLIES 3
MKhatri
14-Alexandrite
(To:joetenny)

Hello,

 

Regards,
Mohit

joetenny
12-Amethyst
(To:MKhatri)

Thanks Mohit.  I have opened a case on the PTC Support page: Case # 17590680

 

Thanks,

Joe

joetenny
12-Amethyst
(To:joetenny)

Working with PTC, here is what they helped me figure out:

 

To get Machine State it required 3 sets of advanced tags:
1. 3 derived tags to identify the state as a Boolean (Running, Idle and Down)
2. 3 derived tags that hold the strings for the states (String tags with values: "Running", "Idle" and "Down")
3. 3 link tags to link the state string to the MachineState tag based on actual state

 

Here is an image of the LinkRunning tag for reference.

joetenny_0-1733419059621.png

 

Announcements


Top Tags