Create Aveva Historian FTLD configuration.
This commit is contained in:
103
extensions/aveva_historian/ftld_xlsx.yaml
Normal file
103
extensions/aveva_historian/ftld_xlsx.yaml
Normal file
@@ -0,0 +1,103 @@
|
||||
$schema: "\
|
||||
https://primegit.primecontrols-dev.com/j.lucas/AuDaGe/raw/branch/\
|
||||
main/src/AuDaGe/assets/schema.yaml
|
||||
"
|
||||
format: xlsx
|
||||
import:
|
||||
filter:
|
||||
columns:
|
||||
- name
|
||||
columns:
|
||||
Selected(x):
|
||||
const: x
|
||||
Name:
|
||||
type: str
|
||||
translate:
|
||||
columns: tagname
|
||||
ObjectType:
|
||||
const: PIPoint
|
||||
Description:
|
||||
type: str
|
||||
translate:
|
||||
columns: comment
|
||||
digitalset:
|
||||
const: ""
|
||||
displaydigits:
|
||||
const: 5
|
||||
engunits:
|
||||
const: ""
|
||||
exdesc:
|
||||
const: ""
|
||||
future:
|
||||
const: 0
|
||||
pointsource:
|
||||
const: FTLD
|
||||
pointtype:
|
||||
const: Float32
|
||||
ptclassname:
|
||||
const: classic
|
||||
sourcetag:
|
||||
const: ""
|
||||
archiving:
|
||||
const: 1
|
||||
compressing:
|
||||
const: 1
|
||||
compdev:
|
||||
const: 0.1
|
||||
compmax:
|
||||
const: 900
|
||||
compmin:
|
||||
const: 60
|
||||
compdevpercent:
|
||||
const: 0.1
|
||||
excdev:
|
||||
const: 0.1
|
||||
excmax:
|
||||
const: 900
|
||||
excmin:
|
||||
const: 60
|
||||
excdevpercent:
|
||||
const: 0.1
|
||||
scan:
|
||||
const: 1
|
||||
shutdown:
|
||||
const: 1
|
||||
span:
|
||||
const: 100
|
||||
step:
|
||||
const: 0
|
||||
typicalvalue:
|
||||
const: 50
|
||||
zero:
|
||||
const: 0
|
||||
instrumenttag:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
operation: radd
|
||||
arg: $ServerPath$
|
||||
location1:
|
||||
const: 1
|
||||
location2:
|
||||
const: 0
|
||||
location3:
|
||||
const: 1
|
||||
location4:
|
||||
const: 1
|
||||
location5:
|
||||
const: 0
|
||||
datasecurity:
|
||||
const: "piadmin: A(r,w) | FTHSupervisors: A(r,w) | PIWorld: A(r)"
|
||||
ptsecurity:
|
||||
const: "piadmin: A(r,w) | FTHEngineers: A(r,w) | PIWorld: A(r)"
|
||||
export:
|
||||
tagname:
|
||||
translate:
|
||||
columns: Name
|
||||
type:
|
||||
const: REAL
|
||||
address:
|
||||
const: ""
|
||||
comment:
|
||||
translate:
|
||||
columns: Description
|
||||
@@ -1,137 +0,0 @@
|
||||
$schema: "\
|
||||
https://primegit.primecontrols-dev.com/j.lucas/AuDaGe/raw/branch/\
|
||||
main/src/AuDaGe/assets/schema.yaml
|
||||
"
|
||||
format: csv
|
||||
import:
|
||||
filter:
|
||||
columns:
|
||||
- name
|
||||
- type
|
||||
- address
|
||||
columns:
|
||||
Tag Name:
|
||||
type: str
|
||||
translate:
|
||||
columns: name
|
||||
operations:
|
||||
# Replace any character that is not a letter, underscore, number, or
|
||||
# square bracket with an underscore.
|
||||
operation: replace
|
||||
pattern: '[^\w\d\[\]]'
|
||||
repl: _
|
||||
Address:
|
||||
type: float
|
||||
parse:
|
||||
# Add a leading zero to one-digit bit addresses, e.g. 400001.1 ->
|
||||
# 400001.01.
|
||||
operation: replace
|
||||
pattern: '\.(\d\"?,?)$'
|
||||
repl: '.0\1'
|
||||
translate:
|
||||
columns: address
|
||||
operations:
|
||||
operation: address_iec_to_modbus
|
||||
Data Type:
|
||||
type: str
|
||||
enum:
|
||||
- Boolean
|
||||
- Char
|
||||
- Byte
|
||||
- Short
|
||||
- Word
|
||||
- Long
|
||||
- DWord
|
||||
- LongLong
|
||||
- QWord
|
||||
- Float
|
||||
- Double
|
||||
- String
|
||||
translate:
|
||||
columns: type
|
||||
operations:
|
||||
operation: type_iec_to_opcua
|
||||
Respect Data Type:
|
||||
type: int
|
||||
enum:
|
||||
- 0
|
||||
- 1
|
||||
const: 1
|
||||
Client Access:
|
||||
type: str
|
||||
enum:
|
||||
- R
|
||||
- W
|
||||
- R/W
|
||||
const: R/W
|
||||
Scan Rate:
|
||||
type: int
|
||||
const: 1000
|
||||
Scaling:
|
||||
type: str
|
||||
enum:
|
||||
- ""
|
||||
- Linear
|
||||
- Square Root
|
||||
const: ""
|
||||
Raw Low:
|
||||
type: float
|
||||
const: nan
|
||||
Raw High:
|
||||
type: float
|
||||
const: nan
|
||||
Scaled Low:
|
||||
type: float
|
||||
const: nan
|
||||
Scaled High:
|
||||
type: float
|
||||
const: nan
|
||||
Scaled Data Type:
|
||||
type: str
|
||||
enum:
|
||||
- Boolean
|
||||
- Char
|
||||
- Byte
|
||||
- Short
|
||||
- Word
|
||||
- Long
|
||||
- DWord
|
||||
- LongLong
|
||||
- QWord
|
||||
- Float
|
||||
- Double
|
||||
- String
|
||||
const: ""
|
||||
Clamp Low:
|
||||
type: float
|
||||
const: nan
|
||||
Clamp High:
|
||||
type: float
|
||||
const: nan
|
||||
Eng Units:
|
||||
type: str
|
||||
const: ""
|
||||
Description:
|
||||
type: str
|
||||
translate:
|
||||
columns: comment
|
||||
Negate Value:
|
||||
type: str
|
||||
const: nan
|
||||
export:
|
||||
tagname:
|
||||
translate:
|
||||
columns: Tag Name
|
||||
type:
|
||||
translate:
|
||||
columns: Data Type
|
||||
operations:
|
||||
operation: type_opcua_to_iec
|
||||
address:
|
||||
translate:
|
||||
columns: Address
|
||||
operations:
|
||||
operation: address_modbus_to_iec
|
||||
comment:
|
||||
translate:
|
||||
columns: Description
|
||||
Reference in New Issue
Block a user