S272 User Manual V2.5
S272 User Manual V2.5
S272
User Manual
Ver 2.5
www.GPRS-M2M.com
GSM/SMS/GPRS/3G/4G
Cellular IoT M2M RTU
Table of contents
1. Brief Introduction -------------------------------------------------------------------------------3
2. Safety Directions---------------------------------------------------------------------------------4
3. Standard Packing List---------------------------------------------------------------------------4
4. Mainly Features----------------------------------------------------------------------------------5
5. Physical Layout and Installation Diagram-------------------------------------------------6
6. Settings & Operations --------------------------------------------------------------------------9
7. Example Of Applications---------------------------------------------------------------------27
8. Device SMS Command and SMS APP------------------------------------------------------36
9. Device GPRS/3G/4G Communication Protocol------------------------------------------40
10. Upgrade Firmware-----------------------------------------------------------------------------49
11. Cellular Module Upgrade---------------------------------------------------------------------49
12. Warranty------------------------------------------------------------------------------------------49
This handbook has been designed as a guide to the installation and operation of S272 GSM/SMS/GPRS/3G/4G
Cellular IoT M2M RTU
Statements contained in the handbook are general guidelines only and in no way are designed to supersede the
instructions contained with other products.
We recommend that the advice of a registered electrician be sought before any Installation work commences.
King Pigeon Hi-Tech.Co., Ltd, its employees and distributors, accept no liability for any loss or damage including
consequential damage due to reliance on any material contained in this handbook.
King Pigeon Hi-Tech.Co., Ltd, its employees and distributors, accept no liability for GSM Network upgrading or
SIMCard upgrading due to the technology specifications contained in this handbook.
【UPGRADE HISTORY】
CONFIGURATOR FIRMWARE HARDWARE
DATE DESCRIPTION
VERSION VERSION VERSION
1.Modbus address and function code revised;
2018.6.21 V2.4 V2.4 V2.4 2.AIN/DIN alarm content setting revised;
3. Interlock event added.
1.DIN status revised to reverse from V2.4 version,
only support V2.5 configurator software.
2018.12.13 V2.5 V2.5 V2.4
2.The total value range function of DIN1 pulse
count upgraded.
Model List
1. Brief introduction
The Cellular IoT M2M RTU is an industrial class, high reliability, high stability, and programmable Remote Terminal
Unit (RTU). It embedded 32-Bit High Performance Microprocessor MCU, inbuilt industrial Cellular module. It
provides 8 digital inputs, 6 analog or PT100 Resistance Temperature Detector (RTD) inputs, 4 relay outputs, 1
ambient sensor input for monitoring onsite temperature and humidity, and RS485 serial port. It can monitoring and
operates the I/O ports by SMS, APP, Web Server, internet, timers and programmed inter-lock events automatically.
The Cellular IoT M2M RTU inbuilt TCP/IP protocol stack make it suitable for internet of things (IoT) applications, it
can be easily to operate by the provided cloud, app, and web server, or integrated to you IoT applications according
The Cellular IoT M2M RTU is design for working in the harsh industrial application environment, widely used in a
variety of industrial automation, security monitoring system, automatically measurement and control system, BTS
monitoring, remote data acquisition, telemetrically systems, automatically control system. It can be used as a
remote switch, remote I/O, remote smart PLC, timer switches.
The Cellular IoT M2M RTU can be used as remote access control for BTS monitoring, the authorized users can open
the gate or turn on the machine with a free charge call at specified time, this is useful for daily maintenance to save
the time of traditional authorized.
The Cellular IoT M2M RTU supports transparent data transmission and performs as Modbus Slave over
GPRS/3G/4G network and RS485 serial port.
Typically applications:
BTS Monitoring, Security Alarm System applications, Supervision and monitoring alarm systems, Automatic
monitoring system, Vending Machines security protection, Pumping Stations, Tanks, Oil or Water levels, Buildings
and Real Estate, Weather Stations, River Monitoring and Flood Control, Oil and gas pipelines, Corrosion protection,
Temperatures, water leakage applications, Wellheads, boat, vehicle, Energy saving, street lights control system,
Valve controls, Transformer stations, Unmanned machine rooms, Control room application, Automation System,
M2M, Access Control System, etc.
2.Safety Directions
Safe Startup
Do not use the unit when using GSM/3G/4G equipment is prohibited or might bring disturbance or
danger.
Interference
All wireless equipment might interfere network signals of the unit and influence its performance.
Embedded ARM Cortex -M4 32 Bit RISC Core, 168 MHz inside, RTOS system, reliable performance
with in-built watchdog;
8 digital inputs, compatibles dry and wet contact. Logic level: 0~0. 5V or short circuit treated as close, +3~30V
or open circuits treated as open. First one input can be used as counter, sampling frequency is 1Mhz, second
can be used as Arm/Disarm;
4 relay output (5A/30VDC,5A/250VAC), can auto control by timer, alarm-link and remote control by SMS,
cloud. The first DO can set time to control by authorize number;
1 temperature & humidity sensor input for monitoring onsite environment, the sensor model is AM2301,
Measures temperatures from -40-80°C,0.5°C accuracy, Relative Humidity from 0-99RH%, accuracy is 3%;
6 analog inputs, 12bits resolution, supports 0-5V, 0-20mA, 4-20mA output transducers;
Inbuilt 8G SD card to save up to tens of thousands historical data and events;
1 RS485 port, support Modbus slave protocol, can link up to SCADA、HMI、DSC., also support data transparent
transmission;
Powerful SMS function: Threshold high SMS alert, SMS set, SMS inquiry, SMS command for Modbus PLC...;
Inbuilt 2 DC output for external transducers to save wiring cost;
Automatically resend the data while communication interrupt or failure, and failure will alert by SMS text to
users;
Supports remotely restart the RTU, and configure& operate it by SMS commands remotely;
10 SMS Alert and auto dial numbers for receiving alarm message, can program to receive specified alarm
message. The authorized numbers also can dial to open the door or turn on/off machine with a free charge
call at the specified time;
Inbuilt inter-lock logic programmer and powerful timer program function;
Modular structure design, replace a module can upgrade the network from 2G to 3G/4G or 3G to 4G;
Support SMS, dial, GPRS, 3G , 4G network for alert, USB port for configuration and upgrade firmware;
Inbuilt large capacity automatically rechargeable backup battery, alert when external power failure;
Support TCP/UDP, Modbus TCP, Modbus RTU over TCP, King Pigeon IoT RTU protocol and data transparent
transmission function;
Using metal shell, protection class IP30. Metal shell and system security isolation, especially suitable for
industrial applications in the field;
L195 * W88 * H30mm, compatible wall installation and DIN35mm industrial rail installation.
SIM Card Slot For SIM Card Installation, only supports 1.8V/3V SIM Card
Power Switch For switch ON or OFF the RTU
Upgrade For upgrade firmware purpose only. Only when upgrade new firmware version will use it,
DC IN+ External DC Power input port, Connect to 1.5A@9~36V DC power, positive electrode.
DC IN- External DC Power Input port, contact to negative electrode
Power source output port, positive electrode. Provides power from RTU to external
transducers or sensors or detectors. The output current should less than the power from
DC Out+
DC IN inputs. If adapter current is 2A, then suggest external transducer current to be less
than 1.5A
DC Out - Power source output port, Negative electrode.
DIP Switch Definition
Analog inputs, Sampling frequency 200mS, 12bits resolution, supports 0-5V, 0-20mA, 4-20mA output
transducers, please refer to abovementioned DIP Switch Definition to connect the correct transducers.
The 1st Channel Analog input. + stands for positive electrode, - stands for negative
0+/0-
electrode.
The 2nd ~6th Channel Analog input. + stands for positive electrode, - stands for negative
1+/1- ~5+/5-
electrode.
Digital Input Definition
GND Ground
A/B RS485 A /B
Start to Configure:
Step1: Install the Configurator
The Configurator in the CD or download from www.GPRS-M2M.com, then installs it on the computer.
Step3: Switch the DIP Switch to Setup Mode. (Before Power On the RTU)
Switch it to upside is Set Mode, under this mode, the user can use PC Configurator via USB cable to
configure the RTU Parameters or Read Parameter settings.
Notice:
Please switch it to Downside after you finished the configurations. Otherwise, the RTU cannot work properly. The Downside is
Run Mode, under this mode; the RTU is in Running mode.
Step4: Connect the Gateway to the PC by USB Cable. And connect the external DC Power to DC Power Ports,
Power on, and switch on the device, see below:
Please click to run it. Enter the password, default is 1234. Then you can enter the configuration
page as below:
Notice:
If display the below windows, then means the RTU connect to the PC failure. The reasons are below:
Step7: Choose the correct "COM port" in device manager above, enter the password(default is
1234),click the "OK" to connect and start to program
Details please check the picture as below:
Tips: If not connect successfully, will not enter into next step. Pls check if USB connect well, or COM port and
password correct or not.
Save Settings: Click it to save all of the PC Configurator parameters to the RTU;
Load Profile: Click it to load additional Profile to the PC Configurator;
Export Profile: Click it to save the present configuration parameters as a profile for next RTU configurating or
backup the parameter settings.
Tips: The Load Profile and Export Profile is very useful while you need to program bulks of RTU with similar parameters. After
programmed the first unit then you can export profile to save it, for the second RTU then you can load profile directly to save
you time.
Default: Click it to recovery the parameters to factory defaults.
Notice:
1. After setting or revising parameter, need to click the "Save" button of this page, then click "Save Settings" in menu for
saving parameters in device
2. Before S272 export profile, need to read Slaves configuration details first, to avoid Slaves information
missing.
3.Easy way to revise parameter: Open parameter setting page---->Click "Read" button to get device current value
---->Revise and click "Save" button---->Click the "Save Settings" button in the menu.
4. Switch the device mode to "Run" as below, otherwise it will not work;
5. Reboot the device, switch the Power Switch to OFF, then switch it to ON, the device will enter into normal
running mode after that
Modify Password: This is for modifying the RTU’s Password, default is 1234.
Synchronous device time: This is to setup the RTU’s time for daily report or other timers. After click Write
the RTU Time, the RTU will be synchronous the same time as the PC. If connect to King Pigeon Cloud
Server, no need this step.
Device ID: Non-necessary. This is mainly for monitoring center to identify the RTU;
If communicate via Modbus protocol, device ID only can be 1~247.
Device description: This is the description of the RTU, e.g.: installation address,
usage instructions and so on.
Add Timestamp to Alarm SMS: Tick it stands for while alarm occurrence, the Alarm SMS
will include the RTU’S current time information at the SMS Content.
Arm automatically when Power On: Tick it stands for once the RTU powered up, the RTU
will enter into Arm Mode automatically.
Auto Arm after Disarmed: Fill the timeout to enter into Armed Mode automatically after
disarmed operation. This is useful for security protection applications.
Tips:
Arm: Under this mode, any alarm occurrence will send SMS and dial the authorized numbers immediately. And execute the
programmed I/O outputs.
Disarmed: Under this mode, alarm occurrence will not send SMS & dial the authorized numbers.
Timer Reporting SMS Content Settings: Tick the related items to add its value/status to the
Timer report SMS contents.
Alarm SMS Content Settings: Ticks the related items to add its value/status to the Alarm
SMS Contents.
Reminder:
Please remember that click "Save" -" Save Settings" button to save it after parameter be written, below pages
are the same.
Power On: Tick it stands for while the RTU powered up, will automatically send SMS to this number,
include device model, version, description, IMEI, status, signal value etc....
Timer Report: Tick it stands for Timer report SMS will send to this number.
Arm/Disarm: Tick it stands for Arm or Disarm the RTU, will send SMS to this number.
Low Signal: Tick it stands for while GSM/3G/4G Network signal strength lower than 14 will send SMS
to this number.
Power Lost: Tick it stands for while external DC Power loss will send SMS to this number.
Power Recovery: Tick it stands for while external DC Power recovery, will send SMS to this number.
GPRS Failure: Tick it stands for while GPRS connection re-try 3 times and still failure will send
SMS to this number.
Relay Switch: Tick it stands for while the Digital Solid Relay Output action will send SMS to
this number.
Slave Alarm: Tick it stands for the salve tag triggered will send SMS to this number.
Slave Failure: Tick it stands for when slave communication failure alarm verify time arrive,
will send SMS to this number.
Output Type: Support 3 output types. The user can choose the Output Type for the relay
outputs, includes Open Door, Switch ON/OFF, Siren. The relay 2 and 3 only used for Switch
ON/OFF; Relay 0 can option as Open Door and Switch ON/OFF; Relay 1 can option as Siren
and Switch ON/OFF.
1) Open Door: Only the first Channel(DO0) can be setup as Open Door, use it for electric lock.
If setup as Open Door, then the authorized number calls in RTU, can open the electric
Lock directly or output a pulse signal and disarmed the RTU directly. See Access Control
page about the authorized number.
Notice:
If relay 0 used for Open Door, then can't be action as normal Switch ON/OFF.
Application:
When RTU installed in generator room, many workers out and in, not convenience and safe for everyone
taking keys. This function can authorize the person to remotely control the door and disarm the device within
appointed time, avoid fault anti-thief alert. After worker maintenance the generator room, can touch the
inside Arm/Disarm switch button to arm device, DIN2 can do this.
Channel Name: to setup the Output Channel name, e.g.: Pump or Motor and so on, in order
to identify it in SMS Contents.
Open Description: Stands for when the Relay Open, send what SMS to the authorized numbers;
Close Description: Stands for when the Relay Close, send what SMS to the authorized numbers.
Close Time: Stands for the relay close and last time, default 0 second, means always close.
Repeat Times: Stands for how many times does this relay should to repeat.
Start Time: Stands for from what time this authorized number can dial in to control it.
End Time: Stands for till what time this authorized number cannot dial in to control it.
Always: Stands for this authorized number can dial in to control it all the time.
Input Type: The user can choose the input type for related channel. Includes: Counter, Arm/Disarm,
NC, NO, Change and Disabled.
1) Disabled: Not use this channel.
2) NC: For connecting Normal close type detector, open will alarm.
3) NO: For connecting normal open type detector, close will alarm.
4) Change: For connecting normal open or normal close type detector, once the status
changed, will be treated as alarm.
5) Counter: Only the first channel (DIN0) can be used as counter. It can be used for pulse
counter usage. Need to tick up the Pulse Counter box to setup initial value and interval
alarm value and total alarm value. E.g.: contact a PIR sensor to count how many people
pass through the ATM machine and so on.
6) Arm/Disarm: Only the Second Channel (DIN1) can be used as Arm/Disarm Switch. For
connecting a pulse output type switch to Arm or Disarmed the RTU.
Alarm SMS: Under Arm or 24h status, once triggered will send this SMS content to
authorized numbers.
Recovery SMS: Under Arm or 24h status, if tick the "Recovery Alarm", when triggered digital input
recovery normal will send this SMS content to authorize number.
Change SMS: Under Arm or 24hr status, only when digital input choose "Change" type, once
action will send this SMS to authorize number.
Current Status: Stands for input’s current status.
Alarm Verify Time: Stands for when the digital input Close or Open last time more than this
value, will be treated as a true alarm, if less than this value, then will not alarm.
Siren: Tick it stands for while this digital input triggering, the DO that output type was setup as
Siren will execute its output parameters.
24Hr: Tick it stands for no matter the RTU is in Arm or Disarmed mode, this digital input triggered
will alarm.
Initial Value: When DIN0 as counter, the value begin to count.
Step Alarm Value: DIN0 as counter, under Arm or 24hr status, when counter value arrive
Input Type: The user can choose the input type for related channel. Includes: Disable, 0~5V, 0~20mA,
4~20mA.
1) Disabled: Not use this channel.
2) 0~5V: For connecting transducers that output voltage 0~5V. Please remember to switch
the related channel DIP switch to V side, see DIP Switch Definitions.
3) 0~20mA: For connecting transducers that output current 0~20mA, Please remember to
switch the related channel DIP switch to A side, see DIP Switch Definitions.
4) 4~20mA: For connecting For connecting transducers that output current 0~20mA, Please
remember to switch the related channel DIP switch to A side, see DIP Switch Definitions.
5) Temperature and Humidity: Enable/Disable support. Only accept AMS230x series sensor,
the temperature maximum is 80, minimum is -40, and Humidity maximum is 100,
minimum is 0, cannot change them.
High Alarm SMS: Under Arm or 24h status, once current value higher than threshold high value will
send this SMS content to authorized numbers.
Low Alarm SMS: Under Arm or 24h status, once current value lower than threshold low value will
send this SMS content to authorized numbers.
Recovery SMS: Under Arm or 24h status, if tick the "Recovery Alarm", when current value recovery
normal will send this SMS content to authorize number.
Maximum: The transducer’s maximum measure range. E.g.:100 Celsius degree. Usually it can
be found out at the transducer’s specification.
Minimum: The transducer’s minimum measure range. E.g : -50 Celsius degree. Usually it can
be found out at the transducer’s specification.
Current Value: Stands for input’s current value of the transducers.
Threshold High: The high value(reached) need to alarm; Example: set 50Celsius degree to alert.
Threshold Low: The low value(reached) need to alarm; Example: set -30Celsius degree to alert.
Recovery Alarm: Tick it stands for when the analog input recovery, will send SMS to the
authorized numbers.
Siren: Tick it stands for while this input triggering, the DO that output type was setup as Siren
Timer Settings
This page is for setup hour timer and periodically timer, it is useful for scheduling when to execute what
action automatically or it with repeat this action according to the interval time. Total can program 10
scheduling events. Tick it stands for enable this timer event:
Reminder:
When GPRS/3G/4G data transmission protocol is King Pigeon IoT RTU Protocol, the periodically auto upload
default enable and upload every 5 minutes.
Tick stands for enable this timer function, otherwise is disable.
Weekly+Hour+Minute: Stands for what day and at what time does the RTU should start to
execute the action and interval how many seconds then repeat to execute the action.
Interval: Stands for interval how many seconds does the RTU should repeat to execute the action.
If setup it as 0, then this event will not be repeated.
Action: Stands for what action does the RTU should to execute at the specified time.
Question: Have set the timer SMS report, but finally not get the SMS.
Solution: Have no ticked the "Timer Reporting SMS Content" in first Basic Parameter Settings page.
Interlock Settings
This page is for setup if what happen, then what action does the RTU should execute, it is a programmable
logic events. Total can program up to 40 logic events for automatically control purposes.
Modbus RTU Slave: Stands for the RS485 used for Modbus RTU Slave
Baud Rate: 1200/2400/4800/9600/19200/38400/57600/115200 optional.
Data Bit: 8 bit.
Parity Bit: None, Even and Odd optional.
Read and Write Holding Coil (Function Code 1, Function Code 5, Function Code 15.)
Register Address
Definition Description
(Decimal)
0 RTU DO0 DO0 Value, Read/Write, 1=Close, 0=Open
1 RTU DO1 DO1 Value, Read/Write, 1=Close, 0=Open
2 RTU DO2 DO2 Value, Read/Write, 1=Close, 0=Open
3 RTU DO3 DO3 Value, Read/Write, 1=Close, 0=Open
4--63 (reserved, not work)
Transparent Transmission:
The RS485 can be used as transparent transmission, transmit the device data on this serial port to
GPRS/3G/4G, the device not deal with or store any data, only do as a data transmit channel, converter serial
port to TCP/IP.
This function can be used for connecting PLC, Remote I/O data acquisition module, Smart meter, Power
monitoring moduel, Smart transducer, Diesel generator, Accumulator battery monitoring system...
Network Settings
This page used for setting device parameters connect to networks.The device can compatible with many third
party upper computer system, and SDK can be provided for clients connect the device to own cloud server.
And it can communication with monitoring software or clould via GPRS/3G/4G as below:
1) Modbus RTU Protocol, means Modbus RTU over TCP, commucation with upper computer system. For
example, connect to www.my-m2m.com cloud server. Domain: modbus.dtuip.com, Port: 6651.
2) Modbus TCP Protocol, commucation with upper computer system. For example, connect to
www.my-m2m.com cloud server. Domain: modbus.dtuip.com, Port: 6655.
3) King Pigeon IoT RTU protocol, transmit the King Pigeon IoT protocol on TCP, to commucation with upper
computer system. Advantage is when device unnormal, can send data to upper system automatically, not
waiting for polling ,then answer. For example, connect to www.rtu-m2m.com cloud server.
Communication Data: "Disable", "Modbus RTU protocol", "IoT RTU protocol" or "Modbus TCP protocol"
optional.
Protocol: TCP or UDP optional.
Access Point Name: APN, GSM operator provide.
GPRS User Name: User Name, GSM operator provide.
GPRS Password: Network password, GSM operator provide.
Sever 1/2 IP/DNS: Server IP address or DNS.
Port: Stands for the server’s port.
Server Choose Ways: Only support "Prefer server 1" function, no "Both connection" now. When server 1
disconnect, will connect to server 2 automatically.
Server Offline 3 times, Reconnection Time: Connecting server fail 3 times, then the interval time of next time
reconnecting
Login Message: Server register handshake protocol package. When transparent transmission or Modbus
protocol, this item used for device ID, provided by cloud. Contact King Pigeon sales if need to connect
www.my-m2m.com cloud server.
Login ACK Message: Once set, device need response within 10 seconds after device send login message,
otherwise it will continue send login message according to "Reconnection Times" ,still not response will
offline once time, then try to reconnect, according to "Server Offline 3 Times, Device Reconnection Time".
Logout Message: Once server send to device, device will be offline.
Heartbeat Message: Heartbeat content to avoid network offline.
Heartbeat ACK Message: Once set, device need response within 6 seconds after device send heartbeat
message, otherwise it will continue send login message according to "Reconnection Times" ,still not response
will offline once time, then try to reconnect, according to "Server Offline 3 Times, Device Reconnection Time".
Heartbeat Interval: Network keep online heartbeat interval time.
No Response Resend Times: After setting heartbeat and login message, if server no response, the times
which server will send data.
Login Message Strategy: "Send Once When Login Server", "Plus It In Front Of Every Packet", "Both Of Them"
optional. "Plus It In Front Of Every Packet" when data transmission.
Total: Display device current historical records qty, "Read All" or "Read Record from xx to xx" optional.
Clear: Clear the screen.
Read: Read historical records.
Save as CSV: Historical records export as CSV file.
Erase RTU Records: Click this button will erase all device historical records, be careful.
7. Example Of Applications
(2) Under "Number Settings" page, write authorize number and tick the times needed. For example, if need
power on, external power off/recovery SMS, then tick and write as below:
(3) Click "Save Settings"---->Switch device off---->Switch working mode to "Run"---->Put it SIM card and switch
device on. 1~2 min after SIM card register network, power on SMS should be received---->The cut the external
power, the power lost SMS should be received---->Connect the power support to device again, then power
recovery SMS should be received. Thus, the device communication self-checking finished.
(1) Switch device off, then switch AIN0 input type to "mA";
(3) Basic setting according (1) and (2) in "Device working self-checking";
(4) Enter into "AIN Trigger" page---->Set input type to "4~20mA"---->Write "High/Low Alarm
SMS"---->"Maximum": 100, "Miximum": -40, "Threshold High": 35, "Threshold Low": 20, "Verify Time": 2. If
still need recovery alarm SMS, then need to tick "Recovery Alarm", and write content in "Recovery
SMS"---->After that, click "Save" as below:
(5) In "AIN Alarm" page, tick the corresponding items for authorize number. For example, when AIN0 alarm,
will can and send SMS to authorize number "0" , remember to click "Save" as below:
(6) Click "Save Settings" in the menu, then switch device off;
(7) Switch DIP mode to "Run", working mode as below:
Application:
When monitoring cabinet temperature, if higher than 38℃, need to start the cabinet fan; If lower than 25℃,
need to close the fan.
Need: Temperature/Humidity transducer AM2301 and 1 channel relay output, if choose the first relay DO0,
the set as below:
(1) Switch device off---->connect temperature/humidity transducer to T/H port---->connect the cabinet fan to
DO0 output as below:
(2) Basic setting according (1) and (2) in "Device working self-checking";
(3) In "Output Settings" page, set first relay DOUT0, output type: Switch on/off, channel name: cabinet fan,
close time: 0, 0 means always close. Click "Save" button as below:
(4) In "AIN Trigger Setting" page, set temperature type "Enable"---->Humidity and AIN0~7 choose "Disable" if
not use---->Set corresponding alarm SMS content---->Threshold high: 38 and Threshold low: 25---->Recovery
and verify time according to need---->Click "Save" button as below:
(5) In "Interlock Settings" page, Event choose "Temperature high alarm", Action: "DO0 close"---->Click "Add"
button, stands for when temperature high than 38℃, device will close DO0 to start the cabinet fan; Same
operate for low alarm setting, then temperature lower than 25℃, device will open DO0 to close the fan
automatically---->Click "Save" button as below:
For example, when device as Modbus RTU slave, connect to HMI as below:
(1) Connect device to HMI via RS485 port, set HMI RS485 port parameter;
(2) Basic setting according (1) and (2) in "Device working self-checking";
(3) In "Basic Parameter Settings" page, set "Device ID", range is 1~247 in Modbus protocol as below:
(5) Click "Save Settings" in the menu, switch the device off;
(1) Items connect to device via RS485, set RS485 port parameter;
(2) Basic setting according (1) and (2) in "Device working self-checking";
(4) In "GPRS Setting" page, set "Communication Data" as "Modbus RTU Protocol", then set "Server IP/DNS"
and "Port", also can set handshake protocol like "Login Message" below:
(5) Click "Save Settings" in the menu, then switch device off.
(7) Switch the device on, enter into working mode, device running as transparent transmission when data
communication between cloud server and items.
Device can connect to cloud and SCADA via GPRS/3G/4G network, also can connect to clients own server and
King Pigeon www.My-M2M.com clould server. If clients need to connect own cloud server, pls contact King
Pigeon sales for SDK or King Pigeon IoT RTU Protocol. King Pigeon my-m2m.com cloud as sample below:
King Pigeon my m2m cloud support Modbus TCP, cloud configuration, wechat alarm function, welcomed
editable function.
(1) Basic setting according (1) and (2) in "Device working self-checking";
(2) In "Basic Parameter" setting page, set device ID, range 1~247 in Modbus RTU protocol as below:
(4) Click "Save Settings" in the menu, then switch device off.
(5) Switch the DIP mode to "Run".
(6) Switch the device on, enter into working mode, then device I/O can connect to network.
The IOS APP search "M2M RTU" or click to download link (IOS 7.0 version or above support):
https://itunes.apple.com/us/app/gsm-3g-m2m-rtu/id1095288504?l=zh&ls=1&mt=8
5) Set RTU time, format is 2015-05-22 15:20:30W01, the W01 stands for Monday, W07 stands for Sunday.
SMS Command Return SMS Content
password+Dxxxx-xx-xxTxx: xx: xxWxx xxxx(Y)XX(M)XX(D)xx(H)X(M)xx(W)
6) Inquiry Current Status SMS Command
SMS Command Return SMS Content
password+EE Armed/Disarmed
Model:
Version:
IMEI:
GSM Signal Value:
External DC Power Goes OFF/ON
7) Setup 10 User number(Alarm Number&Access Control Number), max 21digits. ( Return 0~4 or 5~9
separately while setting.)
SMS Command Return SMS Content
Setup password+A+series number+T+tel number Tel1: ---
Tel2: ---
Notice: Tel3: 13570810254
Series number = 0~9 Tel4: ---
Tel5: ---
Inquiry password+A Return all numbers
Delete password+A+series number Return 0~4 or 5~9 numbers.
8) Authority User Number to access control: authorized number can dial to disarm and open the door.
SMS Command Return SMS Content
Setup Specified access control time: Tel1: ---
password+B+series number+S+start time+E+endtime Tel2: ---
Always can access control: Tel3: 13570810254
password+B+series number+P Tel4: ---
Notice: Tel5: ---
Time format is 201505231230, stands for year, month, date, hour, minute.
Inquiry password+B Return all authorized user numbers
Delete password+B+series number Return all authorized user numbers
9) Setup Daily Report time
SMS Command Return SMS Content
Setup password+DR+series number+T+time Daily SMS Report at: xx:xx
Notice:
Series number =0~9, e.g.: 1234DR1T12:30
15)GPRS Online
SMS Command Return SMS Content
password+GPRSonline GPRS always online
16)Delete Historical Data
SMS Command Return SMS Content
password+HISDEL Delete all historical records
17)Clear/Inquiry Pulse Counter Value
SMS Command Return SMS Content
Clear Pulse Counter Value password+DIN0CLR Clear Successfully
Inquiry Pulse Counter Value password+PR Counter Current Value: XX
Communication Networks:
Transparent Transmission
Notice:
1) When Modbus TCP or Modbus RTU over TCP communication protocol adopted, device used as Internet remote server or
slave device of cloud. So device ID is necessary for server polling device address data, and Internet remote server and cloud
used for Modbus Master function.
2) When Modbus TCP or Modbus RTU over TCP communication protocol adopted, cloud server can remotely read and write
device register address, according to Modbus TCP or Modbus RTU protocol. Device register address and function code refer to
"RS485 Serial Port Setting---->Modbus RTU Slave Function---->Device I/O Register Address and Function Code".
(1) In "GPRS" setting page, "Communication Data" choose "Modbus RTU Protocol", means communication
with Modbus RTU over TCP. After setting server IP/DNS and other parameter, click "Save" button as below:
(4) Click "Save Settings" in the menu, then switch device off.
(5) Switch the DIP mode to "Run".
(6) Switch the device on, enter into working mode, then device I/O can connect to network via Modbus RTU
protocol.
16CRC Verify 2 E1 C8H CRC0 CRC1 low byte in front, high behind
Read device AIN DIN pulse count value, temperature and humidity value, external power voltage value:
Master Send Data Format:
Data
Content Bytes Description
(H: HEX)
Device Address 1 01H 01H Device, Range: 1-247, according to setting address
Function Code 1 04H 04 read input register
One address can read 2 bytes.
Register AIN address range: 0000-000BH, One AIN data take two address,
Starting 2 00 00H temperature address: 0018H, humidity address: 0019H, DIN1 count
Address value address: 001A, 001B
External power voltage address: 000E。
Read Register Read qty of input register, read AIN0 to DIN0 count value address,
2 00 1CH
Qty total 28 register, 0000H to 0001BH.
16CRC Verify 2 F1 C3H CRC0 CRC1 low byte in front, high behind
Example: Inquiry device 28 input type register at same time, start from address 0. Include 6 AIN, one device
temperature, humidity, external power voltage, DIN0 count value, then:
Server send: 01 04 00 00 00 1C F1 C3
01H= Device address; 04H= Read input register value; 00 00H AIN0= Starting address; 00 1CH= Serial reading
28 input register value; F1 C3H CRC verify.
Device answer: 01 04 38 00 00 00 E7 00 00 00 DD 00 00 00 DD 00 00 00 DC 00 00 00 DE 00 00 00 DF 00 00 00
00 04 C6 01 9A 00 00 00 01 00 01 00 01 00 01 00 01 00 01 00 01 0B 36 1B E4 00 00 00 0B A9 3C
01H= Device address; 04H= Read input register value; 56 bytes data after 38H, 00 00 00 E7H AIN0 value, 00 00
00 0DD AIN1 value, 00 00 00 DDH AIN2 value, 00 00 00 DCH AIN3 value, 00 00 00 DEH AIN4 value, 00 00 00
DFH AIN5 value, 00 00 00 00H invalid value, 04 C6H external power voltage value, 01 9A 00 00 00 01 00 01 00
01 00 01 00 01 00 01 00 01H invalid value, 0B 36H temperature value, 1B 36H humidity value, 00 00 00 0BH
DIN0 count value, A9 3C CRC verify.
12. Warranty
1) This system is warranted to be free of defects in material and workmanship for one year.
2) This warranty does not extend to any defect, malfunction or failure caused by abuse or misuse by the
Operating Instructions. In no event shall the manufacturer be liable for any alarm system altered by
purchasers
The End!
Any questions please help to contact us feel free.
Http://www.GPRS-M2M.com