Kaiyi — Chapter 2 Programming

Chapter 2 Programming Table of Contents 2.1 Preparations ............................................................................................. 2-2 2.1.1 Hardware ........................................................................................... 2-2 2.1.2 Software ............................................................................................ 2-3 2.1.3 Tools and Materials ........................................................................... 2-3 2.2 Installation ................................................................................................

2-3 2.2.1 Installing Modules .............................................................................. 2-3 2.2.2 Installing Removable Terminal Blocks ............................................... 2-4 2.3 Wiring ....................................................................................................... 2-6 2.3.1 Wiring the Power Supply Module ...................................................... 2-7 2.3.2 Wiring the Digital Input Module.......................................................... 2-8 2.3.3 Wiring the Digital Output Module .......................................................

2-8 2.3.4 Wiring the Analog Input/Output Module ............................................. 2-9 2.3.5 Supplying Power ..............................................................................2-10 2.4 Exemplification ........................................................................................2-10 2.5 Creating Projects .....................................................................................

2-11 2.6 Hardware Configuration...........................................................................2-13 2.7 Creating Global Symbols .........................................................................2-18 2.8 Creating Function Blocks .........................................................................2-19 2.9 Creating Main Programs ..........................................................................2-28 2-1