background image

                                                       

CX-WIFI-2NET module user manual           

      

 

Shenzhen Coolmay Technology Co.,Ltd                                                                                                       

www.coolmay.com

 

Page 

1

 ,Total 93 Pages 

 
 

CX-WIFI-2NET Module user 

manual 

 
 
 

Shenzhen  Coolmay  Technology  Co.,Ltd

   

Version  7.21 

 

 

 
 
 

 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 
 
 

 

 
 
CX-WIFI-2NET module is an all-in-one 802.11 b/g/n Wi-Fi and Ethernet module that 
provides a way to connect a user's physical device to a Wi-Fi wireless network or 
Ethernet. Provides a solution for the UART data transfer interface. The module comes 
with an RS485 port, a standard RS232 communication port and two RJ45 standard 
network ports. Through this module, the traditional low-end serial device or 
MCU-controlled device can easily access Wi-Fi wireless network or Ethernet. 
Transparent transmission is realized to realize the control and management of the 
Internet of Things. 
As a hotspot, CX-WIFI-2NET module can accommodate 32 wifi clients simultaneously, 

Содержание CX-WIFI-2NET

Страница 1: ...o a Wi Fi wireless network or Ethernet Provides a solution for the UART data transfer interface The module comes with an RS485 port a standard RS232 communication port and two RJ45 standard network ports Through this module the traditional low end serial device or MCU controlled device can easily access Wi Fi wireless network or Ethernet Transparent transmission is realized to realize the control ...

Страница 2: ...ual Shenzhen Coolmay Technology Co Ltd www coolmay com Page 2 Total 93 Pages and can also accommodate 32 TCP clients at the same time At the same time the module can be used as a secondary router and can be connected hand in hand ...

Страница 3: ...n AP 17 2 4 2 CX WIFI 2NET module Ethernet interface function STA routing mode 18 2 4 3 CX WIFI 2NET module Ethernet interface function STA bridge mode 18 2 4 4 CX WIFI 2NET Ethernet interface function switch 19 2 5 WI FI parameter settings 19 2 5 1 Automatic frequency selection 19 2 5 2 Security Mechanism 19 2 5 3 Add router function when STA 20 2 5 4 STA address binding function 21 2 6 Network p...

Страница 4: ...AT UART 44 3 2 2 2 5 AT UARTF 45 3 2 2 2 6 AT UARTFT 45 3 2 2 2 7 AT UARTFL 46 3 2 2 2 8 AT TMODE 46 3 2 2 2 9 AT WMODE 46 3 2 2 2 10 AT WSKEY 47 3 2 2 2 11 AT WSSSID 48 3 2 2 2 12 AT WSLK 48 3 2 2 2 13 AT WEBU 48 3 2 2 2 14 AT WAP 49 3 2 2 2 15 AT WAKEY 49 3 2 2 2 16 AT MSLP 50 3 2 2 2 17 AT WSCAN 51 3 2 2 2 18 AT TCPLK 51 3 2 2 2 19 AT TCPDIS 51 3 2 2 2 20 AT WANN 52 3 2 2 2 21 AT LANN 53 3 2 2 ...

Страница 5: ...O 71 3 3 AP Mode Setting Procedure 72 3 4 STA mode setting procedure 77 Appendix A FAQ and Answers 88 Question 1 Two CX WIFI 2NET modules are interconnected and the TCP protocol is used as a transparent serial port How to set it 88 Question 2 CX WIFI 2NET module LAN IP settings WAN IP settings Where are they set 88 Question 3 Two WIFI modules are interconnected and the transparent serial port is m...

Страница 6: ... com Page 6 Total 93 Pages RJ45 LAN2 Restart button Chapter 1 Hardware description 1 1 Module model and appearance RS485 A 485 B 485 RS232 2 RX 3 TX 5 GND Power terminal 24V 24V Ground wire Restore factory settings button Long press around 5S External antenna detachable RJ45 LAN1 ...

Страница 7: ...t is equipped with a lithium battery and is always on when the rechargeable battery is charging It automatically turns off when the battery is fully charged READY System operation work indicator Always bright after the system is running LINK Module WIFI connection status indication Connection is established with data constantly lit NET1 LAN1 port connection status indicator Connection establishmen...

Страница 8: ...upport routing bridging switch mode network architecture Support transparent protocol data transmission mode Provide web configuration page Support heartbeat signal WIFI connection indication Support serial free auto framing function Flexible software platform to provide customized services 1 4 Main application areas Intelligent lighting Smart socket Industrial control Remote device monitoring Int...

Страница 9: ...ption External I PEX connector Hardware parameter Data interface UART 300bps 460800bps Ethernet 100Mpbs Operating Voltage 5 30V Working current 50mA 350mA Operating temperature 40 85 Storage temperature 40 125 Size 65 90 36mm Software parameter Wireless network type Station AP mode Security Mechanism WEP WPA PSK WPA2 PSK Encryption type WEP64 WEP128 TKIP AES Operating mode Transparent transmission...

Страница 10: ...it Check position Stop bit Hardware flow control After the user has configured all the parameters and restarted the module can work according to the set parameters Each section will be described in detail in the following sections 2 2 Operating mode The module has three working modes transparent transmission serial command mode and HTTPD client mode 2 2 1 Transparent transmission mode CX WIFI 2NET...

Страница 11: ...tion 1 Bit2 IP 0 Domain name 1 Bit7 Streamlined protocol 0 Full protocol 1 Note Currently only the streamlined protocol is supported Note For Bit1 if it is a short connection the data will be disconnected after sending the data if it is a long connection after the data is sent the connection will remain until the target address is changed again For Bit2 it indicates whether the destination address...

Страница 12: ...ific content of the HTTP protocol header with the AT command or the web page Each time data is sent the module automatically encapsulates the sent data into HTTP protocol data and sends it to the specified HTTP server It is convenient for users to read or submit data directly from the HTTP server In this mode the user can send the data to the specified http server and the module will automatically...

Страница 13: ...ngth The set commands include AT HTPMODE AT HTPSV AT HTPTP AT HTPURL AT HTPHEAD For the specific command setting procedure please refer to the AT command section Similarly there are corresponding settings pages in the web page Note In the new setting mode if you use the AT command to set the protocol header please use CRLF instead of the carriage return You don t need to consider the carriage retu...

Страница 14: ...xible networking mode and network topology The functional modules of the CX WIFI 2NET module are shown below Description AP The wireless access point is the central node of a wireless network A commonly used wireless router is an AP and other wireless terminals can be connected to each other through an AP STA A wireless station is a terminal of a wireless network Such as laptops PDAs etc 2 3 1 STA...

Страница 15: ... CX WIFI 2NET module No 1 is used as an AP Other modules and computers can be connected to this module as STAs It can also be connected to user equipment through the UART interface CX WIFI 2 and 3 The 2NET module is connected to the No 1 module as a STA so that all CX WIFI 2NET modules can be managed by a computer The self organizing network mode can facilitate the unified management of all CX WIF...

Страница 16: ...n of AP STA The STA interface of the module can be connected to the router and connected to the server in the network through TCP connection At the same time the AP interface on the module is also available The mobile phone PAD can be connected to this AP interface via TCPB connection to control the serial device or set the module With the AP STA function it is convenient to use the mobile phone P...

Страница 17: ...ommand is not saved after restarting AT FSTTC on off this command can be saved and the original settings will be maintained after restarting 2 4 Ethernet interface networking mode The CX WIFI 2NET module provides a 100M Ethernet interface Through this 100M Ethernet interface users can implement WIFI port serial port Ethernet port and three interfaces to communicate with each other In terms of netw...

Страница 18: ...TA routing mode CX WIFI 2NETModule Ethernet interface function STA The CX WIFI 2NET block acts as a STA and the module works in routing mode After the module is connected to the AP obtain the IP address from the AP as shown in Figure 192 168 1 100 The modules themselves form a subnet default 10 10 100 254 and the devices on the Ethernet interface are assigned addresses by the module see Figure 10 ...

Страница 19: ...hrough the network port 1 so that the PC1 obtains an IP 192 168 1 101 from the AP In this way PC1 and PC2 can communicate directly under a LAN Multiple D2 modules can be added between PC1 and AP both work in switch mode so that the modules can be extended by hand so that the coverage of the AP network can be extended Note In this mode the module DHCP should be turned off with AT DHCPDEN off otherw...

Страница 20: ...3 Add router function when STA A Search button has been added to the module Wireless Terminal Settings page After clicking this button a window will pop up showing the information of the surrounding APs and select As shown below There are three STA settings on this page You can fill in one or fill in three If all three are filled in the module will automatically switch to the next STA network if t...

Страница 21: ...dress Because the illegal intruder can connect the STAs in the network to the illegal AP by establishing a wireless network with the same SSID ESSID the network is leaked Therefore by binding the BSSID address the STA can be prevented from accessing the illegal network thereby improving the security of the wireless network 2 6 Network parameter setting CX WIFI 2NET module has two TCP Sockets Socke...

Страница 22: ...nt is connected to the module the module will authenticate each connected tcp The first data sent after tcp clien is connected should be the module s webpage password plus carriage return By default the password of the module is admin so the first data sent by the tcp client should be 0x61 0x64 0x6D 0x69 0x6E 0x0D 0x0A hexadecimal If the password is correct the module returns OK and vice versa ret...

Страница 23: ...ameters related to this function are set on the Serial Port and Other Settings section of the webpage The ID MAC function is built for the first time and the ID MAC function is disabled by default 2 7 3 Adaptive baud rate function Please use this function with our company s virtual serial port software In the virtual serial port software select synchronous baud rate class RFC2217 and use the at co...

Страница 24: ...ly switches to the network and restarts when the current network signal is below the signal threshold If the signal value is set to 100 the module will not switch to networks Even if the current network signal is not available it will always search the current network and will not reconnect to other networks The specific settings page of this function Please refer to section 2 5 3 chapter This fun...

Страница 25: ...e easily set by user using IE browser If the module is connected to a wireless network the PC can be set up only if it is connected to the same wireless network In addition since the CX WIFI 2NET module is also an AP PC can be set by being connected to the module which needs to be set 2 9 Firmware upgrade The CX WIFI 2NET module supports web online firmware upgrading ...

Страница 26: ...SID USR WIFI232 AP_xxxx IP Address 10 10 100 254 Subnet Mask 255 255 255 0 User Name admin Password admin 3 1 1 Open management page First connect the CX WIFI 2NET module with the PC s wireless network card The SSID is USR WIFI232 AP_xxxx After connecting open IE enter web page http 10 10 100 254 Fill in the username and password in the pop up dialog box then confirm Then the web page will display...

Страница 27: ...ponding instructions Wireless configuration configure the wifi working mode of the module which can be either AP mode or STA mode Ethernet function configuration open close the Ethernet port and set the corresponding working mode Serial port configuration configure the serial port parameters of the module including serial port baud rate parity bit 485 function etc Network configuration configure t...

Страница 28: ...ess Point Settings The CX WIFI 2NET module supports the AP interface which could be used to manage the module conveniently and realize self organizing network The management page is as shown below Including SSID settings wireless network mode settings and wireless security settings and the setting of the LAN composed of APs ...

Страница 29: ...A interface The CX WIFI 2NET module can be connected to other wireless networks through the STA interface and settings as follows The page setup includes two tables the first one is the STA s wireless settings including the SSID of the AP to be connected security settings and so on The next table shows the network connection mode settings including DHCP and static connection mode ...

Страница 30: ...Shenzhen Coolmay Technology Co Ltd CX WIFI 2NET module user manual Page 30 Total 93 pages www coolmay com ...

Страница 31: ...ge 31 Total 93 pages www coolmay com 3 1 6 Serial Port and Network Settings Application settings are settings for the wifi to uart application parameters including serial port parameter settings automatic framing settings device id settings and network protocol settings ...

Страница 32: ... at the port and the port numbers on both ends of the communication must be the same Socket B can only be TCP client to communicate with the server TCP connection password verification When the module works in tcp server mode password verification is performed on the connected tcp client Note This verification only works when the module is acting as a TCP server When the TCP client is connected to...

Страница 33: ...his page sets the content of the HTTP protocol header in HTTPD Client mode including server address server port request type protocol header path protocol header Connection and protocol header User Agent The HTTPD Client mode supports three HTTP request methods POST PUT and GET When the request mode is POST or PUT the serial port data will be added to the location behind the HTTP protocol header w...

Страница 34: ...ge users can set the port mapping and DDNS functions instead of router with less complexity Port mapping and DDNS can be matched to be used In the public network environment you can enter the peanut shell domain name and port to find the module quickly and easily 3 1 10 Module Management Module management includes username password settings factory reset and ...

Страница 35: ...dule management page After clicking Restart the module will reset and restart and refresh the original configuration information in the memory 3 2 Serial Port Configuration 3 2 1 Module operation mode CX WIFI 2NET module has two working modes Default start mode actively enters the transparent transmission mode users can switch the module to the command line mode via the serial port command The mod...

Страница 36: ...Co Ltd CX WIFI 2NET module user manual Page 36 Total 93 pages www coolmay com In the command line mode the user can use the UART port to set the module via AT command Its function can completely cover the settings of the web page ...

Страница 37: ... port is not echoed as above picture Entering and a needs to be completed within a certain period of time to reduce the probability of entering the command mode by mistake during normal operation Specific requirements are as follows Enter Enter Enter Enter a echoed a In the command mode the module can be set queried and restarted by the AT command under the UART port It can also return to the tran...

Страница 38: ...may com The AT command can also be set via the USR WIFI232 Setup software in CD Click Open Serial Port send a to the left display box to reply OK then input the AT command needs to be sent in the left operation area After setting well click AT RELD to restart the module The module setup is completed ...

Страница 39: ...I232 Setup setting software provided on the CD Through the network operation click Search the searched module will be displayed click it and set AT command on the left operation area same way as the serial port setting 3 2 2 1 Command format AT command adopt ASCII based command line command format as below Format description indicates the part that must be included indicates an optional part Comma...

Страница 40: ...ing null query para n Input when parameter setting no need when query CR Terminator Enter ASCII code 0x0a or 0x0d Description When echoing the terminator is automatically converted to 0x0a0d When you enter a command the AT CMD character is automatically echoed to uppercase and the parameter portion remains unchanged Response message RSP op para 1 para 2 para 3 para 4 CR LF CR LF ...

Страница 41: ...ameters UART Set query serial port parameters UARTF Turn on off auto framing UARTFT Set query automatic framing trigger time UARTFL Set query automatic framing trigger length TMODE Set Query Data Transfer Mode Transparent Mode or Protocol Mode WMODE Set Query WIFI operation mode AP or STA WSKEY Set Query Encryption Parameters in WIFI STA Mode WSSSID Set Query AP SSID in WIFI STA Mode WSLK Query th...

Страница 42: ...CPB Enable disable TCPB function TCPPTB Set query the TCPB port number TCPADDB Set query the TCPB server address TCPTOB Set query TCPB timeout TCPLKB Query whether the TCPB connection is built RELD Back to factory setting FUDLX Turn on off 485 function MMID Set module ID IDFIR Turn on off the first built in ID function IDEVE Turn on off each data band ID function AABR Turn on off the adaptive baud...

Страница 43: ...er sets WSKEYB Set Query the encryption of 2nd STA of the three STA parameter sets WSKEYC Set Query the encryption of 3rd STA of the three STA parameter sets WSQY Set Query the signal switching threshold of three STA parameter sets HTPMODE New and old HTTP header setting mode switching HTTPD Client HTPSV Under the new version set query server address and IP HTTPD Client HTPTP Under the new version...

Страница 44: ...mmand is executed correctly the module switches from command mode to transparent mode If you want to enter the command mode again you can enter and confirm code to the command mode 3 2 2 2 3 T NETP Function Set query network protocol parameters Format Inquire AT NETP CR ok protocol CS port IP CR LF CR LF Set AT NETP protocol CS port IP CR ok CR LF CR LF Parameter protocol TCP UDP CS including SERV...

Страница 45: ... check MARK Positive check SPACE Negative check Flowctrl Hardware Flow Control CTSRTS NFC No Hardware Flow Control FC Hardware flow control After the module is restarted the set parameters take effect 3 2 2 2 5 AT UARTF Function Turn on off the automatic framing function Format Inquire AT UARTF CR ok para CR LF CR LF Set AT UARTF para CR ok CR LF CR LF Parameter para Can take the value disable or ...

Страница 46: ... or protocol mode Format Query AT TMODE CR ok tmode CR LF CR LF Set AT TMODE tmode CR ok CR LF CR LF Parameter tmode Data transfer mode including Through Transparent transmission mode Agreement Serial Command Mode Httpdclient HTTPD Client mode Modbus Modbus TCP Modbus RTU mode After the module is restarted the set parameters take effect Note No CMD it will not work in AT command mode by default af...

Страница 47: ...cation mode including OPEN SHARED WPAPSK WPA2PSK Encry encryption algorithm including Valid when NONE auth OPEN WEP H valid when auth OPEN or SHARED WEP HEX WEP A valid when auth OPEN or SHARED WEP ASCII TKIP valid when auth WPAPSK WPA2PSK Valid when AES auth WPAPSK WPA2PSK Key password when encry WEP H the password is hexadecimal 10 or 26 digits when encry WEP A the password is ASCII code 5 digit...

Страница 48: ... is restarted the set parameters take effect And these parameters can also be set in AP mode 3 2 2 2 12 AT WSLK Function Query the link status in wireless STA mode only for STA mode Format Query AT WSLK CR ok ret CR LF CR LF parameter ret If not connected return Disconnected If there is a connection return AP s SSID AP s MAC If the wireless is not turned on Return to RF Off This parameter is valid...

Страница 49: ...Format Query AT WAP CR ok wifi_mode ssid channel C R LF CR LF Settings AT WAP wifi_mode ssid channel CR ok CR LF CR LF parameter wifi_mode WIFI mode including 11BG 11B 11G 11BGN 11N ssid SSID in AP modeD channel WIFI channel selection AUTO or CH1 CH11 This parameter is valid only in AP mode After the module is restarted the set parameters take effect However these parameters can also be set in STA...

Страница 50: ...WPAPSK WPA2PSK Valid when AES auth WPAPSK WPA2PSK Valid when TKIPAES auth WPAPSK WPA2PSK Key password when encry WEP H the password is hexadecimal 10 or 26 digits when encry WEP A the password is ASCII 5 digits or 13 digits otherwise it is ASCII code less than 64 bit greater than 8 bits This parameter is valid only in AP mode After the module is restarted the set parameters take effect But it can ...

Страница 51: ...N Function Search AP Format AT WSCAN CR ok ap_site CR LF CR LF parameter Ap_site searched AP site The first line of the return value is RSSI SSID BSSID Channel Encryption Authentication which are strong signals Degree network name MAC address channel authentication mode encryption algorithm 3 2 2 2 18 AT TCPLK Function Query whether the TCP connection has been chained Format AT TCPLK CR ok sta CR ...

Страница 52: ...linkable that is after the command is finished the module immediately disconnects and no longer reconnects On Sets the module to be linkable that is after the command is completed the module immediately begins to reconnect to the server 3 2 2 2 20 AT WANN Function Set query WAN settings only valid in STA mode Format Query AT WANN CR ok mode address mask gateway CR LF CR LF Settings AT WANN mode ad...

Страница 53: ...R LF CR LF parameter Address LAN port IP address Mask LAN port subnet mask Note The wan port address of the module viewed by WANN and the lan port address of the module viewed by LANN cannot be set to be as the same network segment Otherwise the module does not work properly 3 2 2 2 22 AT DHCPGW Function Set Query DHCP Gateway Address Format Query AT DHCPGW CR ok address CR LF CR LF Settings AT DH...

Страница 54: ... longer than the TCPTO time disconnect When the module works in the TCP Client it will reconnect to the TCP Server When the module is a TCP server the TCP client needs to reconnect actively 3 2 2 2 24 AT MAXSK Function Set Query Maximum TCP Connections Format Query AT MAXSK CR ok num CR LF CR LF Settings AT MAXSK num CR ok CR LF CR LF parameter Num Maximum number of TCP connections which can suppo...

Страница 55: ... take effect 3 2 2 2 26 AT TCPPTB Function Set Query the port number of TCPB Format Query AT TCPPTB CR ok port CR LF CR LF Settings AT TCPPTB port CR ok CR LF CR LF parameter Port Protocol port in decimal less than 65535 After the module is restarted the set parameters take effect 3 2 2 2 27 AT TCPADDB Function Set Query TCPB Server Format Query AT TCPADDB CR ok add CR LF CR LF Settings AT TCPADDB...

Страница 56: ...is 0 3 2 2 2 29 AT TCPLKB Function Query whether the TCPB link has been built Format AT TCPLKB CR ok sta CR LF CR LF parameter Sta Returns whether TCPB builds a chain such as On indicating that the chain has been built Off indicating that there is no chain 3 2 2 2 30 AT FUDLX Function RS485 open and close command Format AT FUDLX on off CR ok CR LF CR LF This command enables or disables the 485 con...

Страница 57: ...f 3 2 2 2 33 AT IDEVE Function Each data with ID function turns on the off command format AT IDEVE on off CR ok CR LF CR LF This command enables or disables the data ID function each time The default is off Note The function of the ID requires the server to handle it accordingly When the module is connected to the server it will have a two byte ID number in front of the data ID range is 0 65535 hi...

Страница 58: ...R LF parameter This command enables or disables the DHCP server function of the LAN port The default is enabled 3 2 2 2 36 AT HIDESSID Function Turn on off to hide the SSID of the module AP Format AT HIDESSID on off CR ok CR LF CR LF This command enables or disables the hiding of the SSID of the module AP The default is off 3 2 2 2 37 AT DOMAIN Function Set Query the domain name of the login modul...

Страница 59: ... restarts 3 2 2 2 39 AT Z Function restart the module Format AT Z CR Module restart 3 2 2 2 40 AT MID Function Query module MID Format Query AT MID CR ok module_id CR LF CR LF parameter Module_id module MID format A11 yymmddnnnn yymmdd indicates the date of manufacture year month and day respectively nnnn indicates the production serial number 3 2 2 2 41 AT VER Function Query software version form...

Страница 60: ...description 3 2 2 2 43 AT HTTPURL Function Set Query IP and Port Format of HTTP Server Query AT HTTPURL CR ok ip port CR LF CR LF Settings AT HTTPURL ip port CR ok CR LF CR LF parameter Ip ip of the HTTP server port Port of the HTTP server 3 2 2 2 44 AT HTTPTP Function Set Query HTTP Request Type Format Query AT HTTPTP CR ok Type CR LF CR LF Settings AT HTTPTP Type CR ok CR LF CR LF parameter Type...

Страница 61: ... LF CR LF parameter Path The protocol header path of HTTP 3 2 2 2 46 AT HTTPCN Function Set Query Connection of HTTP Protocol Header format Query AT HTTPCN CR ok Connection CR LF CR LF Settings AT HTTPCN Connection CR ok CR LF CR LF parameter Connection The Connection of the HTTP protocol header 3 2 2 2 47 AT HTTPUA Function Set Query User Agent of HTTP Protocol Header Format Query AT HTTPUA CR ok...

Страница 62: ...ernet 1 function which is enabled by default 3 2 2 2 49 AT EPHYB Function Enable disable Ethernet 2 function Format AT EPHYB on off ID CR ok ID CR LF CR LF parameter This command enables or disables the Ethernet 2 function which is enabled by default With AT FVEW disable enable you can set the module network port to work in lan disable or wan enable the instruction restores the factory settings to...

Страница 63: ...2 2 2 51 AT WSSSIDB Function Set Query the second AP SSID under the WIF three STA parameter sets Format Query AT WSSSIDB CR ok ap s ssid CR LF CR LF Settings AT WSSSIDB ap s ssid CR ok CR LF CR LF parameter Ap s ssid SSID of the AP This parameter is valid only in STA mode After the module is restarted the set parameters take effect However these parameters can also be set in AP mode 3 2 2 2 52 AT ...

Страница 64: ...ngs AT WSKEYA auth encry key CR ok CR LF CR LF parameter Auth authentication mode including OPEN SHARED WPAPSK WPA2PSK Encry encryption algorithm including Valid when NONE auth OPEN WEP H valid when auth OPEN or SHARED WEP HEX WEP A valid when auth OPEN or SHARED WEP ASCII TKIP valid when auth WPAPSK WPA2PSK Valid when AES auth WPAPSK WPA2PSK Key password when encry WEP H the password is hexadecim...

Страница 65: ...ONE auth OPEN WEP H valid when auth OPEN or SHARED WEP HEX WEP A valid when auth OPEN or SHARED WEP ASCII TKIP valid when auth WPAPSK WPA2PSK Valid when AES auth WPAPSK WPA2PSK Key password when encry WEP H the password is hexadecimal 10 or 26 digits when encry WEP A the password is ASCII 5 digits or 13 digits otherwise it is ASCII code less than 64 bit greater than 8 bits This parameter is valid ...

Страница 66: ...IP valid when auth WPAPSK WPA2PSK Valid when AES auth WPAPSK WPA2PSK Key password when encry WEP H the password is hexadecimal 10 or 26 digits when encry WEP A the password is ASCII 5 digits or 13 digits otherwise it is ASCII code less than 64 bit greater than 8 bits This parameter is valid only in STA mode After the module is restarted the set parameters take effect But it can also be set in AP m...

Страница 67: ...etting mode switching HTTPD Client Format Query AT HTPMODE CR ok type CR LF CR LF Settings AT HTPMODE type CR ok CR LF CR LF parameter Type authentication mode including New new HTTP header settings Old Older HTTP header settings This parameter is valid only in HTTPD Client mode After the module is restarted the set parameters take effect However this parameter can also be set in other modes 3 2 2...

Страница 68: ...P Request Type Format Query AT HTPTP CR ok Type CR LF CR LF Settings AT HTPTP Type CR ok CR LF CR LF parameter Type HTTP request type such as GET PUT POST This parameter is valid only in HTTPD Client mode After the module is restarted the set parameters take effect However these parameters can also be set in other modes 3 2 2 2 60 AT HTPURL Function Set Query HTTP Protocol Header Path Format Query...

Страница 69: ...tes Note AT commands such as AT HTPMODE AT HTPSV AT HTPTP AT HTPURL and AT HTPHEAD are supported in V5 01D 14 and above 3 2 2 2 62 AT REGEN Function Set Query Registration Package Type Format Query AT REGEN CR ok mode CR LF CR LF Settings AT REGEN mode CR ok CR LF CR LF parameter Mode the type of the registration package such as Id the registration package is an ID Mac The registration package is ...

Страница 70: ...e value of the ID ranging from 0 to 65535 3 2 2 2 65 AT IPBUP Function Enable disable domain name resolution IP backup function Format Query AT IPBUP CR ok backup a backup b CR LF CR LF Settings AT IPBUP backup a backup b CR ok CR LF CR LF parameter Backup a authentication mode including On Open TCPA domain name resolution IP backup function Off Disable TCPA domain name resolution IP backup functi...

Страница 71: ...ww coolmay com 3 2 2 2 66 AT STAPRO Function Turn on off the smart STA function Format Query AT STAPRO CR ok mode CR LF CR LF Settings AT STAPRO mode CR ok CR LF CR LF parameter Mode Included On Turn on the smart sta function Off Turn off the smart sta function This command is off by default ...

Страница 72: ...00 254 and press Enter Fill in the user name and password in the pop up dialog box The default username is admin the password defaults to admin and then click OK Enter the quick configuration the working mode in the wireless mode is selected as the AP mode the network name SSID user can change it by itself that is the WiFi name the encryption mode can set the password of the WiFi the Disable means...

Страница 73: ...Shenzhen Coolmay Technology Co Ltd CX WIFI 2NET module user manual www coolmay com Page 73 Total 93 pages ...

Страница 74: ...p bit 1 Note 9600 7 EVEN 1 is Coolmay PLC Or compatible with the Mitsubishi protocol PLC parameters the specific baud rate data bits check bits stop bits are based on the default parameters of the connected PLC or serial device other parameters as default and then click OK In the network mode the network mode is set as Server the protocol is set as TCP the port is set as 8899 other parameters are ...

Страница 75: ...Shenzhen Coolmay Technology Co Ltd CX WIFI 2NET module user manual www coolmay com Page 75 Total 93 pages ...

Страница 76: ... pages Step 2 Configure the virtual serial port software Open the computer s wireless network and search for the wireless signal USR WIFI232 AP_ to connect to the wireless network Add a virtual serial port Connect the virtual serial port and change the sync baud rate option in the option to unchecked ...

Страница 77: ...M2 At this time the PLC programming software can be connected by COM2 and the PLC download program and wireless monitoring can be performed Note The PLC software version must be GX 8 52 or WORKS 2 3 4 STA mode setting procedure The first step configure CX WIFI 2NET module communication Open the computer s wireless network and search for the wireless signal USR WIFI232 AP_ to connect to the wireles...

Страница 78: ...e URL http 10 10 100 254 and press Enter Fill in the user name and password in the pop up dialog box The default username is admin the password defaults to admin and then determine Enter the quick configuration select the STA mode in the wireless mode click Search and search for the network name SSID to be accessed by the module ...

Страница 79: ...ge 79 Total 93 pages In this screenshot the xi777 wireless network is connected and the correct password is entered Note that the specific network and password to be connected need to be set on site this screenshot is for reference only other parameters are default then click to confirm ...

Страница 80: ...t transmission mode In the serial port parameter configuration the baud rate 9600 data bit 7 check digit EVEN stop bit 1 note 9600 7 EVEN 1 is Gu Mei PLC or PLC parameters compatible with Mitsubishi protocol the specific baud rate data bit check digit stop bit are set according to the default parameters of the connected PLC or serial device other parameters are default then click OK ...

Страница 81: ...module user manual www coolmay com Page 81 Total 93 pages In network mode the network mode is set to Client the protocol is set to TCP the port is set to 25565 the server address is set to 120 76 116 193 other parameters are default and then click OK ...

Страница 82: ...gs device registration package settings the registration package type is changed to upload ID the registration package mode is selected First the device ID is set to 64847 in this screenshot Note each CX WIFI 2NET module needs to use STA Mode need device ID you need to consult Gumei technical customer service to request and then set then click OK ...

Страница 83: ...nzhen Coolmay Technology Co Ltd CX WIFI 2NET module user manual www coolmay com Page 83 Total 93 pages After all the above steps are set enter the module management and click Restart in the restart module ...

Страница 84: ...Shenzhen Coolmay Technology Co Ltd CX WIFI 2NET module user manual www coolmay com Page 84 Total 93 pages ...

Страница 85: ...e is Shenzhen Coolmay Technology domain name which must be connected with Coolmay server Target port setting 25565 Registration ID setting in Advanced 43589 Note Each CX WIFI 2NET module has a unique pair of registration IDs Please specify the registration ID according to the factory parameters The registration ID number corresponding to each module will be indicated on the product label If you fo...

Страница 86: ...Shenzhen Coolmay Technology Co Ltd CX WIFI 2NET module user manual www coolmay com Page 86 Total 93 pages ...

Страница 87: ...y com Page 87 Total 93 pages In this routine the virtual serial port number is COM2 and the PLC programming software needs to use COM2 connection to download the program and remotely monitor the PLC Note The PLC software version must be GX 8 52 or WORKS 2 to connect successfully ...

Страница 88: ... to 10 10 100 100 The TCP protocol of the 2 module is set as follows TCP Client port 8899 is unchanged and the IP address is the LAN IP address of the 1 module ie AP 10 10 100 254 When the module is set to STA its WIFI port is the WAN port and the WAN address must not be on the same network segment as the LAN address so the LAN IP of the 2 module needs to be changed as shown in Figure 10 10 99 254...

Страница 89: ...ule is used as the AP the protocol is changed to UDP and the IP address is 2 module WAN IP 10 10 100 100 2 module as STA WAN port address or dynamic acquisition or static setting recommended static address such as set to 10 10 100 100 The TCP protocol of the 2 module is set as follows UDP port 8899 is unchanged and the IP address is the LAN IP address of the 1 module ie AP 10 10 100 254 The LAN IP...

Страница 90: ...protocol is set in the Application Settings page as shown in the figure The module defaults to TCP Server and the port number is 8899 When set to TCP Client the IP address must be set the IP address of the server to be connected If UDP is set there is no choice between Server and Client The port number must be set The IP address must be filled in with the IP address of the peer device ...

Страница 91: ...rotocol address is WAN IP of the 2 module 10 10 100 100 The ports of the 2 and 3 modules are the same which is 8899 The 2 module LAN IP is changed to 10 10 99 254 and the 3 module LAN IP is changed to 10 10 98 254 to avoid conflict Question 6 How to avoid IP address conflict when using CX WIFI 2NET module The range of dynamically assigned IP addresses of the CX WIFI 2NET module can be defined as b...

Страница 92: ... with the PC All three modules are used as data cards the 1 module is used as the AP and the other two modules are connected to the 1 module WIFI The IP address of the PC is 10 10 100 100 which is TCP Server and port 8899 1 module protocol setting TCP Client 10 10 100 100 8899 2 module WAN IP is 10 10 100 101 protocol setting TCP Client 10 10 100 100 8899 3 module WAN IP is 10 10 100 102 protocol ...

Страница 93: ...host computer obtain the IP of the module All wifi modules support UDP search and will return their own IP MAC and MID accordingly The specific search process is as follows 1 Send a password via UDP broadcast broadcast address xx xx xx 255 port 48899 The default password is HF A11ASSISTHREAD This password can be set with AT command AT FASWD up to 100 byte 2 After the module receives the password i...

Отзывы: