S270/S271User Manual
Ver 3.4.1
Date Issued: 2020-08-18
King Pigeon Hi-Tech. Co., Ltd.
www.iot-solution.com
4G Cellular
IoT M2M RTU
Страница 1: ...S270 S271 User Manual Ver 3 4 1 Date Issued 2020 08 18 King Pigeon Hi Tech Co Ltd www iot solution com 4G Cellular IoT M2M RTU ...
Страница 2: ...cking 17 6 3 Configurator software interface and running 18 Basic Settings 19 Number Settings 20 Output Settings 21 Incoming Control Settings 23 DIN Trigger Settings 23 DIN AIN Alarm Settings 25 AIN Trigger Settings 25 Timer Settings 27 Logic Trigger Settings 28 Network Settings 28 Historical Record 30 7 Example Of Applications 31 7 1 Device working self checking 31 7 2 Device connect analog trans...
Страница 3: ...y their ideas and realize the function of these applications 1 Device Working Principle This device collects front end sensor and meter data and after logical processing and calculation it is sent to the mobile phone number set by the user via SMS or sent to the designated cloud server via the data network The cloud server identifies the device according to the unique number of the device The rela...
Страница 4: ...erver processes the data according to the rules stores it in the database and pushes it to the computer user or App users Mobile phone computer First register an account in the cloud platform and bind the corresponding RTU device After receiving the data uploaded from the RTU device the cloud platform can push it to the corresponding mobile phone app and computer users after processing Similarly m...
Страница 5: ...sponding model in the help center of http www iot solution com to find solutions UPGRADE HISTORY DATE CONFIGURATOR VERSION FIRMWARE VERSION Author DESCRIPTION 2018 12 21 V3 0 V3 0 KG 1 Modbus address and function code revised 2 AIN DIN alarm content setting revised 3 Interlock event added 2019 09 24 V3 01 V3 2 ZYH 1 Cellular default settings 2 Delete SDK function 2020 7 24 V3 2 V3 3 CJ 1 Add DIN1 ...
Страница 6: ...ll our sales where would you like to use them 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 4 2 digital inputs 4 2 analog or PT100 Resistance Temperature Detector RTD inputs 4 2 relay outputs 1 ambient...
Страница 7: ...rol 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 Typically applications BTS Monitoring Security Alarm System applications Supervision and monitoring alarm systems Automatic monitoring system Vending Machines security protection Pumping Statio...
Страница 8: ...t SMS set SMS inquiry Inbuilt 1 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 ...
Страница 9: ... DI0 as a high speed pulse counter sampling frequency 1MHz DI1 3 as a low speed pulse counter the anti shake time can be set to 1 2000ms the default is 1ms DI1 as arm and disarm function Isolation protection 2KVrms Analog Inputs 2 4 Analog Inputs 12 bit resolution 0 5V or 0 20mA or 4 20mA Input resistance 1M ohms Temp Hum Inputs Temperature range 40 C to 80 C Humidity Range 0 100 RH Relay Outputs ...
Страница 10: ...ar IoT M2M RTU 5 2 LED Indicator Definition LED Indicator Definition Power RTU status indicator LED ON when switched RTU on Cellular network indicator When 2G register network off 2 seconds on 0 5s and so on When 3G 4G register network on 2s off 0 5s Flicks quickly means data ...
Страница 11: ...rnal DC Power Input port contact to negative electrode DC Out 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 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 Definitio...
Страница 12: ...h Channel Analog input stands for positive electrode stands for negative electrode Digital Input Definition Dry contact or wet contact sampling frequency 200mS Logic level 0 0 5V or short circuit treated as close 3 30V or open circuits treated as open One of the input can be used as counter sampling frequency is 1Mhz the second input can be used for Arm Disarm 0 The 1st digital input positive elec...
Страница 13: ... Tech Co Ltd Ver 3 0 GSM SMS GPRS 3G 4G Cellular IoT M2M RTU S27X wiring diagram AI internal interface principle block diagram DI internal interface Principle block diagram DO internal interface Principle block diagram S27X Wiring ...
Страница 14: ... GSM SMS GPRS 3G 4G Cellular IoT M2M RTU is user friendly design The user can setup it or export historic data by the PC Configuration through USB cable and upgrade firmware by USB port The GSM SMS GPRS 3G 4G Cellular IoT M2M RTU also can be configured some basically parameters by SMS Commands please refer to SMS ...
Страница 15: ...ep2 Connection Please insert the SIM Card and install the GSM 3G 4G Antenna 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 ...
Страница 16: ...Yes to go to Microsoft website to download this service pack 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 1 USB Driver installation failure 2 USB Cable connection is disconnected 3 The DIP Switch in RUN mode not in SET mode 4 The Upg...
Страница 17: ...Driver installation failure 2 COM Port not correct or USB driver installation failure 3 Device not enter into setting mode 1 Only power light on that means the Upgrade Firmware Switch at Load side not at Work side Solution Switch the power switch to OFF Upgrade switch to Work side Power switch to ON 2 Signal light flicks that means device in working mode Maybe had not rebooted the device after swi...
Страница 18: ...he device not response the Modbus command Have not set the device ID Solution In setting mode set device ID Switch the device to Run mode After switching panel on not running according to parameter setting After parameter setting forget to click Save button in every page Solution Back to Set mode Click Save Button after setting one page After all page set successfully click Save Setting in the men...
Страница 19: ...hen click Save Settings in menu for saving parameters in device 2 Before S270 S271 export configuration 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 ...
Страница 20: ...he 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 An...
Страница 21: ...imer 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 exter...
Страница 22: ... 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 2 Switch ON OFF For switch on off device 3 Si...
Страница 23: ...t It is very useful for serviceman dial to open the electric lock door and disarmed at specified time of the Room Also this function can be used as authorized number dial in the RTU to output a pulse output or always close then call again open the relay at specified time In this condition please setup the output type of DO0 as Open Door and setup other parameters correctly and remember to setup th...
Страница 24: ...MS 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...
Страница 25: ...k it stands for enable to send SMS or dial the related authorized number see below page is for DIN settings the AIN Alarm Settings is the same AI Trigger Settings This page is to setup the analog input alarm conditions and analog input parameter AIN can be used for monitoring temperature current voltage power factor water level pressure environment wind speed And also one channel temperature and h...
Страница 26: ...itch 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 valu...
Страница 27: ...the configuration software 3 The maximum and minimum range of the analog quantity please refer to the transmitter technical specification to fill in or consult the transmitter manufacturer 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 ca...
Страница 28: ...tion Stands for then what action does the RTU should execute Network Settings This page used for setting device parameters connect to networks The device can compatible with many third party upper computer system 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 conn...
Страница 29: ...nnect www kpiiot 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 ...
Страница 30: ...he password for the subject at the proxy server empty Active upload data cycle The time interval for the device to upload data regularly with a maximum of 10 seconds 10 seconds Mqtt data supplementary transmission When enabled the historical cache data during network disconnection will be retransmitted when the network is restored Disable Historical Record The device inbuilt 8G SD card store alarm...
Страница 31: ... CSV file Delete device records Click this button will erase all device historical records be careful 7 Example Of Applications 7 1 Device working self checking 1 Under setting mode switch Dip to Set Switch device on Running configurator choose port and password enter into software basic parameter settings Click Read the computer time Then click Write the RTU time for device time setting At the sa...
Страница 32: ...ff recovery SMS then tick and write as below 3 Click Save 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 che...
Страница 33: ... last 2 seconds lower than 20 also need a alarm then set as below 1 Switch device off then switch AIN0 input type to mA 2 Wire connect temperature transducer to AIN0 input as below 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 Minimum 40 Threshold High 35 Threshold Low 20 Verify Time 2 I...
Страница 34: ...RTU SMS After that click Save as below 5 In AIN alarm setting 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 Switch device off 7 Switch DIP mode to Run working mode as below ...
Страница 35: ...e 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 Set...
Страница 36: ...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 6 Switch device off ...
Страница 37: ...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 3 In Cellular network setting page set parameter as below When Communication Data as Modbus RTU Protocol then server IP DNS should be modbus dtuip com port is 6651 pls contact King Pigeon Sales for Login Message Writing When Communic...
Страница 38: ...perate the device also can use the APP to control it easier The APP is under SMS communication but their makes the program and operation easier than edit SMS every time The Android APP search M2M RTU or click to download link http nc apk wdjcdn com 9 c8 1fd8e70a8634e9b4763a6a7114888c89 apk The IOS APP search M2M RTU or click to download link IOS 7 0 version or above support https itunes apple com ...
Страница 39: ...DC Power Goes ON External DC Power Goes ON 3 Modify Password 4digits default is 1234 SMS Command Return SMS Content Old Password P New Password This is the New Password please remember it carefully 4 Arm Disarm SMS Command SMS Command Return SMS Content Arm password AA Armed Disarm password BB Disarmed 5 Set RTU time format is 2015 05 22 15 20 30W01 the W01 stands for Monday W07 stands for Sunday ...
Страница 40: ...30 stands for year month date hour minute Tel1 Tel2 Tel3 13570810254 Tel4 Tel5 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 Notice Series number 0 9 e g 1234DR1T12 30 Daily SMS Report at xx xx Inquiry password DR Delete password...
Страница 41: ...x ON OFF DOy ON OFF Inquiry all DO Current Status password DOE DO1 ON OFF DO2 ON OFF Time Switch ON Close password DOLC channel number nnnn can close multi channel till time setting in configurator software finished Set Pulse Output time password DOT xxx 3 digital unit is seconds Pulse Output Time xxxS Inquiry pulse output time password DOT Pulse Output Time xxxS Pulse Ouput password DOP channel n...
Страница 42: ...ly Inquiry Pulse Counter Value password PR Counter Current Value XX 9 Device GPRS 3G 4G Communication Protocol Device can connect to Cloud and SCADA via GPRS 3G 4G network support Transparent Transmission Modbus RTU over TCP Modbus TCP and King Pigeon RTU protocol User also can connect device to third party cloud or server 9 1 Device Networks Topology 9 2 Communication Networks ...
Страница 43: ...t work 24 RTU Temperature 16 Bit Signed AB 1 Byte in Modbus protocol AM2301 Temperature value 100 real value Temperature value 100 25 RTU Humidity 16 Bit Signed AB 1 Byte in Modbus protocol AM2301 Humidity value 100 real value Humidity value 100 26 RTU DIN0 Count Value 32 Bit Unsigned This value Enable when DIN0 as counter mode 28 TU DIN1 Count Value 32 Bit Unsigned This value Enable when DIN0 as ...
Страница 44: ...ion 0 RTU DO0 Bool DO0 Value Read Write 1 Close 0 Open 1 RTU DO1 Bool DO1 Value Read Write 1 Close 0 Open 2 RTU DO2 Bool DO2 Value Read Write 1 Close 0 Open 3 RTU DO3 Bool DO3 Value Read Write 1 Close 0 Open Read and Write Holding Coil Function Code 03 Function Code 06 Function Code 16 Register Address Decimal Definition Data Type Description 260 bit0 DI0 Count clear bit Bool Write 1 to clear DI0 ...
Страница 45: ...col Protocol choose TCP set the Domain IP Port of connecting server other parameter setting according to server 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 Modbu...
Страница 46: ...d TCP connection via GPRS 3G 4G networks Users can set handshake protocol login message heartbeat or other parameter according to cloud server After TCP connection server or SCADA or cloud can send Modbus RTU command to device to build Modbus RTU networks which based on TCP connection For Modbus RTU over TCP protocol setting as below 1 In Basic Parameter setting set device ID range 1 247 in Modbus...
Страница 47: ...via GPRS 3G 4G networks Read device relay DO status Device s relay DO register address as holding coil address 0 3 refer to S270 S271 RTU I O Register List and Function Code Master Send Data Format Content Bytes Data H HEX Description Device Address 1 01H 01H Device Range 1 247 according to setting address Function Code 1 01H Read holding coil type function code 01 DO Origin Register Address 2 00 ...
Страница 48: ...Read serial 4 DO status 3D C9H CRC Verify Device answer 01 01 01 02 D0 49 01H Device address 01H Read relay function code 01H Return data byte qty 02H Returning data stands for Binary 0000 0010 high 4 byte invalid low 4 byte 0010 sort as DO3 DO2 DO1 DO0 status D0 49HCRC verify If read DO or multi DO status only need to revise DO Origin Register Address and Read DO Register Qty calculate the CRC ag...
Страница 49: ...ice address 05H Control single relay command 00 00 H DO0 Address FF 00H Active DO0 close 8C 3AH 16 byte CRC verify If single control other relay outputs only need to change DO Register Address and Active calculate CRC verify again 2 Multi control DO outputs Master Send Data Format Content Bytes Data H HEX Description Device Address 1 01H 01H Device according to setting address Function Code 1 0FH ...
Страница 50: ...e relay 7E 92H CRC verify Device answer 01 0F 00 00 00 04 54 08 01H Device address 0FH Control multi relay 00 00H Relay DO0 starting address 00 04H Actived 4 relays 54 08H CRC verify If need to control multi relays at same time only need to change Relay Starting Address Control Relay Qty Write Data and calculate CRC Verify again Read device DIN status Master Send Data Format Content Bytes Data H H...
Страница 51: ...0 Open 1 Close A1 88H 16 byte CRC verify If need to inquiry multi DIN status only need to change DIN Starting Address Reading DIN Register Qty calculate CRC verify again Read device AIN DIN pulse count value temperature and humidity value external power voltage value Master Send Data Format Content Bytes Data H HEX Description Device Address 1 01H 01H Device Range 1 247 according to setting addres...
Страница 52: ...es AIN External Power Voltage Temperature Humidity real value Register value 100 16CRC Verify 2 A9 3CH 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 0...
Страница 53: ...s the message broker is the server and the message publisher can also be a subscriber Take S27X connected to King Pigeon cloud 2 0 platform as an example When the device publish I O point data Publisher S27X Broker King Pigeon Cloud2 0 Subscriber account Publish Subcribe Publish When the customer control the device Subscriber account Broker King Pigeon Cloud2 0 Subscriber S27X Publish Subcribe Pub...
Страница 54: ...ayload data format of device publish message Publish Topic MQTT client ID filled in configuration software sensorDatas flag DI1 Read and write flag switcher 1 data type and value flag AI1 value 10 00 flag REG20000 Register address and value value 1 00 time 1591841863 Time stamp When power on first time connection no time stamp later connections have time stamp state alarm Alarm and recovery only f...
Страница 55: ...Datas sensorsId 211267 platform sensor ID switcher 1 data type value flag DO1 Read and write flag down down Platform downstream packet identification Note Platform sensor ID the character is sensorsID followed by the ID number ID is automatically generated by the platform Data type and value 1 Switch type data the character is switcher followed by 0 or 1 0 open 1 closed 2 Numerical data the charac...
Страница 56: ... supports upgrade firmware via USB port directly If you required upgrade please contact us to discuss and modify the firmware according to you requirements we can provide the upgraded firmware to you to upgrade them 12 Cellular Module Upgrade The device adopt modular structure design when user local Gsm operator upgrade network no need to replace the whole hardware only need to replace inbuilt com...
Страница 57: ...his 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 iot solution com ...