Applies to:
PcVue all versions. |
||
|
||
Summary:
This article explains how to activate a log in the Event Viewer of the Supervisor to check the number of Write commands that are executed by the application. |
||
|
||
Details:
It is important to optimise the Write commands performed by the application, otherwise this may cause problems with: Communication performance, when the Write commands take time to reach the PLCs. Saturation, when a List Full message appears in the Event Viewer. The Supervisor is made up of several managers that exchange data using internal messages. Those messages are stored in a list before treatment. The communication with PLCs is managed by CIMWAY; its manager number is 4. The real time data base is handled by VAR; its manager number is 5. Solution for equipement variables To check the number of Write commands sent to equipment, create a program as follows: SUB MAIN () Example This is an example of a log for an equipment variable : 09/06/00,17:42:48,5,T,,0, ,9,24 # WriteVar TEST.COMMUNICATION.BIT Solution for any variables To check the number of Write commands on any kind of variable, create a program as follows: SUB MAIN () Example This is an example of a log for an internal variable: 09/06/00,17:43:02,5,T,,0,,9,24 # WriteVar TEST.INTERNAL.BIT |
||
|
||
|
Created on: 13 Apr 2015 Last update: 13 May 2024