Operating State of the Sender and the Receiver
Operating State of the... |
Network Variables Behavior |
|
---|---|---|
Sender |
Receiver |
|
RUN |
RUN |
Network variables are exchanged between the sender and the receiver. |
STOP |
RUN |
The sender is no longer sending variables to the receiver. The network variables are not exchanged between sender and receivers. |
RUN |
STOP |
The receiver is not processing network variables from the sender. When the receiver returns to RUN state, the network variables are again processed by the receiver. |
STOP |
STOP |
No variables are exchanged. |
NOTE: Several communication initialization errors (NetVarError_INITCOMM) are detected, when you change the operating state of the sender from STOP to RUN.
Events in the Task that Manages NVL
If the following events occur in the task that manages NVL, the behavior expected for the NVL is the same as if the controller was in STOP state in the array above:
oan exception occurs in the application which suspends the task
oa breakpoint is hit or a single cycle is processed on the task