Four-Faith F-IM100 Series User Manual

Four-Faith F-IM100 Series User Manual

Ip modem

Advertisement

Quick Links

FOUR FAITH
F-IM100 Series IP MODEM
USER MANUAL
V1.0.0
Xiamen Four-Faith Communication Technology Co., Ltd.
https://en.four-faith.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the F-IM100 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Four-Faith F-IM100 Series

  • Page 1 FOUR FAITH F-IM100 Series IP MODEM USER MANUAL V1.0.0 Xiamen Four-Faith Communication Technology Co., Ltd. https://en.four-faith.com...
  • Page 2 Copyright Notice All contents in the files are protected by copyright law, and all copyrights are reserved by Xiamen Four-Faith Communication Technology Co., Ltd. Without written permission, all commercial use of the files from Four-Faith are forbidden, such as copy, distribute, reproduce the files, etc., but non-commercial purpose, downloaded or printed by individual (all files shall be not revised, and the copyright and other proprietorship notice shall be reserved) are welcome.
  • Page 3: Table Of Contents

    Contents Contents Chapter 1 Brief Introduction of Product..................... 4 1.1 General..........................4 1.2 Working Principle........................4 1.3 Specifications........................5 Chapter 2 Installation Introduction..................... 7 2.1 General..........................7 2.2 Encasement List........................7 2.3 Installation and Cable Connection..................7 2.4 Power...........................10 2.5 Indicator Lights Introduction....................10 Chapter 3 Configuration........................11 3.1 Configuration Connection....................
  • Page 4: Chapter 1 Brief Introduction Of Product

    Chapter 1 Brief Introduction of Product 1.1 General F-IM100 Series IP MODEM is a kind of cellular terminal device that provides data transfer function by public cellular network. It adopts high-powered industrial 32 bits CPU and embedded real time operating system. It supports RS232 and RS485 port that can conveniently and transparently connect one device to a cellular network, allowing you to connect to your existing serial devices with only basic configuration.
  • Page 5: Specifications

    SRAM& RTC Module FLASH WDT Module Indicator Lights Antenna Cellular RS232/RS485/RS422 Module Module SIM/UIM Interface Power Module User Interface Figure1-2 IP Modem principle chart 1.3 Specifications Hardware System Item Content Industrial 32 bits CPU FLASH 512KB (Extendable) SRAM 256KB 12 bit Interface Type Item Content...
  • Page 6: Power Input

    Antenna Interface Terminal Block SIM/UIM Port Note: There may be different components and interfaces in different model, please in kind prevail. Power Input Item Content Standard Power DC 12V/0.5A Power Range DC 9~36V Power Consumption Working States Power Consumption Communication 20~65mA@12VDC(2G:20~40 mA 4G:20~65mA) 20~95mA@9VDC (2G:30~45 mA...
  • Page 7: Chapter 2 Installation Introduction

    Chapter 2 Installation Introduction 2.1 General The IP MODEM must be installed correctly to make it work properly. Warning: Forbid to install the IP MODEM when powered! 2.2 Encasement List Name Quantity Remark IP MODEM host Cellular Antenna Power adapter 12V 0.5A RS232 data cable optional...
  • Page 8 Put SIM/UIM card into the card sheath (Pay attention to put the side which has metal point outside), and insert card sheath back to the SIM/UIM card outlet. Warning: Forbid to install SIM/UIM card when powered! Installation of antenna: Screw the SMA male pin of the antenna to the female SMA outlet of the IP MODEM tightly.
  • Page 9 Note:RS232(RX2/TX2)and RS485 can only support one way online at the same time Installation of cable: F-IM100 adopts industrial terminal block interface. The recommendatory cable is 28-16AWG. The detail description of standard layout adapter and communication cables as is following: Adapter(Rating Output 12VDC/0.5A): Cable Color Power Output Polarity Black&White Alternate...
  • Page 10: Power

    2.4 Power IP MODEM can be used in complex external environments. In order to adapt to the complex application environment and improve the stability of the system, IP MODEM uses advanced power technology. users can use the standard 12VDC/0.5A adapter to power the IP MODEM, or directly use the DC 9~36V power supply to power the IP MODEM.
  • Page 11: Chapter 3 Configuration

    Chapter 3 Configuration 3.1 Configuration Connection Before configuration, It’s necessary to connect the IP MODEM with the configure PC by the shipped RS232 or RS232-485 conversion cable as following. 3.2 Configuration Introduction There are two ways to configure the IP MODEM: ...
  • Page 12: Ip Modem's Parameters Configuration

    3.3 IP Modem’s Parameters Configuration 3.3.1 Run the Configure Tools The “Serial” area shows the current serial port settings. To configure IP MODEM, please choose the correct serial port which connects to IP MODEM, and the baud-rate is 115200 with no parity, then open the serial port. If the button text is“Close”, it shows the serial port now has been opened.
  • Page 13: Re-Power Ip Modem

    3.3.2 Re-Power IP Modem After Re-power IP MODEM, The configure tool will make it enter configure state. At the same time, the software will load current settings from IP MODEM and displays on the right configure columns. It’s now ready to configure. Note:To enter configure state for 4G device may need more time.
  • Page 14 Device ID ID number for the device. 8 characters Phone No. Phone number Character Escapes This item is only valid when the Work Mode is PROT. If this item is set to No, IP MODEM will transfer meaning to 0xfd and 0xfe. To know detail transfer meaning method, please refer “IP MODEM Transfer Meaning Explanation In the PROT work mode”.
  • Page 15 Pone No 1st Group Bind phone number. Max phone number is 5 for one group Pone No 2nd Group Pone No 3rd Group Pone No 4th Group Show Phone Number If output the phone number to the specified interface Hex To Text If convert HEX data to ASCII data or not SMSSER IP MODEM work as a SMS DTU.
  • Page 16 Data Format Text: the flowing items are Text format Hex:the flowing items are Hex format Login Packet Login packet Login Reply Login packet respond Heartbeat Packet Heart packet Heartbeat Reply Heartbeat packet respond Custom protocol:Server mode It supports TCP and udp server. Base Protocol TCP or UDP Listen Port...
  • Page 17 SMS Password The content of SMS to trigger. If it is empty, any content of sms can trigger the device CTRL Make IP MODEM online through a phone call to IP MODEM. Any phone number call can wake up IP Modem, if the trigger number is empty. Otherwise only the trigger phone number call can trigger the IP Modem.
  • Page 18: Data Service Center Settings

    Sleep/Wakeup Made the IP Modem sleep or wake up depended on the I/O state Set I/O port to trigger the IP Modem to sleep or wake up MIXD The combination of SMSD, CTRL, DATA. IP MODEM will be online when meet one of these three trigger methods.
  • Page 19 3.3.4.1 Data Service Center IP MODEM support two Data Service Center methods to transmit data. Main and Backup: IP MODEM always tries to connect with the Main DSC. If fails to connect with Main DSC, it will connect with Backup DSC at once Note:If no Backup DSC exists, please configure the Backup DSC same as Main DSC.
  • Page 20: Serial Port

    3.3.4.2 Multi-Center Connection Check This item is valid only when the “Data Center Number” is greater than 1. When one of the configured data center lost connection, IP MODEM will try to reconnect after the configured reconnect interval Reconnect Int.(s) reconnect time interval in second Connect Retry Times reconnect times...
  • Page 21 The data from the three port can bind to Data center. baud:the baud rate of the PORT 1200 --- 1200 bps 2400 --- 2400 bps COM1 4800 --- 4800 bps 9600 --- 9600 bps 14400 --- 14400 bps 19200 --- 19200 bps 38400 --- 38400 bps 56000...
  • Page 22: Dial

    RS485 RS485 port and COM2 use same UART,the same as above 3.3.6 Dial 3.3.6.1 PPP Dial DialNo Network Dial number GPRS/WCDMA/LTE *99***1# 、 *99# 、 *98*1# CDMA/EVDO #777 Network cmnet、uninet GPRS/WCDMA/L CDMA/EVDO empty Network User name/password Username/password GPRS/WCDMA/L empty CDMA/EVDO card/card PPP Auth AUTO,PAP and CHAP...
  • Page 23: Global Parameters

    3.3.6.3 DNS Service When the DSC Internet access uses domain name, It’s necessary to set DNS server resolving the DSC domain name. When the Data Center Number is 1, Main and Backup Center DNS Server is used to resolve the Main center and Backup center correspondingly.
  • Page 24: Device Manage

    3.3.7.3 Other parameters SMS Center The local SMS center number. It should set according to the local operation. Heartbeat Int.(s) Time interval sent heartbeat packet. (in second) 3.3.8 Device Manage 3.3.8.1 Device Manage Center Parameters The IP Modem send device status information to the Device Manage Center. The information include network signal, network status, traffic flow and so on.
  • Page 25: Other Operation

    3.3.9 Other Operation SIM Check To check if simcard inserted or install ok? Signal Inquery the signal strength of simcard network Time Setting Synchronize local time Read log information of IP Modem Factory Factory the IP Modem’s parameters Ver Info Query the version of IP Modem Reset Reset modem to factory...
  • Page 26: Chapter 4 Application Case

    Chapter 4 Application Case 4.1 Modem connect to data center In this application,the client can communicate with the server side by gprs network. IP modem configuration: Configure server IP and port: Fill in the APN from your simcard provider: Repower modem,wait it connected to server. Page 26 of 47...
  • Page 27: Remote Management Platform

    Then you can send data to test the communication between modem with data sever(here use Netassit software to simulate data server) 4.2 Remote management platform Four-Faith provide RMS for customer to manage device,you need enable Device management setting in modem,do simple configuration following the next picture : (Note that ID for platform should be same with the Device code in platform) You can get platform account from Four-Faith:...
  • Page 28 In Device tab,you can add your device in platform,then repower device to wait to connected to platfrom. Page 28 of 47...
  • Page 29: Sms To Configure Modem

    4.3 SMS to configure modem You can send SMS to configure modem via mobile phone Step one,enable SMS Manage function in modem : set SMS sender's phone number,the password is the one set in the modem.it can be digit or letter. Secondly,send SMS according to the following format: The message starts with the symbol '<' and ends with '>' and is without 'AT+'.
  • Page 30: Update Firmware Via Download Tool

    Detail AT command pls check in Appendix 2. 4.4 Update firmware via download tool If you need upgarde firmware,pls contact Four-Faith sale or technical support to get the download tool and lattest firmware file. Download tool: Follow the steps to upgrade: connect your laptop with modem via serial cable choose the com and set correct baudrate,and find the firmware version you save in...
  • Page 31: Save Modem Logs

    When download is complete, you will find the cost time (21 sec). 4.5 Save modem logs When using modem and meet any problems,you can save logs and send it to Four-Faith technical support. In order to get detail log information,you should set debug level to “ level 2”first: Then you can reproduce the problem and save the log file to us: Page 31 of 47...
  • Page 32: Modbus Protocol For Gpio&Adc Acquisition

    4.6 Modbus Protocol for GPIO&ADC Acquisition 4.6.1 The Way of Cable Connection. Analog input a. Single-cable: Connect the analog output of the sensor to the analog input(ADC) of F-IM100 directly. b. Double-cable: Connect the positive of analog output of the sensor to the analog input(ADC) of F-IM100, and connect the ground wire to GND(PIN2) of F-IM100.
  • Page 33: Modem Setting

    4.6.2 Modem setting: IO1: Digital input/output 0---3.3V IO2: Digital input/output 0---3.3V ADC: current input 4--20MA Changes can be made in hardware to make ADC as voltage input. For IO1&IO2: Disable---- Don’t use IO port Input--- Use IO as digital input port. Output---Use IO as digital output port.
  • Page 34: The Modbus Command For Io& Adc

    RS485 You can choose the protocol, and you also need set the query commands. Modbus--you can use our modbus to query the value. Custom---you can use the command of your own. Set modbus address in Global param: 4.6.3 The modbus command for IO& ADC: 4.6.3.1 Query digital Input To read IO1 status(digital input) Page 34 of 47...
  • Page 35: Set Digital Output

    Request: 01 02 00 00 00 01 B9 CA Response:01 02 01 01 60 48 (IO1 is high level) Response:01 02 01 00 A1 88 (IO1 is low level) To read IO2 status(digital input) Request: 01 02 00 01 00 01 E8 0A Response:01 02 01 01 60 48 (IO2 is high level) Response:01 02 01 00 A1 88 (IO2 is low level) Notes of the modbus commands.
  • Page 36: Mqtt Test

    4.6.3.3 Query ADC To read ADC status(current input) Request: 01 04 00 02 00 01 90 0A Response:01 04 02 00 64 B8 DB Notes of the modbus commands. Take the command 01 04 00 01 00 01 60 0A for example.
  • Page 37 You can download MQTTBox as another client, parametersconfiguration as the following: Clients will connect to MQTT server if parameters are configured correctly,you can send data to test communication from MQTTBox: The send topic of the MQTTBOX is set to the Receive topic of the terminal, and the Receive topic is set to the send topic of the modem, and data can be sent to each other at this time.
  • Page 38: Mtcp/Mrtu

    4.8 MTCP/MRTU When modem work in MTCP/MRTU mode,can support converting data from modbus RTU to modbus TCP. This working mode is based on PROT mode(transparent transmission) Modbus RTU frame format: Slave ID: 1 bytes, used to identify modbus frame transmitted on the TCP/IP stack Function Code: 1 bytes, coding range 1-255 Data: N*1 bytes, length and content are determined by the type of Function code Error Check: 2 bytes, CRC check, used to check whether the received data is correct.
  • Page 39 Modbus TCP frame format: MBAP Header: 7 bytes, Modbus application protocol header. used to identify the modbus frame transmitted on the TCP/IP stack. Function Code:1 bytes, coding range 1-255 Data: N*1 bytes, based on the types of the function code. MBAP Header: Transaction ID:2 bytes, Modbus request/respond transaction identifier.
  • Page 40: Http Protocol Test

    4.9 HTTP Protocol Test Modem can work in HTTP mode,HTTP Request Mode you can choose GET or POST.as the following setting. You need configure data center address before test. 4.9.1 Post Mode: If Modem dial successfully and connected to http server , Serial data will be packaged with HTTP format then sent to the server.
  • Page 41: Get Mode

    Host: 120.42.46.98:5650 User-Agent: Go-http-client/1.1 Content-Length: 9 Content-Type: application/json 6666666 After sending data,modem should recieve response within 5 second,respond format as: HTTP/1.1 200 When modem recieve data,will transfer application data(OK) to serial port,as the following figure show: 4.9.2 Get Mode: HTTP data: GET 6666666 HTTP/1.1 Host: 120.42.46.98:5650 User-Agent: Go-http-client/1.1...
  • Page 42: Clear Serial Buffer

    If no data is sent, modem will send an HTTP request packet according to configured interval. The format is the previous format, but the application data is missing. Such as: GET HTTP/1.1 Host: 120.42.46.98:5650 User-Agent: Go-http-client/1.1 4.10 Clear Serial Buffer If enable Clear Serial Buffer function,the serial data will be cleared until modem connect to data ceneter.
  • Page 43: Appendix 1

    Appendix 1 The following steps describe how to make IP MODEM enter configure state with the Windows XP Hyper Terminal. 1. Press “Start””Programs””Accessories””Communications””Hyper Terminal” Page 43 of 47...
  • Page 44 2. Input connection name, choose “OK” 3. Choose the correct COM port which connect to IP MODEM, choose “OK” 4. Configure the serial port parameters as following, choose “OK” Bits per second: 115200 Data bits: 8 Parity: None Stop bits: 1 Flow control: None Page 44 of 47...
  • Page 45 5. Complete Hyper Terminal operation, It runs as following Re-power IP MODEM, put mouse focus on the Hyper Terminal and press “s” key continuously until IP MODEM enter configure state as following Page 45 of 47...
  • Page 46 7. IP MODEM has entered configure state, you can configure the parameters through AT command. Page 46 of 47...
  • Page 47: Appendix 2

    Appendix 2 AT command for DTU setting: AT+APN=<apn> Set Access Point Name AT+CENT=<center no.> Set Center call number AT+USERNAME=<user id> Set PPP Authentication User AT+PASSWORD=<password> Set PPP Authentication Password AT+SVRCNT=< Total Servers> Set Total Servers AT+IPAD=<Server's Ip Address> Set Server's Ip or Domain AT+IPADn=<Aux Server's Ip Address(n=1,2..4)>...

Table of Contents