没有合适的资源?快使用搜索试试~ 我知道了~
PI实时数据库边缘侧和数据库通信消息格式说明
需积分: 5 0 下载量 148 浏览量
2024-05-11
11:51:18
上传
评论
收藏 290KB PDF 举报
温馨提示
试读
40页
PI实时数据库边缘侧和数据库通信消息格式说明
资源推荐
资源详情
资源评论
Open Message Format (OMF)
© 2015-2023 by AVEVA Group plc or its subsidiaries. All rights reserved.
No part of this publicaon may be reproduced, stored in a retrieval system, or transmied, in any form or by any means,
mechanical, photocopying, recording, or otherwise, without the prior wrien permission of AVEVA Group plc. No liability
is assumed with respect to the use of the informaon contained herein.
Although precauon has been taken in the preparaon of this documentaon, AVEVA assumes no responsibility for
errors or omissions. The informaon in this documentaon is subject to change without noce and does not represent a
commitment on the part of AVEVA. The soware described in this documentaon is furnished under a license
agreement. This soware may be used or copied only in accordance with the terms of such license agreement.
AVEVA, the AVEVA logo and logotype, OSIso, the OSIso logo and logotype, ArchestrA, Avans, Citect, DYNSIM, eDNA,
EYESIM, InBatch, InduSo, InStep, IntelaTrac, InTouch, Managed PI, OASyS, OSIso Advanced Services, OSIso Cloud
Services, OSIso Connected Services, OSIso EDS, PIPEPHASE, PI ACE, PI Advanced Compung Engine, PI AF SDK, PI API,
PI Asset Framework, PI Audit Viewer, PI Builder, PI Cloud Connect, PI Connectors, PI Data Archive, PI DataLink, PI DataLink
Server, PI Developers Club, PI Integrator for Business Analycs, PI Interfaces, PI JDBC Driver, PI Manual Logger, PI
Nocaons, PI ODBC Driver, PI OLEDB Enterprise, PI OLEDB Provider, PI OPC DA Server, PI OPC HDA Server, PI
ProcessBook, PI SDK, PI Server, PI Square, PI System, PI System Access, PI Vision, PI Visualizaon Suite, PI Web API, PI
WebParts, PI Web Services, PRiSM, PRO/II, PROVISION, ROMeo, RLINK, RtReports, SIM4ME, SimCentral, SimSci, Skelta,
SmartGlance, Spiral Soware, WindowMaker, WindowViewer, and Wonderware are trademarks of AVEVA and/or its
subsidiaries. All other brands may be trademarks of their respecve owners.
U.S. GOVERNMENT RIGHTS
Use, duplicaon or disclosure by the U.S. Government is subject to restricons set forth in the license agreement with
AVEVA Group plc or its subsidiaries and as provided in DFARS 227.7202, DFARS 252.227-7013, FAR 12-212, FAR
52.227-19, or their successors, as applicable.
Contents
Open Message Format. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
What's New. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Message Headers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Message Types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Type Messages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Type Properes and Formats. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Enum Type Messages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Type Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Container Messages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Container Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Data Messages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Link Data Message. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Data Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
OMF Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Hp Behaviors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
©2023 AVEVA Group plc and its subsidiaries. All rights reserved. Page 3
Open Message Format (OMF)
Contents
Open Message Format
Overview
The Open Message Format (OMF) denes a set of message headers and bodies that can be used to generate
messages for ingeson into a compliant back-end system.
OMF can be used to develop data acquision applicaons on plaorms and in languages for which there are no
supported OSIso libraries.
OMF itself does not dene or depend on any parcular binary message protocol (HTTP, AMQP, Kaa, etc.) It is
instead based on an abstract message type, where a message consists of a set of key / value pairs, called the
headers, and a binary payload, called the body. OMF messages can thus be constructed using any message
protocol that denes headers and bodies. For up to date informaon on the specic binary protocols currently
supported by OSIso systems, consult the AVEVA Data Hub, OSIso Cloud Services, PI Web API, and Edge Data
Store documentaon.
Please note that anything dened in this document, such as keywords and enumerated values, is treated as case
insensive. Case sensivity for all user specied values is determined by the rules of the backend system.
©2023 AVEVA Group plc and its subsidiaries. All rights reserved. Page 4
Open Message Format (OMF)
Open Message Format
What's New
Version 1.2 introduces the following incremental changes from version 1.1:
Enhancements for Type messages:
•
Ability to support type resuse using reftypeid dened on a Property within a Type message.
•
Addion of the enum keyword dened on a Type Message, used to create a reusable set of allowed values,
and reference it as the datatype for a Property using reftypeid.
•
Support for extrapolation mode on the type, used to categorize the behavior of data being stored in
instances.
•
Ability to designate a property as holding data quality using isquality dened on a Property.
•
Support for minimum and maximum type qualiers dened on a Property.
•
Support for interpolation mode dened on a Property, used to categorize the behavior of data being
stored in properes.
Enhancements for Container messages:
•
Ability to override values of properties dened by a dynamic Type using the propertyoverrides
keyword in the Container Message. Currently supported property overrides include name, description,
uom, minimum, maximum, and interpolation.
• Ability to set the source of a stream of data using the datasource keyword dened on a Container
Message.
•
Support for extrapolation mode on the container, used to categorize the behavior of data being stored
and override the type 'ex trapolaon' seng.
Enhancements for Data messages:
•
Addion of the property keyword in the __Link Data Message used to link Types and Instances of Types to
a parcular property.
• When linking to properes, the link can be dened by property to property, or dened by property to Type.
• Support for type-less stac data values to be sent in a Data Message using the new keyword properes
within the Data Message.
Deprecated Features in OMF v1.2 specification:
•
Specifying the version of a type when it is referenced is no longer supported. Types are considered
immutable and can be referenced by their typeid alone.
•
The producertoken eld in the message header has been obsoleted, and is no longer supported.
©2023 AVEVA Group plc and its subsidiaries. All rights reserved. Page 5
Open Message Format (OMF)
What's New
剩余39页未读,继续阅读
资源评论
工业码农
- 粉丝: 2
- 资源: 29
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功