ProSoft Technology MVI56E-LDM-MQTT Скачать руководство пользователя страница 55

MVI56E-LDM-MQTT ♦ MQ Telemetry Transport 

Support, Service & Warranty 

ControlLogix® Platform  

Quick Start Guide 

 

 

 

ProSoft Technology, Inc. 

Page 55 of 55 

 

13  Support, Service & Warranty 

13.1  Contacting Technical Support 

ProSoft Technology, Inc. is committed to providing the most efficient and effective support 
possible. Before calling, please gather the following information to assist in expediting this 
process: 

Product Version Number 

System architecture 

Network details 

 

If the issue is hardware related, we will also need information regarding: 

Module configuration and associated ladder files, if any 

Module operation and any unusual behavior 

Configuration/Debug status information 

LED patterns 

Details about the interfaced serial, Ethernet or Fieldbus devices 

Note: For technical support calls within the United States, ProSoft’s 24/7 after-hours phone support is available for 
urgent plant-down issues. 
 

North America (Corporate Location) 

Europe / Middle East / Africa Regional Office 

Phone: +1.661.716.5100 
[email protected] 
Languages spoken: English, Spanish 
REGIONAL TECH SUPPORT 
[email protected] 

Phone: +33.(0)5.34.36.87.20 
[email protected] 
Languages spoken: French, English 
REGIONAL TECH SUPPORT 
[email protected] 

Latin America Regional Office 

Asia Pacific Regional Office 

Phone: +52.222.264.1814 
[email protected] 
Languages spoken: Spanish, English 
REGIONAL TECH SUPPORT 
[email protected] 

Phone: +60.3.2247.1898 
[email protected] 
Languages spoken: Bahasa, Chinese, English, 
Japanese, Korean  
REGIONAL TECH SUPPORT 
[email protected] 

 

For additional ProSoft Technology contacts in your area, please visit: 

https://www.prosoft-technology.com/About-Us/Contact-Us

. 

13.2  Warranty Information 

For complete details regarding ProSoft Technology’s TERMS & CONDITIONS OF SALE, 
WARRANTY, SUPPORT, SERVICE AND RETURN MATERIAL AUTHORIZATION 
INSTRUCTIONS, please see the documents at: 

www.prosoft-technology/legal 

 

Содержание MVI56E-LDM-MQTT

Страница 1: ...MVI56E LDM MQTT MQ Telemetry Transport ControlLogix Platform August 3 2020 QUICK START GUIDE...

Страница 2: ...document including illustrations specifications and dimensions may contain technical inaccuracies or typographical errors ProSoft Technology makes no warranty or representation as to its accuracy and...

Страница 3: ...the Canadian Electrical Code for installations in Canada and in accordance with the authority having jurisdiction The following warnings must be heeded WARNING EXPLOSION HAZARD SUBSTITUTION OF COMPONE...

Страница 4: ...M s EtherNet IP Address 14 4 MQTT Generic Type Sample Application 15 4 1 Configuring the Sample Applications 15 4 1 1 MQTT Generic config json File 15 4 1 2 SparkplugB config json File 16 4 2 Un encry...

Страница 5: ...tatus Print Interval 45 9 1 5 Tags 45 9 2 Configuring Generic MQTT Brokers 46 9 2 1 Generic MQTT Broker 46 9 2 2 Online MQTT Brokers 46 9 2 3 Install MQTT Locally 47 9 3 Running the Sample Application...

Страница 6: ...y step information on how to enable communication between Rockwell Automation s ControlLogix PLC and a simple MQTT Broker using MQTT Explorer The goal is to read data from the PLC and publish to topic...

Страница 7: ...n up to date installation of three files from Cirrus link Solutions It provides Sparkplug B based MQTT software modules that perform the service of MQTT Distributor Broker the MQTT Engine Subscribing...

Страница 8: ...writes Video 10 Primary Host ID Setting https inductiveautomation com resources video primary host id setting Video 11 How to Set Up Transport Layer Security https inductiveautomation com resources v...

Страница 9: ...LDM Library root folder build Location where target binaries are created during build docker Toolchain to build source code and Docker configuration files to start container with build environment mq...

Страница 10: ...om and download MQTT Explorer to a Windows 10 PC You do not need to perform this step if implementing SparkplugB Note The MQTT Explorer Windows installer version had issues with storing connection set...

Страница 11: ...e MVI56E LDM in the ControlLogix rack connect the top Ethernet port to your local network and connect to the Windows 10 PC 2 Use the middle Ethernet port to connect to the network where MQTT Broker is...

Страница 12: ...gy 3 2 Configuring the ControlLogix PLC 1 Open the LDM_MQTT ACD program and change the appropriate ControlLogix chassis type to match your hardware and firmware 2 Download LDM_MQTT ACD file to the Con...

Страница 13: ...or that was built in the Creating a Build section in this document 2 Download the firmware file to the module via the module s webpage Refer to the MVI56E LDM Developer Manual for details Figure 3 Fi...

Страница 14: ...r detailed information about the interfaces file Use an FTP client such as WinSCPTM to edit the eth0 and eth1 sections of the Interfaces file Interfaces file Parameters Values We always want the loopb...

Страница 15: ...for Un Encrypted messaging column indicated in the following table Parameters Values for un encrypted messaging Vales for encrypted messaging MqttServer Type Generic Generic Host 137 135 83 217 137 1...

Страница 16: ...o org current IP 5 196 95 208 Subject to change 2 mqtt eclipse org current IP 137 135 83 217 Subject to change For this sample configuration mqtt eclipse org is accessed remotely and used as the broke...

Страница 17: ...roker Home Page Rather than verifying the MVI56E LDM module s communication on the eclipse site the communication with the remote Broker can be verified by reviewing the log messages on the module To...

Страница 18: ...er Activating an installed unconfigured MQTT Explorer displays the following pop up By default it has 2 pre configured settings in the Connections panel 1 Select mqtt eclipse org and ensure that the s...

Страница 19: ...TT Clients currently connected to the mqtt eclipse org broker Note that published brokers have connections from many clients and the client will receive several published messages Figure 10 MQTT Explo...

Страница 20: ...s indicated in the following screen capture Figure 12 Selecting String Type 7 Expand the Publish section in the center panel and add Set to end the topic name so it will be equal to the value of the S...

Страница 21: ...he PSFT SteamSensor String Set field indicated in the following figure Figure 15 Typing in the desired string values 10 Click on the PUBLISH button 11 Go back to the PLC program and observe that the m...

Страница 22: ...Encrypted messaging column indicated in the table on page 15 MQTT Generic config json File 2 Reboot the MVI56E LDM module 3 Edit the MQTT Explorer by activating the Encryption and set Port to 8883 Fig...

Страница 23: ...Soft Technology Inc Page 23 of 55 7 Select the STRING variable as shown in the following figure Figure 19 String Type Selected 8 Type Set at the end of the Topic field Figure 20 Publishing Keyword Set...

Страница 24: ...2 s in the field shown in the previous figure Figure 21 New text written into String type to be published 11 Click the PUBLISH button 12 Return to the PLC program and observe that the multiple 2 s ar...

Страница 25: ...192 168 4 200 192 168 4 200 Port 1883 8883 Timeout 5000 5000 DoNotUseTls 1 0 DisableCertificateValidation 1 0 RootCaFileName root ca cer root ca cer ClientCertPublicFileName client_cert_public_ key ce...

Страница 26: ...e 24 Sparkplug B Configuration 5 2 Configuring the ControlLogix PLC 1 Open the MVI56E_LDM_MQTT_SparkplugB_Sample_Ladder ACD program and change the appropriate chassis type to match your hardware and f...

Страница 27: ...on com downloads third party modules 8 0 11 download the following Cirrus Link Solutions MQTT Modules for Ignition MQTT Distributor Module 30 5 MB https files inductiveautomation com third party cirru...

Страница 28: ...ProSoft Technology Inc Page 28 of 55 5 4 Configuring the Un Encrypted Sparkplug Data Exchange This section configures Ignition to communicate with the PLC 1 Sign into the Ignition web GUI http localho...

Страница 29: ...he MQTT Broker Distributor within Ignition This section covers the basic configuration for the MQTT Distributor file that behaves as the MQTT broker within the Ignition application 1 Click on the CONF...

Страница 30: ...on the Users tab and then click on the CREATE NEW MQTT USERS option 4 Enter the parameter values as indicated in the following screen capture Figure 29 New User 5 Click on the CREATE NEW MQTT USERS b...

Страница 31: ...TT Engine Within Ignition This section covers the basic configuration for the MQTT Engine file that behaves as the MQTT Subscribing Client within the Ignition application 1 Click on the CONFIG MQTT EN...

Страница 32: ...This section covers the basic configuration for the MQTT Transmission file that behaves as the MQTT Publishing Client within the Ignition application 1 Click on the CONFIG MQTT TRANSMISSION SETTINGS...

Страница 33: ...rolLogix Platform Quick Start Guide ProSoft Technology Inc Page 33 of 55 4 Use the same values as entered in Step 2 to substitute the Group ID Edge Node ID and Device ID values in the following code F...

Страница 34: ...Ignition to PLC Communication In the Ignition application navigate to Status Systems Tags MQTT Engine Edge Nodes ProSoft MVI56E 1 SteamSensor Verify that LDM_MQTT is successfully reading data from th...

Страница 35: ...ProSoft Technology Inc Page 35 of 55 5 5 Installing the Ignition Designer Software 1 Navigate to the Ignition website and click on the GET DESIGNER button Figure 35 Get Designer Button 2 Once downloa...

Страница 36: ...C This section covers the configuration of the Ignition Designer tool and sending data to the PLC It will show the data exchange with the PLC using the MVI56E LDM_MQTT in un secured mode 1 Run the Ign...

Страница 37: ...ide ProSoft Technology Inc Page 37 of 55 3 Click on the LAUNCH button to activate the Ignition Designer Figure 38 Designer Login 4 Use the same credentials as when the ignition was initially installed...

Страница 38: ...Inc Page 38 of 55 6 In the Open dialog select the Prosoft_LDM_MQTT_Ignition_Designer_SparkPlug_Demo zip file This file can be downloaded from www prosoft technology com Figure 40 Locate Demo Project 7...

Страница 39: ...tform Quick Start Guide ProSoft Technology Inc Page 39 of 55 9 The project is loaded into Ignition Designer Figure 42 Import the Project 10 Click on the OPEN button Figure 43 Open button 11 The Igniti...

Страница 40: ...link 13 In the menu bar select the PROJECT PREVIEW MODE option to activate the live updates of the designer In the PLC tags pane click on the CLICK TO SUBSCRIBE button to see the PLC tags change value...

Страница 41: ...up a Linux Debian 6 Virtual Machine For MQTT this guide steps you through using a Docker container on a Windows 10 PC Docker Desktop for Windows is required to run the toolchain from a container runni...

Страница 42: ...er of source code files C Workspace needs to be shared in order to access it from the build container In order to access this shared folder from Docker container psft Windows user credentials are requ...

Страница 43: ...hown above 192 168 1 73 with the PC s IP address Replace the user ID shown above bfluser with your userid from section Config json Configuration Requirements on page 25 Replace the password shown abov...

Страница 44: ...ic namespace Type Type of the MQTT Broker to connect to Generic Any MQTT Broker such as open source broker Eclipse Mosquitto SparkPlug MQTT Broker supporting Sparkplug B protocol Host IP address of th...

Страница 45: ...escription Tag Name of the tag in PLC Defined for MVI56E LDM only DataType Data Type of the tag in the PLC Possible values are BOOL SINT INT DINT LINT USINT UINT UDINT ULINT REAL LREAL BYTE WORD DWORD...

Страница 46: ...aining to Client ID Topic Namespace or other settings The node MqttServer of the configuration file has following default values Parameter Description Type Set to Generic HostName Set to 192 168 0 254...

Страница 47: ...o Broker and is ready to accept connections at port 1883 In the configuration file if the MqttServer HostName field is set to the IP address of the MQTT broker values for the PLC should be published i...

Страница 48: ...LDM Library This chapter pertains to developers building custom applications using the library It describes high level design of the library and main API functions required to use it from customer app...

Страница 49: ...rns 0 int mqtt_ldm_disconnect void This function disconnects from the MQTT Broker int mqtt_ldm_is_connected void Returns a non zero value if a connection to the MQTT Broker is established int mqtt_ldm...

Страница 50: ...written to the PLC The input argument value is the value to be written to the PLC tag New values are received from MQTT Broker by subscribing to specified subscription topics in the configuration file...

Страница 51: ...192 168 0 250 log messages txt 0 10 4 Data Flow for Reading Tag Values Refer to the Component Diagram on page 48 The orange lines in the diagram illustrate data flow In order to read data from the PL...

Страница 52: ...structure is described in detail in section Configuration File Details starting on page 44 3 C Workspace mqtt ldm sample app mvi56e root_ca cer psft sample mqtt Root CA certificate of the server s SSL...

Страница 53: ...he sample application Ensure the Prerequisites and Development Environment Setup is completed first 12 1 Visual Studio Build The Visual Studio 2017 solution file located at C Workspace mqtt ldm sample...

Страница 54: ...the PowerShell script build ps1 is executed Your PC security policies might prevent it from running To run this script open a command prompt as Administrator and enter the following commands Powershe...

Страница 55: ...down issues North America Corporate Location Europe Middle East Africa Regional Office Phone 1 661 716 5100 info prosoft technology com Languages spoken English Spanish REGIONAL TECH SUPPORT support...

Отзывы: