我也是新手,自己摸索了一天
给大家总结下,不用在走弯路了
首先,创建一个工程就不说了,
直接上图说吧,简单

双击设备窗口,弹出这样,点击
双击这个MQTT,如果你的里面没有MQTT,就点击设备管理,从物联网里面找到mqtt,就可以使用了
然后是配置

双击,会出来属性
内部属性,是用来配置的,点击出来这个
然后,点击配置
当前文章被以下社区和专栏收录:
这篇博客详细介绍了新手如何配置物联网设备,包括添加MQTT服务,设置内部属性,配置发布与订阅主题,以及如何通过变量触发和报警触发机制进行数据交互。还强调了订阅主题时消息结构的重要性,确保客户端和服务器的数据一致性。
我也是新手,自己摸索了一天
给大家总结下,不用在走弯路了
首先,创建一个工程就不说了,
直接上图说吧,简单

双击设备窗口,弹出这样,点击
双击这个MQTT,如果你的里面没有MQTT,就点击设备管理,从物联网里面找到mqtt,就可以使用了
然后是配置

双击,会出来属性
内部属性,是用来配置的,点击出来这个
然后,点击配置
昆仑通态复制的程序可以用吗_昆仑通态MCGS_G系列触摸屏MQTT数据连接发布
1. MQTT协议简介目前MQTT协议被众多物联网平台使用,众多OEM设备厂商也开始搭建专属于自己的物联网平台,都会使用到MQTT协议接口,接入自家散步在全球各地的设备,实现集中监控和远程监控。2. 准备MQTT服务器— —不做详细介绍,请联系IT部门相关工程师联系到客户IT工程师,获取到一个测试中的MQTT服务器,以此进行连接测试。3. 支持的型号昆仑通态G系列产品:主要型号有TPC7072Gi...
昆仑通态McgsPro组态工程开发全流程解析
本文详细解析昆仑通态McgsPro组态工程开发全流程,涵盖环境搭建、工程创建、设备连接、界面设计、数据库管理、逻辑控制及部署调试。重点介绍了在Linux系统下的McgsPro软件安装、Modbus等工业协议配置、实时数据库变量管理及运行策略脚本编写,为工业自动化开发者提供实用指南。
别再手动填参数了!用这个脚本一键生成昆仑通态McgsPro连接阿里云的MQTT配置
本文介绍了一种自动化配置方案,帮助工程师快速生成昆仑通态McgsPro触摸屏连接阿里云MQTT的配置文件,告别繁琐的手动操作。通过Python脚本实现设备三元组获取、MQTT参数计算和配置文件生成,大幅提升配置效率并降低错误率,适用于工业物联网项目中的批量部署场景。
别再手动填参数了!用Python脚本一键生成昆仑通态McgsPro连接阿里云的MQTT配置
本文详细介绍了如何使用Python脚本自动化生成昆仑通态McgsPro连接阿里云MQTT的配置,大幅提升工业物联网项目的效率。通过阿里云SDK集成、自动获取设备三元组、生成兼容配置等核心功能,实现从手动15分钟到几秒钟的飞跃,同时确保配置准确性。适用于智能制造等物联网场景,支持批量处理和高级安全实践。
昆仑通态McgsPro与阿里云IoT:MQTT连接实战与数据双向通信解析
本文详细解析了如何将昆仑通态McgsPro触摸屏通过MQTT协议连接至阿里云物联网平台,实现工业现场数据的稳定上报与云端指令的可靠下发。文章从云端产品设备创建、物模型定义,到触摸屏驱动参数配置、数据格式对接,提供了完整的实战步骤与核心参数详解,并分享了连接失败、数据不通等常见问题的排查经验,助力工控工程师快速实现设备上云与远程管控。
昆仑通态McgsPro连接阿里云IoT:当数据上报失败时,我这样一步步抓包排查
本文详细介绍了昆仑通态McgsPro连接阿里云IoT时数据上报失败的排查方法,通过MQTT协议抓包分析技术,系统性地定位和解决设备在线但数据不上报的问题。文章提供了从故障现象诊断到实战案例分析的完整指南,帮助工程师快速解决物联网通信中的隐蔽故障。
从WinCE到Linux:昆仑通态McgsPro的迁移策略与实战避坑指南
本文详细解析了昆仑通态McgsPro从WinCE到Linux平台的迁移策略与实战避坑指南。内容涵盖迁移前的环境准备、工程文件转换、驱动适配、脚本优化及全流程测试验证,重点分享了实际项目中易忽略的兼容性陷阱和解决方案,帮助用户顺利完成系统迁移并提升性能与可靠性。
昆仑通态HMI实战:从基础组态到物联网设备控制
本文详细介绍了昆仑通态HMI从基础组态到物联网设备控制的实战应用。通过入门指南、基础组态技巧、物联网设备控制及高级功能讲解,帮助工程师快速掌握HMI在工业自动化中的核心应用,包括设备监控、数据采集、报警管理等关键场景,提升工业物联网系统的开发效率。
昆仑通态(MCGS)支持驱动列表.pdf
昆仑通态(MCGS)支持驱动列表pdf,昆仑通态(MCGS)支持驱动列表
昆仑通态触摸屏MQTT数据和服务器同步
1.包含1个昆仑通态触摸屏程序 2.包含1个西门子200smart程序; 3.包含1个C# visual studio 程序;
Mac上MySQL出现secure-file-priv为null
在使用MySQL导入导出文件时出现了错误,原因是没有配置secure-file-priv。 我的MySQL版本是8.0.13,使用如下命令查看secure-file-priv。 结果发现secure-file-priv为空,此时需要为它配置一个文件夹。 解决方案: 1)到MySQL的安装目录中去,Mac中是的是 /usr/local/mysql/support-files,该目录下有一...
Versal ACAP NoC实战:像理解计算机网络一样配置AXI NoC,打通PS与PL数据通路
本文深入探讨了Versal ACAP NoC的配置与优化,通过计算机网络类比解析NoC架构,详细介绍了在VD100开发板上配置AXI NoC实现PS与PL数据交互的实战步骤。文章涵盖NoC组件功能、Vivado配置技巧、性能优化方法及常见问题解决方案,帮助开发者高效打通Versal芯片的数据通路。
树莓派34/100 - Pico读取MPU6050加速度和陀螺仪传感器数据
树莓派Pico连接MPU-6050模块(三轴陀螺仪+三轴加速度),读取运动姿态数据。
蓝凌EIS智慧协同平台frm_form_upload.aspx接口存在任意文件上传漏洞
蓝凌EIS智慧协同平台frm_form_upload.aspx接口存在任意文件上传漏洞
079、LVGL基础控件:消息框(Msgbox)
《LVGL消息框控件深度解析与避坑指南》 文章深入剖析了LVGL消息框控件的核心特性和使用技巧。消息框本质是带按钮的模态容器,而非独立窗口。作者分享了创建消息框的正确姿势、标题/内容设置方法、安全的按钮事件处理方式(避免直接调用close函数导致栈溢出),并详细介绍了模态/非模态实现、样式自定义、动态更新等实用技巧。针对常见问题如内存管理、按钮数量限制、动画效果等给出了专业建议,特别强调了消息框作为用户交互关键环节的优化重要性,建议通过异步删除、合理父对象选择等方式提升稳定性。文章包含大量实际项目经验总结,
3D iToF深度分辨率测量
本文展示了RGB-D传感器在三维测量中的高精度表现。标靶深度图显示其具备清晰、低噪、无干扰的特性,点云数据完整度高且轮廓分明。该技术已成功应用于物流(体积测量误差<1%)、工业(高反光部件装配检测)和农业(果蔬成熟度分级)等领域,验证了其硬件和算法的可靠性,能够满足不同场景下的三维测量需求。
【nerfStudio】1-在windows上安装nerfStudio
安装Git。安装Visual Studio 2022。在安装CUDA之前必须完成此步骤。必须在“桌面开发与C++”工作流程(在BuildTools版本中称为“C++构建工具”)中包含所需的组件。Nerfstudio要求。我们建议使用conda来管理依赖关系。在继续之前,请确保安装了Conda。 依赖关系 PyTorch 请注意,如果安装了低于2.0.1的PyTorch版本,则应卸载先前版本的pytorch、functorch和tiny-cuda-nn。 基于CUDA 11.8的Torch 2.0.1 安装基
R语言glm函数构建二分类logistic回归模型、epiDisplay包logistic.display函数获取模型汇总统计信息(自变量初始和调整后的优势比及置信区间,回归系数的Wald检验的p值
R语言glm函数构建二分类logistic回归模型(family参数为binomial)、使用epiDisplay包logistic.display函数获取模型汇总统计信息(自变量初始和调整后的优势比及置信区间,回归系数的Wald检验的p值)
jre9下载 jdk9
(Java SE Runtime Environment 9.0) 9.0u175 官方最新版 【x86|x64】
win10 跳过U8环境检测的IE WebControls.rar
win10 安装u8的时候 提示IE WebControls 不通过,这个工具可以欺骗u8的检查。 跳过U8环境检测的IE WebControls。提示导入失败后,重新检测通过。
TMS_WebGMaps_1.9.8.0_Full_Source
TMS_WebGMaps_1.9.8.0_Full_Source 全源码 delphi cbuilder
深度学习工具包 DeepLearningToolbox
深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[](https://bitdeli.com/free "Bitdeli Badge")
153
1692

被折叠的 条评论
为什么被折叠?



