CN103491267B - The method to set up of a kind of intelligent wireless RTU - Google Patents

The method to set up of a kind of intelligent wireless RTU Download PDF

Info

Publication number
CN103491267B
CN103491267B CN201310445374.XA CN201310445374A CN103491267B CN 103491267 B CN103491267 B CN 103491267B CN 201310445374 A CN201310445374 A CN 201310445374A CN 103491267 B CN103491267 B CN 103491267B
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.)
Active
Application number
CN201310445374.XA
Other languages
Chinese (zh)
Other versions
CN103491267A (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

Abstract

The present invention relates to the method to set up of a kind of intelligent wireless RTU, utilize the long-range setting of GPRS Signal transmissions realization to intelligent wireless RTU, sent short messages by mobile phone and make a phone call to realize the optimum configurations of RTU, amendment and inquiry, comprising initialization step, task treatment step, incoming call and note treatment step, send note treatment step and receive note treatment step; Is initialization step by the TC35I on RTU? gsm module carries out initialization; Does task treatment step utilize TC35I? module realizes the transmission-receiving function of wireless data; Namely incoming call and note treatment step identify and Effective judgement the wireless data received, and be responsible for mark data being carried out to collection and corresponding flag bit, sent short messages by mobile phone and make a phone call to realize the optimum configurations of RTU, amendment and inquiry, simple to operate, realize fast, cost is very low.The instruction of a set of setting simply easy to remember, amendment and query argument is provided simultaneously, realizes the automation equipment of Long-distance Control industry spot quickly and easily.

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 transmissions realizes intelligent wireless RTU, belong to automation instrument technology field.
Background technology
Along with improving constantly of Chinese industrial level and the level of IT application, 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 also greatly improves the requirement of market to its performance.
Intelligent wireless RTU is the remote supervisory and control(ling) equipment developed for specific industry spot demand, it is the product integrating data acquisition and GPRS/CDMA wireless telecommunications, be used for measuring and monitoring the transducer and the equipment that are arranged on remote scene, be responsible for the monitor and forecast to industrial equipment, on-site signal.The data format that the signal recorded or State Transferring become to send on communication medium by RTU, the data transaction of sending from central computer is also become order by it, realizes controlling the function of equipment.
RTU is generally arranged on industry spot that is distant, circumstance complication, the deficiency of little, the single collection site data of application range of products before current RTU overcomes, achieve Realtime Alerts and the Long-distance Control of data, make the measurement of industrial field device and level of control stride forward a step, but operating procedure inconvenient, realize cost occupy 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 prior art cost is high, the defect of low-response, reliability difference, after adopting technical solution of the present invention, there is the advantage 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 long-range setting of GPRS Signal transmissions realization to intelligent wireless RTU, sent short messages by mobile phone and make a phone call to realize the optimum configurations of RTU, amendment and inquiry, comprising initialization step, task treatment step, incoming call and note treatment step, send note treatment step and receive note treatment step;
TC35IGSM module on RTU is carried out initialization by described initialization step;
Described task treatment step utilizes TC35I module to realize the transmission-receiving function of wireless data;
Namely described incoming call and note treatment step identify and Effective judgement the wireless data received, and are responsible for mark data being carried out to collection and corresponding flag bit.
A kind of prioritization scheme, described incoming call and note treatment step comprise:
Start from step S101, RTU analyzes the GPRS signal received, and judges whether it is incoming call, if so, enters step S102, otherwise enter step S106;
In step S102, hang up the telephone after end of conversation, enter step S103;
In step S103, read caller ID and enter step S104;
In step S104, judge that whether telephone number is effective, if the front three of telephone number is not 0, and number length is greater than 3 numbers effectively, and enters step S105; Otherwise enter step S107;
In step S105, caller data is gathered, to send short messages mark according to the order juxtaposition in the data collected, then enter step S107;
In step S107, remove electrosemaphore, then enter step S110;
In step S106, judge whether it is note, if note data, then enter step S108, otherwise enter step S110;
In step S108, short message reading pointer also enters step S109;
In step S109, remove note pointer mark, put reading short message mark, enter step S110;
In step S110, perform return command.
Another kind of prioritization scheme, the described task treatment step that realizes comprises:
Start from step S201, judge whether TC35I receives task, if so, enter step S218, otherwise enter step S202;
Perform new task in step S218:TC35I, confirm the validity and enter step S219, otherwise enter step S202;
In step S219: read task code, and enter step S220;
In step S220: determine whether TC35I initialization task code, if so, enter step S221, otherwise enter step S222;
In step S221: perform TC35I initialization task, enter step S222 after complete;
In step S222: determine whether TC35I network registry task code, if so, enter step S223, otherwise directly enter step S224;
In step S223: perform TC35I network registry task, then enter step S224;
In step S224: determine whether that TC35I note is saved in SIM card task, if yes then enter step S225, otherwise directly enter step S226;
In step S225: perform TC35I note and be saved in task in card, enter step S226 after completing;
In step S226: determine whether that TC35I checks new intensity task code, if yes then enter step S227, otherwise enter step S228;
In step S227: perform TC35I and check new intensity task, enter step S228 after completing;
In step S228: determine whether that TC35I sends note task code, if yes then enter step S229, otherwise enter step S230;
In step S229: perform TC35I and send note task, enter step S230 after completing;
In step S230: determine whether TC35I short message reading task code, if yes then enter step S231, otherwise enter step S232;
In step S231: perform TC35I short message reading task, enter step S232 after completing;
In step S232: determine whether that TC35I deletes a note task code, if so, then enter step S233, otherwise enter step S234;
In step S233: perform TC35I and delete a note task, enter step S234 after completing;
In step S234: determine whether that TC35I hangs up the telephone task code, if yes then enter step S235, otherwise enters step S217;
In step S235: perform TC35I and to hang up the telephone task, enter step S217 after completing;
In step S217: determine whether that TC35I makes a phone call task code, if yes then enter step S216, otherwise enters step S215;
In step S216: perform TC35I and to make a phone call task, enter step S215 after completing;
In step S215: whether disconnected be that TC35I reads central number task code, if yes then enter step S214, otherwise enters step S213;
In step S214: perform TC35I and read central number task, enter step S213 after completing;
In step S213: whether disconnected is that TC35I arranges central number task code, if yes then enter step S212, otherwise enters step S211;
In step S212: perform TC35I and arrange central number task, enter step S211 after completing;
In step S211: whether disconnected be that TC35I is arranged to note and receives prompting task code, if yes then enter step S210, otherwise enters step S209;
In step S210: execution TC35I is arranged to note and receives prompting task, enters step S209 after completing;
In step S209: determine whether TC35I module not dormancy task code, if yes then enter step S208, otherwise enter step S207;
In step S208: be not park mode by TC35I module installation, enter step S207 after completing;
In step S207: determine whether that TC35I deletes all note task codes, if yes then enter step S206, otherwise enter step S205;
In step S206: perform TC35I and delete all note tasks, enter step S205 after completing;
In step S205: determine whether TC35I shutdown task code, if yes then enter step S204, otherwise enter step S203;
In step S204: perform TC35I shutdown task, and return and enter step S202;
In step S203: by the wrong task detach in running, and enter step S202.
Another prioritization scheme, described initialization process step comprises:
In step S301: powered-down waits for a period of time, then enter step S302;
In step S302, wait for two seconds after opening power, enter step S303;
In step S303, send IGT enabling signal, wait for 10 seconds, enter step S304;
In step S304, AT test, whether checking module and serial ports are connected, and enter step S305;
Become factory default to arrange in step S305, TC35I module installation, enter step S306;
In step S306, cancel echo, echo is module exectorial time, has return value, and is presented on screen, enters step S307;
In step S307, the NET indicator light arranging RTU is bright, and the NET indicator light of RTU, enters step S308;
In step S308, caller ID telephone number is set, namely shows result code, enter step S309;
In step S309, automatic registered network is set, enters step S310;
In step S310, mistake display is set, enters step S311;
In step S311, note PDU form is set, short message format is set, enter step S312;
In step S312, note is set and receives prompting, enter step S313;
In step S313, module is set and enters non-sleep mode of operation, enter step S314;
In step S314, clear initialization task also indicates clearly, and 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, is registered to after on network, and the NET lamp of RTU presents flickers in two seconds state once; Then enter step S402, otherwise enter step S410;
In step S402, fill order, puts counter COUNT=3, enters step S403;
In step S403, data to be sent are packed, enters step S404
In step S404, extract and send data length, enter step S405;
In step S405, send order AT+CMGS=LENGTH to processor, after completing, enter step S406;
In step S406, wait for that 200MS returns, enter step S407;
In step S407, send packing data, enter step S408;
In step S408, if received ' CMGS ' return information in 20 seconds, enter step S409, otherwise enter step S411;
S409: transmission times+1, and DATA lamp dodges once, then enters step S410;
S411: judge whether CMGS has return information, if i.e. COUNT=0, enters step S412, otherwise returns step S402;
S412: transmission times+3, DATA lamp three times, enters step S410;
S410: send mark clearly, completes transmission note.
Further prioritization scheme, described reception note treatment step comprises:
Start from step S501, extract note pointer in the module, enter step S502;
In step S502, put transmission times counter COUNT=3, namely can send at most 3 information, count and enter step S503;
In step S503, send reading short message order, be sent and enter step S504;
In step S504, wait for returned content, namely return the short message content time delay that read in S503, judge that whether time delay is more than 5 seconds, if so, enters step S505, otherwise enters step S506;
In step S505, judge whether transmission times counter COUNT equals 0, if so, enters step S508, otherwise enters step S503;
In step S506, judge that whether messaging format is effective, if so, enter step S507; Otherwise enter step S508;
In step S507, process short message content juxtaposition returns note mark, enters step S508: in step S508, puts deleting short message mark, receives note and terminates.
The present invention adopts above technical scheme, compared with prior art, has the following advantages: sent short messages by mobile phone and make a phone call to realize the optimum configurations of RTU, amendment and inquiry, simple to operate, realize fast, cost is very low.The instruction of a set of setting simply easy to remember, amendment and query argument 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.
Accompanying drawing explanation
Accompanying drawing 1 is the flow chart of incoming call and note treatment step in the embodiment of the present invention;
Accompanying drawing 2 is the flow chart of task treatment step in the embodiment of the present invention;
Accompanying drawing 3 is the flow chart of initialization step in the embodiment of the present invention;
Accompanying drawing 4 is the flow chart sending note treatment step in the embodiment of the present invention;
Accompanying drawing 5 is the flow chart receiving 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 long-range setting of GPRS Signal transmissions realization to intelligent wireless RTU, sent short messages by mobile phone and make a phone call to realize the optimum configurations of RTU, amendment and inquiry, comprising initialization step, task treatment step, incoming call and note treatment step, send note treatment step and receive note treatment step.
Wherein initialization step completes the initialization to the TC35IGSM module on RTU; Namely task treatment step utilizes TC35I module to realize the transmission-receiving function of wireless data; Namely incoming call and note treatment step identify and Effective judgement the wireless data received, and are responsible for mark data being carried out to collection and corresponding flag bit.
Be described facing to the workflow of four steps respectively below.
As shown in Figure 1, incoming call and note treatment step as follows:
Start from step S101, RTU analyzes the GPRS signal received, and judges whether it is incoming call, if so, enters step S102, otherwise enter step S106;
In step S102, hang up the telephone after end of conversation, enter step S103;
In step S103, read caller ID and enter step S104;
In step S104, judge that whether telephone number is effective, if the front three of telephone number is not 0, and number length is greater than 3 numbers effectively, and enters step S105; If number is invalid, then enter step S107;
In step S105, gather caller data, to send short messages mark according to the order juxtaposition in the data collected, flag bit of only sending short messages is set, and could send in note step and command information is sent to terminal equipment, enter step S107 at RTUGPRS;
In step S107, remove electrosemaphore, then enter step S110;
In step S106, judge whether it is note, if note data, then enter step S108, otherwise enter step S110;
In step S108, short message reading pointer also enters step S109;
In step S109, remove note pointer mark, put reading short message mark, enter step S110;
In step S110, perform return command.
As shown in Figure 2, this step adopt a double frequency 900/1800MHZ of Siemens highly integrated gsm module---TC35I realizes task treatment step, its detailed process is as follows:
Start from step S201, judge whether TC35I receives task, if so, enter step S218, otherwise enter step S202;
S218:TC35I performs new task, confirms the validity and enters step S219, otherwise enters 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: perform 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: perform TC35I network registry task, then enter step S224;
S224: determine whether that TC35I note is saved in SIM card task, if yes then enter step S225, otherwise directly enter step S226;
S225: perform 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 enter step S228;
S227: perform TC35I and check new intensity task, enter step S228 after completing;
S228: determine whether that TC35I sends note task code, if yes then enter step S229, otherwise enter step S230;
S229: perform TC35I and send 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: perform TC35I short message reading task, enter step S232 after completing;
S232: determine whether that TC35I deletes a note task code, if so, then enter step S233, otherwise enter step S234;
S233: perform TC35I and delete a note task, enter step S234 after completing;
S234: determine whether that TC35I hangs up the telephone task code, if yes then enter step S235, otherwise enters step S217;
S235: perform TC35I and to hang up the telephone task, enter step S217 after completing;
S217: determine whether that TC35I makes a phone call task code, if yes then enter step S216, otherwise enters step S215;
S216: perform TC35I and to make a phone call task, enter step S215 after completing;
S215: whether disconnected be that TC35I reads central number task code, if yes then enter step S214, otherwise enters step S213;
S214: perform TC35I and read central number task, enter step S213 after completing;
S213: whether disconnected is that TC35I arranges central number task code, if yes then enter step S212, otherwise enters step S211;
S212: perform TC35I and central number task is set, enter step S211 after completing;
S211: whether disconnected be that TC35I is arranged to note and receives prompting task code, if yes then enter step S210, otherwise enters step S209;
S210: execution TC35I is arranged to note and receives prompting task, enters step S209 after completing;
S209: determine whether TC35I module not dormancy task code, if yes then enter step S208, otherwise enter step S207;
S208: be not park mode by TC35I module installation, enter 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: perform 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: perform TC35I shutdown task, and return and enter step S202;
S203: by the wrong task detach in running, and enter step S202.
As shown in Figure 3, initialization process step is as follows:
S301: powered-down waits for a period of time, this sentences and is no less than two seconds and is advisable, and then enters step S302;
Step S302, waits for two seconds after opening power, enters step S303;
In step S303, sending IGT enabling signal, for making TC35i enter operating state after system power-up, must add the low pulse that is greater than 100ms to IGT, the level decline duration is no more than 1ms, waits for 10 seconds, enters step S304;
In step S304, AT test, can whether checking module and serial ports be connected, receive the test of AT instruction, enter step S305;
Become factory default that (AT & F) is set in step S305, TC35I module installation, enter step S306;
In step S306, cancel echo, echo is module exectorial time, has return value, and is presented on screen, enters step S307;
In step S307, the NET indicator light arranging RTU is bright, and the NET indicator light of RTU, enters step S308;
In step S308, caller ID telephone number (AT+CLIP=0) is set, namely shows result code, enter step S309;
In step S309, arrange automatic registered network (AT+COPS=0), AT+COPS is the selection of operator, and AT+COPS=0 is automatic registration mode, and according to the type of Mobile phone card, automatically selecting is movement, UNICOM or telecommunications, enters step S310;
In step S310, arrange mistake display (AT+CMEE=0), by mobile device reporting errors information, it is not enable that AT+CMEE=0 represents result code, enters step S311;
In step S311, arranging note PDU form (AT+CMGF=0), arrange short message format, is 0 expression PDU form, and be 1 expression TEXT form, PDU pattern can transmit word, and TEXT pattern only transmits numeral and letter, enters step S312;
In step S312, note is set and receives prompting (AT+CNMI=1,1,0,0,1), enter step S313;
In step S313, module is set and enters non-sleep mode of operation (AT+CFUN=1), enter step S314;
In step S314, clear initialization task also indicates clearly, and initialization completes.
As shown in Figure 4, note treatment step is sent as follows:
Start from S401, if telephone number is effective, front two is not 00, and has been registered on network, is registered to after on network, and the NET lamp of RTU presents flickers in two seconds state once; Then enter step S402, otherwise enter step S410;
In step S402, fill order, puts counter COUNT=3, enters step S403;
In step S403, data to be sent are packed, enters step S404
In step S404, extract and send data length, enter step S405;
In step S405, send order AT+CMGS=LENGTH to processor, after completing, enter step S406;
In step S406, wait for that 200MS returns, ' > ' expression sends successfully, enters step S407;
In step S407, send packing data, enter step S408;
In step S408, if received ' CMGS ' return information in 20 seconds, AT+CMGS is AT instruction, function is transmission information, and its return value is the value of CMGS, represents that information sends successfully, enter step S409, otherwise enter step S411, now transmission times counter COUNT=0, namely reaches maximum number of times of transmission.
S409: transmission times+1, and DATA lamp dodges once, then enters step S410;
S411: judge whether CMGS has return information, if i.e. COUNT=0, enters step S412, otherwise returns step S402;
S412: transmission times+3, DATA lamp three times, enters step S410;
S410: send mark clearly, completes transmission note.
As shown in Figure 5, note treatment step is received as follows:
Start from step S501, extract note pointer in the module, enter step S502;
In step S502, put transmission times counter COUNT=3, namely can send at most 3 information, count and enter step S503;
In step S503, send reading short message order (AT+CMGR=INDEX), be sent and enter step S504;
In step S504, wait for returned content, namely return the short message content time delay that read in S503, judge that whether time delay is more than 5 seconds, if so, enters step S505, otherwise enters step S506;
In step S505, judge whether transmission times counter COUNT equals 0, if so, enters step S508, otherwise enters step S503;
In step S506, judge that whether messaging format is effective, if so, enter step S507; Otherwise enter step S508;
In step S507, process short message content juxtaposition returns note mark, enters step S508: in step S508, puts deleting short message mark, receives note and terminates.
Those skilled in the art will recognize that; above-mentioned embodiment is exemplary; to enable those skilled in the art better understand content of the present invention; should not be understood as limiting the scope of the invention; above embodiment is optimized technical scheme; as long as according to the improvement that technical solution of the present invention is done, all fall into protection scope of the present invention.

Claims (5)

1. the method to set up of an intelligent wireless RTU, it is characterized in that: described method to set up utilizes the long-range setting of GPRS Signal transmissions realization to intelligent wireless RTU, sent short messages by mobile phone and make a phone call to realize the optimum configurations of RTU, amendment and inquiry, comprising initialization step, task treatment step, incoming call and note treatment step, send note treatment step and receive note treatment step;
TC35IGSM module on RTU is carried out initialization by described initialization step;
Described task treatment step utilizes TC35I module to realize the transmission-receiving function of wireless data;
Namely described incoming call and note treatment step identify and Effective judgement the wireless data received, and are responsible for mark data being carried out to collection and corresponding flag bit;
The described task treatment step that realizes comprises:
Start from step S201, judge whether TC35I receives task, if so, enter step S218, otherwise enter step S202;
Perform new task in step S218:TC35I, confirm the validity and enter step S219, otherwise enter step S202;
In step S219: read task code, and enter step S220;
In step S220: determine whether TC35I initialization task code, if so, enter step S221, otherwise enter step S222;
In step S221: perform TC35I initialization task, enter step S222 after complete;
In step S222: determine whether TC35I network registry task code, if so, enter step S223, otherwise directly enter step S224;
In step S223: perform TC35I network registry task, then enter step S224;
In step S224: determine whether that TC35I note is saved in SIM card task, if yes then enter step S225, otherwise directly enter step S226;
In step S225: perform TC35I note and be saved in task in card, enter step S226 after completing;
In step S226: determine whether that TC35I checks new intensity task code, if yes then enter step S227, otherwise enter step S228;
In step S227: perform TC35I and check new intensity task, enter step S228 after completing;
In step S228: determine whether that TC35I sends note task code, if yes then enter step S229, otherwise enter step S230;
In step S229: perform TC35I and send note task, enter step S230 after completing;
In step S230: determine whether TC35I short message reading task code, if yes then enter step S231, otherwise enter step S232;
In step S231: perform TC35I short message reading task, enter step S232 after completing;
In step S232: determine whether that TC35I deletes a note task code, if so, then enter step S233, otherwise enter step S234;
In step S233: perform TC35I and delete a note task, enter step S234 after completing;
In step S234: determine whether that TC35I hangs up the telephone task code, if yes then enter step S235, otherwise enters step S217;
In step S235: perform TC35I and to hang up the telephone task, enter step S217 after completing;
In step S217: determine whether that TC35I makes a phone call task code, if yes then enter step S216, otherwise enters step S215;
In step S216: perform TC35I and to make a phone call task, enter step S215 after completing;
In step S215: determine whether that TC35I reads central number task code, if yes then enter step S214, otherwise enter step S213;
In step S214: perform TC35I and read central number task, enter step S213 after completing;
In step S213: whether disconnected is that TC35I arranges central number task code, if yes then enter step S212, otherwise enters step S211;
In step S212: perform TC35I and arrange central number task, enter step S211 after completing;
In step S211: whether disconnected be that TC35I is arranged to note and receives prompting task code, if yes then enter step S210, otherwise enters step S209;
In step S210: execution TC35I is arranged to note and receives prompting task, enters step S209 after completing;
In step S209: determine whether TC35I module not dormancy task code, if yes then enter step S208, otherwise enter step S207;
In step S208: be not park mode by TC35I module installation, enter step S207 after completing;
In step S207: determine whether that TC35I deletes all note task codes, if yes then enter step S206, otherwise enter step S205;
In step S206: perform TC35I and delete all note tasks, enter step S205 after completing;
In step S205: determine whether TC35I shutdown task code, if yes then enter step S204, otherwise enter step S203;
In step S204: perform TC35I shutdown task, and return and enter step S202;
In step S203: by the wrong task detach in running, and enter step S202.
2. method to set up as claimed in claim 1, is characterized in that: described incoming call and note treatment step comprise:
Start from step S101, RTU analyzes the GPRS signal received, and judges whether it is incoming call, if so, enters step S102, otherwise enter step S106;
In step S102, hang up the telephone after end of conversation, enter step S103;
In step S103, read caller ID and enter step S104;
In step S104, judge that whether telephone number is effective, if the front three of telephone number is not 0, and number length is greater than 3 numbers effectively, and enters step S105; Otherwise enter step S107;
In step S105, caller data is gathered, to send short messages mark according to the order juxtaposition in the data collected, then enter step S107;
In step S107, remove electrosemaphore, then enter step S110;
In step S106, judge whether it is note, if note data, then enter step S108, otherwise enter step S110;
In step S108, short message reading pointer also enters step S109;
In step S109, remove note pointer mark, put reading short message mark, enter step S110;
In step S110, perform return command.
3. method to set up as claimed in claim 1, is characterized in that: described initialization process step comprises:
In step S301: powered-down waits for a period of time, then enter step S302;
In step S302, wait for two seconds after opening power, enter step S303;
In step S303, send IGT enabling signal, wait for 10 seconds, enter step S304;
In step S304, AT test, whether checking module and serial ports are connected, and enter step S305;
Become factory default to arrange in step S305, TC35I module installation, enter step S306;
In step S306, cancel echo, echo is module exectorial time, has return value, and is presented on screen, enters step S307;
In step S307, the NET indicator light arranging RTU is bright, and the NET indicator light of RTU, enters step S308;
In step S308, caller ID telephone number is set, namely shows result code, enter step S309;
In step S309, automatic registered network is set, enters step S310;
In step S310, mistake display is set, enters step S311;
In step S311, note PDU form is set, short message format is set, enter step S312;
In step S312, note is set and receives prompting, enter step S313;
In step S313, module is set and enters non-sleep mode of operation, enter step S314;
In step S314, clear initialization task also indicates clearly, and initialization completes.
4. method to set up as claimed in claim 1, 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, is registered to after on network, and the NET lamp of RTU presents flickers in two seconds state once; Then enter step S402, otherwise enter step S410;
In step S402, fill order, puts counter COUNT=3, enters step S403;
In step S403, data to be sent are packed, enters step S404
In step S404, extract and send data length, enter step S405;
In step S405, send order AT+CMGS=LENGTH to processor, after completing, enter step S406;
In step S406, wait for that 200MS returns, enter step S407;
In step S407, send packing data, enter step S408;
In step S408, if received ' CMGS ' return information in 20 seconds, enter step S409, otherwise enter step S411;
S409: transmission times+1, and DATA lamp dodges once, then enters step S410;
S411: judge whether CMGS has return information, if i.e. COUNT=0, enters step S412, otherwise returns step S402;
S412: transmission times+3, DATA lamp three times, enters step S410;
S410: send mark clearly, completes transmission note.
5. method to set up as claimed in claim 1, is characterized in that: described reception note treatment step comprises:
Start from step S501, extract note pointer in the module, enter step S502;
In step S502, put transmission times counter COUNT=3, namely can send at most 3 information, count and enter step S503;
In step S503, send reading short message order, be sent and enter step S504;
In step S504, wait for returned content, namely return the short message content time delay that read in S503, judge that whether time delay is more than 5 seconds, if so, enters step S505, otherwise enters step S506;
In step S505, judge whether transmission times counter COUNT equals 0, if so, enters step S508, otherwise enters step S503;
In step S506, judge that whether messaging format is effective, if so, enter step S507; Otherwise enter step S508;
In step S507, process short message content juxtaposition returns note mark, enters step S508: in step S508, puts deleting short message mark, receives note and terminates.
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 CN103491267A (en) 2014-01-01
CN103491267B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111245931B (en) * 2020-01-09 2022-11-11 深圳市东深电子股份有限公司 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

Also Published As

Publication number Publication date
CN103491267A (en) 2014-01-01

Similar Documents

Publication Publication Date Title
CN105843089A (en) Method of controlling vehicle terminal
CN102768051A (en) Remote monitoring and warning system and method for electromagnetic flow meter of tap water
CN204303146U (en) A kind of water quality monitoring equipment based on technology of Internet of things
CN202195859U (en) Real-time water level long-distance measuring control device
CN103491267B (en) The method to set up of a kind of intelligent wireless RTU
CN202434041U (en) Large-caliber water meter wireless control system
CN103883884A (en) Urban gas underground pipeline safety monitoring system
CN102376105A (en) Online patrolling apparatus based on RFID and technology of internet of things, patrolling system and patrolling method thereof
CN202196498U (en) Remote humidity monitoring and alarming system based on Internet of Things
CN103454955A (en) Remote monitoring system and method base on short messages
CN104007706A (en) All-time monitoring system and method of enterprise sewage generation and treatment
CN103680073A (en) Wireless environment gas monitoring and alarming system
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
CN204759139U (en) Safe monitoring devices that reports to police of thing networking
CN202103691U (en) Intelligent household apparatus based on 3G mobile communication network
CN101598942A (en) Wireless monitoring system for grain depot
CN212231502U (en) Water environment intelligent monitoring system based on deep learning
CN203162557U (en) On-line monitoring system for leakage of city water supply pipe network
CN113639796A (en) NB-IoT-based environmental information acquisition method
CN208299544U (en) Data acquisition device and solar power station monitoring system for solar power station
CN202257864U (en) Hydrogen sulfide leakage alarm device based on short messages
CN203407019U (en) Mining WIFI wireless communication personnel location management system
CN202422402U (en) Multi-point humiture remote monitoring device for grain depot
CN213424198U (en) Safe meter reading based on NB-IoT communication technology
CN206695754U (en) Mining displacement monitoring warning system

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