Page 262 - Electronic Mechanic - TP - Volume - 2
P. 262

ELECTRONICS MECHANIC - CITS




           EXERCISE 186: Perform online editing of a rung/ network


            Objectives

           At the end of this exercise you shall be able to
           •  to create simple ladder logic program using software
           •  to demonstrate editing /creation of rung/ network from the software.

           Requirements

           Tools/Materials
           •   Power Supply                 - 1 No.            •  PC/LAPTOP Latest configuration   - 1 No.
           •   Wiring Materials and connectors   - 1 No.       •  PLC for Programming              - 1 No.
           •  Communication Ports and cables  - 1 No.

              Procedure

           Theory

              Note: Most newer PLCs  having its own configuration methods. Advised to follow respective user
              manual.(Most of the procedures are same), Considered Siemens PLC as an example.

           Setting up your S7-1200 PLC using STEP 7 Basic

           Configure your S7-1200 PLC and provide data to be monitored via an Open Platform Communications (OPC)
           connection.
           Create a program in Main [OB1]

           In the “Program blocks” folder of your PLC, double-click the “Main [OB1]” instruction. Copy the program shown
           in the next picture.
           You will find the bit logic operations in the “Bit logic” folder in the “Instructions” pane on the “Instructions” task
           card. Drag’n’Drop the “Normally open contacts”, “the Output coil”, and the “Set/Reset flip-flop” into “Network
           1” of your “Main [OB1]” work area, according to the picture shown below. Make sure that the input fields are
           configured in the same way as shown in the Fig 1.

            Fig 1
































                                                           245
   257   258   259   260   261   262   263   264   265   266   267