13.07.2015 Views

[Instruction] Contents

[Instruction] Contents

[Instruction] Contents

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

From the above example, if turn the X0 "ON" then "OFF", Y0 will keep at "ON". When change the PLC state from RUN toSTOP then RUN or turn the power off then on, the Y0 still keep at ON state. But if use the OUT Y0 instruction instead ofthe OUT L Y0 , Y0 status will be OFF.4.2.5 Set Coil and Reset CoilSet Coil writes 1 into an operand specified. Reset Coil writes 0 into an operand specified. The characteristics depicts atbelow.X0X1ENENPSET Y 0PRST Y 0ORG X 0SET P Y 0ORGX 1RST P Y 0X0X1Y0SETRST4.3 Node Operation <strong>Instruction</strong>sA node is the connection between elements in a ladder diagram consisting of sequential instruction elements (pleaserefer to Section 1.2). There are four instructions dedicated for node status operation in FBs-PLC. The two instructions,“OUT TR” and “LD TR”, have been discussed in Section 1.6 of this manual. Using the diagram below, the three nodeoperation instructions NOT, TU and TD, are illustrated.ORG X 0Node BAND X 1NOTX0X1Y0OUT TR 0TUY1OUT Y 0Node ALD TR 0TDOUT Y 14-5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!