Logger Configuration Example

The following scenario deals with the configuration of the IDX Logger service on an existing IDX OPC gateway.

 

images\IMG00148.jpg

 

In this case, logging services are required for five slots/tag values passing through the gateway. These tags are represented on the gateway by SLOT_1, SLOT_2, SLOT_3, SLOT_4 and SLOT_5. SLOT_1 and SLOT_2 are BIT values, SLOT_3 is a STRING value, SLOT_4 is a FLOAT value and SLOT_5 is an INTEGER value. Additional specifications include:

·      For historical/analysis purposes, SLOT_1, SLOT_2 and SLOT_5 must be logged at 1 second intervals in addition to all the slots being logged at the standard of 5 second intervals.

·      SLOT_1, 2 and 5 must be grouped in a single log file while all slots must also be grouped in a separate log file.

·      Log data files must be maintained for 30 days at 5 seconds and 15 days at 1 second. Log files must be created on a daily basis.

In order to achieve a solution, two IDX logger driver modules will be required. This is because for each logger DM, only one group can be assigned to each tag/slot action. In this case, three slots need to part of two groups, and therefore, two logger DMs must be configured.

Configuration

·      Configure the Service

·      Configure the DMs

·      Configure the Slots

·      Configure the Slot Actions

·      Start the service

·      Test the solution