輸入文件:位號部分
位號部分包含了用于采集的位號。位號部分位于輸入文件的抬頭部分與分隔符(至少包含五個等號的行)之后。
采集位號每行列一個。為了讓采集過程能夠啟動,應(yīng)至少包含一個采集位號。
在運行采集過程時,系統(tǒng)將根據(jù)指定的采樣周期按照指定位號采集。
位號格式
你必須使用以下其中一種格式鍵入位號名。
使用Cim-IO
"device":unit:"tag name":source: format code
其中:
“device”:Cim-IO設(shè)備名(可選的)。
:unit:Cim-IO單元號(可選的)。
"tag name":位號名(必需的)。
:source:來源類型(必需的)。
format code:是一串兩個字符格式的代碼。
如上文所述,在條目前后你必須添加雙引號("")或冒號(::)。
你可以讓“device”,:unit:或format code空白。輸入文件參數(shù)CIMIOINFO將為device,unit,和(或)format code指定默認值。對device,鍵入兩個雙引號(如“”)。對unit,鍵入兩個冒號(如::)。對format code,在:source:的第二個冒號后不鍵入任何東西。
?例1:
"IOCM50S":1:"PlusMain.NSAMP": DBVL:UT
在上述例子中,Device=IOCM50S, Unit=1, Tag name=PlusMain.NSAMP, Source type=DBVL, Format code= UT (大寫修正).
?例2:
""::"PlusMain.PRDSWC":ORD:
在上述例子中,Device=CIMIOINFO指定的缺省值,Unit=CIMIOINFO指定的缺省值,Tag name = PlusMain.PRDSWC,Source type = ORD,F(xiàn)ormat code = CIMIOINFO指定的缺省值。
使用Cim-IO或其它數(shù)據(jù)庫
方法1
"tag name":source
其中:
"tag name":是位號名(必需的)。
:source:來源類型(必需的)。
如上文所述,在條目前后你必須添加雙引號("")或冒號(::)。
輸入文件參數(shù)CIMIOINFO將為device,unit,和(或)format code指定默認值。?例:
"MV1MESI":DBVL
在上述例子中,Tag name=MV1MESI, Source type=DBVL。
方法2
source tag name
其中:
source為來源類型(必需的)。
tag name為位號名(必需的)。
你必須在source和tag name之間留下一個空格。
輸入文件參數(shù)CIMIOINFO將為device,unit,和(或)format code指定默認值。
方法3
tag name
其中:
tag name是位號名(必需的)。
如果您使用此方法,來源將自動假定為DBVL。當位號名來源類型不是DBVL時,請不要使用此方法。
輸入文件參數(shù)CIMIOINFO將為device,unit,和(或)format code指定默認值。
附原文:
Input file: Tag section
The Tag section contains the tags for collection. The Tag section comes after the Header section and the delimiter (a line of at least five equal signs in a row) in the Input file.
Collection tags are listed one per line. There must be at least one collection tag in order for collection to begin.
When you run the collection process, data will be collected for the indicated tags based on the specified sample period.
Tag formatting
You must use one of the following formats for typing a tag name.
**Cim-IO in use **
"device":unit:"tag name":source:format code
where:
"device"is a Cim-IO device name (optional).
:unit: is a Cim-IO unit number (optional).
"tag name"is a tag name (mandatory).
:source:is a source type (mandatory).
format code is a two-character format code.
You must include the double-quote mark (") or the colon (:) before and after the items, as indicated above.
You can leave "device", :unit:, or format code blank. The default device, unit, and/or format code, specified by the Input file parameter CIMIOINFO, will be used. For the device, type two double-quotes together (example ""). For the unit, type two colons together (example ::). For the format code, simply do not type anything after the second colon of :source:.
?Example 1:
"IOCM50S":1:"PlusMain.NSAMP": DBVL:UT
In the above example, Device=IOCM50S, Unit=1, Tag name=PlusMain.NSAMP, Source type=DBVL, and Format code= UT (Uppercase Trim).
?Example 2:
""::"PlusMain.PRDSWC":ORD:
In the above example, Device=default specified by CIMIOINFO, Unit= default specified by CIMIOINFO, Tag name=PlusMain.PRDSWC, Source type=ORD, and Format code= default specified by CIMIOINFO.
Cim-IO or any other database in use
Method 1
"tag name":source
where:
"tag name" is a tag name (mandatory).
:source is a source type (mandatory).
You must include the double-quote mark (") or the colon (:) before and after the items, as indicated above.
The default device name, unit number, and format code (as specified by CIMIOINFO) are used.
?Example:
"MV1MESI":DBVL
In the above example, Tag name=MV1MESI, and Source type=DBVL.
Method 2
source tag name
where:
source is a source type (mandatory).
tag name is a tag name (mandatory).
You must include a space between the source and tag name.
The default device name, unit number, and format code (as specified by CIMIOINFO) are used.
Method 3
tag name
where:
tag nameis a tag name (mandatory).
If you use this method, the source is automatically assumed to be DBVL. Do not use this method if the tag name's source type is anything other than DBVL.
The default device name, unit number, and format code (as specified by CIMIOINFO) are used.
2015/11/20