Quick start This section brief introduce general step of programming PLC control program, to help beginner as soon as possible know well PLC programming software programming operation. General step of programming First step: double click the programming software icon at computer desktop, start programming software. Second step: new construction a program project, use menu[ file/ new construction program project ], open "new construction program project" window, select PLC series. PLC MPU and others project attribute. Third step: write control program, build one or many program block, use menu [File/New....../master program block], open "New construction program block" window, input the program block named. select programming language (LD. FBD. IL)and program block type (program block. subprogram. interrupt program). Fourth step: if need configuration hardware parameter or extend module, Use menu [ Look UP/PLC hardware configuration ] open "PLC hardware configuration " window. Fifth step: Start simulator, off line simulate running debug program, running correct then next step, otherwise return to third step modify program. Sixth step: Online with PLC. Seventh step: download program to PLC. Eighth step: start PLC running. First step: Start programming software Double click the programming software icon at computer desktop, start programming software, as follows: Second step: New project Open mode: A. Click menu [File/New project], B. Click tools bar button, C. use shortcut key Ctrl+N. "New project" window as follow: 1. At "PLC series" among pull listing select "PLC series". 2. At "CPU type " among pull listing select "CPU also MPU type". 3. Power-off preserve area may be defined by user, may be set V. M. S. T. C five type component power-off preserve area start component and length. System default the Power-off preserve area listing as follow: Component type Power-off preserve area Component number V V1000~V2047 1048 M M1536~M2047 512 S S156~S255 100 T T96~T127 32 C C64~C127 64 4. At " project name " input new project name, the project name will be display in the main frames of the project manager. 5. At "user name". "designer". "version". "company" etc. columns input relate to information. 6. If need password protect the new project, then at "password" and "verify password" input the password. 7. At "note" may be input relate to note information of the project. Third step: Write control program Control program realize the kernel of automatic control, it essence is according to control object ( as machine. automatic equipment. production line etc. ) requirement details use programming software supplied many instructions realize automatic control of the control object. 1. According to the need build one or more program block, choice oneself well-informed program language (LD. FBD. IL), each block may be set alone password, realize local cypher function. 2. At program block use programming software supplied many instructions to program, realize all kinds of control logical and arithmetic. 3. After complete the program, save program file, start simulator running, debug program whether attain the control requirement. 4. Detail operation refer to "programming operation manual " [Example] Below explain how to write the control program via the example, the example control requirement: press X0 button start, delay 2 second output Y0. press X1 button stop. [Example program] [Example program operation] 1. Create a new " Quick start example" main program block, open mode: A. Click menu [File/New....../Main program block], B. Click tools bar button "Main program block"." Create new program block " window as follow. 2. Click tool bar button or press F9 shortcut key add a switch, input switch component "X0//start" (behind "//" " start " is the comment of component X0, the same below), press Ctrl+3 shortcut key change normal open to rising edge. 3. Press F10 shortcut key parallel a switch, input switch component "M0//self-lock" 4. Move cursor to the right side of X0 switch, press F9 shortcut key series a switch, input switch component "X1//stop", press Ctrl+2 shortcut key change normal open to normal close. 5. Move cursor right, input "TON" return, add one "TON" instruction, continuous press enter, when input box at "Pt" item input set value 2 of the timer. 6. Press F11 shortcut key add parallel output instruction "OUT", input component "M0". 7. Press tool bar button or press Ctrl+L shortcut key add a new network. 8. Press F9 shortcut key add a switch, input switch component "T0//delay 2S". 9. Press F11 shortcut key add output instruction "OUT", input component "Y0//output". Come here program wrote complete. press Ctrl+S shortcut key to save the program file, may be start the simulator executing, debug program whether attain control requirement. Fourth step: PLC hardware configure If you need configure hardware parameter (as configure AI input channel signal type. quantities etc. ) or need add extend module etc. relate to hardware, then do this step, otherwise skip this step. 1. Double click " Project manager " window directory tree "PLC hardware configure " point or use menu [Check/PLC hardware configure] to open "PLC hardware configure" window. 2. Click open "Project manager" window directory tree " PLC, select want to add module, use mouse drag the module to right side hardware configure list. 3. Click hardware configure list module, under the list will display the attribute of the module be defined and configured. 4. Define and configure the attribute of each module. 5. Detail operation refer to "PLC hardware configure ". Fifth step: Off line simulate debug During write the program or after complete the program, may be use simulator under the condition of completely off line PLC simulate running PLC program, use for check program executed whether correct, vastly reduce local debug time, reduce debug difficulty, improve debug efficiency. 1. Click menu [Debug/Start simulator]or click tools bar button start the simulator, system will automatic compile the current program project. Detail operation of the simulator refer to "Simulate and on line debug". 2. If compile the program error, simulator can not running, user must modify the program according to the compiler suggestive error information. 3. Compile no error or only alarm, then start simulator.simulator interface as follows: 4. Double click program "X0" switch force X0=ON, then M0=ON self lock, timer T0 start timing, when TV0=2 time time to then T0=ON, Y0=ON. 5. Double click program "X1"switch force X1=ON, X1 normal close switch no electricity, then M0=OFF, T0=OFF, Y0=OFF. 6. Via the simulator running verify, program running result correct. Sixth step: Online with PLC Connect to one or many PLC in the network. Only after PLC online may be control operation the PLC, such as: upload or download etc.. 1. Click menu [PLC/PLC networking] or click tool bar button, open "PLC online" window. 2. Click "Online" button (general condition, direct use default parameter ), already online PLC will automatic add to the listing box, now click "exit " close the window. 3. PLC online and parameter setting refer to "Online control PLC" section "PLC online". Seventh step: Download program Download current program project (hardware configure and program etc. content) to online PLC. Before download system automatic compile the current program project, if error during compile, then list all errors, after user modify the program no any error then can be downloaded. Click menu [PLC/PLC program download] or click tool bar button, open "PLC program download" window, click "download " button download the program to PLC. Note: detail operation refer to " Online control PLC" section "Download program". Eighth step: Start PLC After download complete, if PLC already in running status (RUN indicator go on), may skip the step. Otherwise turn the PLC running switch in to "RUN" position.