Skip to main content
1-Visitor
May 12, 2020
Solved

KepWare - Write Tag Value if no connectivity

  • May 12, 2020
  • 2 replies
  • 3527 views

 Hello, We're currently using KepServer for all of our machine and database communication, paired mostly with Mitsubishi Q series PLC.

 

I'm more familiar with the Kepware functionality than I am with the PLC ladder logic.

Is it possible for me to continuously write a tag to an M bit on a machine from Kepware, and in the instance that say the server running Kepware is restarted, that tag value would return false? I think it may be more on the PLC logic side, but I was wondering if it'd be possible to use a linked tag that's always on, and link it to an M bit, turning that M bit on, and have the plc logic to try and turn it off. Is there a better method to achieve what I'm thinking in my head?

Best answer by KCorrigan

Hello A,

 

It sounds like you want to link a value based on the Device's connectivity status. If this is the case, you could use the AdvancedTags plug in to link on a trigger. Bad quality of a tag could be the link trigger or a Boolean true, for example. The built in System_Error tag would be another great tag to use as a trigger.

 

Please take a look at the following articles:

 

Tag linking options

https://www.ptc.com/en/support/article/CS291927

 

System _Error tag

https://www.ptc.com/en/support/article/CS294815

 

BRgds,

KC

2 replies

KCorrigan14-AlexandriteAnswer
14-Alexandrite
May 18, 2020

Hello A,

 

It sounds like you want to link a value based on the Device's connectivity status. If this is the case, you could use the AdvancedTags plug in to link on a trigger. Bad quality of a tag could be the link trigger or a Boolean true, for example. The built in System_Error tag would be another great tag to use as a trigger.

 

Please take a look at the following articles:

 

Tag linking options

https://www.ptc.com/en/support/article/CS291927

 

System _Error tag

https://www.ptc.com/en/support/article/CS294815

 

BRgds,

KC

Community Manager
June 2, 2020

Hi @aarongdl.

 

If the response from KCorrigan answered your question, please mark it as the Accepted Solution for the benefit of others on the community.

 

Regards.

 

--Sharon

Community Manager
June 10, 2020

Hi @aarongdl.

 

I have marked the Accepted Solution for the benefit of others in the community.  If you disagree that it was helpful for solving your issue, please let me know.

 

Thank you for your participation in our community!

 

Regards.

 

--Sharon