IntroPLC_RS_Logix_eng_09

download IntroPLC_RS_Logix_eng_09

of 2

Transcript of IntroPLC_RS_Logix_eng_09

  • 8/2/2019 IntroPLC_RS_Logix_eng_09

    1/2

    PLC exercises RSLogix 5000 and Emulate 5000

    1.Get familiar with software PLC programming RSLogix5000,

    (Start / All Programs / Rockwell software/RSLogix5000 Enterprise Series). Use the

    tutorial "Fundamentalsoflogix.pdf". Does lab. 8, 1 and 2. Make sure save regularly.

    (To find your project at a later occasion, save it under your own directory G:)

    2.You shall now do as in part 1;

    but with one difference, create a project that will run on the emulator. Emulator

    (RSLogix Emulate 5000) is a program that emulate the real PLC system on the PC

    instead, and in which you can test your PLC program.

    3.Start RSLinx Classic, by clicking on its icon in aktivetyfield at the bottom rightcorner in windows desktop. (RSLinx Classic starts automatically when you start

    RSLogix5000). (You'll find it also among the other Rockwell Programs under "Start"

    button.)

    Go into the "Communications" and select "Configure Drivers". Check that the

    "AB_VBP - 1 "in the list of installed drivers that it is "running". If it is not listed, select

    "Virtual backplane "in the list and press" Add new ". Slot 0 and then "OK" and

    "Close".

    4.Start RSLogix Emulate 5000 to configuring the emulator. If it is already configuredwith the controller and the I/O modules, you can use them or configure the new. To

    make a new configuration, do the following:

    Right-click the slot where the controller is installed, select "Create", "Emulator", select

    the default settings. Right-click on each slot for I/O module, select "1789 SIM". Enter

    the name and select default settings.

    5.The RSLogix5000 select "RSLogix Emulate 5000 Controller as the Controller in

    your new project. Give it a name and place it in the slot acc. configuration in RSLogix

    Emulate 5000th

    Add an I/O module. Choose "Other", "Generic 1756 Module". Place it in the slot as in

    the configuration in RSLogix Emulate 5000, and name it. In the "Connection

    parameters", under "Input" enter the values 1 (for Assambly Instance) and 2 (for

    Size), under "Output" enter the values 2 and 1, under "Configuration" values 16 and

    0. Check the Comm. Format is set to "Data D_int. In the "Connection" select "RPI" at

    least 50 ms.

    6.Create a ladder program in your new project in RSLogix 5000

    Enter "tag names" according to the procedure in paragraph 1.

  • 8/2/2019 IntroPLC_RS_Logix_eng_09

    2/2

    NOTE: I/O device, use the "Local: X: I. Data [1]" when "Alias" your tags. ( "Local: X: I.

    Data [0] 'does not work).

    Save.

    Now you have to set the path from the RSLogix5000 to the Emiulator so the programwill find were it should download the program:

    -Press Communication - Who Active

    Choose the RSLogix5000 Emulator and the slot that you chose in the I/O-

    configuration (e.g. Slot 07).

    Press: Set Project Path (Bottom right)

    Save!

    Download and run. You can do this from the so-called PLC'ns "Faceplate" which

    appears at top left of RSLogix5000 (Normally says Offline).

    (See Lab 3 in FundamentalsOfLogix for help)

    7.You can now either run the test program, right-click and "toggle" your inputs, or use

    the emulator, where you can right-click on the I/O module, choose "Properties" and

    then "I/O Data" and which bring the various input bits. You'll see what happens in

    your ladder program, in which the active component is colored green.