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.
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.
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...
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...
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.
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: ...
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.
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.
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.
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...
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.
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.
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...
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...
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...
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+'.
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...
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...
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.
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.
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...
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.
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.
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.
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...
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.
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...
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)>...
Need help?
Do you have a question about the F-IM100 Series and is the answer not in the manual?
Questions and answers