存储中华彩票彩网社区中华彩票彩网. on LinkedIn中华彩票彩网. on Instagram  中华彩票彩网. on YouTube github plcnext社区存储中华彩票彩网社区

 

 如何创建博客条目

制造商博客
Hits: 6162

自动化制造商#003:节点红色作为OPC UA客户端

有关IIOT OPC UA节点包的更多信息:

要安装IIT OPC UA节点包的命令:

npm install -g node-red-contrib-iiot-opcua

谢谢plcnext社区成员 大卫搬迁Stefan Brinkmann., 并 克劳斯兰德斯多夫Bianco Royal.为他们有价值的贡献。

笔记: 我们使用较新的Beta版本在此视频中显示工程部分 中华彩票彩网. Engineer Phoenix联系的软件将很快提供,免费提供。在此之前,该程序应该使用当前工作 PC Worx工程师 版本也是如此。如果您遇到任何问题,请告诉我们。

在此示例中使用的流量由以下JSON表示 (按“阅读更多”以查看它)。通过将JSON粘贴到导入对话框(Ctrl-I或通过下拉菜单),可以直接导入编辑器。

[{"id":"e141b7d8.bc3b48","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"8fdc7c33.e834b","type":"OPCUA-IIoT-Inject","z":"e141b7d8.bc3b48","injectType":"read","payload":"","payloadType":"date","topic":"","repeat":"","crontab":"","once":false,"startDelay":"","name":"","addressSpaceItems":[{"name":"xLamp","nodeId":"ns=5;s=Arp.Plc.Eclr/MainInstance.xLamp","datatypeName":""}],"x":340,"y":180,"wires":[["3e319cb3.7455c4"]]},{"id":"3e319cb3.7455c4","type":"OPCUA-IIoT-Read","z":"e141b7d8.bc3b48","attributeId":"13","maxAge":1,"depth":1,"connector":"cf1e3cc8.52bf9","name":"Look at Lamp","justValue":true,"showStatusActivities":false,"showErrors":false,"parseStrings":false,"historyDays":"","x":520,"y":180,"wires":[["1bb83854.053ec8"]]},{"id":"1bb83854.053ec8","type":"OPCUA-IIoT-Response","z":"e141b7d8.bc3b48","name":"","compressStructure":true,"showStatusActivities":false,"showErrors":false,"activateUnsetFilter":false,"activateFilters":false,"negateFilter":false,"filters":[],"x":730,"y":180,"wires":[["f5cb5c8.f59b9a"]]},{"id":"f5cb5c8.f59b9a","type":"debug","z":"e141b7d8.bc3b48","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":890,"y":180,"wires":[]},{"id":"d0355d07.c6662","type":"OPCUA-IIoT-Inject","z":"e141b7d8.bc3b48","injectType":"write","payload":"false","payloadType":"bool","topic":"","repeat":"","crontab":"","once":false,"startDelay":"","name":"","addressSpaceItems":[{"name":"xSwitch","nodeId":"ns=5;s=Arp.Plc.Eclr/MainInstance.xSwitch","datatypeName":"Boolean"}],"x":330,"y":320,"wires":[["159289c0.5c8e46"]]},{"id":"159289c0.5c8e46","type":"OPCUA-IIoT-Write","z":"e141b7d8.bc3b48","connector":"cf1e3cc8.52bf9","name":"Throw Switch","justValue":true,"showStatusActivities":false,"showErrors":true,"x":520,"y":320,"wires":[["82688db6.7b026"]]},{"id":"82688db6.7b026","type":"OPCUA-IIoT-Response","z":"e141b7d8.bc3b48","name":"","compressStructure":false,"showStatusActivities":false,"showErrors":false,"activateUnsetFilter":false,"activateFilters":false,"negateFilter":false,"filters":[],"x":720,"y":320,"wires":[["c9854ebd.347d8"]]},{"id":"c9854ebd.347d8","type":"debug","z":"e141b7d8.bc3b48","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":890,"y":320,"wires":[]},{"id":"f602fe92.b748a","type":"OPCUA-IIoT-Inject","z":"e141b7d8.bc3b48","injectType":"write","payload":"true","payloadType":"bool","topic":"","repeat":"","crontab":"","once":false,"startDelay":"","name":"","addressSpaceItems":[{"name":"xSwitch","nodeId":"ns=5;s=Arp.Plc.Eclr/MainInstance.xSwitch","datatypeName":"Boolean"}],"x":330,"y":380,"wires":[["159289c0.5c8e46"]]},{"id":"cf1e3cc8.52bf9","type":"OPCUA-IIoT-Connector","z":"","discoveryUrl":"","endpoint":"opc.tcp://192.168.1.10:4840","keepSessionAlive":true,"loginEnabled":true,"securityPolicy":"Basic256Sha256","securityMode":"SIGNANDENCRYPT","name":"LOCAL SERVER","showErrors":false,"individualCerts":false,"publicCertificateFile":"","privateKeyFile":"","defaultSecureTokenLifetime":"","endpointMustExist":false,"autoSelectRightEndpoint":false,"strategyMaxRetry":"","strategyInitialDelay":"","strategyMaxDelay":"","strategyRandomisationFactor":"","requestedSessionTimeout":"","connectionStartDelay":"","reconnectDelay":"","maxBadSessionRequests":"10"}]