Create FactoryTalk HMI Tags string tag config.
This commit is contained in:
108
extensions/factorytalk/hmi_tags/string.yaml
Normal file
108
extensions/factorytalk/hmi_tags/string.yaml
Normal file
@@ -0,0 +1,108 @@
|
|||||||
|
$schema: >-
|
||||||
|
https://primegit.primecontrols-dev.com/j.lucas/AuDaGe/raw/branch/main/extensions/schema.yaml
|
||||||
|
format: csv
|
||||||
|
import:
|
||||||
|
filter:
|
||||||
|
columns: tagname
|
||||||
|
operations:
|
||||||
|
- operation: match
|
||||||
|
pattern: '\.(VALU|InputAlarm|MN|ZH)$'
|
||||||
|
columns:
|
||||||
|
;Tag Type:
|
||||||
|
const: S
|
||||||
|
Tag Name:
|
||||||
|
translate:
|
||||||
|
columns: tagname
|
||||||
|
operations:
|
||||||
|
- operation: replace
|
||||||
|
pattern: '(.*?)\.VALU$'
|
||||||
|
repl: 'Strings_AI.\1.$tag$'
|
||||||
|
- operation: replace
|
||||||
|
pattern: '(.*?)\.InputAlarm$'
|
||||||
|
repl: 'Strings_DI.\1.$tag$'
|
||||||
|
- operation: replace
|
||||||
|
pattern: '(.*?)\.MN$'
|
||||||
|
repl: 'Strings_MTR.\1.$tag$'
|
||||||
|
- operation: replace
|
||||||
|
pattern: '(.*?)\.ZH$'
|
||||||
|
repl: 'Strings_Valve.\1.$tag$'
|
||||||
|
- operation: replace
|
||||||
|
pattern: '\.'
|
||||||
|
repl: '\\'
|
||||||
|
Tag Description:
|
||||||
|
translate:
|
||||||
|
columns: comment
|
||||||
|
Read Only:
|
||||||
|
const: F
|
||||||
|
Data Source:
|
||||||
|
const: M
|
||||||
|
Security Code:
|
||||||
|
const: "*"
|
||||||
|
Alarmed:
|
||||||
|
const: F
|
||||||
|
Native Type:
|
||||||
|
const: ""
|
||||||
|
Value Type:
|
||||||
|
const: ""
|
||||||
|
Min Analog:
|
||||||
|
const: ""
|
||||||
|
Max Analog:
|
||||||
|
const: ""
|
||||||
|
Initial Analog:
|
||||||
|
const: ""
|
||||||
|
Scale:
|
||||||
|
const: ""
|
||||||
|
Offset:
|
||||||
|
const: ""
|
||||||
|
DeadBand:
|
||||||
|
const: ""
|
||||||
|
Units:
|
||||||
|
const: ""
|
||||||
|
Off Label Digital:
|
||||||
|
const: ""
|
||||||
|
On Label Digital:
|
||||||
|
const: ""
|
||||||
|
Initial Digital:
|
||||||
|
const: ""
|
||||||
|
Length String:
|
||||||
|
const: 82
|
||||||
|
Initial String:
|
||||||
|
const: ""
|
||||||
|
Retentive:
|
||||||
|
const: 1
|
||||||
|
Address:
|
||||||
|
const: ""
|
||||||
|
System Source Name:
|
||||||
|
const: ""
|
||||||
|
System Source Index:
|
||||||
|
const: ""
|
||||||
|
RIO Address:
|
||||||
|
const: ""
|
||||||
|
Element Size Block:
|
||||||
|
const: ""
|
||||||
|
Number Elements Block:
|
||||||
|
const: ""
|
||||||
|
Initial Block:
|
||||||
|
const: ""
|
||||||
|
insertRows:
|
||||||
|
- location: 1
|
||||||
|
value: ;###002 - THIS LINE CONTAINS VERSION INFORMATION. DO NOT REMOVE!!!
|
||||||
|
- location: 2
|
||||||
|
value: ""
|
||||||
|
- location: 3
|
||||||
|
value: ;Folders Section (Must define folders before tags)
|
||||||
|
- location: 4
|
||||||
|
value: ""
|
||||||
|
- location: 5
|
||||||
|
value: ;Tag Section
|
||||||
|
export:
|
||||||
|
tagname:
|
||||||
|
translate:
|
||||||
|
columns: Tag Name
|
||||||
|
type:
|
||||||
|
const: "String[82]"
|
||||||
|
address:
|
||||||
|
const: ""
|
||||||
|
comment:
|
||||||
|
translate:
|
||||||
|
columns: Tag Description
|
||||||
Reference in New Issue
Block a user