APPENDIX A the Description of programm and apparatus maintenance, algorithms of work of the knots connected with the device of the task of the charge (UZR)
Drawing А.1 - Distributing of a pay for the circuit design in Drawing 3.8
Drawing And.
2 - the Aspect of the program for management SHD in the editor of circuit designs HiAsmAlgorithm of the program of management SHD
Drawing А.3 - Algorithm of the program of management SHD
Before each start and program closing port LPT should be nulled.
The variable i is used for search of combinations of turning on of windings of the propeller for implementation of a semistep-by-step regime.
The variable opoint contains quantity of steps from the given point to a zero point.
The variable npoint contains quantity of steps to a demanded point from nuleyovoj points (at adoption in the capacity of a zero point of a rule with the piston pushed against the stop in a pipe).
Algorithm of the subroutine of traffic of the piston after button "Start" pressure
Drawing And. 4 - Algorithm of the subroutine of traffic of the piston
M [L] - a file containing co-ordinates of apertures. For a reference point (nuleyovuju a point) is accepted a point when all apertures are closed also the piston will push in a pipe against the stop (M [0]). Number 0 is stored In mesh M [0], in following meshes the number of steps is written down, which are necessary for making to the propeller to open matching number of apertures at traffic from a zero point.
Argument L is read out from a window which is below an inscription "Inject aperture number", by pressure of key Enter.
The chariot will begin traffic to a demanded aperture after button "Start" pressure. Thus before the beginning of traffic of the chariot it is necessary to define bolyoshe or less serial number of a new aperture. If the serial number noyovogo is more than aperture, the difference between co-ordinates new (npoint) and old (opoint) apertures is computed. This difference is appropriated by a variable k0 and further the subroutine "Forward" is started. If the serial number new otveryostija is less, than old the difference between co-ordinates old (opoint) and new (npoint) apertures is computed. This difference is appropriated by a variable k1 and further the subroutine "Back" is started.
Algorithms of subroutines "Forward" and "Back"
Drawing And. 5 - Algorithms of subroutines "Forward" and "Back"
The variable j is used in subroutines "Forward" and "Back" for work of a cycle of a ringing of subroutines of search, and in subroutines "the Turn +","the Turn for work of a cycle with the set quantity of the steps made by the propeller during modification of these subroutines.
Value of a variable k0 or is sent from the subroutine "Start", or read out from a window which is more to the right of button "Forward", by pressure klayovishi Enter. k0 - quantity of the requested steps.
For each travel kayoretki on one step forward the subroutine "Search +" is called.Value of a variable k1 or is sent from the subroutine "Start", or read out from a window which is more to the right of button "Back", by pressure klayovishi Enter. k1 - quantity of the requested steps. For each travel kayoretki on one step the subroutine "Search back is called
Algorithms of subroutines "the Turn -" and "the Turn +"
Drawing А.6 - Algorithms of subroutines "the Turn -" and "the Turn +"
The variable j is used in subroutines "the Turn +", "the Turn -" for rayoboty a cycle with the set quantity of the steps made by the propeller during modification of these subroutines, and in subroutines "Forward" and "Back" for work of a cycle of a ringing of subroutines of search.
The propeller makes per revolution in polnoshagovom a regime of 120 steps, in semistep-by-step accordingly 240 steps. It also causes quantity of cycles. Subroutines "the Turn -" and "the Turn +" are analogous to subroutines "Forward" and
"Back" with that difference, that in last the quantity of steps either is set vruchyonuju, or calculated on a difference of co-ordinates of a current point and a point naznacheyonija, and in podprogramah "the Turn -" and "the Turn +" this quantity of steps do not vary.
Algorithms of subroutines "Search -" and "Search +"
Drawing А.7 - Algorithms of subroutines "Search -" and "Search +"
The variable i is responsible for sequence of involvement of windings dviyogatelja for implementation of a semistep-by-step regime.
The first octad of number referred to in port LPT is responsible for sampling of a supply voltage of windings of the propeller. If the first octad is equal 1h a supply voltage soyostavljaet +5В; if 2h, +12В; if 0h voltage does not move. If the first octad is equal 3h the supply voltage will make +12В, but this regime neyozhelatelen. The second octad of number referred to in port LPT operates turning on and shut down of windings. 1 matches to winding activation, 0 - to shut down obyomotki.
(The subroutine "Search +") at polusha - govom a regime is necessary for heaving ahead implementation search of 4 windings in a following order: 0001, 0011, 0010, 0110, 0100, 1100, 1000, 1001. For the subroutine "Search -" search obmoyotok is carried out upside-down.
More on topic APPENDIX A the Description of programm and apparatus maintenance, algorithms of work of the knots connected with the device of the task of the charge (UZR):
- IRK on the basis of the high-precision device of the task of the charge (UZR) with the discrete task of the charge
- the device of the task of the charge
- the Statistical estimation of result of programm modelling of algorithms of compression and restoration of images
- the apparatus-oriented algorithms of machining of images of indicators of the panel of devices
- the Estimation of apparatus complexity of the device of compression of the image
- experimental definition of stability of set charge IRK with the elastic basin and UZR with apertures in a face wall
- the Estimation of apparatus complexity of the device of compression and restoration of images
- Algorithms of functioning of mainframes of the device of compression of the image
- Algorithms of functioning of mainframes of the device vosyostanovlenija images
- 4.2. The description and technical datas of basic elements of the device
- THE METHOD OF DEFINITION OF THE ORDER OF MACHINING OF IMAGES OF INDICATORS OF THE PANEL OF DEVICES AND THE APPARATUS-ORIENTED ALGORITHMS OF MACHINING OF IMAGES
- 1.5 Is apparatus-technical maintenance intraperitoneal himiogipertermicheskoj perfusions
- research of work of existing algorithms of detecting of persons at change of conditions of light exposure