Loading documents preview...
Setup Information Studio 5000t Logix Designer Level 4: Structured Text/Sequential Function Chart Programming
Table of Contents
General Setup: Structured Text/Sequential Function Chart Programming . . . . . . . .
1
Exercise Setup: Programming Assignments, Expressions and Instructions in Structured Text within a Logix Designer Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9
Exercise Setup: Programming Constructs and Comments in Structured Text within a Logix Designer Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11
Exercise Setup: Designing a Sequential Function Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
13
Exercise Setup: Programming a Sequential Function Chart in a Logix Designer Project . . . . . . . . . . .
15
Exercise Setup: Testing a Sequential Function Chart in a Logix Designer Project . . . . . . . . . . . . . . . .
17
Exercise Setup: Storing and Resetting Sequential Function Chart Data in a Logix Designer Project . . .
19
Exercise Setup: Resetting and Pausing a Sequential Function Chart in a Logix Designer Project . . . . .
21
ii
Table of Contents
General Setup: Structured Text/Sequential Function Chart Programming
1
General Setup: Structured Text/Sequential Function Chart Programming Introduction
This document contains information about the setup steps required to prepare for course CCP154.
Several Weeks Before Use
Ordering Checklist The following equipment is required for each workstation:
If the latest versions of Studio 5000 and RSLinx Classic software are not on the student training image, they can be downloaded from the Rockwell Automation Technical Support site using your GoldMaster serial number.
- A computer that meets the minimum requirements necessary to run all application software: Software
Version
.Net Framework
4.0
Studio 5000 (with activation for Structured Text and Sequential Function Charts)
21.0
Firmware files for Studio 5000
21.0
RSLinx Classic
3.51
RSLinx Enterprise
5.50 or later
RSLogix Emulate 5000
21.0
FactoryTalk View Studio for Machine Edition
6.10
FactoryTalk View Station RT
6.10
Microsoft PowerPoint or Microsoft PowerPoint Viewer
2002 or newer
- ControlLogix workstation (Part No. ABT-TDCLX3) or equivalent hardware (if using hardware) - Communication cards and cables for an EtherNet/IP network (if using hardware)
Job Aids
Rev. March 2013
Tip "
See the ControlLogix Workstation Layout section of this General Setup document for more information and workstation configuration details.
Tip "
See the Software Workstation Setup section of this General Setup document for more information and workstation configuration details. The following job aid can be used to complete the exercises: x Studio 5000 Logix Designer and Logix5000 Procedures Guide (ABT-1756-TSJ50)
E 2013 Rockwell Automation, Inc. All rights reserved. CCP154_GeneralSetup
2
General Setup: Structured Text/Sequential Function Chart Programming
Day Before Use
Required Setup Perform the following steps for each workstation: - Unzip the Student Exercise Files and place them on each student PC. - Restore Logix Designer application to its default settings by performing the following actions: - If it is open, close Logix Designer application. - Press and hold the CTRL + SHIFT key combination. - Continue holding the CTRL + SHIFT key combination and start the software. - Do not release the CTRL + SHIFT key combination until the software has started. - In Logix Designer application, set the default directory under Tools!Options. - In the Logix Designer default project directory, delete all old files. - On the desktop, make a shortcut for each software.
ControlLogix Workstation Layout
The ControlLogix workstation (or equivalent custom setup) used in the course requires the following equipment: x 12 dual input and output pushbuttons x 4 selector switches (on/off)
x 2 analog inputs x 2 analog meters x A 10-slot chassis with the modules listed in the following table: To match the standard workstation configuration in the exercise files, the workstation’s modules must be placed in the following slots:
Slot
E 2013 Rockwell Automation, Inc. All rights reserved.
Module
Description
0
1756-OB16D
Digital output module (DO0 to DO5)
1
1756-L73 (5573)
ControlLogix Controller
2
1756-IB16D
Digital input module (DI0 to DI15)
3
Empty slot
4
1756-OB16D
Digital output module (D06 to DO11)
5
1756-CNB
ControlNet bridge module
6
1756-DHRIO
Data Highway/Remote I/O bridge module
7
1756-OF6VI
Analog output module
8
1756-IF6I
Analog input module
9
1756-ENxT
EtherNet/IP bridge module
Rev. March 2013 CCP154_GeneralSetup
General Setup: Structured Text/Sequential Function Chart Programming
3
If your workstations do not include 1756-DHRIO modules, you should leave slot 6 empty.
The workstation’s modules must have firmware compatible with Studio 5000 version 21.
Tip "
Firmware files are available at: http://support.rockwellautomation.com/ControlFlash/ The layout of the workstation is shown in the following graphic:
10-Slot ControlLogix Chassis
12 Dual Discrete Inputs/Outputs
Status
Sta tus
J5
J5
DC Bus
DC Bus
J2 L1 L2/N
L2/N
R
J1
S
Motor
Motion Equipment (Not Required)
Motor
T
T
Advantage Line
2 Analog Meters
100-240 VAC 50/60 Hz
R
J1
S
4 Selector Switches
Rev. March 2013
J2 L1
100-240 VAC 50/60 Hz
Ad vantage Line
2 Analog Inputs (Potentiometers)
E 2013 Rockwell Automation, Inc. All rights reserved. CCP154_GeneralSetup
4
General Setup: Structured Text/Sequential Function Chart Programming
The following ControlLogix workstation inputs and outputs are used in this course: Inputs Outputs Green Pushbuttons
DI0 DO0
DI1
DI2
DO3
DO6
Amber Pushbuttons
DI4
DI5
DI6
DO1
DO4
DO7
DO10
DI8 DO2
DI9
DI10
DO5
DO8
DI11 DO11
Red Pushbuttons Selector Switches
DI12
Hardware Workstation Setup
If the classroom layout does not allow easy networking through hubs and switches, you can have students directly connect the workstation and computer using a crossover Ethernet cable.
DI13
DI14
DI3 DO9
DI7
DI15
The following workstation setup is required for all workstations: - In RSLinx Classic software, configure an EtherNet/IP driver. - Set up an Ethernet/IP network and assign IP addresses to the computers and EtherNet/IP modules. - Verify the ControlLogix workstations match the standard hardware layout found in the Workstation Layout section of this document. If you are using a non-standard workstation configuration, you will have to modify the I/O configurations for each Student Exercise file to match your hardware layout.
Once you have verified that communications between the computers and ControlLogix workstations have been established, delete all previously created RSLinx Classic drivers.
E 2013 Rockwell Automation, Inc. All rights reserved.
Rev. March 2013 CCP154_GeneralSetup
General Setup: Structured Text/Sequential Function Chart Programming
Software Workstation Setup If you are familiar with ghosting, you may want to create a simulator image for future classes once you have a completed and tested setup.
5
Setup and testing takes approximately 20 minutes per machine. This does not include re-imaging. Perform the following steps on each workstation: - If any traces of SoftLogix remain on the computer, or if you are unsure, re-image the computer. A typical uninstall will not remove all traces of SoftLogix which will cause errors. - Verify that you have the following software installed and activated: - RSLinx Classic software, version 3.51 - RSLinx Enterprise software, version 5.50 or later - RSLogix Emulate 5000 software, version 21.0 - FactoryTalk View ME Studio software, version 6.10 - FactoryTalk View ME Station software, version 6.10 - Studio 5000 Logix Designer software, version 21 (with activation for Structured Text and Sequential Function Charts) - Launch RSLinx Classic software and then add a new Virtual Backplane driver in slot 0 (default). Close the software. - Launch RSLogix Emulate 5000 Chassis Monitor software and create a controller in slot 3.
Tip "
Do not create modules in any other slots. RSLinx will occupy slots 0 and 1 when launched. - Open RSLinx Classic software and click RSWho to verify that the network shows an active virtual chassis with your configured modules.
Required Training Simulator Testing Test the setup using the files in the Training Simulator Files folder: - In the Logix Designer application, download the Training _Simulator_Test_Logic_Rev_A.acd file to the controller in the virtual chassis (slot 3). - Change the controller to Rem Run mode. - Double-click the CCP152_CCP154_Training_Simulator.apa file. - At the prompt, select Restore the FactoryTalk View Machine Edition application: and click Next - Keep the default name. - You will NOT receive confirmation when it is done. - Open FactoryTalk View Studio software and then select CCP152_CCP154_Training_Simulator. - In the Explorer Pane, expand RSLinx Enterprise and then double-click Communication Setup. - Create a short cut to the virtual controller in slot 3: Rev. March 2013
E 2013 Rockwell Automation, Inc. All rights reserved. CCP154_GeneralSetup
6
General Setup: Structured Text/Sequential Function Chart Programming
- Create a short cut to the virtual controller in slot 3: - In the Device Shortcut pane, click My_Controller. - In the Design (Local) tab, right-click 1789-A17 Backplane and select Add Device. - Expand 1756-Lx/Em, ControlLogix L55xx Emulator and then select the rev 21 emulator. - Click OK. - Change the slot number to Slot 3. - Click OK. - On the Design (Local) tab, click Copy from Design to Runtime and click Yes. - Click OK to close the Communication setup (if you do not click OK you will receive an error on the next step). - From the Application menu, select Create Runtime Application. - Keep the default name and location and click Save. - Close FactoryTalk View ME Studio software (if you do not close you will receive and error on the next step). - Open FactoryTalk View ME Station software (not Studio). - Load the CCP152_CCP154_Training_Simulator.mer runtime file and click Yes to any prompts. - After loading, click Run Application. - You should see the Label Selector Screen. - Select Default and then click Goto Simulator. - To test the setup click various inputs; corresponding outputs will be enabled (e.g., Input 1 will enable Output 1).
Tip "
E 2013 Rockwell Automation, Inc. All rights reserved.
Graphics should be displayed with no wire frames or missing tags.
Rev. March 2013 CCP154_GeneralSetup
General Setup: Structured Text/Sequential Function Chart Programming
During Use / Best Practices
7
Changing Labels Each exercise indicates which set of device labels to select: - To change the device labels click the Goto Device Label Selector button on the bottom of the Main Device page:
- Select your application and then click the Goto Simulator button to return. - A default set of labels that can be used with any exercise is provided.
Stopping and Restarting the Simulator Do not shut down the FactoryTalk View ME Station screen or the RSLogix Emulate 5000 Chassis monitor between exercises: - If you must shut down at the end of class, please do so in this order:
- Click the Shutdown Simulator button in FactoryTalk View
Tip "
ME Station. - Go offline with the controller and then close the RSLogix Emulate 5000 Chassis monitor. If the RSLogix Emulate 5000 Chassis monitor gives an error message, open the task manager ([Ctrl]+[Alt]+[Delete]) and close the RSLogix Emulate 5000 Chassis monitor. - To restart the software simulator, use the steps in the testing section of this document.
Enhancing Use The following tips may enhance your instructor setup and student experience: Instructor Setup: - Consider obtaining extra thumb drives with the ghosted images to expedite the setup Student Experience: - Minimize the RSLogix Emulate 5000 Chassis monitor for the students. - Consider one computer per person instead of sharing. - Consider an optional second computer monitor to separate the software simulator screen from the Logix Designer application.
Rev. March 2013
E 2013 Rockwell Automation, Inc. All rights reserved. CCP154_GeneralSetup
8
General Setup: Structured Text/Sequential Function Chart Programming
E 2013 Rockwell Automation, Inc. All rights reserved.
Rev. March 2013 CCP154_GeneralSetup
Exercise Setup: Programming Assignments, Expressions and Instructions in Structured Text
9
Exercise Setup: Programming Assignments, Expressions and Instructions in Structured Text within a Logix Designer Project ControlLogix Workstation Required Hardware and Software
The following hardware and software is required for this exercise: x ControlLogix workstation x Ethernet/IP network
x Computer with the following software installed: - RSLinx Classic - Studio 5000
Tip " Software Workstation Required Software
For more detailed hardware, software, and workstation information, see the General Setup for CCP154. A computer with the following software installed is required for this exercise: x RSLinx Classic x Studio 5000
x RSLogix Emulate 5000 x FactoryTalk View ME Station
Tip "
For more detailed hardware, software, and workstation information, see the General Setup for CCP154.
Exercise File
This exercise requires the following AIST_1756r_A1.acd project file.
Exercise Setup
A driver configured in RSLinx Classic software for communications between the computer and the ControlLogix and software workstation.
Recommended Job Aids
The following job aid is recommended for use with this exercise: x Studio 5000 Logix Designer and Logix5000 Procedures Guide
Rev. March 2013
E 2013 Rockwell Automation, Inc. All rights reserved. AISTe56r_setup
10
Exercise Setup: Programming Assignments, Expressions and Instructions in Structured Text
E 2013 Rockwell Automation, Inc. All rights reserved.
Rev. March 2013 AISTe56r_setup
Exercise Setup: Programming Constructs and Comments in Structured Text
11
Exercise Setup: Programming Constructs and Comments in Structured Text within a Logix Designer Project ControlLogix Workstation Required Hardware and Software
The following hardware and software is required for this exercise: x ControlLogix workstation x Ethernet/IP network
x Computer with the following software installed: - RSLinx Classic - Studio 5000
Tip " Software Workstation Required Software
For more detailed hardware, software, and workstation information, see the General Setup for CCP154. A computer with the following software installed is required for this exercise: x RSLinx Classic x Studio 5000
x RSLogix Emulate 5000 x FactoryTalk View ME Station
Tip "
For more detailed hardware, software, and workstation information, see the General Setup for CCP154.
Exercise File
This exercise requires the following CCST_1756r_A1.acd project file.
Exercise Setup
A driver configured in RSLinx Classic software for communications between the computer and the ControlLogix and software workstation.
Recommended Job Aids
The following job aid is recommended for use with this exercise: x Studio 5000 Logix Designer and Logix5000 Procedures Guide
Rev. March 2013
E 2013 Rockwell Automation, Inc. All rights reserved. CCSTe56r_setup
12
Exercise Setup: Programming Constructs and Comments in Structured Text
E 2013 Rockwell Automation, Inc. All rights reserved.
Rev. March 2013 CCSTe56r_setup
Exercise Setup: Designing a Sequential Function Chart
13
Exercise Setup: Designing a Sequential Function Chart Required Hardware and Software
N/A
Exercise File
N/A
Exercise Setup
This is a paper-based exercise and requires no setup.
Recommended Job Aids
N/A
Rev. March 2013
E 2013 Rockwell Automation, Inc. All rights reserved. DESFe56r_setup
14
Exercise Setup: Designing a Sequential Function Chart
E 2013 Rockwell Automation, Inc. All rights reserved.
Rev. March 2013 DESFe56r_setup
Exercise Setup: Programming a Sequential Function Chart in a Logix Designer Project
15
Exercise Setup: Programming a Sequential Function Chart in a Logix Designer Project ControlLogix Workstation Required Hardware and Software
The following hardware and software is required for this exercise: x ControlLogix workstation x Ethernet/IP network
x Computer with the following software installed: - RSLinx Classic - Studio 5000
Tip " Software Workstation Required Software
For more detailed hardware, software, and workstation information, see the General Setup for CCP154. A computer with the following software installed is required for this exercise: x RSLinx Classic x Studio 5000
x RSLogix Emulate 5000 x FactoryTalk View ME Station
Tip "
For more detailed hardware, software, and workstation information, see the General Setup for CCP154.
Exercise File
This exercise requires the following PSFC_1756r_A1.acd project file.
Exercise Setup
A driver configured in RSLinx Classic software for communications between the computer and the ControlLogix or software workstation.
Recommended Job Aids
The following job aid is recommended for use with this exercise: x Studio 5000 Logix Designer and Logix5000 Procedures Guide
Rev. March 2013
E 2013 Rockwell Automation, Inc. All rights reserved. PSFCe56r_setup
16
Exercise Setup: Programming a Sequential Function Chart in a Logix Designer Project
E 2013 Rockwell Automation, Inc. All rights reserved.
Rev. March 2013 PSFCe56r_setup
Exercise Setup: Testing a Sequential Function Chart in a Logix Designer Project
17
Exercise Setup: Testing a Sequential Function Chart in a Logix Designer Project ControlLogix Workstation Required Hardware and Software
The following hardware and software is required for this exercise: x ControlLogix workstation x Ethernet/IP network
x Computer with the following software installed: - RSLinx Classic - Studio 5000
Tip " Software Workstation Required Software
For more detailed hardware, software, and workstation information, see the General Setup for CCP154. A computer with the following software installed is required for this exercise: x RSLinx Classic x Studio 5000
x RSLogix Emulate 5000 x FactoryTalk View ME Station
Tip "
For more detailed hardware, software, and workstation information, see the General Setup for CCP154.
Exercise File
This exercise requires the following TSSF_1756r_A1.acd project file.
Exercise Setup
A driver configured in RSLinx Classic software for communications between the computer and the ControlLogix or software workstation.
Recommended Job Aids
The following job aid is recommended for use with this exercise: x Studio 5000 Logix Designer and Logix5000 Procedures Guide
Rev. March 2013
E 2013 Rockwell Automation, Inc. All rights reserved. TSSFe56r_setup
18
Exercise Setup: Testing a Sequential Function Chart in a Logix Designer Project
E 2013 Rockwell Automation, Inc. All rights reserved.
Rev. March 2013 TSSFe56r_setup
Exercise Setup: Storing and Resetting Sequential Function Chart Data in a Logix Designer Project
19
Exercise Setup: Storing and Resetting Sequential Function Chart Data in a Logix Designer Project ControlLogix Workstation Required Hardware and Software
The following hardware and software is required for this exercise: x ControlLogix workstation x Ethernet/IP network
x Computer with the following software installed: - RSLinx Classic - Studio 5000
Tip " Software Workstation Required Software
For more detailed hardware, software, and workstation information, see the General Setup for CCP154. A computer with the following software installed is required for this exercise: x RSLinx Classic x Studio 5000
x RSLogix Emulate 5000 x FactoryTalk View ME Station
Tip "
For more detailed hardware, software, and workstation information, see the General Setup for CCP154.
Exercise File
This exercise requires the following SRSF_1756r_A1.acd project file.
Exercise Setup
A driver configured in RSLinx Classic software for communications between the computer and the ControlLogix or software workstation.
Recommended Job Aids
The following job aid is recommended for use with this exercise: x Studio 5000 Logix Designer and Logix5000 Procedures Guide
Rev. March 2013
E 2013 Rockwell Automation, Inc. All rights reserved. SRSFe56r_setup
20
Exercise Setup: Storing and Resetting Sequential Function Chart Data in a Logix Designer Project
E 2013 Rockwell Automation, Inc. All rights reserved.
Rev. March 2013 SRSFe56r_setup
Exercise Setup: Resetting and Pausing a Sequential Function Chart in a Logix Designer Project
21
Exercise Setup: Resetting and Pausing a Sequential Function Chart in a Logix Designer Project ControlLogix Workstation Required Hardware and Software
The following hardware and software is required for this exercise: x ControlLogix workstation x Ethernet/IP network
x Computer with the following software installed: - RSLinx Classic - Studio 5000
Tip " Software Workstation Required Software
For more detailed hardware, software, and workstation information, see the General Setup for CCP154. A computer with the following software installed is required for this exercise: x RSLinx Classic x Studio 5000
x RSLogix Emulate 5000 x FactoryTalk View ME Station
Tip "
For more detailed hardware, software, and workstation information, see the General Setup for CCP154.
Exercise File
This exercise requires the following RPSF_1756r_A1.acd project file.
Exercise Setup
A driver configured in RSLinx Classic software for communications between the computer and the ControlLogix or software workstation.
Recommended Job Aids
The following job aid is recommended for use with this exercise: x Studio 5000 Logix Designer and Logix5000 Procedures Guide
Rev. March 2013
E 2013 Rockwell Automation, Inc. All rights reserved. RPSFe56r_setup
22
Exercise Setup: Resetting and Pausing a Sequential Function Chart in a Logix Designer Project
E 2013 Rockwell Automation, Inc. All rights reserved.
Rev. March 2013 RPSFe56r_setup
Catalog Number ABT-CCP154-TIS - March 2013 Supersedes Catalog Number ABT- CCP-154-TIS - June 2012
E 2013 Rockwell Automation, Inc. All rights reserved. Printed in USA