Download downloaded
Transcript
Chapter 3 PLC Basic Instructions Basic instructions are used for editing sequential programs and executing 1-bit operation. There are basic instructions for GSK980TD PLC as follows: Instruction name Function Component LD Read normally-open contact X, Y, F, G, R, K, A LDI Read normally-closed contact X, Y, F, G, R, K, A OUT Output coil Y, G, R, K, A AND Normally-open contact in series X, Y, F, G, R, K, A ANI Normally-closed contact in series X, Y, F, G, R, K, A OR Parallel normally-open contact X, Y, F, G, R, K, A ORI Parallel normally-closed contact X, Y, F, G, R, K, A ORB Parallel series circuit block ANB Parallel circuit block in series 3.1 LD,LDI,OUT INSTRUCTION ● Mnemonic code and function Mnemonic code Function LD Read normally-open contact LDI Read normally-closed contact OUT Output coil Ladder symbol ● Instruction explanation A: LD, LDI are used for connecting contact to bus bar. Each one can combine with instruction ANB and can be used at starting point of branch. B: OUT is used for driving output relay, internal relay coil instead of input relay. C: Parallel instruction OUT can be continuously used. ● Programming example Program explanation: When X0002.1 is 1, the system outputs Y0003.7 When F0100.3 is 0, the system outputs G0120.0 Ⅲ-1 Book 1 Programming Chapter 3 PLC BASIC INSTRUCTIONS