InDTU332N User Manual InHand Networks www.inhandnetworks.com Version: V1.
Preface Thanks for choosing InDTU332N series industrial products! This user manual will guide you in detail how to use this industrial cellular modem. Readers This manual is mainly intended for the following engineers: • • • Network planner Field technical support Network administrators Conventions This manual uses the following conventions: Conventions Indication Bold Characters Window name, menu name and button name are in bold characters. For example, the pop-up window New User.
Technical Support For technical support, please contact: Tel: +1 (703) 348-2988 (USA) E-mail: support@inhandneworks.com Trademarks and Copyright INHAND, InHand and the InHand logo are trademarks of InHand Networks. The trademarks of other companies, product logos and trade names in the manual are possessed by their respective owners. © 2018 InHand Networks. All rights reserved.
Contents 1 Product Overview ............................................................................................................................ 1 1.1 System Application ................................................................................................................................ 1 1.2 Function Description .............................................................................................................................. 1 1.2.1 Hardware ..............................
1 Product Overview 1.1 System Application InDTU332N uses the wireless cellular network to complete remote data collection and transmission, thus enabling remote monitoring in the industrial field. InHand Networks provides an integral solution that allows users to implement high production efficiency with minimal investment. The typical network topology is shown as below. Figure 1-1 network topology 1.2 Function Description 1.2.
It has the following features: ⚫ Compact and easy-to-install design ⚫ Moisture proof, anti-interference design ⚫ Voltage range +5 to 35 V DC, meeting industry requirements ⚫ Industry-level temperature range: -40℃ to +70℃ Figure 1-2 shows the hardware structure of InDTU332N. Figure 1-2 hardware structure 1.2.2 Software Functions InDTU332N implements wireless data communication between the serial port device in the remote station and the central control system.
SMS active In short connection mode, when the device is in hibernation, it can be activated by receiving SMS InDTU332N does not support this feature. Auto active Start timing when entering sleep mode, reach the scheduled time, then re-dial up Auto offline Start timing from the successful dialing, and when the scheduled time is reached, restart the communication module and enter the sleep mode.
Table 1-3 Advanced functions Function Description Upgrade Locally upgrade by serial port or remotely upgrade by IP network Import/export Exports configuration to files or imports configure file to device. Log storage Stores key logs to the Flash memory, which can be read by using configuration tool or serial port.
2 Install and Power on 2.1 InDTU332N Installation InDTU332N is housed in a snap-type plastic shell. Figure 2-1 shows: Figure 2-1 Open the case, slide the top cover, insert the SIM card correctly, and then close the top cover, as shown in Figure 2-2. Figure 2-2 Installing SIM card into InDTU332N Connect the antenna, the cables for serial interface and DC power cable, as shown in Figure 2-3.
Figure 2-3 InDTU332N wiring Table 2-1 Interface terminal description Pin Function Remarks GND Digital ground Provide serial port grounding. TXD/485- RS232 sending or RS485- RS232 or RS485 depends by device RXD/485+ RS232 receiving or RS485+ RXD2 RS232 data receiving TXD2 RS232 data Transmiting GND Digital ground Provide serial port grounding. V- Power Negative V+ Power Positive Support 5 V DC to 35 V DC input, with ripple wave lower than 100 mV.
2.2 LED Indicator After the device is powered on, the DTU will automatically run continuously according to the configuration, and complete related operations. During this process, the device's indicator light will indicate different operating states, as shown in the following table: DTU status Power Modem SIM indicator Status indicator Power on On Spare Off Off Dialing..., no fault. On Off Off Dialing..., fault. On Off On Dialing is successful, and connecting center.
3 Quick Start 3.1 View Real-Time Logs Run the configuration tool DTU Tool and log into the device via serial port 2 of the DTU, as described in section 5.1. Select the “Advance mode” in DTU Tool, then Click "Settings>>Other " to configure the Debug Level and Debug mode as shown below. Figure 3-1 the configure about debug mode Log in the configuration tool. Choose “Maintenance > Real-time log”. To display real-time logs, click “Start reading”. Wait for several seconds, and the logs are displayed.
Figure 3-2 Viewing real-time logs 3.2 View History Logs Choose “Maintenance > History log”. To read the logs stored in Flash memory, click “Start reading”. To stop reading the logs stored in the Flash memory, click “Stop reading”. To delete all logs stored in the Flash memory, click “Erase log on DTU”. To export all logs stored in the Flash memory, click “Export log”, as shown in Figure 3-3.
Figure 3-3 Viewing history logs 3.3 Import/Export Configuration DTU supports below 2 types configuration file: The .ini file is a plain-text file with comments and easy to read/view. The .cfg file is a binary file with a smaller file size. After establishing a connection with the DTU through the configuration tool and logging in. Click the or button to export or import the configuration file, as shown in Figure 3-4.
Figure 3-2 Importing/Exporting configuration After importing the configuration file, click Save configurations. The parameter settings take effect after a restart. 3.4 Upgrade Device Choose “Maintenance > Upgrade firmware”.
Figure 3-4 select firmware Figure 3-5 upgrade firmware 12
Figure 3-6 popup after upgrade Figure 3-7 confirm the upgrade result 13
4 Parameter Settings 4.1 Local Serial Port/Serial Port 2 The DTU serial port parameters should be the same as the serial port parameters of the peer device connected to the serial port. Table 4-1 Parameter settings for serial port Parameters Description Default Baud rate 1200, 2400, 4800, 9600, 14400, 19200, 38400, 57600, or 115200, in bps 9600 Data bit 5, 6, 7, or 8 8 Stop bit 1, 1.5, or 2 1 Parity None/odd/even None Scan interval Retain the default value.
4.3 GPRS Dialing Table 4-3 Setting GPRS dialing parameters Parameters Description Default Auto dial Enable or disable auto dial. Yes PPP echo interval 30 to 3600 seconds. 50 Redial interval 0 to 3600 seconds. 60 Max redial times Once consecutive failed redial times reach to the predefined limit (1-10), the device will automatically hot restart. 3 Dual SIM mode Enable this function before use SIM No.2.
Application center heartbeat (min) The value ranges from 1 to 60, The application center and extend center will share this parameter. 1 The IP address of a dedicated DNS server. 8.8.8.8 SNTP service Enable or disable the SNTP service. The default time 1970-1-1. Disabled SNTP server IP IP address or domain name for SNTP server. time.nist.gov Exchange local serial ports “OFF” means that serial port No.1 is working port, port No.
4.7 Other Settings Table 4-6 Setting application extension parameters Parameters Description Default Max log-in times Max login times 5 Allow telnet Enable or disable telnet funcation No Debug mode Yes or no. If yes is selected, you can view the DTU running logs by using the serial port tool. This setting take effect immediately, the restart is unnecassary. No Debug level detailed log, Chinese brief log, and English brief log.
4.9 Administrator Account Table 4-8 Setting administrator login parameters Parameters Description Default Administrator Set the administrator account name. adm Administrator password Set the password for the administrator account. 123456 Common user Set the name of the common user. adm Common user password Set the password for the common user. 123456 4.
4.11 User-Defined Packets Packet types: ASCII, HEX, and DC. ASCII type means that the packet uses ASCII characters. HEX type means that the packet uses HEX characters. DC type means that packet content will adopt the same format with DC message.
5 Common usage and Examples 5.1 Base Configuration Connect serial port 2 to the PC through a serial cable and power on the device. Step 1: Launch and log into the DTU via configuration Tool. Click . In the pop-up dialog box, enter the user name and password (initial user name and password are adm/123456). Select a serial port, set the serial port parameters such as baud rate, and click , as shown in Figure 5-1.
Figure 5-2 Local serial port parameters When the device act as a client, set the parameters of local serial port. When the device act as a TCP server, set the parameters of local serial port No.2. Step 3: Click “Configuration>>GPRS” to modify parameter settings. For example, the APN, and user name/password for dialing.
Figure 5-3 Dialing parameters Step 3: After the parameters are set, click . The parameter settings take effect after restart. 1. After a login, you can start to modify parameters only when the system prompts that the configuration is successfully read. 2. After setting parameters, click “Save configurations” and restart the device. The parameter settings change will take effect after a restart.
5.2 Transparent TCP 5.2.1 Parameter Settings Step 1: See chapter 5.1 Base Configuration. Step 2: Click “Confgigurations>>Application center”, Select TCP for the “Application center link mode”, as shown in Figure 5-4. Figure 5-4 TCP setting 1 Step 3: Choose “Confgigurations>>Application center”. Set IP, Domain name, and Port, as shown in Figure 5-5.
Figure 5-5 TCP setting 2 Step 4: After the parameters are set, click . The parameter settings take effect after a restart. 5.2.2 Demonstration Use a PC as the center to demonstrate the communication between DTU and center. Step 1: Set parameters according to 5.2.1 Parameter Settings. Step 2: Launch TCP Client Server to create a server. Use the PC as the center. Enter the TCP port number of the PC in Port and click Listen, as shown in Figure 5-6.
Figure 5-6 TCP Example 1 Step 3: You can see that the device is successfully connected on the TCP Client Server page. Enter content in the Send box and click Send, as shown in Figure 5-7. The center then sends data to the DTU.
Figure 5-7 TCP Example 2 Step 4: Connect serial port 2 to the PC with a serial cable. Run a serial port tool, such as Serial Port Utility, on the PC to view the content received from the center, as shown in Figure 5-8.
Figure 5-8 TCP Example 3 5.3 Transparent UDP 5.3.1 Parameter Settings Select UDP for the “Application center link mode”, the other configuration are same with section 5.2.1 Parameter Settings. 5.3.2 Demonstration UDP is a connectionless transmission protocol. To enable the device to successfully connect to the server, configure the login packet and heartbeat packet. Step 1: See chapter 5.3.1 Parameter Settings. Step 2: Configure login packet. Choose “Configuration>>User defined packets > Log-in”.
Figure 5-9 UDP Example 1 Step 3: Configure heartbeat packet. Choose “Configuration > User defined packets > Heart beat”. Select the packet type and enter the packet body, as shown in Figure 5-10.
Figure 5-10 UDP Example 2 Step 4: After the parameters are set, click . The parameter settings take effect after a restart. Step 5: Launch UDP Client Server to create a server. Use the PC as the center. Enter the UDP port number of the PC in Port and click Start Server, as shown in Fig 5-11.
Figure 5-11 UDP Example 3 Step 6: The packets from DTU are received in UDP Client Server, as shown in Figure 5-12.
Figure 5-12 UDP Example 4 5.4 TCP Server When the DTU act as a TCP server, note that: ⚫ The DTU must have a fixed IP address. That is, the wireless DDN private network service is required. ⚫ The DTU detects link availability by monitoring the wireless side data. If there is no data from the wireless side in two hours (this interval is fixed in firmware), DTU will tear down the PPP link and redials. 5.4.1 Parameter Settings Step 1: See chapter 5.1 Base Configuration.
Figure 5-13 TCP server communication port Step 3: Choose “configurations >> ICMP”, set the ICMP three options. Figure 5-14 shows a configuration example. Enable ICMP to keep-alive the wirless communication link.
Figure 5-14 ICMP setting Step 4: (Optional)Choose “configurations > Application center”. Set the IP address in 0.0.0.0 format, the DTU does not actively connect to the application center anymore. Step 5: (Optional)Choose “configurations > GPRS”, set special APN if necasscary. Step 6: After the parameters are set, click . The parameter settings take effect after restart. 5.5 Modbus-Net-Bridge 5.5.1 Parameter Settings Step 1: See chapter 5.1 Base Configuration.
Figure 5-15 Modbus-Net-Bridge setting 1 Step 3: Choose “configurations >> ICMP”, set the ICMP three options. Enable ICMP to keep-alive the wirless communication link. Step 4: After the parameters are set, click . The parameter settings take effect after restart. 5.5.2 Demonstration Step 1: Set parameters according to 5.5.1 Parameter Settings. Step 2: Status>Network layer to check the IP address which assigned to DTU.
Figure 5-16 The assigned IP address Step 3: Run the mod_RSsim.exe tool, and set correct values for Port, Baud rate, Data bits, Stop bits, and Parity, as shown in Figure 5-17.
Figure 5-17 Modbus-Net-Bridge example 2 After the settings are complete, data transmission starts, as shown in Figure 5-25.
Figure 5-18 Modbus-Net-Bridge example 3 Step 4: Run the ModScan32.exe tool, choose Connection > Connect. In the pop-up dialog box, set IP Address to the Local IP of DTU and Service to 502, as shown in Figure 5-19. Figure 5-19 Modbus-Net-Bridge example 4 After the settings are complete, ModScan32.exe starts to receive data, as shown in Figure 5-20.
Figure 5-20 Modbus-Net-Bridge example 5 5.6 IHDMP Usage Example DTU can be managed not only through the dedicated configuration tool DTU Tool, but also based on proprietary protocols, IHDMP. For example, send SMS, get the configuration of the DTU, and so on.
If the paket conforms to the standard (header, command word identifier, data encapsulation format, and CRC), the corresponding reply from DTU is as follows: Serial Port Utility (received): AA 55 AA 55 17 00 05 81 89 00 01 02 38 72 The content of the packet is 1 byte, and 0x02 indicates that the correct short message data is received. 6 Appendix Capturing DTU Logs The storage space on DTU is limited. If you need to capture device running logs for a long time for troubleshooting, you can use other software.
Step 2: Configure the software. After configuring the DTU tool, disconnect the device. Run Serial Port Utility, configure the serial port and baud rate for log capturing, and select the received file type. Click File to save the logs, and open the serial port, as shown in Figure 6-2. The logs printed in window will be automatically saved to the created log file.
FAQ 1) InDTU332N reboots frequently. Troubleshooting procedure: 1. Check whether the device can go online by dialing. 2. Check whether the UIM/SIM/USIM card is correctly inserted into the DTU. 3. Check whether the UIM/SIM/USIM card is suspended for arrears, or damaged. 4. Check whether the dialing parameters (such as dial number, access point parameter, account, and password) are correct. 5. Check whether wireless signal strength is lower than 20.
FCC Warning This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) this device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation.