Você está na página 1de 4

Please go through with below details for log configuration (A) Log Template- Log Template is a re-usable template

e for building many similar logs. To create a new Log Template aspect, follow the steps below: 1. Expand the Library Structure. 2. Select the History Log Templates object and create a new object. 3. Select the History Log Template Library. Give the object a name and a description. Click Create. 4. Go to the new History Log Template Library object and select New Object from the context menu. 5. Select the History Log Template. Give the object a name and a description. Click Create. 6. Select the created object in the object area, and select Log Template in the aspect list. 7. Select Property Log in the Property log Template area and either click Add and get the New Log Template dialog box or open the context menu by right click on Property log and choose the log needs to be added, without getting the New Log Template dialog box. 8. In the pop-up dialog box New Log Template, select a source from the Data Source drop-down menu and click OK. In this example OPC is selected

9. Type a log name in the Log Name text field under the Log Definition tab.

The recommended way to write the log name is: Log_<Storage Interval>_<Storage Size>. If there are more logs with the same storage interval and storage size, add _<Aggregate> or _<Index number> at the end of the name.

10. Click Apply. Now you are ready with the basic Log template with data collection definition .You may add more Property Log based on data collection.
(B) Log Configuration- Log Configuration aspects are placed on the object that should be logged.

Note: - Before you proceed for Log Configuration at object level pls check History Source Aspect is defined at Control Network Level

In History source select Service Group defined in Basic Histrory service in Service structure. Inspecial confoiguration check available and supported Links. That will based on the product installed i.e IM (Information Management) ,MI(Multi System Integration) ,CPM etc. If you have not installed mentioned product and only running with basic histroy ,wont be able to see these link and its normal

Log configuration steps 1. Select, for example, the Control Structure. 2. Go down in the structure in the Object Tree, to select the object that you want to log. 3. Right-click in an empty part of the aspect list and select New Aspect from the context menu. 4. In the pop-up dialog box New Aspect, select the Aspect Category Log Configuration (Aspect System Structure > History Configuration > Log Configuration). 5. Give the aspect a name and a description and click Create. 6. Select the created aspect in the aspect list. 7. Make one of the following actions to create a Property Log: Select the object in the Logged Properties area and click Add Property. Select the object in the Logged Properties area and select Add Log from the context menu. Double-click a property in the Property column. 8. In the pop-up dialog box New Property Log, select the property which will be logged. In this example VALUE is selected. 9. Select a new data type in the Data Type drop-down menu if needed and Log Template from the Template drop-down menu. Click OK. Select Log Template created. 10. The Logged Properties area will look like 11. Under the Presentation tab you can override Engineering Unit, Normal Maximum, Normal Minimum, No of in Log Configuration Decimals or Display Mode from the object. 12. To implement the log click Apply. The log is created in the server and the sampling is started.

Você também pode gostar