Download downloaded
Transcript
Chapter 4 PLC Function Instructions Some functions are completed by function instructions instead of basic ones. The function instructions in the system are as follows: Instruction name Function Instruction name Function END1 End of grade one program ROTB Binary rotation control END2 End of grade two program DECB Binary decoding SET Set CODB Binary code conversion RST Reset JMPB Program jumping CMP Comparative set CTRC Counter TMRB MOVN LBL Program jumping label CALL Subprogram calling Timer SP Start of subprogram Binary Data copy SPE End of subprogram Parity check DIFU Ascending edge set ADDB Binary data adding DIFD Descending edge set SUBB Binary data subtracting PARI ALT MOVE And Alternative output 4.1 END1(END of GRADE ONE PROGRAM) ● Instruction function There must be END1 in the sequential program one time, located at the end of grade one program. It should be located at the home of the second when there is no grade one program. ● Ladder format 4.2 END2(END of GRADE TWO PROGRAM) ● Instruction function There must be END2 at the end of grade two program which representing end of grade two program. ● Ladder format Ⅳ-1 Book 1 Programming Chapter 4 PLC FUNCTION INSTRUCTIONS