Files
AuDaGe/extensions/kepserver/strings/caption_csv.yaml
2026-10-29 09:09:03 -05:00

135 lines
2.4 KiB
YAML

$schema: ../../../src/AuDage/extensions/assets/schema.yaml
format:
name: csv
export:
index: false
import:
filter:
columns: tagname
operations:
operation: match
pattern: 'almPLCFault\.ALRM$'
columns:
Tag Name:
type: str
translate:
columns: tagname
operations:
# Replace with an underscore any character that is not a letter,
# underscore, number, period, or square bracket.
- operation: replace
pattern: '[^\w\d\.\[\]]'
repl: _
- operation: replace
pattern: 'almPLCFault\.ALRM'
repl: ""
- operation: add
arg: $extension$
Address:
type: str
translate:
columns: name
operations:
- operation: format
arg: 04d
- operation: radd
arg: S
Data Type:
type: str
enum:
- Boolean
- Char
- Byte
- Short
- Word
- Long
- DWord
- LongLong
- QWord
- Float
- Double
- String
const: String
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: 100000
Scaling:
type: str
enum:
- ""
- Linear
- Square Root
const: ""
Raw Low:
type: float
const: ""
Raw High:
type: float
const: ""
Scaled Low:
type: float
const: ""
Scaled High:
type: float
const: ""
Scaled Data Type:
type: str
enum:
- Boolean
- Char
- Byte
- Short
- Word
- Long
- DWord
- LongLong
- QWord
- Float
- Double
- String
const: ""
Clamp Low:
type: float
const: ""
Clamp High:
type: float
const: ""
Eng Units:
type: str
const: ""
Description:
type: str
translate:
columns: comment
Negate Value:
type: str
const: ""
export:
tagname:
translate:
columns: Tag Name
type:
translate:
columns: Data Type
operations:
operation: type_opcua_to_iec
address:
translate:
columns: Address
comment:
translate:
columns: Description