background image

FOUR FAITH

F-IM100 Series IP MODEM

USER MANUAL

V1.0.0

Xiamen Four-Faith Communication Technology Co., Ltd.
https://en.four-faith.com

Summary of Contents for 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: ...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 Trademark Notice Four Faith 四信 are all registered trademarks of Xiamen Four Faith Communication Technology Co Ltd illegal use of the name of Four Faith trademarks and other marks of Four...

Page 3: ...ower IP Modem 13 3 3 3 Work Mode 13 3 3 4 Data Service Center Settings 18 3 3 5 Serial port 20 3 3 6 Dial 22 3 3 7 Global Parameters 23 3 3 8 Device Manage 24 3 3 9 Other Operation 25 Chapter 4 Application Case 26 4 1 Modem connect to data center 26 4 2 Remote management platform 27 4 3 SMS to configure modem 29 4 4 Update firmware via download tool 30 4 5 Save modem logs 31 4 6 Modbus Protocol fo...

Page 4: ... allowing you to connect to your existing serial devices with only basic configuration It has low power consumption it support 1 ADC and 2 I O compatible digital input output channel Analog input input pulse counter and pulse wave output function It has been widely used on M2M fields such as intelligent transportation smart grid industrial automation telemetry finance POS water supply environment ...

Page 5: ...s CPU FLASH 512KB Extendable SRAM 256KB ADC 12 bit Interface Type Item Content Serial 1 RS232 port and 1 RS485 or 2 RS232 port 15KV ESD protection Data bits 5 6 7 8 Stop bits 1 1 5 2 Parity none even odd space mark Baud rate 600 115200 bps Indicator Power ACT Online Antenna Standard SMA female interface 50 ohm SIM UIM Standard drawer interface support 3V 1 8V SIM UIM card 15KV ESD protection Power...

Page 6: ...C 2G 20 40 mA 4G 20 65mA 20 95mA 9VDC 2G 30 45 mA 4G 20 95mA Standby 15 30 mA 12VDC 20 40 mA 9VDC Sleep 5 17mA 12VDC 6 22mA 9VDC Physical Characteristics Item Content Housing Iron providing IP30 protection Dimensions 91x58 5x22 mm excluding antennas and mountings Weight 205g Environmental Limits Item Content Operating Temperature 35 75ºC 22 167 Storage Temperature 40 85ºC 40 185 Operating Humidity...

Page 7: ...P MODEM host 1 Cellular Antenna 1 Power adapter 1 12V 0 5A RS232 data cable 1 optional RS485 data cable 1 optional Manual CD 1 Table 2 1 Encasement List 2 3 Installation and Cable Connection Dimension unit mm Figure 2 1 Installation Chart Installation of SIM UIM card Firstly power off the IP MODEM and press the out button of the SIM UIM card outlet with a needle object Then the SIM UIM card sheath...

Page 8: ... PWR Power input anode N A 2 GND Power Ground N A 3 RX1 RS232 RX N A 4 TX1 RS232 TX N A 5 GND System Ground N A 6 RX2 RS232 RX Reserved compatible ADC and RS232 RX TTL logic level 7 TX2 RS232 TX Reserved compatible ADC and RS232 TX TTL logic level 8 A RS485 anode Reserved compatible ADC 9 B RS485 cathode Reserved compatible ADC 10 IO1 GPIO The dry contact signal and the 3 3V switching signal can b...

Page 9: ...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 Anode Black Cathode RS232 Cable Cable Color Corresponding DB9 M Pin Number Brown Pin 2 Blue Pin 3 Black Pin 5 RS485 Cable Cable Color Signal definition Red RS485 A Black RS485 B Power adapter and communication cable connection char...

Page 10: ...rnal power the stability of the power supply must be ensured the ripple is less than 300mV and the instantaneous voltage does not exceed 36V and the power supply is guaranteed to be greater than 4W We recommend to use the standard DC 12V 0 5A power adaptor 2 5 Indicator Lights Introduction The IP MODEM provides three indicator lights Power ACT Online Indicator Light State Introduction Power ON IP ...

Page 11: ...e one PC to run this tool Extended AT command All the settings are configured through AT command so any device with serial port can configure it Before configuration with extended AT command you should make IP MODEM enter configure state The steps how to make IP MODEM enter configure state please refer to appendix The following describes how to configure IP MODEM with the configure software tool A...

Page 12: ...rrect 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 If the text is Open You should open the port first When the port opened the Output Info column will display Port COM1 Has Opened Please Re Power the IP MODEM Waiting IP MODEM Enter Configure State ...

Page 13: ...e time It is about 40 seconds 3 3 3 Work Mode 3 3 3 1 App protocol The IP Modem can be configured many communication protocols to adapt for different applications Note The tool will show the reference parameters according to the communication protocols setting PROT The heartbeat packet uses the TCP protocol the data communication also uses the TCP protocol and the heartbeat packet and the data com...

Page 14: ...g Explanation In the PROT work mode If this item is set to Yes all the transmission is transparent DCTCP This protocol is used in electric power field with TCP protocol PhoneNo Phone number DCUDP This protocol is used in electric power field with UDP protocol PhoneNo Phone number TRNS The device work as MODEM for sending receiving SMS CSD and GPRS dialing SMSCLI IP MODEM work as a SMS DTU All data...

Page 15: ...ed with special format send to any phone number The SMS from phone number will send to serial port Show Phone Number If output the phone number to the specified interface Hex To Text If convert HEX data to ASCII data or not Custom protocol client mode It support TCP and UDP protocol with custom heart and login packet Base Protocol TCP or UDP DeviceMode Client Mode the IP Modem work as a client Log...

Page 16: ...But in some circumstances it s important to reduce wireless data flow To realize this function the software can makes IP MODEM into sleep state in idle time When there is application data to transmit IP MODEM can be triggered online ready for data transmission There are total five methods to make IP MODEM online AUTO IP MODEM always keeps online SMSD Send a special short message to make IP MODEM o...

Page 17: ...nline Data Trigger On If it was empty any data form serial can trigger the IP Modem The first frame data will be discarded because the IP modem was in deep sleep state If it is not empty only the data matching to the online data can trigger the IP Modem Data Trigger Off If it was empty the IP Modem kept online If it is not empty only the data matching to the offline data can made the IP Modem offl...

Page 18: ...ber is empty Otherwise only the trigger phone number s SMS can trigger the IP Modem Data Trigger On Online data Data Trigger Off Offline data Trigger Port Set the trigger data source from PORT1 or PORT2 Data Format Format of the trigger data Text or HEX 3 3 3 3 Debug Level Debug information is used to debug software when there is software problem Debug Level Close no debug information output Level...

Page 19: ...erval in second Connect Retry Times reconnect times Back To Main Server This item is only valid when you set Data Center Number as 1 In this mode IP MODEM will switch to backup center when main center have problems If this item is set to 1 IP MODEM will check whether the main center work fine timely When it detects the main server work fine it will return back to the main server at once If the Dat...

Page 20: ...k Check ICMP link check send to server a icmp packet and wait reply to check the link status If the reply is lost it means that the link may be broken ICMP Check Enable or Disable Dest Address The destination address of ICMP packet to send Check Interval s The interval should not be too small 60 is recommended in second Check Times 3 times 3 3 5 Serial port IP MODEM support three individual serial...

Page 21: ...ty Databit Parity Stopbit 8N1 8 Databit No parity 1 Stopbit 8E1 8 Databit Even parity 1 Stopbit 8O1 8 Databit Odd parity 1 Stopbit Bind Center1 the data from the port send to center 1 Center2 the data from the port send to center 3 Center3 the data from the port send to center 3 Center4 the data from the port send to center 4 Center5 the data from the port send to center 5 ALL the data from the po...

Page 22: ...RS WCDMA L TE cmnet uninet CDMA EVDO empty Username password Network User name password GPRS WCDMA L TE empty CDMA EVDO card card PPP Auth AUTO PAP and CHAP QueryNetMode Search the network mode for the 4G network Net Mode Net Mode AUTO EVDO WCDMA TD SCDMA CDMA GSM 3 3 6 2 PPP Redial Re dial Interval s The interval between ppp dial in second Dial Retry Times max times of ppp dial failure ...

Page 23: ...terval used to determine whether the serial data frame transmission has completed IP MODEM will send the serial data to the center when two bytes transmit time interval larger than this item value in milliseconds MTU TCP Max packet length 3 3 7 2 Action for data send fail When data send to server fail there are not response from server IP modem will take a failed action after setting delay Re send...

Page 24: ... traffic flow and so on The Device Manage Center also query and configure the device parameters Device Manage Enable or Disable Dev ID For Manage Device ID for manage center 8 character Protocol TCP or UDP Service Address manage center server address Port manage center server port 3 3 8 2 Manage by SMS Configure the IP Modem by SMS SMS Configure Enable or Disable Configure Password The password fo...

Page 25: ... install ok Signal Inquery the signal strength of simcard network Time Setting Synchronize local time Log 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 IMEI Inquery IMEI of IP Modem ...

Page 26: ...odem 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 27: ...form 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 DTU Platform address http 27 154 58 226 20116 Fill in username and passform to login plafform ...

Page 28: ...Page 28 of 47 In Device tab you can add your device in platform then repower device to wait to connected to platfrom ...

Page 29: ...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 Example AT command for the main center is AT IPAD 120 42 46 98 and the corresponding SMS configuration should be IPAD 120 42 46 98 Add reset at the end SMS format 123456 IPAD 120 42 46 98 PORT 5007 reset If set succesfully you will receive a return SMS wi...

Page 30: ...le 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 your laptop then click download as the following show 3 Repower modem you can see the download progress ...

Page 31: ... 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 32: ...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 Digital input a Low level input Connect the input of contact switch to GND of F IM100 and connect the output of contact switch to the digital output of F IM100 IO1 IO2 b High level input Connect 3 3V voltage output to IO1 IO2 and connect the ground wire to...

Page 33: ...ital output port Indication When connect to data center it will output a high level to indicate data transmission You can choose the port for each port RS232 1 The value will be sent to com1 you can check the value in RS232 1 RS232 2 The value will be sent to com2 you can check the value in RS232 2 GPRS The value will be sent to net you can check the value in data center SMS The value will be sent...

Page 34: ... 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 35: ...18 0A for example Response 01 02 01 01 60 48 4 6 3 2 Set digital output To set IO1 status digital output Request 01 05 00 00 FF 00 8C 3A set IO1 high level Response 01 05 00 00 FF 00 8C 3A Request 01 05 00 00 00 00 CD CA set IO1 low level Response 01 05 00 00 00 00 CD CA To set IO2 status digital output Request 01 05 00 01 FF 00 9C 0A set IO2 high level Response 01 05 00 01 FF 00 9C 0A Request 01 ...

Page 36: ...ate with the formula below Current type 3 3 1023 acquisition value 150 1000 mA Voltage type 3 3 1023 acquisition value 12 1 20 16 V The acquisition value should be converted to DEC 4 7 MQTT Test Modem can work as MQTT client you need set work mode in MQTT Client ID can be configured to the required string username and password are from the MQTT server some servers dont need Receive topic is the Se...

Page 37: ... 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 As shown below ...

Page 38: ...sed 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: ...ata Center send to modem 00 01 00 00 00 06 01 04 00 00 00 01 06 length 01 is modbus address 04 is function code 00 00 00 01 is the register start address 2 bytes the number of registers 2 bytes Modbus RTU recieve in serial port of modem 01 04 00 00 00 01 31 CA 31 CA is CRC code Response data from serial 01 04 02 00 B8 B9 42 02 is length 00 B8 is data Data center will recieve modbus TCP data 00 01 ...

Page 40: ...st 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 HTTP data POST HTTP 1 1 ...

Page 41: ...esponse within 5 second respond format as HTTP 1 1 200 OK 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 data send to server successfully modem aslo will recieve ok in serail port as the following figure show ...

Page 42: ...igured 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: ...Page 43 of 47 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 44: ...nection 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 45: ...e 45 of 47 5 Complete Hyper Terminal operation It runs as following 6 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 46: ...Page 46 of 47 7 IP MODEM has entered configure state you can configure the parameters through AT command ...

Page 47: ...ary Server s Port AT IDNT 8 digit Hex ID No Set modem s ID number AT MODE Work mode Set Work mode AT DEBUG 0 1 2 Set modem s debug level AT POLLTIME Poll time seconds Set heartbeat poll time AT DNSSVR Dns Server s Ip Set Dns Server s Ip AT DNSSV2 Second Dns Server s Ip Set Second Dns Server s Ip AT DNSSVRn Dns n Server s Ip Set Dns n Server s Ip AT TCPACT Tcp Conn Act Poll Seconds Set Tcp Connecti...

Reviews: