background image

FOUR FAITH

F2816 V2 IP MODEM

USER MANUAL

V2.0.1

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

Summary of Contents for F2816 V2

Page 1: ...FOUR FAITH F2816 V2 IP MODEM USER MANUAL V2 0 1 Xiamen Four Faith Communication Technology Co Ltd https en four faith com ...

Page 2: ...uration instructions found in the User Manual of industrial routers type F2816V2 They provide guidance to intended use safety disposable and installation instructions accessories and product Declaration of Conformity Embedded application details the command lists plus other subjects are found elsewhere in the user manual for more information please contact the manufacturer on label The product its...

Page 3: ...dem designed for M2M industry in the IoT industry chain Device uses public cellular network GPRS CDMA WCDMA EVDO LTE to provide long distance wireless data transmission to users Typical application scenarios are intelligent transportation smart grid industrial automation telemetry finance POS water supply environment protection post weather and other similar ones Cellular interface is the only con...

Page 4: ...t For example pacemakers or medical equipment Always keep the antenna with minimum safety distance of 25 cm or more from human body and all persons when device is transmitting To prevent damage both the device and any connected terminal devices must always be switched OFF before connecting or disconnecting the serial connection cable It should be ascertained that different devices used have the sa...

Page 5: ...s that are needed for the application of the customer in connection with this device Geographical Information Device makes use of Cellular standard radio interfaces and has been constructed so that can operate without infringing applicable requirements on the use of radio spectrum in all following European Union Member State s and EEA EFTA MRA State s BE BG CZ DK DE IS EE IE EL ES FR LI HR IT CY L...

Page 6: ...od performance and long life span Even though device is built to withstand external vibrations shocks temperature fluctuations and high low temperatures still those occurrences should be avoided as much as possible to maximize the durability and longevity of the product High temperature decreases the lifespan of the components whereas vibration and shocks weaken the mechanical structure and can dr...

Page 7: ... of Conformity according to RED Hereby Manufacturer declares that the devices are in compliance with the essential requirements radio performance electromagnetic compatibility and electrical safety and other relevant provisions of Directive 2014 53 EU Therefore the equipment is labeled with CE marking The full version of Manufacturer s Declaration of Conformity can be found at the following exact ...

Page 8: ...iguration Introduction 19 3 3 IP Modem s Parameters Configuration 20 3 4 Data Service Center Settings 28 3 5 Serial port 30 3 6 IO function 31 3 7 Dial 32 3 8 Global Parameters 33 3 9 Device Manage 34 3 10 Operation 35 Chapter 4 Application Case 36 4 1 Modem connect to data center 36 4 2 Remote management platform 37 4 3 SMS to configure modem 38 4 4 Update firmware via download tool 39 4 5 Save m...

Page 9: ...d transparently connect one device to a cellular network allowing you to connect to your existing serial devices with only basic configuration It has low power consumption states in which the power consumption could be lower than 5mA 12VDC It has been widely used on M2M fields such as intelligent transportation smart grid industrial automation telemetry finance POS water supply environment protect...

Page 10: ...rt standard RS232 and RS485 RS422 optional port that can connect to serial devices directly TTL logic level RS232 interface can be customized Support intellectual mode enter communication state automatically when powered Provide management software for remote management Support several work modes Convenient configuration and maintenance interface High performance Support TCP server and support mul...

Page 11: ...rial modules it will send AT commands to cellular wireless module and the wireless module will dial up to connect to public internet After device Dial up online led will turn on and F2x16 will provide data transmission for serial devices connected to the switch module and the devices conected to GPIO interface Any configuration is set using the user interface module which can also access to the po...

Page 12: ... specific SMS format Backup of complete configuration settings parameters of each modem is possible by saving a proper files on a PC Restoration of the configuration from one device to another e g to change a broken unit with a new one is possible using these files customer should not re enter the configuration parameters in the new device itself even if the two units the new and the broken one ha...

Page 13: ...rotection Data bits 5 6 7 8 Stop bits 1 1 5 2 Parity none even odd space mark Baud rate 1200 230400 bps 110 600bps optional Indicator Power ACT Online Antenna Cellular Standard SMA female interface 50 ohm Lighting protection optional SIM UIM Standard 3V 1 8V user card interface 15KV ESD protection Power Terminal block interface reverse voltage and overvoltage protection Power Input Item Content St...

Page 14: ...0 200mA Standby 35 50 mA 12VDC 55 105 mA 5VDC Sleep 3mA 12VDC 6mA 5VDC Physical Characteristics Item Content Housing Iron providing IP30 protection Dimensions 91x58 5x22 mm Weight 205g Environmental Limits Item Content Operating Temperature 35 75ºC 22 167 Storage Temperature 40 85ºC 40 185 Operating Humidity 95 Non condensing ...

Page 15: ...P MODEM when powered 2 2 Encasement List Name Quantity Remark IP MODEM host 1 Cellular Antenna 1 Power adapter 1 RS232 data cable 1 optional RS485 data cable 1 optional Manual CD 1 Certification card 1 Maintenance card 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 ...

Page 16: ...n Pin NO Name Function Extensible Function 1 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 Reserved compa...

Page 17: ...5 A Black RS485 B Power adapter and communication cable connection 2 4 Power The power range of the IP MODEM is DC 5 36V We recommend user to use the standard DC 12V 0 5A power adaptor Warning When we use other power we should make sure that the power can supply power above 4W 2 5 Indicator Lights Introduction The IP MODEM provides three indicator lights Power ACT Online ...

Page 18: ...6 Indicator State Introduction Power ON IP MODEM is powered on OFF IP MODEM is powered off ACT BLINK Data is communicating OFF No data Online ON IP MODEM has logged on network OFF IP MODEM hasn t logged on network ...

Page 19: ... All the settings are configured through the shipped software tool It s necessary to have 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 appen...

Page 20: ... 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 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 Confi...

Page 21: ...ation protocols to adapt for different applications Note The tool will show the reference parameters according to the communication protocols setting PROT It uses TCP Protocol to send or receive data In this mode ID and phone number MUST be set 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 ...

Page 22: ...d 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 will send to binding phone number via SMS The SMS from the binding phone number will send to Serial port Pone No 1st Group Bind phone number Max phone number is 5 for one group ...

Page 23: ...er will send to serial port Show Phone Number If send phone number to serial port or not Hex To Text If convert HEX data to ASCII data or not Send SMS Hex If send data with Hex format or not HTTP When IP modem connected to the HTTP server address serial port data will be packeted with Http format and sent to server HTTP Request Mode Can select GET and POST Mode MTCP MRTU IP MODEM will convert data...

Page 24: ...onnected to MQTT server it can communicate with other MQTT client you can check the test guide in the appendix Client ID ID of MQTT client can be Configured to the required string User name and password The usename and password of server if need Receive Topic It should be configured with the send topic of another client Send Topic It should be configured with the recieve topic of another client Cu...

Page 25: ...ps online and always be ready for data transmission 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 ...

Page 26: ...ber DATA Send special serial data to make IP MODEM online 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 mat...

Page 27: ...ger the IP Modem SMS Phone No Any phone number s SMS can wake up IP Modem if the trigger number 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...

Page 28: ... DSC 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 Multi Data Service Center IP MODEM can connect with at most five DSC at the same tim...

Page 29: ... method When Data Center Number is greater than 1 IP MODEM works in Multi Data Service Center method The back center is invalid The IP Modem will connect to mulit Data Center and transmit data 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 confi...

Page 30: ...es 3 5 Serial port IP MODEM support three individual serial ports Port1 Port2 and RS485 All the three ports can enter configuration state The default parameters of the port with baudrate 115200 data property 8N1 The data from the three port can bind to Data center COM1 baud the baud rate of the PORT 1200 1200 bps 2400 2400 bps 4800 4800 bps 9600 9600 bps 14400 14400 bps 19200 19200 bps 38400 38400...

Page 31: ...he port send to center 5 ALL the data from the port send to all centers Close send to none COM2 The same as above RS485 The same as above 3 6 IO function IP MODEM support 2 digital I O and 1 Analog input can custom data string to query data or trigger IO state 3 6 1 Digital I O I 01 Input work as digital input port Output work as digital output port Indication will output low level when IP Modem c...

Page 32: ... enable ADC Port support COM GPRS SMS ADC type Electricity support 4 20MA current input Voltage support 0 5V can customize to support 10V 15V Report Type Query Time IO Trigger Top Limit Sensor measurement range upper limit Low Limit Sensor measurement range lower limit 3 7 Dial 3 7 1 PPP Dial DialNo Network Dial number GPRS WCDMA LTE 99 1 99 98 1 CDMA EVDO 777 APN Network APN GPRS WCDMA LTE cmnet ...

Page 33: ...S Parameters 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 Main DNS The DNS server IP address must be IP address Backup DNS The DNS server IP address must be IP address 3 8 Global Parameters 3 8 1 Data...

Page 34: ...o take if sending data fail including Dia again reconnect reboot Delay before action The time delay before Modem takes actions if sending data fail 3 8 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 9 Device Manage 3 9 1 Device Manage Center Parameters The IP Modem send device ...

Page 35: ... empty any number can configure the IP Modem Parameters Otherwise only the Administrator Number can configure the IP Modem Parameters 3 10 Operation SIM Check To check if simcard inserted or 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...

Page 36: ...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 37: ...6 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 You need enable Device management setting in modem ...

Page 38: ...e password is the one set in the modem it can be digit or letter Step two 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 succe...

Page 39: ...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 Finally repower modem you can see the download progress ...

Page 40: ... 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 to us ...

Page 41: ...Connect the positive of analog output of the sensor to the analog input ADC of F2X16 and connect the ground wire to GND PIN2 of F2114 Digital input a Low level input Connect the input of contact switch to GND of F2x16 and connect the output of contact switch to the digital output of F2X16 IO1 IO2 b High level input Connect 3 3V voltage output to IO1 IO2 and connect the ground wire to GND of F2X16 ...

Page 42: ...ort 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 as a sms RS4...

Page 43: ... 43 of 56 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 ...

Page 44: ... modbus commands Take the command 01 02 00 02 00 01 18 0A for example Response 01 02 01 01 60 48 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 ...

Page 45: ...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 Send t...

Page 46: ...st communication from MQTT Box 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 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 ...

Page 47: ...content are determined by the type of Function code Error Check 2 bytes CRC check used to check whether the received data is correct 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 ...

Page 48: ... 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 00 00 00 05 01 04 02 00 B8 05 is data length Example 2 Data center send 00 01 00 00 00 06 01 04 00 08 00 01 Dispaly in serial ...

Page 49: ...Page 49 of 56 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 ...

Page 50: ...he server HTTP data POST HTTP 1 1 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 OK When modem recieve data will transfer application data OK to serial port as the following figure show ...

Page 51: ...he following figure show 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 52: ...Page 52 of 56 ...

Page 53: ...er configure state with the Windows XP Hyper Terminal 1 Press Start Programs Accessories Communications Hyper Terminal 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 ...

Page 54: ... 56 Bits per second 115200 Data bits 8 Parity None Stop bits 1 Flow control None 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 ...

Page 55: ...Page 55 of 56 continuously until IP MODEM enter configure state as following 7 IP MODEM has entered configure state you can configure the parameters through AT command ...

Page 56: ...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: