Professional Documents
Culture Documents
Tag
Nội dung
• Khái niệm
• Các loại Tag
• Value, Timestamp, Quality
• Deadband
• Scale
• Demo
1
14-Nov-20
Input
Device
Tag
Output
Device
Tag
Output
Device
Tag
2
14-Nov-20
Internal
Device
Tag
Input Internal
Device
Tag Tag
Output Internal
Device
Tag Tag
Value
2.5
Quality GOOD
10:12:07
Physical I/O
device
3
14-Nov-20
Quality
15 8 7 0
Q Q S S S S L L
QQ Define Description
0 Bad Value is invalid. The reasons
indicated by the Sub-status
1 Uncertain The quality of the value is
uncertain for reasons
indicated by the Sub-status.
2 N/A Not used
3 Good Value is valid.
https://advosol.com/manuals/opcdanet/topic18.html
Deadband
4
14-Nov-20
Deadband
Deadband = 0; 500ms Deadband = 0.1V; 500ms
T = 31.5
Full
Zero
5
14-Nov-20
Scale
Scale
Scale
0 – 4095 0.0 – 10.0
Raw value Tag_2 ?
SCADA
Raw value: 0 - 4095 Raw value: 0.0 – 10.0
Tag_1 Tag_2
Eng value: 0 - 10 Eng value: 0.0 – 10.0
6
14-Nov-20
Scale
Unscale
0.0 – 100.0 0 – 4095
SCADA
Raw value: 0 - 4095 Raw value: 0.0 – 100.0
Tag_1 Tag_2 Tag_2 = 50.0 → Tag_1 = ?
Eng value: 0 - 4095 Eng value: 0.0 – 100.0
Scale
Scale
0 – 4095 0.0 – 10.0
SCADA
Raw value: 0 - 4095 Giả sử, hiện tại Tag_1 đang có giá trị bằng 5. Nếu sensor đọc
Tag_1 được giá trị 4.9 thì Tag_1 có thay đổi giá trị không?
Eng value: 0 - 10
Deadband: 2%