Tag section and Input file samplesビット番号部分と入力ファイルサンプル(1)

4897 ワード

入力ファイル:ビット番号部分のビット番号部分には、取得に使用するビット番号が含まれています.ビット番号部分は、入力ファイルの先頭部分と区切り記号(少なくとも5つの等号の行を含む)の後にあります.採集ビット番号は列ごとに1つずつです.採集プロセスを開始させるためには、少なくとも1つの採集ビット番号を含む必要があります.採集プロセスを実行すると、指定したサンプリングサイクルに従って指定したビット番号で採集されます.
ビット番号フォーマットでは、次のいずれかのフォーマットを使用してビット番号を入力する必要があります.Cim-IOの使用
 "device":unit:"tag name":source: format code

ここで、「デバイス」:Cim-IOデバイス名(オプション).unit:Cim-IOユニット番号(オプション).「tag name」:ビット番号(必須).source:ソースタイプ(必須).format code:2文字フォーマットのコードの列です.前述したように、エントリの前後に二重引用符(")またはコロン(:)を追加する必要があります.「デバイス」を使用できます.,:unit:またはformat code空白.ファイルパラメータCIMIOINFOを入力すると、device、unit、および(または)format codeのデフォルト値が指定されます.deviceの場合は、「」などの二重引用符が2つ入力されます.unitの場合は、次のように2つのコロンが入力されます.format codeには、:source:の2番目のコロンの後に何も入力しません.•例1:
"IOCM50S":1:"PlusMain.NSAMP": DBVL:UT

上記の例では、Device=IOCM 50 S、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、Format code=CIMIOINFOで指定したデフォルト値.Cim-IOまたはその他のデータベースメソッド1の使用
"tag name":source

ここで、「tag name」は、ビット番号(必須)です.:source:ソース・タイプ(必須).前述したように、エントリの前後に二重引用符(「」)またはコロン(:)を追加する必要があります.入力ファイル・パラメータCIMIOINFOは、device、unit、および(または)format codeのデフォルト値を指定します.•例:「MV 1 MESI」:DBVL上記の例では、Tag name=MV 1 MESI、Source type=DBVLである.方法2
source tag name

ここで、sourceはソースタイプ(必須)です.tag nameはビット番号(必須)です.sourceとtag nameの間にスペースを残す必要があります.ファイルパラメータCIMIOINFOを入力すると、device、unit、および(または)format codeのデフォルト値が指定されます.方法3
tag name

ここで、tag nameはビット番号(必須)です.このメソッドを使用すると、ソースは自動的にDBVLと仮定されます.ビット番号ソースタイプがDBVLでない場合は、このメソッドを使用しないでください.入力ファイルパラメータ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