3.5.3.1            OPC TOOL INI file of Conversion Rules

The Convert Tagname will convert OPC Item and Data Point names into WebAccess Tag names using conversion rules.  The Convert Tagname will use the Item Name appended to Data Point Name plus the conversion rules in the OPCTol.ini file.

Users can modify this file to create new Name Conversion Rules.

The OPCTol.ini is located on the Project Node, typically at C:\WebAccess\Node\OPCTol.ini

A sample of the Version 3.0 OPC Tool INI file for the Barrington OPC Server is listed below.

Each section must be preceded by the official OPC Name in square brackets []. For example the Barrington OPC Server is named BarSys.OPCServer.  The Section describing conversion rules for the Barrington OPC Server are in a section labeled [BarSys.OPCServer]

The rules are simple.  Text String OPC = Text String in Tagname.  For example, Digital Output.Channel=DO means convert the string "Digital Output.Channel" into a tag name with DO.

It may take an experimental or test database where you import OPC Items and DataPoints unchanged, then create rules to automatically shorten them.

 

[TAGNAME_TYPE]

//0: Leaf as TagName

//1: Custom Conversion

//2: Sequential

//3: TagName same as ItemID

BarSys.OPCServer=1

Matrikon.OPC.Simulation=1

ThinknDo.TnDOPC.1=0

RW.FASERVER.3=2

KEPware.KEPServerEx.V4=2

Cimetrics.BACnetOPCserver=1

 

[BarSys.OPCServer]

Digital Output.Channel=DO

Digital Input.Channel=DI

Analog Input=AI

Analog Output=AO

Channel=Ch

Communication=Comm

Extend_Service.Extend_Flag=ExHours

Flag_Schedule.Schedule=Z

Flag_Status.Flag=Occupancy

Sub_Schedule=SubSch

Start_Date=StrtD

Start_Time=Start

Stop_Date=StopD

Stop_Time=Stop

Holiday_Flag=HFlag

MF_Weekday_Flag=MF_WkFlag

Schdule_Serial=Sch_Serial

Schedule_Name=Sch_Name

Weekday_Flag=Wk_Flag

Monday_Friday=Mon_Fri

Weekday.Monday=Mon

Weekday.Tuesday=Tue

Weekday.Wednesday=Wed

Weekday.Thursday=Thu

Weekday.Friday=Fri

Weekday.Saturday=Sat

Weekday.Sunday=Sun