FX2N basic instruction is used

  • Time:
  • Click:220
One, logic is taken reach output to dictate 1. LD of   of statement action   (take) hit a logistic operation to often leave initial statement, LDI (take instead) hit a logistic operation to often be shut initial statement, OUT (output) use at coil drive, its drive object has output relay (Y) , auxiliary relay (M) , condition relay (S) , timer (T) , tally (C) etc. OUT instruction cannot be used at inputting relay, timer of OUT instruction drive (T) , tally (C) when, must install invariable K or data register to be worth. 2.   of use give typical examples pursues 1 it is the echelon plan that forms by instruction of LD, LDI, OUT, among them the coil of OUT M100 and OUT T0 but paralell connection is used. The echelon graph   that instruction of graph 1 LD, LDI, OUT comprises the statement that this echelon pursues corresponding dictates the program is: 1 LD X0 // of   of   of   of   of   of   of   of   of   of annotate of program situation statement and left generatrix are linked together drive of 4 OUT M100 // of   of   of   of   of   of   of   of   of   of 3 LDI X1 general. AND of   of statement action   (with) use at often leaving to touch a series connection join, ANI is used at often be being shut to touch a series connection join. Series connection touchs a head number does not have limitation, theoretic this instruction is OK and infinite second repeat use, actual as a result of graphical process designing implement have restriction with printer function, general group does not touch head and a coil more than 10 times, and successive output does not exceed 24 in all. 2.   of use give typical examples pursues 2 it is the echelon plan that forms by instruction of AND, ANI. After OUT dictates, can be opposite through touching a head instruction of other coil use OUT, call fore-and-aft output or successive output. Exemple after OUT M101 dictates, can use OUT to undertake successive output to coil Y4 through touching head T1, if order is right, can repeat for many times use successive output. The statement that echelon pursues corresponding dictates the program is: Series connection of AND X0 // of   of   of   of   of   of   of   of   of   of LD X2   often opens   of   of   of   of   of   of   of   of   of the   that touch a head series connection of ANI X3 // of   of   of   of   of   of   of   of   of   of   of LD Y3 of   of   of   of   of   of   of   of   of   of OUT Y3   often is shut. OR of   of statement action   (or) it is to often open instruction of join of the paralell connection that touch a head, ORI (or turn over) it is to often close statement of join of the paralell connection that touch a head. Outside dividing the first shunt-wound spur track, when if touch a head only,going up, spur track of the others paralell connection can use OR, ORI to dictate. Instruction of OR, ORI follows commonly after LD, LDI dictates, touch a head to what instruction of LD, LDI sets again shunt-wound one touchs a head. 2.   of use give typical examples pursues 3 it is the echelon plan that forms by instruction of OR, ORI. Because OR, ORI dictates,can touch head paralell connection to arrive only the two end of a spur track, namely the M103 in echelon graph or M110 place spur track touch a head only, the statement that echelon pursues corresponding dictates program program is: Paralell connection of OR X6 // often opens ORI M102 // of   of   of   of   of   of   of   of   of the   that touch a head paralell connection often shuts   of   of   of   of   of the   that touch a head OUT Y5 of   of         of   of   of       . LDP of   of statement action   (take pulse ascendant edge) it is ascendant edge detects operation begins to dictate, LDF (take pulse to drop along) it is to drop to begin to dictate along pulse operation, ANDP (with pulse ascendant edge) it is ascendant edge detects instruction of series connection join, ANDF (drop with pulse along) it is to drop the edge detects instruction of series connection join, ORP (or pulse ascendant edge) it is ascendant edge detects shunt-wound join instruction, ORF (or pulse drops along) it is to drop the edge detects shunt-wound join instruction. The ascendant edge that the instruction such as LDP, ANDP, ORP uses at detecting to touch head condition to change, when ascendant edge comes, make its operand puts through a scanning is periodic, call ascendant edge differential to dictate again. The fall that the instruction such as LDF, ANDF, ORF uses at detecting to touch head condition to change along, instantly falls when the edge comes, make its operand puts through a scanning is periodic, call again drop to dictate along differential. The operand of these instructions has X, Y, M, S, T, C to wait. 2. The echelon plan that instruction of 4 LDP of graph of use give typical examples, ORF, ANDP forms pursues 4 it is the echelon plan that forms by instruction of LDP, ORF, ANDP. In the fall of the ascendant edge of X2 or X3 Y0 of the coil when the edge puts through. To coil M0, need to often opening the M3 that touch a head to put through and the ability when T5 ascendant edge puts through. The statement that echelon pursues corresponding dictates the program is: LDP X2 // takes ORF X3 // of   of   of   of   of   of   of   of   of   of   of pulse ascendant edge or pulse to drop     of   of   of   of   of   of LD M3 of   of   of   of   of   of   of   of   of   of OUT Y0   of   of   of   of   of   of   of   of   of edge     . Statement action   two or the circuit of connective of the series connection that touch a head of two above calls series circuit piece, piece or the action that ORB dictates is series circuit piece shunt-wound join, when join, branch begins to dictate with LD, LDI, branch end uses ORB statement. Two or the circuit of connective of the paralell connection that touch a head of two above calls parallel circuits piece, piece the action that dictates with ANB is parallel circuits piece series connection join, when join, branch begins to dictate with LD, LDI, branch end uses ANB statement. Piece or (ORB) and piece with (ANB) the instruction all does not have operation component, at the same time instruction of ORB, ANB all can be used continuously, but the use frequency limitation that all dictates LD, LDI is in 8 times the following. 2.   of use give typical examples pursues 5 it is the echelon plan that forms by instruction of ORB, ANB. This echelon graph comprises parallel circuits by instruction of X0, X1 first piece A, comprise X2, X3 series circuit next piece B, x4, X5 comprises series circuit piece C, again two series circuit piece through ORB the instruction undertakes piece or hold shaped parallel circuits piece 1, undertake again later or parallel circuits is formed after the operation piece 2, through ANB on this foundation the instruction undertakes an as final as the operation shape become series circuit piece 3. Statement statement program is the echelon graph correspondence that instruction of graph 5 ORB, ANB comprises: Parallel circuits of composition of OR X3 // piece AND X2 // of   of   of   of   of   of   of   of   of   of   of start of branch of LD X1 // comprises series circuit piece   of   of   of B     , form ORI X6 // of   of   of   of   of   of   of   of   of 1     to form parallel circuits piece ANB // of   of   of   of   of   of   of   of   of 2     piece with the operation, form OUT Y0 of   of   of   of   of   of   of   of   of   of   of OR X7 of   of   of   of   of   of   of   of   of 3     6, multiple output dictates 1. MPS of   of statement action   , MRD, MPP dictates this group is to will join dot result stocks stack memory, in order to go to the lavatory at the back of join dot the process designing of circuit. There is 11 memories operation in FX2N series PLC the stack of intermediate result. Stack uses the data storage means of first-in last-out, see a picture 6. MPS is the instruction that take pen, its action is the unit of the first stack that stocks intermediate operation result stack, make each stack unit original inside stack at the same time unit of a stack moves below memory data order. Graph MRD of   of means of storage of data of 6 stack memory dictates to read inn, its action is to numerate only inn carries data on the head, and stand of the data inside stack. MRD instruction can repeat continuously use 24 times. MPP is instruction giving inn, its action is the data that accuses unit of the first stack in giving stack, right now this data disappears in stack, the 2nd stack inside stack is unit at the same time an unit moves on all data order to the end of caboodle, former the data of unit of the 2nd stack enters inn top. MPS and MPP instruction must be used in couples, use a frequency to answer continuously little at 11. 2.   of use give typical examples pursues 7 it is graph of echelon of give typical examples of two stack application. Send X0 into the location of stack coping with MPS above all, send the result of XO and X1 into the location of stack coping with MPS again next, the data XO of location of coping of stack of so former preexistence enters order stack coping the next in location. When giving inn, take out the data that is in stack coping of XO and X1 get along with as a result namely first, go out as the extraction of stack coping data, data XO order reachs the location of stack coping, be in next the next time in operation giving inn, data X0 is taken out stack coping. The statement that echelon of give typical examples of two stack application pursues corresponding dictates the program is: MPS // of   of   of   of   of   of   of   of   of   of LD X0   sends X0 data into AND X1 of   of   of   of   of   of   of   of   of stack     to pursue MPS // of   of   of   of   of   of   of   of   of   of give typical examples of two 7 stack application processes sends data of X0 AND X1 into stack. MC of   of statement action   advocate the join that accuses an instruction to be used at contact of communal series connection. After executive MC, express advocate accuse an area to begin, component of this instruction operation is Y, M (do not include special and auxiliary relay) . MCR advocate those who accuse restoration instruction to be used at the communal series connection that touch a head is cleared. After executive MCR, express advocate end controlling an area, the operation component of this instruction gives priority to those who accuse an instruction to use frequency N0~N7. 2.

Use give typical examples pursues the 8 echelon plans that form by MC, MCR pursue 8 it is the echelon plan that forms by MC, MCR. Because coil of Y0, Y1 gets control of a X0 that touch a head at the same time, if be in, coil all establishs ties in place spur track touch a head likewise, will have more location. Use advocate after accusing instruction MC, can use auxiliary relay M100, will advocate after left generatrix moved to often open the M100 that touch a head, form new left bus bar, LD or LDI connection still are used in later each spur track after this generatrix, its join relation and M100 and advocate the join concern between left generatrix is same, but saved unit. When M100 pilot each spur track ends hind, the left generatrix that reoccupy MCR dictates cancel is new. Statement of echelon graph correspondence dictates the program is:   of   of   of   of   of   of   of   of   of LD X0   MC N0 // advocate left generatrix shift arrives after M100, build   of new   of   of left generatrix     of   of   of   of LD X2 of   of   of   of   of   of   of   of   of   of OUT Y0   of   of   of   of   of   of   of   of   of   of   of LD X1 of   of   of   of   of   of   of   of   of   of   of M100 of   of   of   of       . Function of instruction of set of SET of   of statement action   is drive coil use coil to put through (namely buy 1) , have maintain put through of condition lock up a function oneself. Function of RST restoration instruction is to disconnect coil and restoration, have safeguard disconnect of condition lock up a function oneself. In addition data register (D) , change location register (V or Z) , indigestion calculate timer T246~T255, tally (C) current value to clear and output touch a head to all can use RST restoration. 2.   of use give typical examples pursues the 9 echelon graphs that are SET and RST instruction composition, when X0 puts through, y0 is become by buy ON condition, x0 disconnects again later, y0 condition still maintains; And when X1 puts through, the condition restoration of Y0 is OFF, x1 disconnects later, y0 still holds OFF position. Graph the 9 echelon graph   that comprise by SET, RST the statement that this echelon pursues corresponding dictates the program is: RST Y0 of   of   of   of   of   of   of   of   of   of   of LD X1 of   of   of   of   of   of   of   of   of   of SET Y0   of   of   of   of   of   of   of   of   of   of LD X0   9, pulse outputs an instruction 1. Instruction of PLS of pulse of forward position of statement action   is inputting signal ascendant edge to generate the pulse output of cycle of a scanning; Instruction of edge pulse PLF is in after input signal drops the pulse output that the edge generates cycle of a scanning. PLS and the drive component that PLF dictates are Y and M, but do not include special and auxiliary relay. 2.   of use give typical examples pursues 10 it is the plan of echelon of give typical examples that forms by PLS, PLF. Come by OFF when X0 the ascendant edge of ON, auxiliary relay M0 puts through, coil Y0 puts through; And come by ON in X1 the fall of OFF along, auxiliary relay M1 puts through, coil Y0 set is OFF. Graph program of statement of graph   corresponding statement is the 10 echelon that comprise by PLS, PLF: The rise of PLS M0 // of   of   of   of   of   of   of   of   of   of LD X0   in XO is Y0 of buy of SET Y0 // of   of   of   of   of   of   of   of   of   of   of LD M0 of   of   of   of   of   of   of   of   of ON     to be   of   of   of ON     along buy M0   . Statement action   is taken a 45 ° are used in turning over INV instruction to pursue in echelon short diagonal expresses, its action is the operation before the result is taken instead, this instruction does not have operation component; Instruction of empty operation NOP is one does not have a movement, without operation component and the instruction that takes step of a program, the program stage that NOP instruction adds to basically dictate to be increased in process of obligate process designing in the program; End END instruction is used at memery block of mark user program the last location, the NOP instruction after making END dictates moves no longer and return program head, improved the executive efficiency of PLC program. 2.   of use give typical examples pursues 11 it is the plan of echelon of give typical examples that forms by instruction of INV, END. Take of X0 and X1 by INV instruction as a result among them instead, x2 also is taken instead, both undertake or piece the reassume after the operation is turned over, final output comes Y0. Graph the 11 echelon that comprise by instruction of INV, END pursue its are corresponding the statement dictates the program is: The operation of INV // of   of   of   of   of   of   of   of   of   of AND X1   of   of   of   of   of   of   of   of   of   of LD X0   to X0 AND X1 takes INV // of   of   of   of   of   of   of   of   of   of   of LD X2 of   of   of   of   of   of   of   of   of the   that turn over   as a result to; AND, ANI; OR, ORI; LDP, ORF, ANDP; ORB, ANB; MC, MCR; The statement action manual such as SET, RST   information: Arrange Baconian attend a lecture note   is decision-making: PLC of affirmatory FX2N series dictates   of form of operation instruction handbook plans basically: Design manual content and   of the measure that make carry out: PLC of compose FX2N series dictates   of operation instruction handbook checks basically: Consult the data checks   to evaluate oneself: The group is evaluated CNC Milling