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

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

Set all tag values to 0 before disconnecting the device

SZ_11156868
10-Marble

Set all tag values to 0 before disconnecting the device

Hello,

I am working with an Omron NJ101 PLC. I have a problem where, when the device is disconnected, the tags freeze with the last known value. I want all tag values to be set to zero when the device is disconnected from KEPServer, and restored when the device reconnects.

 

Does anyone know how to achieve this?

ACCEPTED SOLUTION

Accepted Solutions
AKshara
14-Alexandrite
(To:SZ_11156868)

We appreciate the additional updates. As mentioned earlier, the requested feature is not natively supported. However, I highly recommend opening a support ticket with us so we can explore possible workarounds or identify a suitable alternative solution.

 

-Thank You

View solution in original post

4 REPLIES 4
AKshara
14-Alexandrite
(To:SZ_11156868)

The requested feature is not natively supported. However, if you could share the reason or use case behind wanting to camouflage the values, we may be able to suggest an alternative approach.
Additionally, could you please let us know which Kepware driver you are currently using?

 

-Thank You

Hi,

I am using the Omron driver. I collected data from an Omron NJ101-9000 PLC.
My system setup is:
PLC (Omron) → KEPServerEX (Omron driver → Data Logger) → ODBC Data Sources (32-bit) → MySQL Server

When I disconnect the device from KEPServerEX, I get data that looks like this:

SZ_11156868_1-1744178403567.png

The red color indicates the time when the device was disconnected. You can see that the data is 'frozen'.
I want the data to be set to zero when the device is disconnected.

AKshara
14-Alexandrite
(To:SZ_11156868)

We appreciate the additional updates. As mentioned earlier, the requested feature is not natively supported. However, I highly recommend opening a support ticket with us so we can explore possible workarounds or identify a suitable alternative solution.

 

-Thank You

Now I’ve found a solution for MySQL Server: every 10 seconds, filtered records from one table (excluding those with quality = 0) are moved to another table. I have a 10-second delay, but the solution is now working.

Announcements


Top Tags