The design of circuit of 4 BCD coder that uses odd chip machine gives the introduction at check of journey of lathe tailstock arbor
- source:GERHOLD CNC Machining
3 as travel line, p1.
7 regard a row as the line, program of design clavier scanning can achieve the function that assumes beforehand (see software designs a part) . Press S0-S9 can generate the BCD code of correspondence of 0-9 decimal numeral, s10-S13 uses as the switch key-press that 4 BCD pile up, of short duration of S14, S15 was not used, need not install, p3.
The 0 data that are BCD code output a line, can see from inside circuit, realize output of 4 BCD encode because of function clavier, apparent P3.
0 be discharged as data converge and receive at the same time in 4 D Suo Cunqi (4042) , come through S10-S13 switch, to 4 D Suo Cunqi (U3-U6) have only every time effective and P3.
The data of 0 " read in " lock up next put. Actually S10-S13 controls P3.
4 with P3.
The condition of 5 (P3.
4 with P3.
5 have 4 kinds of combination in all) pass through 2-4 line encoder (U2; 74LS139) the effective signal that gets corresponding U3-U6, express the 1 each chip position that is correspondence of S10-S13 control place, visible, the random in U3-U6 (for example U3) be in significant position and " read in " P3.
When 0 data, of the others (U4/U5/U6) be in a lock to retain position, withhold original data, the person that use accordingly can be in random in the BCD that changes a hope piles up output. Normal LINE-HEIGHT of U3~U6 chip condition with corresponding control of S10-S13 of 150%" Align=center> watch: 150%"> key-press Normal >P3.
4 (B) Normal >P3.
5 (A) Normal >U2: 74LS139 outputs Normal LINE-HEIGHT of 150%"> real function: 150%">Y0normal >Y1normal >Y2normal >Y3normal >U3 is effective, u4/U5/U6 is in a lock to retain position, maintain Normal >S10normal >0normal >0normal >0normal >1normal >1normal >1normal >U3 is effective, u4/U5/U6 is in a lock to retain position, maintain Normal >S11normal >0normal >1normal >1normal >0normal >1normal >1normal >U4 is effective, u3/U5/U6 is in a lock to retain position, maintain Normal >S12normal >1normal >0normal >1normal >1normal >0normal >1normal >U5 is effective, u3/U4/U6 is in a lock to retain position, maintain Normal >S13normal >1normal >1normal >1normal >1normal >1normal >0normal >U6 is effective, u3/U4/U5 is in a lock to retain position, maintain U2 (74LS139) it is 2-4 line encoder, express on result visibility, his input carries B, a is received respectively to P3.
5, output carries Y0-Y3 to depend on the combination that inputs end, only an output is carried below every kinds of combination (Y0-Y3) output effectively with low n. U3-U6 is D Suo Cunqi, basically be among them 5 feet and the working position that 6 bases concern decides them, consult the data is informed, when 5 feet and potential of 6 feet logic are same, this chip can output D3-D0 data to Q3-Q0; When 5 feet and potential of 6 feet logic are different, this chip is in a lock to retain the position of original data, and won't " read in " current D3-D0 data, secure the 6 bases of U3-U6 in circuit receive low potential, and 5 feet use U2 respectively (74LS139) output signal will control, come true not hard " the setting that OK and alone implementation piles up to each BCD " . 4511 it is coding drive, receive in all shade number canal shows current the decimal numeral of correspondence of every BCD code place, convenient observation, indication part is very simple, be absent here give uncecessary details, in the meantime, indication part is not on circuit must, can omit, BCD code is mixed through J3 J2 is derivative, link with two implement it is for more agile, convenient use. 4 software design basically is implementation clavier processing, must affirming in the program is which key-press is pressed, turn in corresponding processing program to carry out next, actually this program is a whole clavier scanning process, if alter in the among them control circuit that handles second program is complete OK to other applying. The task of clavier scanning program is told simply even if ︰ affirms above all whether key-press presses, get next through scanning judgement is the key-press in which group, pass through finally 4 form of set are searched and calculate beforehand quite get specific key-press, turn to corresponding functional program thereby. The corresponding processing function that bolts about each is simpler, want corresponding and different key-press to input corresponding control command only, to S0-S9 it is control P3.
0 different position code with getting the BCD of a correspondence, to S10-S13 it is control P3.
The condition of 5 is opposite with coming true the control of U3-U6, length of be confined to, detailed content can refer to a program, control of one by one is when the program begins to carry out output of 4 BCD encode, corresponding digital canal is ordinal show, initiative condition is 0001, 0000, 0000, 0000 4 BCD code parts from J3, j2 is derivative, digital canal shows for 1, 0, 0, 0. 5 use coder of position of NSD very form example of application of tie-in and special controller is graphic: Component sets a plan: Tradition and NSD product detect controller of difference graph NSD and coder of very form position pursue traditional type detects means pursues 6 conclusion: (1) traditional pattern detects means: The function suffers be restricted, need multibarrel layout, economic effect not beautiful, of workpiece of more inaccessible little difference detect movement. (2) NSD product detects means: The function is more extensive, odd bout gives line and single control line, can manage function of call of 0~32 group program and respective 0~15 group (ON/OFF) switch, set of switch limits random, workpiece not difference value is more than 0.
004mm above all can decide, practical tall. CNC Milling