The control method of wireless numerical control welding workstation and control device thereof
Technical field
The present invention relates to weld automatic weldering utility appliance technical field, is a kind of control method and control device thereof of wireless numerical control welding workstation, and it is specially adapted to cooperate equipment such as welding operation frame and positioner to realize efficiently welding automatically.
Background technology
Welding workstation includes welding operation frame, wig-wag, positioner, carbon-dioxide arc welding welding machine.
The welding operation frame comprises the alternating current generator that drives welding operation frame elevating mechanism, the alternating current generator that drives welding operation frame transverse arm telescoping mechanism, can realize up-down and flexible like this.Wig-wag is realized the dc stepper motor that wig-wag swings.Positioner is two axle construction, and it comprises turning axle and sloping shaft, drives the alternating-current variable frequency motor of positioner turning axle rotation, the alternating current generator that driving positioner sloping shaft is realized pitching; For realizing the control of above product function, routine takes every equipment that one cover control system and wire remote control devices all arranged alone.Realize the interlock and the operation of these equipment, complexity is high, inefficiency; Workstation is when carrying out welding job, and the swing of wig-wag and positioner spinning movement be running continuously, when receiving external interference and make communication disruption, will cause welding quality to have a strong impact on.
Summary of the invention
The invention provides a kind of control method and control device thereof of wireless numerical control welding workstation; Overcome the deficiency of above-mentioned prior art; It can effectively solve the problem that existing welding workstation is difficult for combined operation, can realize the controlled in wireless combined operation to the numerical control welding workstation especially.
One of technical scheme of the present invention realizes through following measure: a kind of control method of wireless numerical control welding workstation; This is wireless, and the numerical control welding workstation comprises Digiplex, central processing unit and the needed rotating device of numerical control welding process, and this central processing unit comprises first central processing unit and second central processing unit; This control method is: at first to first central processing unit and the second central processing unit initialization; When Digiplex sent first kind operation signal to first central processing unit, the middle rotating device that stop of control ability turned round after first central processing unit received first kind operation signal; When Digiplex sends the second generic operation signal to behind first central processing unit; The second generic operation signal is transferred to second central processing unit by first central processing unit, and the middle continuous rotating device that can not stop of control turned round after second central processing unit received the second generic operation signal; In the course of the work, when receiving external interference and make the communication disruption of the Digiplex and first central processing unit, first central processing unit will carry out initialization again, and second central processing unit does not receive the influence of first central processing unit and work on.
Be to the further optimization of one of foregoing invention technical scheme below or/and improve:
The needed rotating device of above-mentioned numerical control welding process can comprise welding operation frame, wig-wag, positioner, carbon-dioxide arc welding welding machine; When above-mentioned Digiplex sends first kind operation signal and gives first central processing unit, first central processing unit receive behind the first kind operation signal control operation frame lifting arm motor respectively rise arm with arm, control operation frame telescopic arm motor fall and go out arm and the acceleration of the arm that contracts, control positioner electric rotating machine and deceleration, the start-stop of control positioner upset motor, control wire-feed motor wire feed; When Digiplex sends the second generic operation signal to behind first central processing unit; The second generic operation signal is transferred to second central processing unit by first central processing unit, and second central processing unit receives start-stop and the switching-over of straight pendulum, arc pendulum and the pendulum of controlling the wig-wag stepper motor behind the second generic operation signal respectively, control positioner electric rotating machine, the upset of control positioner upset motor.
After said system starts; The initial swing device operational factor that Digiplex can read pre-stored in first central processing unit through the wireless communication module and the first central processing unit wireless communication module of Digiplex shows on the LCD MODULE module of Digiplex then; Simultaneously, first central processing unit sends the wig-wag operational factor of pre-stored in first central processing unit to second central processing unit; Secondly Digiplex gets into and waits for that button input state, first central processing unit get into wait communication data input state; First central processing unit end value of accepting the wig-wag operational factor through the wireless communication module of the first central processing unit wireless communication module and the Digiplex line data storage of going forward side by side then; First central processing unit sends the actuating signal acceleration and the deceleration of control operation frame lifting arm motor action, control operation frame telescopic arm motor action, the start-stop of control positioner upset motor, control positioner electric rotating machine respectively, the start or stop of control wire-feed motor relay; Simultaneously; After first central processing unit is handled data; First control signal output ends of first central processing unit is transferred to control signal the signal input end of second central processing unit; Second central processing unit sends actuating signal and controls the wig-wag stepper motor respectively and move, the overturn switching-over of motor of the start-stop of control positioner electric rotating machine and switching-over, control positioner; The LCD MODULE that while first central processing unit is sent to telepilot with pairing action message through the first central processing unit wireless communication module and Digiplex wireless communication module shows current operational factor; Pairing operational factor is delivered to storage area stores corresponding on first central processing unit simultaneously, until the change of next relevant information; First central processing unit detects the communication conditions with Digiplex in real time; When receiving external interference and make the communication disruption of the Digiplex and first central processing unit; First central processing unit will automatically reset, and carry out initialization, and the work of second central processing unit is proceeded.
Above-mentioned Digiplex can comprise single-chip microcomputer, wireless communication module, LCD MODULE and Keysheet module; 24 function keys are arranged on Keysheet module, these 24 function keys comprise pendulum I/O key, the amplitude of oscillation ↑ key, the amplitude of oscillation ↓ key, speed ↑ key, speed ↓ key, a left side stop ↑ key, a left side stop ↓ key, the right side stop ↑ key, the right side stop ↓ key, left avertence key, right avertence key, rises arm ↑ key, fall arm ↓ key, go out the arm key, the arm key that contracts, change I/O key, frequency conversion ↑ key, frequency conversion ↓ key, on turn over ↑ key, turn over down ↓ key, rising ↑ key, decline ↓ key, reversing key, weldering I/O key.
Before said system starts; At first first central processing unit is carried out initialization and serial ports initialization; Second central processing unit carries out initialization simultaneously, and first central processing unit is set the transmitting-receiving address then, after the system start-up; The initial swing device operational factor that wireless communication module and the first central processing unit wireless communication module of Digiplex through Digiplex reads pre-stored in first central processing unit shows on the LCD MODULE of Digiplex then; Simultaneously, first central processing unit sends the wig-wag operational factor of pre-stored in first central processing unit to second central processing unit; Digiplex gets into and waits for that button input state, first central processing unit get into wait communication data input state then; At this moment, press speed ↑ key, swing speed increases; The LCD MODULE Refresh Data sends data to first central processing unit simultaneously, and first central processing unit is at first given the speed variable with the data assignment that receives; Carry out data storage then, simultaneously data are sent to second central processing unit, press speed ↓ key; Swing speed reduces, and the LCD MODULE Refresh Data sends data to first central processing unit simultaneously; First central processing unit is at first given the speed variable with the data assignment that receives, and carries out data storage then; Press the amplitude of oscillation ↑ key, swing width increases, the LCD MODULE Refresh Data; Send data to first central processing unit simultaneously, first central processing unit is at first given amplitude of oscillation variable with the data assignment that receives, and carries out data storage then; Simultaneously data are sent to second central processing unit, press the amplitude of oscillation ↓ key, swing width reduces; The LCD MODULE Refresh Data; Send data to first central processing unit simultaneously, first central processing unit is at first given amplitude of oscillation variable with the data assignment that receives, and carries out data storage then; Press the right side and stop ↑ key, the right residence time of wig-wag increases, and the LCD MODULE Refresh Data sends data to first central processing unit simultaneously, and first central processing unit is at first given right residence time variable with the data assignment that receives, and carries out data storage then; Press the right side and stop ↓ key, the right residence time of wig-wag reduces, and the LCD MODULE Refresh Data sends data to first central processing unit simultaneously, and first central processing unit is at first given right residence time variable with the data assignment that receives, and carries out data storage then; Press a left side and stop ↑ key, the wig-wag left side residence time increases, and the LCD MODULE Refresh Data sends data to first central processing unit simultaneously, and first central processing unit is at first given left side residence time variable with the data assignment that receives, and carries out data storage then; Press a left side and stop ↓ key, the wig-wag left side residence time reduces, and the LCD MODULE Refresh Data sends data to first central processing unit simultaneously, and first central processing unit is at first given left side residence time variable with the data assignment that receives, and carries out data storage then; Press bottom I/O key, first control signal output ends that first central processing unit receives after the wig-wag startup command through first central processing unit is transferred to the signal input end of second central processing unit with control signal, and second central processing unit starts oscillating function; And according to speed parameter calculate the timer initial value, according to the distance of amplitude of oscillation calculation of parameter stepper motor walking; Be the width of wig-wag swing,, start timer according to the delay time after putting in place about the residence Time Calculation wig-wag of the left and right sides; In the timer interrupt function, send step-by-step impulse to stepper motor driver; Wig-wag begins swing, presses bottom I/O key once more, and second central processing unit receives wig-wag and ceases and desist order; The second central processing unit timer stops timing and withdraws from oscillating function, and wig-wag stops swinging; Press and rise arm ↑ key, after first central processing unit received data, the corresponding output port of first central processing unit put 0, and handling frame rises the single-phase solid-state relay of arm and starts working, driving operations frame lifting arm machine operation, and handling frame rises; By decline arm ↓ key, after first central processing unit received data, the corresponding output port of first central processing unit put 0, and the single-phase solid-state relay of arm falls in handling frame starts working, driving operations frame lifting arm machine operation, and handling frame descends; Press out the arm key, after first central processing unit received data, the corresponding output port of first central processing unit put 0, and handling frame goes out the single-phase solid-state relay of arm starts working, driving operations frame telescopic arm machine operation, and the handling frame transverse arm is protruding; Press the arm key that contracts, after first central processing unit received data, the corresponding output port of first central processing unit put 0, and the handling frame single-phase solid-state relay of arm that contracts is started working driving operations frame telescopic arm machine operation, the inside indentation of handling frame transverse arm; Press the left avertence key; After first central processing unit receives data; Control signal is transferred to the signal input end of second central processing unit through first control signal output ends of first central processing unit; Second central processing unit is carried out left avertence and is moved function, and wig-wag squints left with fixing speed; Press the right avertence key; After first central processing unit receives data; Control signal is transferred to the signal input end of second central processing unit through first control signal output ends of first central processing unit; Second central processing unit is carried out right avertence and is moved function, and wig-wag squints to the right with fixing speed; Press and become the I/O key; First central processing unit receives the frequency converter startup command, and first control signal output ends through first central processing unit is transferred to the signal input end of second central processing unit with control signal, and second central processing unit gets the auxiliary reclay of control of conversion device startup/hold function; Normally opened contact is closed; Frequency converter startup outside terminal gets electric, and frequency converter starts, and the positioner chuck begins rotation; Press once more and become the I/O key; First central processing unit receives frequency converter and ceases and desist order; First control signal output ends through first central processing unit is transferred to the signal input end of second central processing unit with control signal, and second central processing unit makes the auxiliary reclay dead electricity of control of conversion device startup/hold function, and frequency converter stops the outside terminal dead electricity; Frequency converter stops, and the positioner chuck stops the rotation; Press reversing key; First central processing unit receives the frequency converter commutation command, and first control signal output ends through first central processing unit is transferred to the signal input end of second central processing unit with control signal, and second central processing unit gets the auxiliary reclay of control of conversion device commutation function; Normally opened contact is closed; Frequency converter switching-over outside terminal gets electric, frequency converter switching-over, positioner chuck switching-over rotation; Press reversing key once more; First central processing unit receives the frequency converter commutation command; First control signal output ends through first central processing unit is transferred to the signal input end of second central processing unit with control signal, and second central processing unit makes the auxiliary reclay dead electricity of control of conversion device commutation function, frequency converter switching-over outside terminal dead electricity; The frequency converter switching-over, positioner chuck switching-over rotation; By down coversion ↑ key, first central processing unit receives the order of frequency converter speedup, and it is electric that the auxiliary reclay of control of conversion device speedup function is got, and frequency converter speedup outside terminal gets electric, the frequency converter speedup, and positioner chuck rotational speed is accelerated; By down coversion ↓ key, first central processing unit receives the frequency converter deceleration command, and it is electric that the auxiliary reclay of control of conversion device deceleration is got, and frequency converter deceleration outside terminal gets electric, and frequency converter slows down, and positioner chuck rotational speed is slack-off; Press and turn over ↑ key; After first central processing unit receives data; Make three phase electric machine rotating relay just-the counter-rotating terminal gets electricly, first control signal output ends through first central processing unit is transferred to the signal input end of second central processing unit with control signal simultaneously, second central processing unit gets three phase electric machine rotating relay start and stop terminal; Positioner upset motor just changes, and positioner is upset upwards; Press down and turn over ↓ key; After first central processing unit receives data; Make three phase electric machine rotating relay just-counter-rotating terminal dead electricity, first control signal output ends through first central processing unit is transferred to the signal input end of second central processing unit with control signal simultaneously, second central processing unit gets three phase electric machine rotating relay start and stop terminal; The counter-rotating of positioner upset motor, positioner overturns downwards; Press weldering I/O key, first central processing unit receives wire-feed motor and begins the wire feed order, and it is electric that the auxiliary reclay of controlling wire-feed motor wire feed function is got, and when wire-feed motor was in automatic control state, wire-feed motor began wire feed; Press weldering I/O key once more, first central processing unit receives wire-feed motor and stops the wire feed order, makes the auxiliary reclay dead electricity of control wire-feed motor wire feed function, and when wire-feed motor was in automatic control state, wire-feed motor stopped wire feed.
The single-chip microcomputer of above-mentioned Digiplex at first can carry out the serial ports initialization; Set the transmitting-receiving address then; The wireless communication module and the first central processing unit wireless communication module through the Digiplex initial swing device operational factor that reads pre-stored in first central processing unit then; On the LCD MODULE of Digiplex, show then, when the wig-wag operational factor need not change, just send the button eigenwert to first central processing unit; When the wig-wag operational factor need change, i.e. operational factor after the change of the initial swing device that reads pre-stored in first central processing unit of the wireless communication module and the first central processing unit wireless communication module through Digiplex again.
Two of technical scheme of the present invention realizes through following measure: a kind of control device of wireless numerical control welding workstation of the control method that is used for above-mentioned wireless numerical control welding workstation, and it comprises Digiplex, first central processing unit, the first central processing unit wireless communication module, second central processing unit, wig-wag stepper motor, positioner electric rotating machine, positioner upset motor, handling frame lifting arm motor, handling frame telescopic arm motor and wire-feed motor; First control signal output ends of first central processing unit and the signal input end of second central processing unit are electrically connected, first central processing unit respectively control operation frame lifting arm motor rise arm with arm, control operation frame telescopic arm motor fall and go out arm and the acceleration of the arm that contracts, control positioner electric rotating machine and deceleration, the start-stop of control positioner upset motor, control wire-feed motor wire feed; Second central processing unit can be controlled start-stop and the switching-over of straight pendulum, arc pendulum and pendulum, the control positioner electric rotating machine of wig-wag stepper motor, the upset of control positioner upset motor respectively.
Be below two further optimization to the foregoing invention technical scheme or/and improve:
Be electrically connected with the normally opened contact of the first unidirectional solid-state relay between the electrical input of second control signal output ends of above-mentioned first central processing unit and handling frame lifting arm motor; Be electrically connected with the normally opened contact of the second unidirectional solid-state relay between the electrical input of the 3rd control signal output ends of first central processing unit and handling frame telescopic arm motor; First electrical input of the 4th control signal output ends of first central processing unit and three phase electric machine rotating relay is electrically connected, and first electrical input of first electric output terminal of three phase electric machine rotating relay and positioner upset motor is electrically connected; Be electrically connected with the normally opened contact of frequency converter acceleration and deceleration relay between the 5th control signal output ends of first central processing unit and first electrical input of frequency converter, be electrically connected with the normally opened contact of control wire feed relay between the 6th control signal output ends of first central processing unit and the electrical input of wire-feed motor; Second electrical input of first control signal output ends of second central processing unit and three phase electric machine rotating relay is electrically connected, and second electrical input of second electric output terminal of three phase electric machine rotating relay and positioner upset motor is electrically connected; Be electrically connected with the normally opened contact of control of conversion device start-stop relay between second control signal output ends of second central processing unit and second electrical input of frequency converter; Be electrically connected with the normally opened contact of control of conversion device throw over relay between the 3rd control signal output ends of second central processing unit and the 3rd electrical input of frequency converter; The 4th control signal output ends of second central processing unit and the electrical input of stepper motor driver are electrically connected, and the electric output terminal of stepper motor driver and the electrical input of wig-wag stepper motor are electrically connected.
Above-mentioned three phase electric machine rotating relay adopts AC relay or solid-state relay, and solid-state relay adopts three phase electric machine rotating module.
Above-mentioned Digiplex comprises single-chip microcomputer, wireless communication module, LCD MODULE and Keysheet module; 24 function keys are arranged on Keysheet module, these 24 function keys comprise pendulum I/O key, the amplitude of oscillation ↑ key, the amplitude of oscillation ↓ key, speed ↑ key, speed ↓ key, a left side stop ↑ key, a left side stop ↓ key, the right side stop ↑ key, the right side stop ↓ key, left avertence key, right avertence key, rises arm ↑ key, fall arm ↓ key, go out the arm key, the arm key that contracts, change I/O key, frequency conversion ↑ key, frequency conversion ↓ key, on turn over ↑ key, turn over down ↓ key, rising ↑ key, decline ↓ key, reversing key, weldering I/O key.
The present invention constructs rationally and tense situation, easy to use; Because the continuous rotating device that can not stop such as the swing and the positioner spinning movement of wig-wag are controlled by second central processing unit, if therefore radio communication is interfered when taking place to interrupt, first central processing unit will automatically reset; And it is in very short time that communication recovery is normal; And can not produce any influence to the work of second central processing unit, and guaranteed carrying out continuously of welding job, therefore not only improved welding efficiency; Also improve the quality of welding, reduced potential safety hazard.
Description of drawings
Accompanying drawing 1 is a system chart of the present invention.
Accompanying drawing 2 is the structured flowchart of telepilot among the present invention.
Accompanying drawing 3 is the program flow diagram of telepilot work among the present invention.
Accompanying drawing 4 is the program flow diagram of control system work of the present invention.
Embodiment
The present invention does not receive the restriction of following embodiment, can confirm concrete embodiment according to technical scheme of the present invention and actual conditions.
Below in conjunction with embodiment and accompanying drawing the present invention is further described:
Embodiment 1: shown in accompanying drawing 1 to 4; Wireless numerical control welding workstation in the control method of this is wireless numerical control welding workstation comprises Digiplex, central processing unit and the needed rotating device of numerical control welding process, and this central processing unit comprises first central processing unit and second central processing unit; This control method is: at first to first central processing unit and the second central processing unit initialization; When Digiplex sent first kind operation signal to first central processing unit, the middle rotating device that stop of control ability turned round after first central processing unit received first kind operation signal; When Digiplex sends the second generic operation signal to behind first central processing unit; The second generic operation signal is transferred to second central processing unit by first central processing unit, and the middle continuous rotating device that can not stop of control turned round after second central processing unit received the second generic operation signal; In the course of the work, when receiving external interference and make the communication disruption of the Digiplex and first central processing unit, first central processing unit will carry out initialization again, and second central processing unit does not receive the influence of first central processing unit and work on.
Can according to actual needs the foregoing description 1 be done further to optimize or/and improve:
Shown in accompanying drawing 1 to 4, the needed rotating device of numerical control welding process can comprise welding operation frame, wig-wag, positioner, carbon-dioxide arc welding welding machine; When above-mentioned Digiplex sends first kind operation signal and gives first central processing unit, first central processing unit receive behind the first kind operation signal control operation frame lifting arm motor respectively rise arm with arm, control operation frame telescopic arm motor fall and go out arm and the acceleration of the arm that contracts, control positioner electric rotating machine and deceleration, the start-stop of control positioner upset motor, control wire-feed motor wire feed; When Digiplex sends the second generic operation signal to behind first central processing unit; The second generic operation signal is transferred to second central processing unit by first central processing unit, and second central processing unit receives start-stop and the switching-over of straight pendulum, arc pendulum and the pendulum of controlling the wig-wag stepper motor behind the second generic operation signal respectively, control positioner electric rotating machine, the upset of control positioner upset motor.
Shown in accompanying drawing 1 to 4; After the system start-up; The initial swing device operational factor that Digiplex can read pre-stored in first central processing unit through the wireless communication module and the first central processing unit wireless communication module of Digiplex shows on the LCD MODULE module of Digiplex then; Simultaneously, first central processing unit sends the wig-wag operational factor of pre-stored in first central processing unit to second central processing unit; Secondly Digiplex gets into and waits for that button input state, first central processing unit get into wait communication data input state; First central processing unit end value of accepting the wig-wag operational factor through the wireless communication module of the first central processing unit wireless communication module and the Digiplex line data storage of going forward side by side then; First central processing unit sends the actuating signal acceleration and the deceleration of control operation frame lifting arm motor action, control operation frame telescopic arm motor action, the start-stop of control positioner upset motor, control positioner electric rotating machine respectively, the start or stop of control wire-feed motor relay; Simultaneously; After first central processing unit is handled data; First control signal output ends of first central processing unit is transferred to control signal the signal input end of second central processing unit; Second central processing unit sends actuating signal and controls the wig-wag stepper motor respectively and move, the overturn switching-over of motor of the start-stop of control positioner electric rotating machine and switching-over, control positioner; The LCD MODULE that while first central processing unit is sent to telepilot with pairing action message through the first central processing unit wireless communication module and Digiplex wireless communication module shows current operational factor; Pairing operational factor is delivered to storage area stores corresponding on first central processing unit simultaneously, until the change of next relevant information; First central processing unit detects the communication conditions with Digiplex in real time; When receiving external interference and make the communication disruption of the Digiplex and first central processing unit; First central processing unit will automatically reset, and carry out initialization, and the work of second central processing unit is proceeded.
Shown in accompanying drawing 2, Digiplex can comprise single-chip microcomputer, wireless communication module, LCD MODULE and Keysheet module; 24 function keys are arranged on Keysheet module, these 24 function keys comprise pendulum I/O key, the amplitude of oscillation ↑ key, the amplitude of oscillation ↓ key, speed ↑ key, speed ↓ key, a left side stop ↑ key, a left side stop ↓ key, the right side stop ↑ key, the right side stop ↓ key, left avertence key, right avertence key, rises arm ↑ key, fall arm ↓ key, go out the arm key, the arm key that contracts, change I/O key, frequency conversion ↑ key, frequency conversion ↓ key, on turn over ↑ key, turn over down ↓ key, rising ↑ key, decline ↓ key, reversing key, weldering I/O key.
Shown in accompanying drawing 4; Before the system start-up, at first can carry out initialization and serial ports initialization to first central processing unit, second central processing unit carries out initialization simultaneously; First central processing unit is set the transmitting-receiving address then; After the system start-up, the initial swing device operational factor that wireless communication module and the first central processing unit wireless communication module of Digiplex through Digiplex reads pre-stored in first central processing unit shows on the LCD MODULE of Digiplex then; Simultaneously, first central processing unit sends the wig-wag operational factor of pre-stored in first central processing unit to second central processing unit; Digiplex gets into and waits for that button input state, first central processing unit get into wait communication data input state then; At this moment, press speed ↑ key, swing speed increases; The LCD MODULE Refresh Data sends data to first central processing unit simultaneously, and first central processing unit is at first given the speed variable with the data assignment that receives; Carry out data storage then, simultaneously data are sent to second central processing unit, press speed ↓ key; Swing speed reduces, and the LCD MODULE Refresh Data sends data to first central processing unit simultaneously; First central processing unit is at first given the speed variable with the data assignment that receives, and carries out data storage then; Press the amplitude of oscillation ↑ key, swing width increases, the LCD MODULE Refresh Data; Send data to first central processing unit simultaneously, first central processing unit is at first given amplitude of oscillation variable with the data assignment that receives, and carries out data storage then; Simultaneously data are sent to second central processing unit, press the amplitude of oscillation ↓ key, swing width reduces; The LCD MODULE Refresh Data; Send data to first central processing unit simultaneously, first central processing unit is at first given amplitude of oscillation variable with the data assignment that receives, and carries out data storage then; Press the right side and stop ↑ key, the right residence time of wig-wag increases, and the LCD MODULE Refresh Data sends data to first central processing unit simultaneously, and first central processing unit is at first given right residence time variable with the data assignment that receives, and carries out data storage then; Press the right side and stop ↓ key, the right residence time of wig-wag reduces, and the LCD MODULE Refresh Data sends data to first central processing unit simultaneously, and first central processing unit is at first given right residence time variable with the data assignment that receives, and carries out data storage then; Press a left side and stop ↑ key, the wig-wag left side residence time increases, and the LCD MODULE Refresh Data sends data to first central processing unit simultaneously, and first central processing unit is at first given left side residence time variable with the data assignment that receives, and carries out data storage then; Press a left side and stop ↓ key, the wig-wag left side residence time reduces, and the LCD MODULE Refresh Data sends data to first central processing unit simultaneously, and first central processing unit is at first given left side residence time variable with the data assignment that receives, and carries out data storage then; Press bottom I/O key, first control signal output ends that first central processing unit receives after the wig-wag startup command through first central processing unit is transferred to the signal input end of second central processing unit with control signal, and second central processing unit starts oscillating function; And according to speed parameter calculate the timer initial value, according to the distance of amplitude of oscillation calculation of parameter stepper motor walking; Be the width of wig-wag swing,, start timer according to the delay time after putting in place about the residence Time Calculation wig-wag of the left and right sides; In the timer interrupt function, send step-by-step impulse to stepper motor driver; Wig-wag begins swing, presses bottom I/O key once more, and second central processing unit receives wig-wag and ceases and desist order; The second central processing unit timer stops timing and withdraws from oscillating function, and wig-wag stops swinging; Press and rise arm ↑ key, after first central processing unit received data, the corresponding output port of first central processing unit put 0, and handling frame rises the single-phase solid-state relay of arm and starts working, driving operations frame lifting arm machine operation, and handling frame rises; By decline arm ↓ key, after first central processing unit received data, the corresponding output port of first central processing unit put 0, and the single-phase solid-state relay of arm falls in handling frame starts working, driving operations frame lifting arm machine operation, and handling frame descends; Press out the arm key, after first central processing unit received data, the corresponding output port of first central processing unit put 0, and handling frame goes out the single-phase solid-state relay of arm starts working, driving operations frame telescopic arm machine operation, and the handling frame transverse arm is protruding; Press the arm key that contracts, after first central processing unit received data, the corresponding output port of first central processing unit put 0, and the handling frame single-phase solid-state relay of arm that contracts is started working driving operations frame telescopic arm machine operation, the inside indentation of handling frame transverse arm; Press the left avertence key; After first central processing unit receives data; Control signal is transferred to the signal input end of second central processing unit through first control signal output ends of first central processing unit; Second central processing unit is carried out left avertence and is moved function, and wig-wag squints left with fixing speed; Press the right avertence key; After first central processing unit receives data; Control signal is transferred to the signal input end of second central processing unit through first control signal output ends of first central processing unit; Second central processing unit is carried out right avertence and is moved function, and wig-wag squints to the right with fixing speed; Press and become the I/O key; First central processing unit receives the frequency converter startup command, and first control signal output ends through first central processing unit is transferred to the signal input end of second central processing unit with control signal, and second central processing unit gets the auxiliary reclay of control of conversion device startup/hold function; Normally opened contact is closed; Frequency converter startup outside terminal gets electric, and frequency converter starts, and the positioner chuck begins rotation; Press once more and become the I/O key; First central processing unit receives frequency converter and ceases and desist order; First control signal output ends through first central processing unit is transferred to the signal input end of second central processing unit with control signal, and second central processing unit makes the auxiliary reclay dead electricity of control of conversion device startup/hold function, and frequency converter stops the outside terminal dead electricity; Frequency converter stops, and the positioner chuck stops the rotation; Press reversing key; First central processing unit receives the frequency converter commutation command, and first control signal output ends through first central processing unit is transferred to the signal input end of second central processing unit with control signal, and second central processing unit gets the auxiliary reclay of control of conversion device commutation function; Normally opened contact is closed; Frequency converter switching-over outside terminal gets electric, frequency converter switching-over, positioner chuck switching-over rotation; Press reversing key once more; First central processing unit receives the frequency converter commutation command; First control signal output ends through first central processing unit is transferred to the signal input end of second central processing unit with control signal, and second central processing unit makes the auxiliary reclay dead electricity of control of conversion device commutation function, frequency converter switching-over outside terminal dead electricity; The frequency converter switching-over, positioner chuck switching-over rotation; By down coversion ↑ key, first central processing unit receives the order of frequency converter speedup, and it is electric that the auxiliary reclay of control of conversion device speedup function is got, and frequency converter speedup outside terminal gets electric, the frequency converter speedup, and positioner chuck rotational speed is accelerated; By down coversion ↓ key, first central processing unit receives the frequency converter deceleration command, and it is electric that the auxiliary reclay of control of conversion device deceleration is got, and frequency converter deceleration outside terminal gets electric, and frequency converter slows down, and positioner chuck rotational speed is slack-off; Press and turn over ↑ key; After first central processing unit receives data; Make three phase electric machine rotating relay just-the counter-rotating terminal gets electricly, first control signal output ends through first central processing unit is transferred to the signal input end of second central processing unit with control signal simultaneously, second central processing unit gets three phase electric machine rotating relay start and stop terminal; Positioner upset motor just changes, and positioner is upset upwards; Press down and turn over ↓ key; After first central processing unit receives data; Make three phase electric machine rotating relay just-counter-rotating terminal dead electricity, first control signal output ends through first central processing unit is transferred to the signal input end of second central processing unit with control signal simultaneously, second central processing unit gets three phase electric machine rotating relay start and stop terminal; The counter-rotating of positioner upset motor, positioner overturns downwards; Press weldering I/O key, first central processing unit receives wire-feed motor and begins the wire feed order, and it is electric that the auxiliary reclay of controlling wire-feed motor wire feed function is got, and when wire-feed motor was in automatic control state, wire-feed motor began wire feed; Press weldering I/O key once more, first central processing unit receives wire-feed motor and stops the wire feed order, makes the auxiliary reclay dead electricity of control wire-feed motor wire feed function, and when wire-feed motor was in automatic control state, wire-feed motor stopped wire feed.
Shown in accompanying drawing 3; The single-chip microcomputer of Digiplex at first can carry out the serial ports initialization; Set the transmitting-receiving address then, the initial swing device operational factor that reads pre-stored in first central processing unit of the wireless communication module and the first central processing unit wireless communication module through Digiplex shows on the LCD MODULE of Digiplex then then; When the wig-wag operational factor need not change, just send the button eigenwert to first central processing unit; When the wig-wag operational factor need change, i.e. operational factor after the change of the initial swing device that reads pre-stored in first central processing unit of the wireless communication module and the first central processing unit wireless communication module through Digiplex again.
Embodiment 2: like accompanying drawing 1, shown in 2, the control device of this is wireless numerical control welding workstation comprises Digiplex, first central processing unit, the first central processing unit wireless communication module, second central processing unit, wig-wag stepper motor, positioner electric rotating machine, positioner upset motor, handling frame lifting arm motor, handling frame telescopic arm motor and wire-feed motor; First control signal output ends of first central processing unit and the signal input end of second central processing unit are electrically connected, first central processing unit respectively control operation frame lifting arm motor rise arm with arm, control operation frame telescopic arm motor fall and go out arm and the acceleration of the arm that contracts, control positioner electric rotating machine and deceleration, the start-stop of control positioner upset motor, control wire-feed motor wire feed; Second central processing unit can be controlled start-stop and the switching-over of straight pendulum, arc pendulum and pendulum, the control positioner electric rotating machine of wig-wag stepper motor, the upset of control positioner upset motor respectively.Like this; Because the swing and the positioner spinning movement of wig-wag are controlled by second central processing unit; If therefore radio communication is interfered when taking place to interrupt, first central processing unit will automatically reset, and in very short time that communication recovery is normal; And can not produce any influence to the work of second central processing unit, guaranteed carrying out continuously of welding job.
Be to the further optimization of the foregoing description 2 below or/and improve:
Shown in accompanying drawing 1, be electrically connected with the normally opened contact of the first unidirectional solid-state relay between the electrical input of second control signal output ends of first central processing unit and handling frame lifting arm motor; Be electrically connected with the normally opened contact of the second unidirectional solid-state relay between the electrical input of the 3rd control signal output ends of first central processing unit and handling frame telescopic arm motor; First electrical input of the 4th control signal output ends of first central processing unit and three phase electric machine rotating relay is electrically connected, and first electrical input of first electric output terminal of three phase electric machine rotating relay and positioner upset motor is electrically connected; Be electrically connected with the normally opened contact of frequency converter acceleration and deceleration relay between the 5th control signal output ends of first central processing unit and first electrical input of frequency converter, be electrically connected with the normally opened contact of control wire feed relay between the 6th control signal output ends of first central processing unit and the electrical input of wire-feed motor; Second electrical input of first control signal output ends of second central processing unit and three phase electric machine rotating relay is electrically connected, and second electrical input of second electric output terminal of three phase electric machine rotating relay and positioner upset motor is electrically connected; Be electrically connected with the normally opened contact of control of conversion device start-stop relay between second control signal output ends of second central processing unit and second electrical input of frequency converter; Be electrically connected with the normally opened contact of control of conversion device throw over relay between the 3rd control signal output ends of second central processing unit and the 3rd electrical input of frequency converter; The 4th control signal output ends of second central processing unit and the electrical input of stepper motor driver are electrically connected, and the electric output terminal of stepper motor driver and the electrical input of wig-wag stepper motor are electrically connected.
Shown in accompanying drawing 1, according to actual conditions, three phase electric machine rotating relay can adopt AC relay or solid-state relay, and solid-state relay adopts three phase electric machine rotating module.
Shown in accompanying drawing 2, Digiplex comprises single-chip microcomputer, wireless communication module, LCD MODULE and Keysheet module; 24 function keys are arranged on Keysheet module, these 24 function keys comprise pendulum I/O key, the amplitude of oscillation ↑ key, the amplitude of oscillation ↓ key, speed ↑ key, speed ↓ key, a left side stop ↑ key, a left side stop ↓ key, the right side stop ↑ key, the right side stop ↓ key, left avertence key, right avertence key, rises arm ↑ key, fall arm ↓ key, go out the arm key, the arm key that contracts, change I/O key, frequency conversion ↑ key, frequency conversion ↓ key, on turn over ↑ key, turn over down ↓ key, rising ↑ key, decline ↓ key, reversing key, weldering I/O key.
Above technical characterictic has constituted embodiments of the invention, and it has stronger adaptability and implementation result, can increase and decrease non-essential technical characterictic according to actual needs, satisfies the demand of different situations.