Hi,
i am experimenting with the built-in MQTT-client (configured in the proficlound view in WBM), and i have made a lot of variables available by setting them to an OUT-port with the IOT-checkbox checked.
Most of the data is structures, some are numbers (INT, DINT and so forth) and some are STRINGS/WORDS.
When subscribing to everything, it seems as if I only receive the number type variables.
Are STRINGS and STRUCTs not serialized into the JSON which are being transmitted?
Here is the subscribe-command with the first result:
C:\Program Files\mosquitto>mosquitto_sub -h 192.168.3.169 -t „#“ -v
opcua/json/data/YngveMQTTtest/DefaultGroup/DefaultWriter {„MessageId“:„7958998a-a8ad-4a87-b6af-2c516bdeb7eb“,„MessageType“:„ua-data“,„Messages“:[{„MessageType“:„ua-keyframe“,„Payload“:{„CMS_PRJ_CRC“:8717701219286638329,„FC_Module_Prod_Day_1“:12,„FC_Module_Prod_Day_2“:12,„FC_Module_Prod_Day_3“:9,„FC_Module_Prod_Day_4“:11,„FC_Module_Prod_Month_1“:10,„FC_Module_Prod_Month_2“:9,„FC_Module_Prod_Month_3“:10,„FC_Module_Prod_Month_4“:11,„FC_Module_Prod_Year_1“:2023,„FC_Module_Prod_Year_2“:2023,„FC_Module_Prod_Year_3“:2023,„FC_Module_Prod_Year_4“:2023,„MainState_1“:1,„MainState_2“:1,„MainState_3“:1,„MainState_4“:1,„SCS_PRJ_CRC“:11614983533623400523,„StartingState_1“:0,„StartingState_2“:0,„StartingState_3“:0,„StartingState_4“:0,„StoppingState_1“:0,„StoppingState_2“:0,„StoppingState_3“:0,„StoppingState_4“:0},„Timestamp“:„2024-09-03T10:43:03.149Z“},
The current MQTT Client feature is basically the Proficloud Time Series Data feature, which always used MQTT to send data to the Proficloud server, but it now has a configurable MQTT server address so you can publish the same MQTT messages to any server. So, this question is the same as „what data types are supported by the Proficloud Time Series Data service?“ The answer to that question is on this page:
Proficloud - Time series data (TSD) connector - PLCnext Community Proficloud – Time series data (TSD) connector Available from 2020.6 with AXC F 2152, and from 2021.0 LTS with most PLCnext Control devices In this topic you read how to set up the connector for using time series data via the Proficloud service. Scope of the Proficloud Proficloud offers an easy way of managing and maintaining remote PLCnext devices, such as controllers in off-shore wind power plants. Main functions are: Showing a device […] … in this table:
Screenshot_20240903-204403.pngAccording to this table, only numeric types are supported, not strings or complex types like structs.
Thank you Martin.
I take it as arrays are also not supported (yet)? (it would have been great to reduce overhead)
Hello fluxmodel,
my name is Florian and I’m from the Proficloud.io team.
Sorry for the late reply.
Unfortunately, it is currently not possible to send arrays, as this would mean changes on the PLC and cloud side. But I will be happy to keep you up to date when this becomes possible!
Best regards
Florian from Proficloud.io
Hello fluxmodel,</p>my name is Florian and I’m from the Proficloud.io team.</p>Sorry for the late reply.</p>Unfortunately, it is currently not possible to send arrays, as this would mean changes on the PLC and cloud side. But I will be happy to keep you up to date when this becomes possible!</p>Best regards</p>Florian from Proficloud.io</p>
Hi, is there an update on supported data types?