CN103491267A - Setting method of wireless intelligent RTU - Google Patents

Setting method of wireless intelligent RTU Download PDF

Info

Publication number
CN103491267A
CN103491267A CN201310445374.XA CN201310445374A CN103491267A CN 103491267 A CN103491267 A CN 103491267A CN 201310445374 A CN201310445374 A CN 201310445374A CN 103491267 A CN103491267 A CN 103491267A
Authority
CN
China
Prior art keywords
enter step
enter
tc35i
task
note
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310445374.XA
Other languages
Chinese (zh)
Other versions
CN103491267B (en
Inventor
郭琪
尹玉国
郭长鹏
曹淑玲
姜棋
马晓逵
马鹏
郭长美
冯志玉
郭长鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Start Measurement Control Equipment Co Ltd
Original Assignee
Shandong Start Measurement Control Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Start Measurement Control Equipment Co Ltd filed Critical Shandong Start Measurement Control Equipment Co Ltd
Priority to CN201310445374.XA priority Critical patent/CN103491267B/en
Publication of CN103491267A publication Critical patent/CN103491267A/en
Application granted granted Critical
Publication of CN103491267B publication Critical patent/CN103491267B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a setting method of a wireless intelligent RTU. Remote setting of the wireless intelligent RTU is achieved through GPRS signal transmission, and setting, modification and query of parameters of the wireless intelligent RTU are achieved in the mode of sending short messages and making telephone calls through a mobile phone. The setting method of the wireless intelligent RTU comprises the initialization step, the task processing step, the incoming call and short message processing step, the short message sending processing step, and the short message receiving processing step. According to the initialization step, a TC35IGS module on the wireless intelligent RTU is initialized; according to the task processing step, the function of sending and receiving wireless data is achieved through the TC35I module; according to the incoming call and short message processing step, identification and validity judgment are carried out on the received wireless data, and collection of the data and marking of corresponding zone bits are carried out. Due to the fact that setting, modification and query of the parameters of the wireless intelligent RTU are achieved in the mode of sending the short messages and calling up through the mobile phone, operation is easy, implementation is rapid, and cost is quite low. The invention further provides an automatic device which can achieve convenient and rapid remote control over an industrial site through a set of simple and catchy instructions used for setting, modification and query of parameters.

Description

The method to set up of a kind of intelligent wireless RTU
Technical field
The present invention relates to a kind of intelligent wireless RTU, specifically, relate to the method to set up that a kind of GPRS of utilization signal transmission realizes intelligent wireless RTU, belong to the automation instrument technology field.
Background technology
Along with improving constantly of Chinese industrial level and the level of IT application, the SCADA system is applied to the fields such as gas burning system, electric power system, water supply system, oil, chemical industry more and more widely.RTU is as the basic composition unit of SCADA system, and the demand of low-carbon economy, environmental protection has also greatly improved the requirement of market to its performance.
Intelligent wireless RTU is the remote supervisory and control(ling) equipment of developing for specific industry spot demand, it is the product that integrates data acquisition and GPRS/CDMA wireless telecommunications, be used for measuring and monitoring transducer and the equipment that is arranged on remote scene, be responsible for monitoring and control to industrial equipment, on-site signal.RTU converts the signal or the state that record to can send on communication medium data format, and the data transaction that it also will send from central computer becomes order, realizes the function of equipment is controlled.
RTU generally is arranged on industry spot distant, circumstance complication, current RTU has overcome the deficiency of little, the single collection site data of former application range of products, Realtime Alerts and the Long-distance Control of data have been realized, make measurement and the level of control of industrial field device stride forward a step, but operating procedure is inconvenient, to realize that cost occupies relatively high.
Summary of the invention
The technical problem to be solved in the present invention is for above-mentioned deficiency, the method to set up of a kind of intelligent wireless RTU is provided, overcome that the prior art cost is high, low-response, the poor defect of reliability, after adopting technical solution of the present invention, have advantages of that cost is low, response is fast, reliability is high.
For solving above technical problem, the present invention is by the following technical solutions: the method to set up of a kind of intelligent wireless RTU, it is characterized in that: described method to set up utilizes the transmission of GPRS signal to realize the long-range setting to intelligent wireless RTU, send short messages and make a phone call to realize parameter setting, modification and the inquiry of RTU by mobile phone, comprise initialization step, task treatment step, incoming call and note treatment step, send the note treatment step and receive the note treatment step;
Described initialization step carries out initialization by the TC35I gsm module on RTU;
Described task treatment step utilizes the TC35I module to realize the transmission-receiving function of wireless data;
Described incoming call and note treatment step are identified the wireless data received and validity judgement, and are responsible for data are gathered to the mark with corresponding flag bit.
A kind of prioritization scheme, described incoming call and note treatment step comprise:
Start from step S101, RTU is analyzed the GPRS signal received, and judges whether it is incoming call, if so, enters step S102, otherwise enters step S106;
At step S102, after end of conversation, hang up the telephone, enter step S103;
At step S103, read caller ID and enter step S104;
At step S104, judge that whether telephone number effective, if the front three of telephone number is not 0, and number length to be greater than 3 numbers effective, and enter step S105; Otherwise enter step S107;
At step S105, caller data is gathered, according to the sign of sending short messages of the order juxtaposition in the data that collect, then enter step S107;
At step S107, remove electrosemaphore, then enter step S110;
At step S106, judge whether it is note, if note data enters step S108, otherwise enter step S110;
At step S108, the short message reading pointer also enters step S109;
At step S109, remove note pointer sign, put the reading short message sign, enter step S110;
At step S110, carry out return command.
Another kind of prioritization scheme, describedly realize that the task treatment step comprises:
Start from step S201, judge whether TC35I receives task, if so, enter step S218, otherwise enter step S202;
Carry out new task at step S218:TC35I, confirm the validity and enter step S219, otherwise enter step S202;
At step S219: read task code, and enter step S220;
At step S220: determine whether TC35I initialization task code, if so, enter step S221, otherwise enter step S222;
At step S221: carry out the TC35I initialization task, enter step S222 after complete;
At step S222: determine whether TC35I network registry task code, if so, enter step S223, otherwise directly enter step S224;
At step S223: carry out TC35I network registry task, then enter step S224;
At step S224: determine whether that the TC35I note is saved in the SIM card task, if yes then enter step S225, otherwise directly enter step S226;
At step S225: carry out the TC35I note and be saved in task in card, enter step S226 after completing;
At step S226: determine whether that TC35I checks new intensity task code, if yes then enter step S227, otherwise enters step S228;
At step S227: carry out TC35I and check new intensity task, enter step S228 after completing;
At step S228: determine whether that TC35I sends the note task code, if yes then enter step S229, otherwise enters step S230;
At step S229: carry out TC35I and send the note task, enter step S230 after completing;
At step S230: determine whether TC35I short message reading task code, if yes then enter step S231, otherwise enter step S232;
At step S231: carry out TC35I short message reading task, enter step S232 after completing;
At step S232: determine whether that TC35I deletes a note task code, if so, enters step S233, otherwise enters step S234;
At step S233: carry out TC35I and delete a note task, enter step S234 after completing;
At step S234: determine whether the TC35I task code of hanging up the telephone, if yes then enter step S235, otherwise enter step S217;
At step S235: carry out the TC35I task of hanging up the telephone, enter step S217 after completing;
At step S217: determine whether the TC35I task code of making a phone call, if yes then enter step S216, otherwise enter step S215;
At step S216: carry out the TC35I task of making a phone call, enter step S215 after completing;
At step S215: whether disconnected is that TC35I reads the central number task code, if yes then enter step S214, otherwise enters step S213;
At step S214: carry out TC35I and read the central number task, enter step S213 after completing;
At step S213: whether disconnected is that TC35I arranges the central number task code, if yes then enter step S212, otherwise enters step S211;
At step S212: carry out TC35I the central number task is set, enter step S211 after completing;
At step S211: whether disconnected is that TC35I is arranged to note and receives the prompting task code, if yes then enter step S210, otherwise enters step S209;
At step S210: carry out TC35I and be arranged to note and receive the prompting task, enter step S209 after completing;
At step S209: determine whether not dormancy of TC35I module task code, if yes then enter step S208, otherwise enter step S207;
At step S208: the TC35I module is set to not park mode, enters step S207 after completing;
At step S207: determine whether that TC35I deletes all note task codes, if yes then enter step S206, otherwise enter step S205;
At step S206: carry out TC35I and delete all note tasks, enter step S205 after completing;
At step S205: determine whether TC35I shutdown task code, if yes then enter step S204, otherwise enter step S203;
At step S204: carry out TC35I shutdown task, and return to and enter step S202;
At step S203: by the wrong task detach in running, and enter step S202.
Another prioritization scheme, described initialization process step comprises:
At step S301: powered-down waits for a period of time, and then enters step S302;
At step S302, wait for two seconds after opening power, enter step S303;
At step S303, send the IGT enabling signal, wait for 10 seconds, enter step S304;
At step S304, the AT test, whether checking module and serial ports are connected, and enter step S305;
At step S305, the TC35I module is arranged to the default setting that dispatches from the factory, and enters step S306;
At step S306, cancel echo, echo is module exectorial the time, and return value is arranged, and is presented on screen, enters step S307;
At step S307, the NET indicator light that RTU is set is bright, and the NET indicator light of RTU, enter step S308;
At step S308, the caller ID telephone number is set, show result code, enter step S309;
At step S309, the auto registration network is set, enter step S310;
At step S310, the wrong demonstration is set, enter step S311;
At step S311, note PDU form is set, short message format is set, enter step S312;
At step S312, note is set and receives prompting, enter step S313;
At step S313, module is set and enters non-dormancy mode of operation, enter step S314;
At step S314, clear initialization task clear sign, initialization completes.
Further prioritization scheme, described transmission note treatment step comprises:
Start from S401, if telephone number is effective, front two is not 00, and has been registered on network, and after being registered on network, the NET lamp of RTU presents flickers in two seconds state once; Enter step S402, otherwise enter step S410;
At step S402, fill order, put counter COUNT=3, enters step S403;
At step S403, by data packing to be sent, enter step S404
At step S404, extract and send data length, enter step S405;
At step S405, send order AT+CMGS=LENGTH to processor, enter step S406 after completing;
At step S406, wait for that 200MS returns, enter step S407;
At step S407, send packing data, enter step S408;
At step S408, if received ' CMGS ' return information in 20 seconds, enter step S409, otherwise enter step S411;
S409: transmission times+1, and the sudden strain of a muscle of DATA lamp is once, then enters step S410;
S411: judge whether CMGS has return information, if i.e. COUNT=0 enters step S412, otherwise returns to step S402;
S412: transmission times+3, DATA lamp three times, enter step S410;
S410: the clear sign that sends completes the transmission note.
Prioritization scheme further, described reception note treatment step comprises:
Start from step S501, extract the pointer of note in module, enter step S502;
At step S502, put transmission times counter COUNT=3, can send at most 3 times information, count and enter step S503;
At step S503, send the reading short message order, be sent and enter step S504;
At step S504, wait for returned content, return to short message content the time delay of reading in S503, judge that whether time delay surpasses 5 seconds, if so, enters step S505, otherwise enters step S506;
At step S505, judge whether transmission times counter COUNT equals 0, if so, enters step S508, otherwise enter step S503;
At step S506, judge that whether messaging format is effective, if so, enter step S507; Otherwise enter step S508;
At step S507, process the short message content juxtaposition and return to the note sign, enter step S508: at step S508, put the deleting short message sign, receive note and finish.
The present invention adopts above technical scheme, compared with prior art, has the following advantages: send short messages and make a phone call to realize parameter setting, modification and the inquiry of RTU by mobile phone, simple to operate, realize fast, cost is very low.The instruction of a set of simple setting, modification and query argument easy to remember is provided simultaneously, realizes the automation equipment of Long-distance Control industry spot quickly and easily.
Below in conjunction with drawings and Examples, the present invention will be described.
The accompanying drawing explanation
Accompanying drawing 1 is incoming call and the flow chart of note treatment step in the embodiment of the present invention;
The flow chart that accompanying drawing 2 is task treatment step in the embodiment of the present invention;
The flow chart that accompanying drawing 3 is initialization step in the embodiment of the present invention;
Accompanying drawing 4 is to send the flow chart of note treatment step in the embodiment of the present invention;
Accompanying drawing 5 is to receive the flow chart of note treatment step in the embodiment of the present invention.
Embodiment
Embodiment, the method to set up of a kind of intelligent wireless RTU, utilize the transmission of GPRS signal to realize the long-range setting to intelligent wireless RTU, send short messages and make a phone call to realize parameter setting, modification and the inquiry of RTU by mobile phone, comprise initialization step, task treatment step, incoming call and note treatment step, send the note treatment step and receive the note treatment step.
Wherein initialization step completes the initialization to the TC35I gsm module on RTU; The task treatment step utilizes the TC35I module to realize the transmission-receiving function of wireless data; Incoming call and the note treatment step is identified the wireless data received and validity judgement, and be responsible for data are gathered to the mark with corresponding flag bit.
The workflow that below faces toward respectively four steps describes.
As shown in Figure 1, incoming call and note treatment step are as follows:
Start from step S101, RTU is analyzed the GPRS signal received, and judges whether it is incoming call, if so, enters step S102, otherwise enters step S106;
At step S102, after end of conversation, hang up the telephone, enter step S103;
At step S103, read caller ID and enter step S104;
At step S104, judge that whether telephone number effective, if the front three of telephone number is not 0, and number length to be greater than 3 numbers effective, and enter step S105; If number is invalid, enter step S107;
At step S105, caller data is gathered, according to the sign of sending short messages of the order juxtaposition in the data that collect, the flag bit of only sending short messages is set, and could send in the note step command information is sent to terminal equipment at RTU GPRS, enters step S107;
At step S107, remove electrosemaphore, then enter step S110;
At step S106, judge whether it is note, if note data enters step S108, otherwise enter step S110;
At step S108, the short message reading pointer also enters step S109;
At step S109, remove note pointer sign, put the reading short message sign, enter step S110;
At step S110, carry out return command.
As shown in Figure 2, this step adopt Siemens the highly integrated gsm module of a double frequency 900/1800MHZ---TC35I realizes the task treatment step, its detailed processing procedure is as follows:
Start from step S201, judge whether TC35I receives task, if so, enter step S218, otherwise enter step S202;
S218:TC35I carries out new task, confirms the validity and enters step S219, otherwise enter step S202;
S219: read task code, and enter step S220;
S220: determine whether TC35I initialization task code, if so, enter step S221, otherwise enter step S222;
S221: carry out the TC35I initialization task, enter step S222 after complete;
S222: determine whether TC35I network registry task code, if so, enter step S223, otherwise directly enter step S224;
S223: carry out TC35I network registry task, then enter step S224;
S224: determine whether that the TC35I note is saved in the SIM card task, if yes then enter step S225, otherwise directly enter step S226;
S225: carry out the TC35I note and be saved in task in card, enter step S226 after completing;
S226: determine whether that TC35I checks new intensity task code, if yes then enter step S227, otherwise enters step S228;
S227: carry out TC35I and check new intensity task, enter step S228 after completing;
S228: determine whether that TC35I sends the note task code, if yes then enter step S229, otherwise enters step S230;
S229: carry out TC35I and send the note task, enter step S230 after completing;
S230: determine whether TC35I short message reading task code, if yes then enter step S231, otherwise enter step S232;
S231: carry out TC35I short message reading task, enter step S232 after completing;
S232: determine whether that TC35I deletes a note task code, if so, enters step S233, otherwise enters step S234;
S233: carry out TC35I and delete a note task, enter step S234 after completing;
S234: determine whether the TC35I task code of hanging up the telephone, if yes then enter step S235, otherwise enter step S217;
S235: carry out the TC35I task of hanging up the telephone, enter step S217 after completing;
S217: determine whether the TC35I task code of making a phone call, if yes then enter step S216, otherwise enter step S215;
S216: carry out the TC35I task of making a phone call, enter step S215 after completing;
S215: whether disconnected is that TC35I reads the central number task code, if yes then enter step S214, otherwise enters step S213;
S214: carry out TC35I and read the central number task, enter step S213 after completing;
S213: whether disconnected is that TC35I arranges the central number task code, if yes then enter step S212, otherwise enters step S211;
S212: carry out TC35I the central number task is set, enter step S211 after completing;
S211: whether disconnected is that TC35I is arranged to note and receives the prompting task code, if yes then enter step S210, otherwise enters step S209;
S210: execution TC35I is arranged to note and receives the prompting task, enters step S209 after completing;
S209: determine whether not dormancy of TC35I module task code, if yes then enter step S208, otherwise enter step S207;
S208: the TC35I module is set to not park mode, enters step S207 after completing;
S207: determine whether that TC35I deletes all note task codes, if yes then enter step S206, otherwise enter step S205;
S206: carry out TC35I and delete all note tasks, enter step S205 after completing;
S205: determine whether TC35I shutdown task code, if yes then enter step S204, otherwise enter step S203;
S204: carry out TC35I shutdown task, and return to and enter step S202;
S203: by the wrong task detach in running, and enter step S202.
As shown in Figure 3, the initialization process step is as follows:
S301: powered-down waits for a period of time, and this sentences and is no less than two seconds and is advisable, and then enters step S302;
Step S302, wait for two seconds after opening power, enters step S303;
At step S303, send the IGT enabling signal, for making TC35i enter operating state, must add a low pulse that is greater than 100ms to IGT after system power-up, the level decline duration is no more than 1ms, waits for 10 seconds, enters step S304;
At step S304, the AT test, can whether checking module and serial ports be connected, receive the test of AT instruction, enter step S305;
At step S305, the TC35I module default setting (AT&F) of being arranged to dispatch from the factory, enter step S306;
At step S306, cancel echo, echo is module exectorial the time, and return value is arranged, and is presented on screen, enters step S307;
At step S307, the NET indicator light that RTU is set is bright, and the NET indicator light of RTU, enter step S308;
At step S308, caller ID telephone number (AT+CLIP=0) is set, show result code, enter step S309;
At step S309, auto registration network (AT+COPS=0) is set, the selection that AT+COPS is operator, AT+COPS=0 is the auto registration pattern, according to the type of Mobile phone card, automatically selecting is movement, UNICOM or telecommunications, enters step S310;
At step S310, wrong show (AT+CMEE=0) is set, by mobile device reporting errors information, AT+CMEE=0 represents that result code does not enable, and enters step S311;
At step S311, note PDU form (AT+CMGF=0) is set, short message format is set, be 0 expression PDU form, be 1 expression TEXT form, the PDU pattern can transmit word, and the TEXT pattern only transmits numeral and letter, enters step S312;
At step S312, note is set and receives prompting (AT+CNMI=1,1,0,0,1), enter step S313;
At step S313, module is set and enters non-dormancy mode of operation (AT+CFUN=1), enter step S314;
At step S314, clear initialization task clear sign, initialization completes.
As shown in Figure 4, transmission note treatment step is as follows:
Start from S401, if telephone number is effective, front two is not 00, and has been registered on network, and after being registered on network, the NET lamp of RTU presents flickers in two seconds state once; Enter step S402, otherwise enter step S410;
At step S402, fill order, put counter COUNT=3, enters step S403;
At step S403, by data packing to be sent, enter step S404
At step S404, extract and send data length, enter step S405;
At step S405, send order AT+CMGS=LENGTH to processor, enter step S406 after completing;
At step S406, wait for that 200MS returns, ' > ' mean to send successfully, enter step S407;
At step S407, send packing data, enter step S408;
At step S408, if received ' CMGS ' return information in 20 seconds, AT+CMGS is the AT instruction, function is transmission information, the value that its return value is CMGS, and expression information sends successfully, enter step S409, otherwise enter step S411, now transmission times counter COUNT=0, namely reach maximum number of times of transmission.
S409: transmission times+1, and the sudden strain of a muscle of DATA lamp is once, then enters step S410;
S411: judge whether CMGS has return information, if i.e. COUNT=0 enters step S412, otherwise returns to step S402;
S412: transmission times+3, DATA lamp three times, enter step S410;
S410: the clear sign that sends completes the transmission note.
As shown in Figure 5, reception note treatment step is as follows:
Start from step S501, extract the pointer of note in module, enter step S502;
At step S502, put transmission times counter COUNT=3, can send at most 3 times information, count and enter step S503;
At step S503, send reading short message order (AT+CMGR=INDEX), be sent and enter step S504;
At step S504, wait for returned content, return to short message content the time delay of reading in S503, judge that whether time delay surpasses 5 seconds, if so, enters step S505, otherwise enters step S506;
At step S505, judge whether transmission times counter COUNT equals 0, if so, enters step S508, otherwise enter step S503;
At step S506, judge that whether messaging format is effective, if so, enter step S507; Otherwise enter step S508;
At step S507, process the short message content juxtaposition and return to the note sign, enter step S508: at step S508, put the deleting short message sign, receive note and finish.
Those skilled in the art will recognize that; above-mentioned embodiment is exemplary; in order to make those skilled in the art can better understand content of the present invention; should not be understood as limiting the scope of the invention; above embodiment is optimized technical scheme; so long as the improvement of doing according to technical solution of the present invention all falls into protection scope of the present invention.

Claims (6)

1. the method to set up of an intelligent wireless RTU, it is characterized in that: described method to set up utilizes the transmission of GPRS signal to realize the long-range setting to intelligent wireless RTU, send short messages and make a phone call to realize parameter setting, modification and the inquiry of RTU by mobile phone, comprise initialization step, task treatment step, incoming call and note treatment step, send the note treatment step and receive the note treatment step;
Described initialization step carries out initialization by the TC35I gsm module on RTU;
Described task treatment step utilizes the TC35I module to realize the transmission-receiving function of wireless data;
Described incoming call and note treatment step are identified the wireless data received and validity judgement, and are responsible for data are gathered to the mark with corresponding flag bit.
2. method to set up as claimed in claim 1, it is characterized in that: described incoming call and note treatment step comprise:
Start from step S101, RTU is analyzed the GPRS signal received, and judges whether it is incoming call, if so, enters step S102, otherwise enters step S106;
At step S102, after end of conversation, hang up the telephone, enter step S103;
At step S103, read caller ID and enter step S104;
At step S104, judge that whether telephone number effective, if the front three of telephone number is not 0, and number length to be greater than 3 numbers effective, and enter step S105; Otherwise enter step S107;
At step S105, caller data is gathered, according to the sign of sending short messages of the order juxtaposition in the data that collect, then enter step S107;
At step S107, remove electrosemaphore, then enter step S110;
At step S106, judge whether it is note, if note data enters step S108, otherwise enter step S110;
At step S108, the short message reading pointer also enters step S109;
At step S109, remove note pointer sign, put the reading short message sign, enter step S110;
At step S110, carry out return command.
3. method to set up as claimed in claim 1 is characterized in that: describedly realize that the task treatment step comprises:
Start from step S201, judge whether TC35I receives task, if so, enter step S218, otherwise enter step S202;
Carry out new task at step S218:TC35I, confirm the validity and enter step S219, otherwise enter step S202;
At step S219: read task code, and enter step S220;
At step S220: determine whether TC35I initialization task code, if so, enter step S221, otherwise enter step S222;
At step S221: carry out the TC35I initialization task, enter step S222 after complete;
At step S222: determine whether TC35I network registry task code, if so, enter step S223, otherwise directly enter step S224;
At step S223: carry out TC35I network registry task, then enter step S224;
At step S224: determine whether that the TC35I note is saved in the SIM card task, if yes then enter step S225, otherwise directly enter step S226;
At step S225: carry out the TC35I note and be saved in task in card, enter step S226 after completing;
At step S226: determine whether that TC35I checks new intensity task code, if yes then enter step S227, otherwise enters step S228;
At step S227: carry out TC35I and check new intensity task, enter step S228 after completing;
At step S228: determine whether that TC35I sends the note task code, if yes then enter step S229, otherwise enters step S230;
At step S229: carry out TC35I and send the note task, enter step S230 after completing;
At step S230: determine whether TC35I short message reading task code, if yes then enter step S231, otherwise enter step S232;
At step S231: carry out TC35I short message reading task, enter step S232 after completing;
At step S232: determine whether that TC35I deletes a note task code, if so, enters step S233, otherwise enters step S234;
At step S233: carry out TC35I and delete a note task, enter step S234 after completing;
At step S234: determine whether the TC35I task code of hanging up the telephone, if yes then enter step S235, otherwise enter step S217;
At step S235: carry out the TC35I task of hanging up the telephone, enter step S217 after completing;
At step S217: determine whether the TC35I task code of making a phone call, if yes then enter step S216, otherwise enter step S215;
At step S216: carry out the TC35I task of making a phone call, enter step S215 after completing;
At step S215: whether disconnected is that TC35I reads the central number task code, if yes then enter step S214, otherwise enters step S213;
At step S214: carry out TC35I and read the central number task, enter step S213 after completing;
At step S213: whether disconnected is that TC35I arranges the central number task code, if yes then enter step S212, otherwise enters step S211;
At step S212: carry out TC35I the central number task is set, enter step S211 after completing;
At step S211: whether disconnected is that TC35I is arranged to note and receives the prompting task code, if yes then enter step S210, otherwise enters step S209;
At step S210: carry out TC35I and be arranged to note and receive the prompting task, enter step S209 after completing;
At step S209: determine whether not dormancy of TC35I module task code, if yes then enter step S208, otherwise enter step S207;
At step S208: the TC35I module is set to not park mode, enters step S207 after completing;
At step S207: determine whether that TC35I deletes all note task codes, if yes then enter step S206, otherwise enter step S205;
At step S206: carry out TC35I and delete all note tasks, enter step S205 after completing;
At step S205: determine whether TC35I shutdown task code, if yes then enter step S204, otherwise enter step S203;
At step S204: carry out TC35I shutdown task, and return to and enter step S202;
At step S203: by the wrong task detach in running, and enter step S202.
4. method to set up as claimed in claim 1, it is characterized in that: described initialization process step comprises:
At step S301: powered-down waits for a period of time, and then enters step S302;
At step S302, wait for two seconds after opening power, enter step S303;
At step S303, send the IGT enabling signal, wait for 10 seconds, enter step S304;
At step S304, the AT test, whether checking module and serial ports are connected, and enter step S305;
At step S305, the TC35I module is arranged to the default setting that dispatches from the factory, and enters step S306;
At step S306, cancel echo, echo is module exectorial the time, and return value is arranged, and is presented on screen, enters step S307;
At step S307, the NET indicator light that RTU is set is bright, and the NET indicator light of RTU, enter step S308;
At step S308, the caller ID telephone number is set, show result code, enter step S309;
At step S309, the auto registration network is set, enter step S310;
At step S310, the wrong demonstration is set, enter step S311;
At step S311, note PDU form is set, short message format is set, enter step S312;
At step S312, note is set and receives prompting, enter step S313;
At step S313, module is set and enters non-dormancy mode of operation, enter step S314;
At step S314, clear initialization task clear sign, initialization completes.
5. method to set up as claimed in claim 1, it is characterized in that: described transmission note treatment step comprises:
Start from S401, if telephone number is effective, front two is not 00, and has been registered on network, and after being registered on network, the NET lamp of RTU presents flickers in two seconds state once; Enter step S402, otherwise enter step S410;
At step S402, fill order, put counter COUNT=3, enters step S403;
At step S403, by data packing to be sent, enter step S404
At step S404, extract and send data length, enter step S405;
At step S405, send order AT+CMGS=LENGTH to processor, enter step S406 after completing;
At step S406, wait for that 200MS returns, enter step S407;
At step S407, send packing data, enter step S408;
At step S408, if received ' CMGS ' return information in 20 seconds, enter step S409, otherwise enter step S411;
S409: transmission times+1, and the sudden strain of a muscle of DATA lamp is once, then enters step S410;
S411: judge whether CMGS has return information, if i.e. COUNT=0 enters step S412, otherwise returns to step S402;
S412: transmission times+3, DATA lamp three times, enter step S410;
S410: the clear sign that sends completes the transmission note.
6. method to set up as claimed in claim 1, it is characterized in that: described reception note treatment step comprises:
Start from step S501, extract the pointer of note in module, enter step S502;
At step S502, put transmission times counter COUNT=3, can send at most 3 times information, count and enter step S503;
At step S503, send the reading short message order, be sent and enter step S504;
At step S504, wait for returned content, return to short message content the time delay of reading in S503, judge that whether time delay surpasses 5 seconds, if so, enters step S505, otherwise enters step S506;
At step S505, judge whether transmission times counter COUNT equals 0, if so, enters step S508, otherwise enter step S503;
At step S506, judge that whether messaging format is effective, if so, enter step S507; Otherwise enter step S508;
At step S507, process the short message content juxtaposition and return to the note sign, enter step S508: at step S508, put the deleting short message sign, receive note and finish.
CN201310445374.XA 2013-09-26 2013-09-26 The method to set up of a kind of intelligent wireless RTU Active CN103491267B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310445374.XA CN103491267B (en) 2013-09-26 2013-09-26 The method to set up of a kind of intelligent wireless RTU

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310445374.XA CN103491267B (en) 2013-09-26 2013-09-26 The method to set up of a kind of intelligent wireless RTU

Publications (2)

Publication Number Publication Date
CN103491267A true CN103491267A (en) 2014-01-01
CN103491267B CN103491267B (en) 2015-11-18

Family

ID=49831216

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310445374.XA Active CN103491267B (en) 2013-09-26 2013-09-26 The method to set up of a kind of intelligent wireless RTU

Country Status (1)

Country Link
CN (1) CN103491267B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111245931A (en) * 2020-01-09 2020-06-05 深圳市东深电子股份有限公司 GPRS module communication scheduling method based on water conservation RTU

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5475742A (en) * 1992-04-03 1995-12-12 Euro Cp System for remote data collection, process for operating this system and associated collection device
CN102143458A (en) * 2011-03-30 2011-08-03 上海师范大学 Multi-protocol converter based on GSM (Global System for Mobile Communications) short message transmission in wireless communication network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5475742A (en) * 1992-04-03 1995-12-12 Euro Cp System for remote data collection, process for operating this system and associated collection device
CN102143458A (en) * 2011-03-30 2011-08-03 上海师范大学 Multi-protocol converter based on GSM (Global System for Mobile Communications) short message transmission in wireless communication network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111245931A (en) * 2020-01-09 2020-06-05 深圳市东深电子股份有限公司 GPRS module communication scheduling method based on water conservation RTU

Also Published As

Publication number Publication date
CN103491267B (en) 2015-11-18

Similar Documents

Publication Publication Date Title
CN102930703B (en) Remote water pressure monitoring method and system
CN104749335A (en) Water quality detection system, water quality detection device, mobile terminal and water quality detection method
CN101943907A (en) ZigBee technology-based fishpond water quality real-time monitoring system
CN104658220A (en) Water level remote monitoring system
CN102768051A (en) Remote monitoring and warning system and method for electromagnetic flow meter of tap water
CN105467097A (en) Water quality detection system and detection method thereof
CN104656128A (en) Monitoring system applied to seismic instrument arrangement in oil exploration
CN204536315U (en) Water quality detection system, water quality detection device and mobile terminal
CN103491267B (en) The method to set up of a kind of intelligent wireless RTU
CN103810892A (en) Intelligent parking guidance system
CN102376105A (en) Online patrolling apparatus based on RFID and technology of internet of things, patrolling system and patrolling method thereof
CN103883884A (en) Urban gas underground pipeline safety monitoring system
CN112686303A (en) Intelligent wood warehousing system
CN112702435A (en) Intelligent management system for sewage treatment of thermal power plant
CN104007706A (en) All-time monitoring system and method of enterprise sewage generation and treatment
CN104244177A (en) Signal illiteracy eliminating system based on received signal strength indications and implementation method of signal illiteracy eliminating system based on received signal strength indications
CN202103691U (en) Intelligent household apparatus based on 3G mobile communication network
CN113639796A (en) NB-IoT-based environmental information acquisition method
CN204759139U (en) Safe monitoring devices that reports to police of thing networking
CN103680073A (en) Wireless environment gas monitoring and alarming system
CN210270172U (en) Agricultural implement positioning system based on Internet of things
CN203162557U (en) On-line monitoring system for leakage of city water supply pipe network
CN103854453A (en) Family remote security and protection monitoring alarm system based on WCDMA network
CN208334307U (en) It is a kind of intelligence carbon dioxide prepare safety monitoring assembly
CN202257864U (en) Hydrogen sulfide leakage alarm device based on short messages

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A setting method of wireless intelligent RTU

Effective date of registration: 20220427

Granted publication date: 20151118

Pledgee: Weifang Bank Co.,Ltd. Xincheng sub branch

Pledgor: SHANDONG START MEASUREMENT CONTROL EQUIPMENT Co.,Ltd.

Registration number: Y2022980004904

PE01 Entry into force of the registration of the contract for pledge of patent right