By default, the lib.conf file uses the UTF-8 character encoding and is defined by a JSON structure. When editing lib.conf, it is important that the structure of JSON is maintained, otherwise Web Port cannot read the file.
Tip!
To verify that a correct JSON structure is used, the contents of lib.conf can be checked via the following URL: http://jsonlint.com/
Below the structure for building automation is shown.
{
"Name": "Property",
"Description ": "Symbol Library for Property system Estate Systems",
"Version": "1.0",
"Author": " Moldeo AB",
"Suffix ":
{
"PV": "Value",
"SP": "Setpoint",
"CSP": "Calculated Setpoint",
"OP": "Control signal",
"M": "Manual mode",
"CMD": "Manoeuvre",
"P": "Reinforcement",
"I": "I time",
"D": "D time",
"MIN": "Min limit",
"MAX": "Max limit",
"Y1": "Breakpoint",
"Y2": "Breakpoint",
"Y3": "Breakpoint",
"Y4": "Breakpoint",
"Y5": "Breakpoint",
"Y6": "Breakpoint",
"Y7": "Breakpoint",
"Y8": "Breakpoint",
"X1": "Breakpoint",
"X2": "Breakpoint",
"X3": "Breakpoint",
"X4": "Breakpoint",
"X5": "Breakpoint",
"X6": "Breakpoint",
"X7": "Breakpoint",
"X8": "Breakpoint",
"AUT": "Auto mode",
"AD": "Alarm Delay",
"ALL": "Alarm Limit Low",
"AHL": "Alarm limit High",
"ADL": "Alarm Limit Deviation",
"SP1": "Setting",
"SP2": "Setting",
"SP3": "Setting",
"SP4": "Setting",
"SP5": "Setting ",
"SP6": "Setting ",
"SP7": "Setting ",
"SP8": "Setting ",
"FAULT": "Error",
"CNT": "Counter",
"V": "Indication",
"AL": "Alarm",
"AL1": "Alarm",
"AL2": "Alarm",
"AL3": "Alarm",
"AL4": "Alarm",
"AL5": "Alarm",
"AL6": "Alarm",
"AL7": "Alarm",
"AL8": "Alarm",
"HAL": "High alarm ",
"LAL": "Low Alarm ",
"MCMD": "Manual Operation",
"OPM": "Manual control signal",
"V0": "Indication Closed",
"V1": "Full Speed",
"V2": "Half speed",
"PV1": "Value",
"PV2": "Value",
"PV3": "Value",
"PV4": "Value",
"PV5": "Value",
"PV6": "Value",
"PV7": "Value",
"PV8": "Value",
"HHAL": "High-high alarm",
"LLAL": "Low-low alarm",
"AHHL": "Alarm Limit High-High",
"ALLL": "Alarm Limit Low-Low",
"HAD": "High Alarm Delay ",
"LAD": "Low alarm delay ",
"HHAD": "High-High Delay",
"LLAD": "Low-Low Delay",
"U1": "Voltage",
"U2": "Voltage",
"U3": "Voltage",
"I1": "Power/time",
"I2": "Power/time",
"I3": "Power/time",
"P1": "Reinforcement",
"P2": "Reinforcement",
"P3": "Reinforcement",
"PR1": "Reactive effect",
"PR2": "Reactive effect",
"PR3": "Reactive effect",
"E1": "Energy",
"E2": "Energy",
"E3": "Energy",
"F": "Frequency",
"CosFi ": "Cos-Fi",
"CSP1": "Calculated Setpoint",
"CSP2": "Calculated Setpoint",
"CSP3": "Calculated Setpoint",
"D1": "D time",
"D2": "D time",
"D3": "D time",
"DT1": "Date/Time",
"DT2": "Date/Time",
"CT1": "Schedule",
"CF1": "Schedule",
"CV1": "Schedule",
"CT2": "Schedule",
"CF2": "Schedule",
"CV2": "Schedule",
"CT3": "Schedule",
"CF3": "Schedule",
"CV3": "Schedule",
"CT4": "Schedule",
"CF4": "Schedule",
"CV4": "Schedule",
"CT5": "Schedule",
"CF5": "Schedule",
"CV5": "Schedule",
"CT6": "Schedule",
"CF6": "Schedule",
"CV6": "Schedule",
"CT7": "Schedule",
"CF7": "Schedule",
"CV7": "Schedule",
"CT8": "Schedule",
"CF8": "Schedule",
"CV8": "Schedule",
"CT9": "Schedule",
"CF9": "Schedule",
"CV9": "Schedule",
"CT11": "Schedule",
"CF11": "Schedule",
"CV11": "Schedule",
"CT12": "Schedule",
"CF12": "Schedule",
"CV12": "Schedule",
"CT13": "Schedule",
"CF13": "Schedule",
"CV13": "Schedule",
"CT14": "Schedule",
"CF14": "Schedule",
"CV14": "Schedule",
"CT15": "Schedule",
"CF15": "Schedule",
"CV15": "Schedule",
"CT16": "Schedule",
"CF16": "Schedule",
"CV16": "Schedule",
"CT17": "Schedule",
"CF17": "Schedule",
"CV17": "Schedule",
"CT18": "Schedule",
"CF18": "Schedule",
"CV18": "Schedule",
"CT19": "Schedule",
"CF19": "Schedule",
"CV19": "Schedule",
"CT21": "Schedule",
"CF21": "Schedule",
"CV21": "Schedule",
"CT22": "Schedule",
"CF22": "Schedule",
"CV22": "Schedule",
"CT23": "Schedule",
"CF23": "Schedule",
"CV23": "Schedule",
"CT24": "Schedule",
"CF24": "Schedule",
"CV24": "Schedule",
"CT25": "Schedule",
"CF25": "Schedule",
"CV25": "Schedule",
"CT26": "Schedule",
"CF26": "Schedule",
"CV26": "Schedule",
"CT27": "Schedule",
"CF27": "Schedule",
"CV27": "Schedule",
"CT28": "Schedule",
"CF28": "Schedule",
"CV28": "Schedule",
"CT29": "Schedule",
"CF29": "Schedule",
"CV29": "Schedule"
},
"Alarms": [
"AL",
"AL1"
"AL2"
"AL3"
"AL4"
"AL5"
"AL6"
"AL7"
"AL8"
"HAL",
"LAL"
"FAULT"
],
"Trends":
["PV","PV1","PV2","PV3","PV4","PV5","PV6","PV7","PV8","PV4","PV7","PV8","OP","SP","CSP"],
"Backup ": ["SP","SP1"],
"Functions":
{
"F0": {
"Description": "Digital indication ",
"Type": "Digital",
"Action": "V|V0|V1|V2|CMD|AL|AL1|AL2|AL3|AL4|AL5|AL6|AL7|AL8|HAL|LAL|FAULT",
"Level": "",
"Access": 1
},
"F1": {
"Description": "Values Level 1",
"Type": "Value",
"Action": "SP|CSP",
"Level": "1",
"Access": 1
},
"F2": {
"Description": "Values Level 2",
"Type": "Value",
"Action": " PV|PV1|PV2|PV3|PV4|PV5|PV6|PV7|PV8|OP",
"Level": "2",
"Access": 1
},
"F3": {
"Description": "Setpoint ",
"Type": "Setpoint ",
"Action": "SP",
"Level": "Setpoint ",
"Access": 2
},
"F4": {
"Description": "Settings ",
"Type": "Input",
"Action": "SP1|SP2|SP3|SP4|SP5|SP6|SP7|SP8",
"Level ": "Settings",
"Access": 3
},
"F5": {
"Description ": "Alarm Settings",
"Type ": "Input",
"Action": "AD|ALL|AHL|ADL|ALLL|AHHL|LAD|HAD|LLAD|HHAD",
"Level ": "Alarm Settings",
"Access": 3
},
"F6": {
"Description ": "Settings for Regulators",
"Type ": "Input",
"Action": "P|I|D|P1|I1|D1|P2|I2|D2|P3|I3|D3",
"Level ": "Regulator Settings",
"Access": 3
},
"F7": {
"Description ": "Curve settings",
"Type": "Curve ",
"Action": "X1|Y1|X2|Y2|X3|Y3|X4|Y4|X5|Y5|X6|Y6|X7|Y7|X8|Y8|MIN|MAX",
"Level ": "Curve Settings",
"Access": 3
},
"F8": {
"Description": "Manual control signal ",
"Type": "Input",
"Action": "OPM",
"Level": "Manual operation ",
"Access": 3
},
"F9": {
"Description": "Manual operation ",
"Type": "Select",
"Action": " From:MCMD=0|To:MCMD=1",
"Level ": "Manual operation",
"Access": 3
},
"F10": {
"Description ": "Manual mode on / off",
"Type": "Select ",
"Action": " From:M=0|To:M=1",
"Level ": "Manual operation",
"Access": 3
},
"F11": {
"Description": "Manual mode H/0/A",
"Type": "Select",
"Action": " From:M=1,MCMD=0|To:M=1,MCMD=1|Auto:M=0,MCMD=0",
"Level": "Manual operation ",
"Access": 3
},
"F12": {
"Description": "Schedule ",
"Type": "Schedule",
"Action": "CT#|CF#",
"Level": "Schedule",
"Access": 3
},
"F13": {
"Description": "Acknowledge ",
"Type": "Select",
"Action": "Acknowledge:CMD=1",
"Level": "Manual operation",
"Access": 3
},
"F14": {
"Description": " Manual mode H / 0 / A",
"Type": "Select",
"Action": "From:M=0|To:M=1|Auto:M=2",
"Level": "Manual operation",
"Access": 3
}
},
"Objects":
{
"Compressor": {
"Description": "Compressor",
"ImageType ": "gif",
"States": [
{"State": "off", "criteria": "V=0|CMD=0"},
{"State": "on", "criteria": "V=1|CMD=1"},
{"State": "al", "criteria": "AL=1|FAULT=1"}],
"Rotations": [0. 90,180,270 ],
"ObjectFilter ": ""
},
"Converter": {
"Description": " Converter ",
"ImageType ": "gif",
"States": [
{"State": "off", "criteria": "V=0|CMD=0"},
{"State": "on", "criteria": "V=1|CMD=1"},
{"State": "fault", "criteria": "FAULT=1"},
{"State": "al", "criteria": "AL=1"}],
"Rotations": [0. 90,180,270 ],
"ObjectFilter ": "FO|K|EM|VVX|VGRAD"
},
"Damper": {
"Description": "Damper ",
"ImageType ": "gif",
"States": [
{"State": "off", "criteria": "V=0|CMD=0|V0=1"},
{"State": "on", "criteria": "V=1|CMD=1|V1=1"},
{"State": "al", "criteria": "AL=1|HAL=1|LAL=1"}],
"Rotations": [0. 90,180,270 ],
"ObjectFilter ": "ST"
},
"Fan": {
"Description": "Fan",
"ImageType ": "gif",
"States": [
{"State": "off", "criteria": "V=0|CMD=0"},
{"State": "on2", "criteria": "V2=1"},
{"State": "on", "criteria": "V=1|CMD> 0|V1=1"},
{"State": "fault", "criteria": "FAULT=1"},
{"State": "al", "criteria": "AL=1|HAL=1|LAL=1"}],
"Rotations": [0. 90,180,270 ],
"ObjectFilter ": "TF|FF"
},
"Indication": {
"Description": "Indication",
"ImageType": "gif",
"States": [
{"State": "off", "criteria": "V=0|CMD=0"},
{"State": "on", "criteria": "V=1|CMD=1|V1=1|V2=1"},
{"State": "fault", "criteria": "FAULT=1"},
{"State": "al", "criteria": "AL=1|AL1=1|AL2=1|AL3=1|AL4=1|AL5=1|AL6=1|AL7=1|AL8=1"}],
"Rotations": [0],
"ObjectFilter": "TK|*"
},
"Manometer": {
"Description": "Manometer",
"ImageType ": "gif",
"States": [
{"State": "off", "criteria": "V=0|CMD=0"},
{"State": "fault", "criteria": "FAULT=1"},
{"State": "al", "criteria": "AL=1"}],
"Rotations": [0. 90,180,270 ],
"ObjectFilter ": "EXP"
},
"Meter": {
"Description": " Media Meter ",
"ImageType ": "gif",
"States": [
{"State": "off", "criteria": "V=0|CMD=0"},
{"State": "al", "criteria": "AL=1"}],
"Rotations": [0. 90,180,270 ],
"ObjectFilter ": ""
},
"Pump": {
"Description": "Pump",
"ImageType ": "gif",
"States": [
{"State": "off", "criteria": "V=0|CMD=0"},
{"State": "on", "criteria": "V=1|CMD=1"},
{"State": "al", "criteria": "AL=1|FAULT=1"}],
"Rotations": [0. 90,180,270 ],
"ObjectFilter ": "P|CP"
},
"Relay": {
"Description": "Relay ",
"ImageType ": "gif",
"States": [
{"State": "off", "criteria": "V=0|CMD=0"},
{"State": "on", "criteria": "V=1|CMD=1"}],
"Rotations": [0. 90,180,270 ],
"ObjectFilter ": ""
},
"Sensor": {
"Description": "Sensor ",
"ImageType ": "gif",
"States": [
{"State": "off", "criteria": "V=0|CMD=0"},
{"State": "on", "criteria": "V=1|CMD=1"},
{"State": "fault", "criteria": "FAULT=1"},
{"State": "al", "criteria": "AL=1|HAL=1|LAL=1"}],
"Rotations": [0. 90,180,270 ],
"ObjectFilter ": "GT|GP|GF|RUM|RD|GX"
},
"SensorDiff ": {
"Description": "Sensor Difference ",
"ImageType ": "gif",
"States": [
{"State": "off", "criteria": "V=0|CMD=0"},
{"State": "on", "criteria": "V=1|CMD=1"},
{"State": "fault", "criteria": "FAULT=1"},
{"State": "al", "criteria": "AL=1|HAL=1|LAL=1"}],
"Rotations": [0. 90,180,270 ],
"ObjectFilter ": ""
},
"SensorOut ": {
"Description": "Sensor Out",
"ImageType ": "gif",
"States": [
{"State": "off", "criteria": "V=0|CMD=0"},
{"State": "fault", "criteria": "FAULT=1"},
{"State": "al", "criteria": "AL=1|HAL=1|LAL=1"}],
"Rotations": [0. 90,180,270 ],
"ObjectFilter ": "UTE"
},
"Socket": {
"Description": "Socket ",
"ImageType ": "gif",
"States": [
{"State": "off", "criteria": "V=0|CMD=0"},
{"State": "on", "criteria": "V=1|CMD=1"},
{"State": "al", "criteria": "AL=1|FAULT=1"}],
"Rotations": [0. 90,180,270 ],
"ObjectFilter ": ""
},
"Timer": {
"Description": "Timer",
"ImageType ": "gif",
"States": [
{"State": "off", "criteria": "V=0|CMD=0"},
{"State": "on", "criteria": "V=1|CMD=1"},
{"State": "al", "criteria": "AL=1|FAULT=1"}],
"Rotations": [0. 90,180,270 ],
"ObjectFilter ": "TM"
},
"Valve": {
"Description": " Valve ",
"ImageType ": "gif",
"States": [
{"State": "off", "criteria": "V=0|CMD=0|V0=1"},
{"State": "on", "criteria": "V=1|CMD=1|V1=1"},
{"State": "al", "criteria": "AL=1|FAULT=1"}],
"Rotations": [0. 90,180,270 ],
"ObjectFilter ": "SV"
},
"Value": {
"Description": " Value ",
"ImageType ": "",
"States": [],
"Rotations": [0],
"ObjectFilter ": ""
}
},
"Indicators":
{
"Hand": {
"Description": " Manual operation ",
"ImageType ": "gif",
"States": [
{"State": "off", "criteria": "M=2"},
{"State": "on", "criteria": "M=1|M=0"}],
"Rotations": [0],
"ObjectFilter ": ""
}
},
"Portlets ":
{
}
}