Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sparkplug-wg] 回复: How to support SCADA to device command in a Non-Persistent Connection case
  • From: wang ge <wangge1989@xxxxxxxxxxx>
  • Date: Wed, 19 Jun 2024 07:22:05 +0000
  • Accept-language: zh-CN, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/Rv1AWWvBCr5i1IcwgJil8MC3vD5fMErUyAmvEGBxiw=; b=GgJY9DOQ037TUA3g9lTg7LZay0EAySuOljFOMwLdUPahazrCPWtKp2mVoNPQ4893hd34Om/l1B540GlBJWLLxQV/8QWM08Z29KuASgNl08lb7b66UJVZ9QsIUT5Dh2dyw4FyLmig1GXyaXrXDsY0da8bOqqHK0H/GZKWGsP7nXvF3DA25O4tf2xkKRxXdotTFffK52HCA2657p+OWGuP3pAPt3rYRo4aOl73fSfhd8DkuObnxaXDnGi+B9gkLFR5ZXroXfWOlsG+A8XVTRbTpncqqXj0XUEtYxGdlRmWLaDRriEhZ5bLb9xEr5rWee0lbLWiAqnSiepQrsVAG1oR/A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WTbNgQrmqav0ua7+/2uOrQ99mplYpUUPe1alOgbL/hmS/k9wklrJW9PN6v/ctOLhk0pxqZ64sUmyQ9CMS5VbUwlpl6L3xolGZ3mvwaZzbwfXM1eJU4p3kIBmbvzCq7bmBDeaw2maSIFkgg3mFZeCFeDdDJ4L3EyzTnJHDbBbRhUN3djIz20fHXQ6mbiWW6SEcgFo8D6sRJW5/YfC99ve8dk0f4In9ufV0mRed0Cpe2Athme3P3JDX5hk0uKJbV7+LT/miGtBc4xy7AaCeST6PIpllAnvRr+uCK3qXrtqL+KGh0zcOZ906c461/WLQltbz/eTtsFL8GepWK+un05f3A==
  • Delivered-to: sparkplug-wg@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/sparkplug-wg/>
  • List-help: <mailto:sparkplug-wg-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sparkplug-wg>, <mailto:sparkplug-wg-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sparkplug-wg>, <mailto:sparkplug-wg-request@eclipse.org?subject=unsubscribe>
  • Msip_labels:
  • Thread-index: AQHawT2ofaTIEH00n0G2+NnxYqNfVbHNo5sAgAEFt6Q=
  • Thread-topic: [sparkplug-wg] How to support SCADA to device command in a Non-Persistent Connection case

Thanks Bryce for the reply.

Yes, for SCADA like Ignition, I think it give the user enough flexibility to add additional logic on the host side to achieve that, but for SCADA like Geo SCADA from Schneider there is not much we can do inside of the SCADA with limited script feature they have (maybe need to implement a dedicated driver for our device but we may need to implement it again when the customer switch to another SCADA software).

I saw from the SparkPlug spec. and some public documents, there is a "store-and-forward" feature defined & implemented for the uplink messages from the field to the control room to overcome connection lost, but seems there is no such feature/definition that handles the flow from host application to the field devices.

BR,
Jimmy


发件人: sparkplug-wg <sparkplug-wg-bounces@xxxxxxxxxxx> 代表 Bryce Nakatani via sparkplug-wg <sparkplug-wg@xxxxxxxxxxx>
发送时间: 2024年6月18日 23:20
收件人: The Sparkplug Working group <sparkplug-wg@xxxxxxxxxxx>
抄送: Bryc
BR,e Nakatani <bnakatani@xxxxxxxxxx>
主题: Re: [sparkplug-wg] How to support SCADA to device command in a Non-Persistent Connection case
 
Your understanding of Sparkplug is correct. There isn't a queuing of writes when a node is offline.

At the SCADA layer, you should be able to monitor the online status of the node. Should the node be offline, queue writes and when the node is online, release the writes.

On Mon, Jun 17, 2024 at 10:25 PM wang ge via sparkplug-wg <sparkplug-wg@xxxxxxxxxxx> wrote:
Hi team,

I am now designing a battery powered cellular connected measurement device and according to the requirement, it needs to talk to SCADA through SparkPlug B over Cellular Network.
Since the device is battery powered, we cannot make it Persistent online, due to power consumption reason(We only power on cellular module when the periodic report time is reached).
I think it is not a problem for uplink measurement data report.

However, if we look at the remote device configuration from SCADA to the device, I think there is a problem: As the device is not always online and according to the Sparkplug B spec, the SCADA(host application) and the MQTT Broker in the system will not buffer the downlink message when the device is offline which means the device is remote reachable only when it trying to report measurement data to the host.
So, my question is the downlink message feature(from host application to device) in SparkPlug B is only designed for Persistent scenario or is there any misunderstanding by us that we did not use it correctly?

Thanks so much for your kindly help!

Best Regards,
Jimmy
_______________________________________________
sparkplug-wg mailing list
sparkplug-wg@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sparkplug-wg

Back to the top