Files
softbus_OPC/config/daemon/point_table.yaml

62 lines
1.7 KiB
YAML
Raw Normal View History

2026-06-11 19:00:49 +08:00
# 点表配置(运行时加载 point_table.json本文件为设计文档镜像
site: DemoSite
system: DemoSystem
asset: DemoAsset
devices:
- deviceId: EdgeDevice_01
stableDeviceKey: EdgeDevice_01
protocol: modbus
points:
- pointId: MotorTemperature
displayName: 电机温度
signalType: AI
physicalChannel: AI_Channel_01
register: 40001
unit: "℃"
2026-06-12 21:23:21 +08:00
scale: 0.1
2026-06-11 19:00:49 +08:00
range: [0, 200]
access: read
dataTopic: data/EdgeDevice_01/MotorTemperature
2026-06-12 21:23:21 +08:00
- pointId: MotorSpeed
displayName: 电机转速
signalType: AI
physicalChannel: AI_Channel_02
register: 40002
unit: rpm
scale: 1.0
range: [0, 1000]
access: read
dataTopic: data/EdgeDevice_01/MotorSpeed
- pointId: MotorCurrent
displayName: 电机电流
signalType: AI
physicalChannel: AI_Channel_03
register: 40001
unit: A
scale: 0.1
range: [0, 100]
access: read
dataTopic: data/EdgeDevice_01/MotorCurrent
- pointId: MotorVoltage
displayName: 电机电压
signalType: AI
physicalChannel: AI_Channel_04
register: 40002
unit: V
scale: 1.0
range: [0, 100]
access: read
dataTopic: data/EdgeDevice_01/MotorVoltage
2026-06-11 19:00:49 +08:00
- pointId: ValveOpening
displayName: 阀门开度
signalType: AO
physicalChannel: AO_Channel_01
register: 40002
unit: "%"
2026-06-12 21:23:21 +08:00
scale: 1.0
2026-06-11 19:00:49 +08:00
range: [0, 100]
access: read_write
cmdTopic: control/cmd/EdgeDevice_01/ValveOpening/set
ackTopic: control/ack/EdgeDevice_01/ValveOpening
dataTopic: data/EdgeDevice_01/ValveOpening