background image

 

MQ-7200M User Manual, version 1.0.1 

Page: 39 

The user can customize the topic name and published conditions for each I/O. If th

MQTT 

conversation

 feature is enabled, the MQ-7200M will automatically subscribe to all DO topics upon 

startup. 

 

Digital Outputs 

 

 

 

 

 

 

 

 

 

 

 

 

Digital Inputs 

 

 

 

 

 

 

 

 

 

 

A topic for each I/O channel on a MQ-7200M module consists of 3 topic levels; each topic level is 
separated by a forward slash (/): 

 

For example 

               

                 

F001

/

GetValue

/

DO1 

 

 

Level2 

 

Level3 

Level1 

Summary of Contents for MQ-7200M Series

Page 1: ...Written by Liam Lin Edited by Janice Hong Industrial Computer Products Data Acquisition Systems MQ 7200M Series User Manual Version 1 0 1 May 2023...

Page 2: ...without notice The information furnished by ICP DAS is believed to be accurate and reliable However no responsibility is assumed by ICP DAS for its use nor for any infringements of patents or other r...

Page 3: ...252M 14 2 4 MQ 7253M 16 2 5 MQ 7255M 17 3 Getting Started 19 3 1 Cabling Power and Network 20 3 2 Installing the MiniOS7 Utility 21 3 3 Configuring Network Settings 22 3 4 Logging in to Web Interface...

Page 4: ...us of the MQ 7200M 46 7 3 Controlling the DO Status of the MQ 7200M 49 8 Frequently Asked Question FAQ 51 8 1 Establishing a Connection by Using MiniOS7 Utility 51 8 2 Exchanging the Protocol TCP IP t...

Page 5: ...the user to configure module and control monitor the status of digital I O by simply using a regular web browser Support for MQTT protocol makes it easy to connect sensors to Internet of Things IoT s...

Page 6: ...ications because of its small size low power usage minimized data packets and efficient distribution of information to one or many receivers Built in I O Various I O components are mixed with multiple...

Page 7: ...and the MQ 7200M When the MQ 7200M is disconnected from the MQTT broker for a while the watchdog forces the digital output to pre defined Safe Value to prevent unpredictable damage of the connected d...

Page 8: ...Pressing and holding the reset button for at least 3 seconds will restore the module to its factory defaults For more information see section 7 4 How to restore MQ 7200M to default settings LED indica...

Page 9: ...e E1 port E2 On A link has been established on the E2 port Off No link is established on the E2 port Flashing Data is now transferred via the E2 port I O Indictors The number of I O will vary dependin...

Page 10: ...MQ 7200M User Manual version 1 0 1 Page 10 1 3 Dimensions Unit mm Left Side View Top View Front View Bottom View...

Page 11: ...DC Off Voltage Level 4 VDC max Input Impedance 10 K Overvoltage Protection 70 VDC Digital Output Channels 8 Type Isolated Open Collector Sink Source NPN PNP Sink Max Load Current 650 mA Channel at 25...

Page 12: ...ersion 1 0 1 Page 12 Pin Assignments Wire Connections Digital Input Readback as 1 Readback as 0 Sink 10 50 VDC Open or 4 VDC Source Digital Output ON State Readback as 1 OFF State Readback as 0 Drive...

Page 13: ...nput Channels 16 Type Wet Contact Sink Source NPN PNP Sink Source On Voltage Level 10 VDC 50VDC Off Voltage Level 4 VDC max Input Impedance 10 K Overvoltage Protection 70 VD Pin Assignments Wire Conne...

Page 14: ...C Off Voltage Level 4 VDC max Input Impedance 10 K Overvoltage Protection 70 VDC Digital Output Channels 8 Type Isolated Open Collector Sink Source NPN PNP Source Max Load Current 650 mA Channel at 25...

Page 15: ...7200M User Manual version 1 0 1 Page 15 Wire Connections Digital Input Readback as 1 Readback as 0 Sink 10 50 VDC Open or 4 VDC Source Digital Output ON State Readback as 1 Source OFF State Readback a...

Page 16: ...ital Input Channels 16 Type Dry Contact Sink Source NPN PNP Source On Voltage Level Close to GND Off Voltage Level Open Overvoltage Protection Effective Distance 500 M Max Pin Assignments Wire Connect...

Page 17: ...VDC Off Voltage Level 4 VDC max Dry Contact On Voltage Level Close to GND Off Voltage Level Open Input Impedance 10 K Overvoltage Protection 70 VDC Digital Output Channels 8 Type Isolated Open Collect...

Page 18: ...ections Digital Input Readback as 1 Readback as 0 Wet Contact Sink 10 50 VDC Open or 4 VDC Wet Contact Source Digital Input ON State Readback as 1 OFF State Readback as 0 Dry Contact Digital Output ON...

Page 19: ...s in the BOX Before starting any task please check the package contents If any of the following items are either missing or damaged contact the dealer or distributor MQ 7200M Module Quick Start Guide...

Page 20: ...twork Step 1 Connect the computer to the Ethernet Port via the Hub or Switch Step 2 Connect the positive of the power supply to the terminal marked R Vs Connect the negative of the power supply to the...

Page 21: ...ed a new shortcut for the MiniOS7 Utility will be displayed on the desktop Step 1 Install the MiniOS7 Utility tool The latest version of the MiniOS7 Utility can be obtained from the ICP DAS website ht...

Page 22: ...e table below Before starting the MQ 7200M valid network settings for the LAN where the module will operate need be set to the module Default Ethernet Settings Item Default IP Address 192 168 255 1 Su...

Page 23: ...rch for the module Step 3 Click the 192 168 255 1 in the IP Port field and click the IP Settings button Click the item you want to configure the default IP 192 168 255 1 and then click the IP Settings...

Page 24: ...es and alias Alternatively the user can enable the DHCP Client function to dynamically obtain an IP address from the DHCP Server After entering the appropriate values click the Set button to update th...

Page 25: ...Step 1 Launch the browser The user can use a standard web browser such as Mozilla Firefox or Internet Explorer to log in to the MQ 7200M module Step 2 Enter the IP address for the MQ 7200M If the user...

Page 26: ...1 Page 26 Step 4 Welcome to the MQ 7200M web interface After logging into the module the Overview page provides a brief description of the module including its MAC address the current firmware versio...

Page 27: ...itor the I O status through a web browser Before starting the configuration steps please refer to Chapter 3 Getting Started to configure and log in to the MQ 7200M module Step 1 Welcome to the MQ 7200...

Page 28: ...uration In the Configure dropdown menu there are two ways to configure the network Manual configuration Manually If DHCP is not available you can manually set up the IP address subnet mask and gateway...

Page 29: ...m that is used to connect a network with one or more other networks DNS Server DNS stands for domain name system whose main function is to translate domain names e g www icpdas com to IP addresses and...

Page 30: ...st line and Page Header Information Second line The title of the website that is displayed at the top left hand corner of the interface for example the company name and web address as per the example...

Page 31: ...ower loss caused by either a normal or abnormal event is crucial to prevent accidents In addition in the case of host failure or network communication exceptions it is equally important to output a sa...

Page 32: ...its power on value Method After selecting On or Off clicking the Apply button to complete the setting Safe Value The user can set the safe value for each output channel In the event of a communicatio...

Page 33: ...tion from the official MQTT org The MQ 7200M module as an MQTT client can publish messages for DIO status to the broker and subscribe to control messages for DO Similarly other MQTT clients also can s...

Page 34: ...e Last Will and Testament for announcing a module s offline message and obtain the topic names for each I O MQTT conversation The user can enable disable the MQTT function If the MQTT conversation is...

Page 35: ...fier The identifier for each MQTT Client to connect to the MQTT Broker must be unique It is composed of the module name the underline character and the last 6 digits of the MAC address and cannot be m...

Page 36: ...end within the specified Keep Alive Interval it is required to send a PINGREQ packet to the Broker while the Broker must reply with a PINGRESP packet If the Client fails to send a PINGREQ or any other...

Page 37: ...cribed to this Offline topic Method 1 To enable this function tick the Last Will and Testament box 2 Enter the topic name Topic and the LWT message Data and select the Quality of Service QoS for messa...

Page 38: ...n be published to topics based on either a time driven or event driven approach Time driven The I O status is regularly published at specific intervals 10 600 seconds which can be configured in the Pe...

Page 39: ...the MQTT conversation feature is enabled the MQ 7200M will automatically subscribe to all DO topics upon startup Digital Outputs Digital Inputs A topic for each I O channel on a MQ 7200M module consi...

Page 40: ...message to control the output and the MQ 7200M will carry out the output command GetValue Published topic The client can subscribes to this topic to receive the I O status published by the MQ 7200M Le...

Page 41: ...The user can configure the published condition for each I O Stop publishing Stop publishing the I O status Periodically publish The I O status will be published periodically Publish only on status cha...

Page 42: ...ide both a username and password Authentication is enabled by default User Management The factory default employs the administrator account and you can establish an additional administrator or user ac...

Page 43: ...on status between the PC and the MQ 7200M module 2 Connection status between the MQ 7200M module and the broker you set 3 The status of each I O channel The user can control the output channels by cli...

Page 44: ...7200M 1 On the MQTT page make sure that the MQTT function is enabled 2 Enter both the URL and port number of the Broker and click the Apply button to update the settings In the example we use the Hiv...

Page 45: ...4 On the Web HMI page the user can verify if the connection is successful If the connection between the MQ 7200M and the MQTT broker is established successful all the topics listed on this page will...

Page 46: ...QTT client on your PC MQTT Lens is a Chrome extension tool that lets you publish messages to an MQTT broker subscribe to MQTT topics and receive messages using the chrome web browser 1 Install the MQT...

Page 47: ...button to add a connection enter a name e g Broker01 in the Connection Name field enter a hostname e g broker hivemq com in the Hostname field and click the Create Connection button 4 Enter the topic...

Page 48: ...Page 48 5 The user can all topics listed on the Web HMI page to the subscriptions Next click the ON OFF button to change the status of the I O and view the subscribed messages Change the status of th...

Page 49: ...lished 3 Confirm that the MQTT Client software MQTT Lens has been installed and the connection between it and the broker has been established Refer to Section 7 2 Steps 1 to 3 https chrome google com...

Page 50: ...field of the MQTT Lens enter the Topic name F001 Set_Value DO_0 and the Message 1 and then click the Publish button Now the user can observe that the DO0 indicator of the MQ 7200M has been switched o...

Page 51: ...MiniOS7 with easiness and quickness If the MiniOS7 Utility is not yet installed on the system installation of the MiniOS7 Utility should be the first step Please refer to section 3 2 Installing the Mi...

Page 52: ...iniOS7 utility performs a search of all modules on the network Step 3 Click the IP address in the IP Port field list and then click the Connect icon in the toolbar After the search has been completed...

Page 53: ...age 53 Step 4 Check the connection symbol to make sure that the connection is established Check the connection symbol status in the top right side to make sure the connection has been established Conn...

Page 54: ...o the MQ 7200M Refer to section 8 1 Establishing a Connection for more information Step 2 Stop the firmware running Right click the file list of the right side windows and then choose Quit Firmware to...

Page 55: ...php num 2678 8 3 1 Using the MiniOS7 Utility Step 1 Establish a connection to MQ 7200M Be sure that the MiniOS7 Utility is connecting with the MQ 7200M using the UDP connection For a more detailed des...

Page 56: ...ill appear Please select the most recent version of the MiniOS7 OS image Step 4 Click OK to finish the procedure After confirming the command the user just need to wait awhile until the following dial...

Page 57: ...n For a more detailed description of this instruction refer to the section 8 2 Exchanging the Protocol TCP IP to UDP Step 2 Choose the location where the MinisOS7 image file is stored Step 3 Connect t...

Page 58: ...the bios1 command to update the image to the flash The MQ 7200M will automatically restart after the update is completed The user can perform another search for the module to check if the TCP connecti...

Page 59: ...ow php num 2677 Step 1 Establish a connection to connection to the MQ 7200M Be sure that the MiniOS7 Utility is connecting with the MQ 7200M using the UDP connection For a more detailed description of...

Page 60: ...n the Confirm dialog box click the Yes button to continue After executing the Erase Disk command the Confirm dialog will appear and then click Yes button to continue erasing the memory contents Step 4...

Page 61: ...MQ 7200M User Manual version 1 0 1 Page 61 Step 5 Reboot the module After the update is completed reboot the module...

Page 62: ...ult Settings IP Address 192 168 255 1 Gateway 192 168 0 1 Subnet Mask 255 255 0 0 DNS Server Empty DHCP Disabled Web Configuration Item Factory Default Settings Module Name Depends on the name of the...

Page 63: ...0040 0045 6 DI value 0 Off 1 On R 00126 007E 1 Reset the I O settings to the factory default state 1 Reset W 00133 0085 1 Reboot the module 1 Reboot W 00235 00240 00EB 00F0 6 Enable Disable the DO po...

Page 64: ...2 3 R 30153 0099 1 1 I O version 0x123 means version 1 2 3 R Holding Register 4xxxx Register Points No Per Point Description Data Format Attribute Factory Value DEC HEX 40255 00FF 1 1 Read the module...

Page 65: ...sibly crashed Reboot the module Cannot communicate via the Ethernet port but the MQ 7200M is still operating The IP Mask Gateway address isn t within the IP address range of the LAN Change the IP Mask...

Page 66: ...on 1 0 1 Page 66 Revision History The table below shows the revision history Revision Date Description 1 0 0 Aug 2016 Initial issue 1 0 0 Jun 2023 Adjust the order of chapters add or modify some chapt...

Reviews: