When in Command Processing by an action 'Timeout can be canceled' is activated then the NET_SEL status bit stays set for additional Timeout after action execution is completed.

When in Command Processing by an action 'Timeout can be canceled' is activated then the NET_SEL status bit stays set for additional Timeout after action execution is completed.

Summary

Status bit NET_SEL ("selected in zenon Network") of response variable (RV) stays set for Timeout after command screen was automatically closed when 'Watchdog timeout' is elapsed, but action was not completed in the PLC,
additional conditions:

  • CO variable properties: 'Select before operate' is active and 'Cancel of Operate' is not active;
  • command action property 'Cancel of Timeout' is active.
This is reproducible with any 'Watchdog timer', also "none": when Timeout by execution is elapsed, e.g. because PLC delays COT_actterm(10) response. Then the command screen closes correctly but RV variable has NET_SEL for additional period of 'Timeout'. When CO variable has activated 'Cancel of Operate' in this additional Timeout the command processing sends the Cancel requests (to cancel running Operate) and waits on PLC reaction. To send Cancel is correct, but to wait - rather not, as in similar situation - when the user cancels operate (using button) - then the Cancel_req is sent but the action ends immediately.

Description

Status bit NET_SEL ("selected in zenon Network") of response variable (RV) stays set for Timeout after command screen was automatically closed when 'Watchdog timeout' is elapsed, but action was not completed in the PLC,
additional conditions:
  • CO variable properties: 'Select before operate' is active and 'Cancel of Operate' is not active;
  • command action property 'Cancel of Timeout' is active.
This is reproducible with any 'Watchdog timer', also "none": when Timeout by execution is elapsed, e.g. because PLC delays COT_actterm(10) response. Then the command screen closes correctly but RV variable has NET_SEL for additional period of 'Timeout'. When CO variable has activated 'Cancel of Operate' in this additional Timeout the command processing sends the Cancel requests (to cancel running Operate) and waits on PLC reaction. To send Cancel is correct, but to wait - rather not, as in similar situation - when the user cancels operate (using button) - then the Cancel_req is sent but the action ends immediately.

Solution

Now only in case that a Cancel of Select was sent, the action wait for the response from PLC - until the specified 'Timeout'. The NET_SEL is kept as long as action is waiting on deactivation acknowledge. In case of 'Cancel Operate' the action does not wait for the response (only the responsible driver does).

Issue Number: 33403
Fixed on Date: 3.2.2015
Versions: 7.50 0 BUILD 25796