Professional Documents
Culture Documents
3820 Tt4 App Principiantes
3820 Tt4 App Principiantes
Student Workbook
Course No. 3820
Turbotronic™ 4 Applied Principles
Student Workbook
3820
Technical Training
Technical Training
Turbotronic™ 4 Applied
Principles
Student Workbook
Course No. 3820
Solar, Saturn, Centaur, Mars, Mercury, Taurus, Titan, SoLoNOx, and Turbotronic are
trademarks of Solar Turbines Incorporated. Cat and Caterpillar are trademarks of Caterpillar Inc.
Specifications subject to change without notice. Printed in the U.S.A.
CONTENTS
Chapter Page
LIST OF ILLUSTRATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
LIST OF TABLES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi
INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxiii
Chapter Page
Chapter Page
Chapter Page
Chapter Page
Chapter Page
FORCING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . 9.28
BIT FORCING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . 9.29
STUDENT EXERCISE - BIT FORCING . . . . . . . . . . . . . . . . . . . . . . . .. . 9.32
FORCING ANALOG INPUT VALUES . . . . . . . . . . . . . . . . . . . . . . . . .. . 9.33
FORCING ANALOG OUTPUT VALUES . . . . . . . . . . . . . . . . . . . . . . .. . 9.34
STUDENT EXERCISE - FORCING ANALOGS. . . . . . . . . . . . . . . . . . . .. . 9.36
TOGGLE FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . 9.37
STUDENT EXERCISE - TOGGLING. . . . . . . . . . . . . . . . . . . . . . . . . .. . 9.38
LOCKING THE CONTROLLER . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . 9.39
INTRODUCTION TO ONLINE EDITING . . . . . . . . . . . . . . . . . . . . . . . .. . 9.40
ONLINE EDITS SCREENS FOR RSLOGIX 5000 VERSION 13 . . . . . . . . . .. . 9.44
APPENDIX
A APPENDIX A - PROJECT EDITING EXERCISE
B APPENDIX B - BASIC INSTRUCTION SET
C APPENDIX C - ANALOG MODULE SCALING INFO
D APPENDIX D - COMMON ABBREVIATIONS AND ENGINEERING UNITS
LIST OF ILLUSTRATIONS
Figure Page
Figure Page
Figure Page
Figure Page
Figure Page
Figure Page
Figure Page
Figure Page
Figure Page
LIST OF TABLES
Table Page
INTRODUCTION
COURSE OBJECTIVES
Upon successful completion of this course, the student
will be able to:
METHODOLOGY
PRE-REQUISITE TRAINING
MATERIALS
1. Student Workbook
• RSLinx
• PCC Card and Cable
• Serial Cable
• Ethernet Crossover Cable
4. RSLogix5000 Familiarization
OBJECTIVES
On completion of this lesson the student will be able to:
INTRODUCTION
To ensure that the TT4 control system functions
correctly, preserves a correct database and file
structure, and is easily maintained, it is important
to understand the function of the various software
applications and tools that are used on a TT4 control
system project.
This lesson will identify the various software
applications and tools, and briefly describe the
function of each. Many of the applications and tools
will be used in the hands on exercises that are part
of this training course.
• RSLinx
RSLogix 5000
RSLogix 5000 is the programming software used with
Turbotronic 4 projects. The software file contains a
Task, which consists of a series of Programs necessary
to allow the turbine package to operate in a safe
manner. Each program is made up of a series of
Routines. The Routines contain the actual control
logic, both ladder and function block, necessary to run
the turbine package. The software file (or ACD file)
resides in the Controller.
RSLinx
RSLinx is used to configure the communications
drivers and establish communications between the
Controller and the programming terminal. Multiple
drivers can be configured and used, depending on the
hardware included with the project and the Field
Programming Unit (FPU), including:
• PCIC ControlNet
• EtherNet
a. RSLogix 5000
b. RSLinx
b. RSLinx
b. RSLinx
c. RSNetworx for ControlNet
NOTES:
NOTES:
ANSWER KEY
a. RSLogix 5000
b. RSLinx
b. RSLinx
b. RSLinx
c. RSNetworx for ControlNet
OBJECTIVES
Upon completion of this lesson the student will be
able to:
Example:
• PD Number - PD75721
PROJECT TOOLS
The first tool to be used will take the project files from
the FOW or Project CD and load them correctly onto
the programming terminal.
b. Select Job
c. Check Complete Job checkbox
NOTE
The tools will automatically create the
directory C:\Jobs, if it does not already exist.
c. Revision Control
a. C:\Jobs
b. C:\Turbotronic Projects
c. C:\My Documents\Jobs
NOTES:
ANSWER KEY
c. Revision Control
a. C:\Jobs
b. C:\Turbotronic Projects
c. C:\My Documents\Jobs
NOTES:
OBJECTIVES
Upon completion of this lesson the student will be
able to:
1. Open RSLogix 5000 on the programming
terminal.
INTRODUCTION
When RSLogix 5000 is installed, a program icon
(shortcut) is placed in the normal Windows Start
Menu. On Solar-supplied programming terminals a
shortcut may also exist in the Controls Applications
folder on the desktop.
NOTE
Various versions of the RSLogix5000
application are available. The initial release
Solars Turbotronic 4 control system used
version 10.xx, whereas later projects will
require version 13.xx. Although the basic
functionality is either identical or similar,
many of the menus, icons, and keystrokes
may differ slightly. This lesson will primarily
demonstrate the basic functions of version
10.xx, with any deviation due to version
13.xx also being demonstrated as the lesson
progresses.
Toolbars
Controller Organizer
Results Window
Standard Toolbar
Online Toolbars
Two different Online Toolbars are available, and
both are shown in Figure 3.7. The toolbar on the left
displays the controller status when online, and the
controller mode can be selected. Forces can be enabled
and disabled. The toolbar on the right (called the
Classic Online) duplicates the same information in
a different format, and also has the communications
path displayed. There is little need to have both
toolbars displayed.
Path Toolbar
NOTES:
OBJECTIVES
Upon successful completion of this lesson, the student
will be able to:
1. Demonstrate familiarity with the principal
RSLogix 5000 toolbar functions.
INTRODUCTION
The RSLogix 5000 program features that will normally
be used most often in the field are those relating to
accessing, modifying and saving program files. These
features will be discussed and illustrated in this
lesson. While many of the features and functionality
is either similar or identical between RSLogix 5000
versions 10.xx and 13.xx, any major differences will be
covered as the lesson progresses.
Window Configuration
NOTES:
File Menu
Clicking on File will give the drop down box as shown
in Figure 4.4.
Edit Menu
Clicking on Edit will open the drop down menu shown
in Figure 4.6. Many of the commands are standard
Windows commands (Undo; Redo; Cut; Copy; Paste;
Delete).
View Menu
Figure 4.11 shows the View menu for version 13.xx.
This is the same as for version 10.xx, but with the
addition of the Watch command.
Search Menu
Figures 4.15 and 4.16 show the Search menus for
the different versions of RSLogix 5000. The basic
functions are similar, and will be covered first.
Logic Menu
Communications Menu
Clicking on Communications will open the drop
down menu shown in Figure 4.27.
Controller Modes
Tools Menu
In addition to the configuration Options covered
previously, the following are some of the major
functions of the Tools Menu.
SUMMARY
Only some of the main functions used by Solar during
normal monitoring and editing of the project have
been covered in this lesson. Additional functions
may be used occasionally, and the RSLogix 5000
Help menus are an excellent source of any additional
explanations that may be required.
STUDENT EXERCISES
_____________________________________________
10. Enter the text Ignition in the Find box, and use
the Find button to locate the rung where the
Ignition Timer Preset value is written to the
timer (normally in a MUL instruction).
_____________________________________________
_____________________________________________
_____________________________________________
OBJECTIVES
Upon successful completion of this lesson, the student
will be able to:
1. Describe the project configuration used by Solar.
INTRODUCTION
This lesson covers the Turbotronic 4 software
architecture, meaning the aspects of the software that
are not directly used to control the engine and its
driven equipment. There are many ways to accomplish
the tasks that the controller needs to perform to
control the package; this lesson will cover how Solar
Turbines organizes these tasks to do it.
PROJECT CONFIGURATION
Solar projects are organized in three basic levels of
hierarchy:
1. TASK
2. PROGRAM
3. ROUTINE
Tasks
The highest level of logic organization in RSLogix
5000 is the TASK.
Programs
The next level of logic organization is the PROGRAM.
Unscheduled Programs
NOTES:
NOTES:
PROGRAM TYPES
In order to describe the function of the various
programs, they can be categorized into four different
types:
1. I/O Control Programs
4. Framework Programs
Ancillary Monitors and controls all ancillary devices, including the battery charger, air
inlet filters, and water wash.
Cpsr_Monitoring Monitors compressor suction and discharge pressure and temperature.
Cpsr_Seal Monitors and controls the wet or dry seal system.
Enclosure Monitors and controls all enclosure devices, including the fire and gas
system and enclosure ventilation.
Exhaust Controls engine purge and waste heat recovery system.
Fuel Monitors NGP, NPT, PCD, T1, T5, and T7 to control gas and/or liquid fuel
system, bleed valve and guide vane.
Generator Monitors and controls the generator, circuit breaker, and utility breaker.
HPC_Shaft_Brg Monitors the HP compressor vibration and bearing temperature.
LPC_Shaft_Brg Monitors the LP compressor vibration and bearing temperature.
IPC_Shaft_Brg Monitors the IP compressor vibration and bearing temperature.
Load_Shed Monitors generator status and spinning reserve to shed loads on loss of
generator.
Lube Monitors and controls lube oil system components.
Process_Control Performs compressor process control for engine speed setpoint and surge
protection.
Project_Specials Contains logic for all custom features that do not impact logic in other
programs.
Shaft_Bearing Monitors engine vibration and bearing temperature.
Start Controls and monitors all start system functions.
Yard_Valves Monitors and controls yard valves.
Interface Programs
1. HMI
2. Serial_Interface
Framework Program
ROUTINES
The lowest organization of logic in RSLogix 5000 is
the ROUTINE. Routines generally consist of small
sections of logic dedicated to a package sub-system or
other logic. For example in the Lube program shown
in Figure 5.4 there is a separate routine only for the
Tank Level Switch, and another separate routine only
for the Post Lube logic.
Routine Comments
Routine Descriptions
Inhibiting a Program
Figure 5.8 illustrates a function that is only available
is RSLogix Version 13.xx - inhibiting a program from
the Program Properties window. When the check box
was selected and the Apply was clicked, the small
icon appeared next to the program indicating that
it is inhibited, and no longer being scanned by the
controller. This function should only be used with
great care during troubleshooting or testing.
1. _100_kw_Percent_000
2. _110_kw_Setpoint_000
NOTES:
_____________________________________________
_____________________________________________
_____________________________________________
_____________________________________________
_____________________________________________
_____________________________________________
_____________________________________________
a. _010_Lube_001
b. Lube_0126_001
c. 010_Lube_001
d. Lube_001_0126
b. _030_ Tank_Heater_001
c. Tank_Heater_001
d. 030 Tank Heater 001
_____________________________________________
_____________________________________________
_____________________________________________
_____________________________________________
NOTES:
NOTES:
ANSWER KEY
TASK (Turbomachinery_Task)
PROGRAM
ROUTINE
I/O Control
Package State
Interface
Framework
b) Lube_0126_001
b) 030_ Tank_Heater_001
NOTES:
_____________________________________________
_____________________________________________
_____________________________________________
NOTES:
_____________________________________________
_____________________________________________
_____________________________________________
_____________________________________________
_____________________________________________
_____________________________________________
NOTES:
_____________________________________________
_____________________________________________
_____________________________________________
NOTES:
OBJECTIVES
Upon successful completion of this lesson, the student
will be able to:
1. Describe the structure of RSLogix 5000 tag
databases.
INTRODUCTION TO TAGS
Some students may already be familiar with control
system programming software that used Data Files to
store data of similar types. Previous control systems
used by Solar used AB6200 programming software.
This program employed data files including the
following common examples:
• I - Discrete Inputs
• O - Discrete Outputs
• B3 - Internal Bits
• F8 - Floating Points
TAG DEFINITION
To create a new tag, three items need to be defined:
1. Tag Name
2. Tag Scope
3. Data Type
Tag Name
Tag Scope
1. Pre-Defined
2. Module-Defined
3. User-Defined
Pre-Defined
These are commonly used memory sizes or tag
structures that are already defined in the software.
Figure 6.2 shows where a full list of the pre-defined
data types can be found in RSLogix 5000.
The first part of the tag name will be the name of the
relevant ACNR for that node. The name chosen for
the ACNR is irrelevant as far as RSLogix 5000 is
concerned, however it should follow Solar naming
conventions.
Example:
The ACNR on Node 6 will have the Reference
Designator on Solar drawings of UF2060. This should
be the name allocated to the ACNR during the I/O
configuration process ( see Figure 6.5).
• 3 Module 3
• 1 Input
• 2 Channel 2
• 5 Module 5
• 1 Input
• Ch3Data Channel 3
Pre-Lube Complete
AL_S322_5_Fail
RT390
S324-1
a. Discrete Input
b. Discrete Output
c. Analog Input
HMI TAGS
The HMI tags are used to transfer data to the display
devices. The tags are grouped together within the
controller tag database in a series of Arrays (groups of
similar data). Figure 6.11 illustrates the HMI Arrays
in a typical project.
The tags in the first group are the ones that are used
as the base tags for program-scoped alias tags. Their
use will be described in the following sections.
HMI_Alarm Array
Expanding the HMI_Alarm Array folder reveals seven
arrays of the data type DINT - see Figure 6.12.
HMI_Status Array
Figure 6.15 shows the HMI_Status Arrays. On the
sample project it comprises 5 DINTs each consisting
of 32 bits. The Status array is used to pass discrete
status data to the display. For example in the fuel
program logic will be written to energize an OTE when
ignition is successful. This OTE will have an alias tag
that has the base tag HMI_Status [0].17. This tag can
then be used in the display system to highlight text on
the display screen to indicate the state of the package.
HMI_Discrete_Array
Figure 6.16 shows the HMI Discrete Arrays on a
sample project. Note the large number of DINTs
(each consisting of 32 bits) used. This is because
the HMI Discrete Array is used to load all of the
discrete data from the other arrays, to be passed to
the display at regular intervals. This function is fully
automatic, so it should never be necessary to edit the
HMI_Discrete_Arrays.
HMI_Snapshot_Array
The HMI_Snapshot_Array (shown in Figure 6.18)
performs the same function for analogs that the
HMI_Discrete_Array does for discretes - it loads
up with analog data at regular intervals, and
is then transmitted to the display. As with the
HMI_Discrete_Array this function is automatic, so
editing of the HMI_Snapshot_Array should not be
necessary.
a. Filter DP Alarm,
b. Transmitter Fail Alarm,
c. Status Bit.
NOTES:
Scaling of Analogs
Analog input devices (transmitters, thermocouple,
RTDs, speed pickups) provide an electrical signal
to an input module channel. The input module will
convert this electrical signal to data, in the form of
an integer value. The values vary from module to
module, and also depend on the channel configuration
options on any particular module. As an example, a
1794-IEB module for analog input signals will convert
a 4-20mA signal to an integer value ranging between
6240 and 31200 (when the input channel is configured
as 0-20mA).
The algorithms in the control program utilize scaled
values (expressed in Engineering Units) to perform
the necessary calculations to monitor and control the
package. Therefore, input data must be converted
from unscaled counts (raw) values into scaled values
to enable the control algorithms to function correctly.
By the same token analog outputs that are calculated
in the logic will be in engineering units (often %
command), and need to be converted back into an
integer value for the analog output module (normally
0-30840). The module will then convert this integer
value back into an electrical signal (normally 4-20mA).
Where:
Example:
NOTE
The 0-20 mA range is used to facilitate
transmitter error detection. If the current
from the transmitter is below 2.0 mA (3120)
or above 20.5 mA (31980), program logic will
annunciate a transmitter failure.
NOTE
Refer to the Analog Scaling handout for more
details on the correct values for different
types of input and output modules.
NOTES:
NOTES:
• TP363_1
• TPD345_2
• RT380
• TC382_1
UDT Analog
NOTES:
PROGRAM CONSTANTS
Solar use program constants throughout the logic
to create a formalized structure for setpoints or
tuning parameters. Some of the constants are deemed
suitable to be modifiable from the TT4000 display
Program Constants screen, i.e. without the need for
a programming terminal. These constants can only
be modified within a fixed range, and therefore the
UDT_ANALOG is a suitable data type to manage this
function (due to the EuMin and EuMax elements), as
will be seen.
Program constants that can be modified using the
display will be given the tag prefix KT_ (for Tunable),
and will then be automatically added to the TT4000
display tag database when the compiling tool is
executed. Program constants that are deemed to be
unsuitable to be modified from the display will be
given the tag prefix KF_ (for Fixed), and will then be
ignored by the TT4000 tag database compiling tool.
_____________________________________________
_____________________________________________
_____________________________________________
_____________________________________________
_____________________________________________
3. State the scope of the following types of tags:
a. UF2050:2:I.3
________________________________________
b. HMI_Analog_Array [113]
________________________________________
c. HMI_Alarm [2].12
________________________________________
d. S123_1
________________________________________
e. UF2040:3:I.Ch3Data
________________________________________
f. AN_HPC_Suction_Press
________________________________________
g. FL_Lube_Temp_HH
________________________________________
_____________________________________________
5.
a. Valve_Check_TON
b. TON_Valve_Check
c. TIMER_ON_Valve_Check
d. Valve_Check_TIMER_ON
6. State the purpose of the Program Response tags.
_____________________________________________
_____________________________________________
_____________________________________________
_____________________________________________
8. What is the data type for the members of the
HMI_Analog_Array?
_____________________________________________
_____________________________________________
_____________________________________________
11. What instruction is used to scale an analog input
in a Solar RSLogix project?
_____________________________________________
_____________________________________________
_____________________________________________
_____________________________________________
_____________________________________________
_____________________________________________
_____________________________________________
14. Which of the following tags are valid, according
to Solar naming conventions?
a. AL_TP567_1_HH
b. FN_TP345_3_LL
c. KT_Underspeed_Setpoint
d. CTU_Surge Detect_Counter
NOTES:
ANSWER KEY
Pre-Defined
Module-Defined
User-Defined
Program-Scoped
Controller-Scoped
3. State the scope of the following types of tags:
a. UF2050:2:I.3
Controller
b. HMI_Analog_Array [113]
Controller
c. HMI_Alarm [2].12
Controller
d. S123_1
Program
e. UF2040:3:I.Ch3Data
Controller
f. AN_HPC_Suction_Press
Program
g. FL_Lube_Temp_HH
Program
TPD357_3
5.
32
REAL
9. What instruction is normally used to check an
analog input for validity?
LIM
UDT_ANALOG
CPT (Compute)
12. What are the four member of the UDT_ANALOG?
VAL
EU MAX
EU MIN
EU
b. FN_TP345_3_LL
c. KT_Underspeed_Setpoint
OBJECTIVES
Upon successful completion of this lesson, the student
will be able to:
1. Complete the editing exercise scenario detailed
in Appendix A, using the project elements and
tags created in the previous exercises.
INSTRUCTIONS
Using the project elements and tags created during
the previous lessons, complete the editing scenario
described in Appendix A.
NOTE
If the editing has not been completed in
stages during the previous lessons, then jump
to Appendix A now and complete the entire
editing exercise.
OBJECTIVES
Upon successful completion of this lesson, the student
will be able to:
SYSTEM COMPONENTS
An electric heater is installed in the tank for this
purpose. An RTD is installed to measure the oil
temperature.
ROUTINE PURPOSE
Refer to Figure 8.3 for the following description:
XIO
OTL
OTE
RUNG FUNCTIONS
To evaluate the functional characteristics of the logic
in the sample routine, view Rung 1 in Figure 8.4.
Should the oil level in the tank fall below the switch
setpoint, the Normally Open contacts will open; the
XIO instruction will then be TRUE; and the OTL will
be activated. The Alarm bit AL_S388_1_L will be set,
and the base tag HMI_ALARM[4].0 will also be set.
HARDWARE-SOFTWARE INTERFACE
As explained previously, the I/O modules perform the
conversion of digital data to electrical signals (and
vice versa). To see the complete path between an end
device and the logic, both the Electrical Schematic and
the controller program are required. The following is
an example illustrating the relationships:
In the routine discussed above
(010_Tank_Level_Sw_Lo_000), the
hardware inputs to the logic are S388-1 and S388-2.
These devices are located on the electrical schematic
sheet shown in Figure 8.5.
NOTE
The instructor will provide additional
examples from the Lube program, or another
program.
S324_1
S322-5
LOGIC FAMILIARIZATION
The remainder of this lesson comprises a series of
student exercises. The student will be directed to
navigate through common examples of turbine logic
to answer various questions. This will provide both
a better understanding of common logic functions,
and also some of the search functions necessary to
troubleshoot common system faults.
NOTE
Some of the examples may not be applicable
to all projects, and the instructor may elect
to provide other examples.
• GAS ___________________________________
• LIQUID ________________________________
_____________________________________________
_____________________________________________
_____________________________________________
________________________________________
• The tag PGM_Fuel.Ignition is used in the
same routine. Trace this tag back to the
Fuel program and locate the routine name
and rung number where this is set, and the
basic logic involved.
• Routine name and rung number = _______
________________________________________
________________________________________
6. What are the Alias Tag and Base Tag for the
Ignition Failure shutdown?
• Alias Tag = ____________________________
________________________________________
________________________________________
________________________________________
• Channel Number =______________________
_____________________________________________
_____________________________________________
_____________________________________________
_____________________________________________
_____________________________________________
_____________________________________________
• Program = _____________________________
_____________________________________________
_____________________________________________
_____________________________________________
• Rung = _________________________________
• Type of Instruction = ____________________
• Source A = _____________________________
_____________________________________________
_____________________________________________
_____________________________________________
NOTE
A sample range of common alarms and
shutdowns have been given, but that these
may not be applicable to all projects. In some
cases the exact tag name may differ slightly,
whilst in other cases the specified alarm or
shutdown may not exist in that project. The
instructor may elect to provide additional
examples.
AL_24Vdc_Supply_L
AL_RT396_H
FN_Ignition_Fail
FN_Ngp_Over_Speed
CL_T5_TC_Fail
FN_Crank_Failed
FN_Accel_Failed
FN_B322_Fail
FL_T5_TC_Light_Around_Fail
OBJECTIVES
Upon successful completion of this lesson, the student
will be able to:
1. Demonstrate the ability required to go online
with an RSLogix controller.
INTRODUCTION
This lesson concludes the course by allowing the
student to go online with an RSLogix 5000 Controller
and perform some simple operations when on line.
ControlNet
Ethernet
An Ethernet crossover cable can be connected between
a dedicated Ethernet module installed in the controller
chassis and the network port of the programming
terminal.
Whichever method is chosen for communication, the
first step will always be to set up a suitable driver in
RSLinx.
a. RS232
b. ControlNet
c. Ethernet
2. Select Communications.
1. Open RSLinx.
2. Select Communications.
3. Select Configure Drivers.
8. Select OK.
1. Open RSLinx.
2. Select Communications.
3. Select Who Active.
Going Online
Once the communications drivers have been set up
using RSLinx, it is now possible to go online using
RSLogix 5000 to download to the controller or view
and edit the control logic software. The following will
detail the method to establish communications using
the different drivers. Complete the first portion, and
then choose one communications driver and go on to
download to the controller.
NOTE
DOWNLOAD = PROGRAMMING
TERMINAL TO CONTROLLER
UPLOAD = CONTROLLER TO
PROGRAMMING TERMINAL
Downloading
We will assume for the moment that there is currently
no program in the controller. The next step is therefore
to download a program to the controller.
1. After selecting Go Online in any of the above
methods of communication the dialog box shown
in Figure9.21 will appear. If a project is currently
open in RSLogix then this will be the Offline
Project shown in Figure 9.21. If the Offline
Project exactly matches the project in the
controller, then Go Online may be selected.
Run Mode
When the project has been downloaded the controller
will remain in the Remote Program Mode. Refer to
Figure 9.24 and observe that:
1. Remote Program is indicated in the Controller
Status,
Uploading
If the controller already has a program, and you
wish to go online, then Go Online would be the
option to choose. However if the projects do not match
exactly, then this will not be allowed. In this situation
uploading may be the only option.
Selecting Upload from the Communications menu
will cause the software to use the selected path to
go online, and the screen shown in Figure 9.26 will
appear.
NOTE
The tag and rung descriptions are not resident
in the controller memory, therefore uploading
(other than to a file on the programming
terminal with the same name) will cause the
loss of all descriptions from the project.
Recommended Procedures
In summary, the recommended procedure is:
Forcing
Both Bit and Analog values can be forced (online only)
using the following procedures.
Bit Forcing
Forces are made in the routines by right clicking the
selected instruction and selecting either Force On or
Force Off. The force will not take effect immediately
unless the forces have already been enabled. This
is illustrated in Figure 9.29. Note that the three
options are:
1. Force On
2. Force Off
3. Remove Force
With the forces created and enabled, the value for the
analog will display in Red if viewed from the logic
- see Figure 9.34.
Toggle Function
This function may be used to change the state of
boolean or discrete tag. If the tag is ON it will toggle to
OFF and, likewise if the tag is OFF will toggle to ON.
If the edits are not required then the icon to the right
allows for Untest Program Edits.
If the edits are required then the final step is to
Assemble Program Edits, as indicated in Figure
9.15.
Note that Figure 9.47 illustrates the screen for
Assemble Program Edits in RSLogix version 13.
NOTES:
STUDENT EXERCISE
_____________________________________________
_____________________________________________
_____________________________________________
_____________________________________________
_____________________________________________
_____________________________________________
3. Loading a project from a programming terminal
to the controller is:
a. Upload
b. Download
4. What action is required following the creation
of a force?
_____________________________________________
_____________________________________________
_____________________________________________
_____________________________________________
_____________________________________________
_____________________________________________
NOTES:
ANSWER KEY
ControlNet
Ethernet
RSLinx
3. Loading a project from a programming terminal
to the controller is:
Download
INTRODUCTION
These exercises will be completed as an instructor-led
activity as the appropriate subjects are introduced
during the various lessons.
The intent is to reinforce the lessons on software
architecture, tags and programming conventions by
completing edits of a typical Solar project in RSLogix
5000.
The edits are fairly simple, but are typical of normal
site activities, and will use as many of the Solar
programming techniques and conventions as possible.
SCENARIO:
Analog Input
Discrete Input
Discrete Output
Status Bit
GENERAL INSTRUCTIONS:
NOTE
The material in the following lesson was
covered in the Control System Principles
on-line training course, and is therefore only
included here as reference material, to be
used in the event that a refresher is required
prior to completing this course.
OBJECTIVES
INTRODUCTION
• Bit Instructions
BIT INSTRUCTIONS
COMBINING LOGIC
NOTE
NOTE: Although our industry-standard
representation of the truth table in Figure B.5
(and the remaining symbolic logic examples)
shows 1 or 0 as the inputs, when we transpose
this to ladder logic we MUST think of TRUE
or FALSE status (or SET and CLEARED). As
explained above, input instructions can be in
either condition with a 1 or a 0, depending
on the input state, depending on the type of
instruction used (XIC or XIO).
If the logical objective is to enable either input to
energize the output, branched logic could be utilized,
as in the following example:
STUDENT ACTIVITY
STUDENT ACTIVITY
STUDENT ACTIVITY
With the rung TRUE, the Accum value and status bit
.TT are cleared, and status bits .EN and .DN are set.
When the rung goes FALSE, the EN bit is cleared,
the TT bit is set, and the Accum value begins to
accumulate time. When the .ACC value is equal to the
.PRE value, the .DN and .TT bits are cleared. The
timer is said to be “timed out”. The timer is reset
when the rung goes TRUE (whether the timer has
timed out or not).
Valid elements of the instruction can be referenced by
other instructions, as in the following examples for
Pump_Lag_Delay-Pre_Post_TOF :
Count Up (CTU):
COMPARE INSTRUCTIONS
Subtract (SUB):
Multiply (MUL):
Divide (DIV):
Compute (CPT):
Move (MOV):
Introduction
Using the logic instructions learned in this lesson,
create ladder logic to perform the functionality of the
following written descriptions.
Use the names given in the descriptions as the Tag
Addresses for inputs, outputs, and other instructions.
Step 1
When Input_1 is ON, turn ON Output_1.
Step 2
When Input_1 or Input_2 is ON, turn ON Output_1.
Step 3
When Input_1 or Input_2 is ON, and Input_3 is OFF, turn ON Output_1.
Step 4
Have Output_1 remain ON even if any of the three inputs change state.
Step 5
Turn Output_1 back off when Input_4 is ON.
Step 6
When Output_1 is ON, turn ON Output_2 after 10 seconds using Timer_1.
Step 7
Turn ON Output_3whenever Timer_1 is timing.
Step 8
Turn OFF Output_2 3 seconds after Timer_1 has timed out. UseTimer_2.
Step 9
Reset Timer_2 when Input_5 is ON.
Step 10
Count the number of times Timer_2 times out, up to a maximum of 5. Use Counter_1.
Step 11
Turn Output 4 ON when Timer_2 has timed out 5 times.
Step 12
When Output_4 is ON, initiate a TOF with a Preset of 15 seconds. Use Timer_3.
Step 13
Reset Counter_1 15 seconds after Output_3 is ON.
Step 15
When Output_5 is ON, modify the existing logic for Output_3 to be ON when Timer_2 has timed
out 10 times.
When the exercises have been completed, refer to the answer sheets that follow.
Step 1
When Input_1 is ON, turn ON Output_1.
Step 2
When Input_1 or Input_2 is ON, turn ON Output_1.
This is an example of an OR gate either Input_1 OR Input_2 will turn on the output.
Step 3
When Input_1 or Input_2 is ON, and Input_3 is OFF, turn ON Output_1.
Step 4
Have Output_1 remain ON even if any of the three inputs change state.
By using a latch (OTL) rather than an OTE we can have the output remain on after initial
energizing, even if the rung conditions change. This is commonly used by Solar in Alarm and
Shutdown annunciation, but also has practical uses in logic sequencing.
Step 5
Turn Output_1 back off when Input_4 is ON.
Using an Unlatch (OTU) with the same address resets latches (OTLs).
Step 6
When Output_1 is ON, turn ON Output_2 after 10 seconds using Timer_1.
Timers are commonly used in Solar logic applications, with the most common being the TON.
The TON will start to increment time when the rung transitions from False to True.
Note the . Since all RSLogix timers increment in milli-seconds, so this is a 10 second timer.
When the ACC = PRE the DN (Done) bit will become true since the timer has timed out.
The DN bit is then used to sequence further actions in this case turning on another output.
Note that although the DN bit is the most commonly used timer element, other elements are also
available the EN (Enable) and TT (Timer Timing).
Step 7
Turn ON Output_3 whenever Timer_1 is timing.
As mentioned in Step 6, various timer elements are available for use in the ladder logic. In this
case we have used the TT (Timer Timing) bit to turn on an output. This has some practical
applications in having lamps flash or ramping an analog output signal up or down.
Step 8
Turn OFF Output_2 3 seconds after Timer_1 has timed out. Use Timer_2.
This illustrates how to have an output cycling on and off, for example a flashing lamp. Output_1
will come on after 10 seconds and remain on for 3 seconds. Logic could be written to restart the
cycle using another timer element to condition the original rung.
Step 9
Reset Timer_2 when Input_5 is ON.
Although the question used the word reset, the RES instruction is normally only used with an
RTO timer or a Counter. The requested logic can easily be accomplished by placing an XIO
instruction on the rung before the timer. When Input_5 is ON, the XIO will be FALSE, and so
the TON will be reset.
Step 10
Count the number of times Timer_2 times out, up to a maximum of 5. Use Counter_1.
The CTU (Count Up) is the most commonly used Counter. It will increment when the rung
transitions from False to True.
Note that the Counter will continue to increment beyond the Preset, therefore logic should be
written to reset the Counter when it has completed its desired function.
When ACC = PRE the DN (Done) bit becomes true, and like the Timers this element can be used
to sequence other events.
The other type of Counter is the CTD (Count Down). This acts in a similar manner to the CTU,
but is rarely used by Solar.
Step 11
Turn Output 4 ON when Timer_2 has timed out 5 times.
The DN bit from the Counter has been used to turn on another output. Practical applications
of this include Solars surge detection system, where a counter registers the number of surge
events (flow pulses) and will shutdown the unit if a certain number are detected in a certain time.
Step 12
When Output_4 is ON, initiate a TOF with a Preset of 15 seconds. Use Timer_3.
The TOF (Timer Off) requires some careful thought before use. The TOF has the DN and EN bits
set when the rung is True. It will start to increment when the rung transitions from True to False.
Hence a XIO instruction has been used in this case to condition the rung.
When the rung is True the DN and EN bits are set. As the rung transitions to False the TT bit
becomes set. When the ACC = PRE all three bits are reset.
Step 13
Reset Counter_1 15 seconds after Output_4 is ON.
This is an example of the use of TOF elements. Again careful though is required. If using the DN
or EN bits remember that these are initially set as the TOF waits for the rung to transition to False.
Hence in order to satisfy our logic requirements we have had to use an XIO instruction again.
To reset a Counter we have used the RES instruction with the same tag address as the entire
Counter.
This logic could have been completed by various methods, including a CMP (Compare)
instruction and the GEQ (Greater Than Or Equal), as used in this example.
Note that the fields in the GEQ instruction can either reference other Tags or elements (for
example comparing error signals and selecting which error to use in the fuel signal calculation),
or can be a pre-set value, as in this example. A practical example of the latter method would
be determining the number of active T5 Thermocouples, and initiating an alarm or shutdown
if the number drops.
Step 15
When Output_5 is ON, modify the existing logic for Output_4 to be ON when Timer_2 has timed
out 10 times.
This illustrates moving of values between instructions. In this example we change the preset
value of Counter_1, depending on other conditions. This technique can also be used with Timers
and various Compare instructions.
An example of this is the selection of the Ignition Timer preset dependant on the type of fuel
selected (the ignition time on liquid fuel is longer).
1771-IFE
(4 - 20mA)
1794-IE8
(0 20mA Mode)
0 counts = 0mA
3120 counts = 2.0mA (Under-range)
(4 20mA Mode)
1794-IF4I
(4-20mA signed 2s complement Mode)
1794-IF2XOF2I
(Input Mode same as 1794-IF4I)
1771-OFE1,2
(4 - 20mA)
(0 - 50mA)
0 - 4095 counts = 0 - 50mA [81.9 count/mA or 12.21
uA/count]
1794-OE4
(4 20mA)
1794-OF4I
1794-IF2XOF2I
(Output Mode same as 1794-OF4I)
1771-IR
1794-IR8
(F Mode)
1794-IT8
(F Mode)
1794-IRT8
(F Mode)
1771-IFM(S)
(mV Mode)
0 4095 counts = 0 50mV [81.9 count/mV or 12.21
uV/count]
1794-IRT8
(mV Mode)
-4000 10000 counts = -40 100mV [100 count/mV or
10 uV/count]
PREFIXES
Metric
µ - micro - 10-6 - 0.000001
M - milli - 10-3 - 0.001
C - centi - 10-2 - 0.01
K - kilo - 103 - 1,000
M - miga - 106 - 1,000,000
G - giga - 109 - 1,000,000,000
English
mm - million 106 - 1,000,000
mils - 10-3 - 0.001
A
Acceleration Accel, Acc
Acknowledge Ack
Active Act
Actual cubic feet per minute Acfm
Actuator Actr
Alternating Current Ac
Alternator Altntr, Alt
Ambient Amb
Amperage Amps, A
Anti Ant, A
Auto Aut
Auto Voltage Regulation AVR
Auxiliary Aux
Average Avg
Axial Ax
B
BackUp B/U, Bu
Bearing Brg, Bg
Bleed Bl
Bleed Valve Bv
British Thermal Units Btu
Building Bldg
C
Capacity Cap
Cavitation Cav
Celsius C
Check Chk
Closed Close, Cl
Cold Junction Cj
Command Cmd
D
Decelerate Decel
Delta Delt, Del
Delta-P DP, 1P
Direct Current Vdc, Dc
Discharge Disch, Dis
Done Dn
Drain Drn
Drive Dt
Drive End DE
E
Elevation Elev
Emission Emiss
Enable Enbl, En
Enclosure Encl, En
Engine Eng
Engine Axial Engax
Engine Contamination Factor Ecf
Engineering Units Eu
Error Err
External Ext
F
Field Current Regulation FCR
Fahrenheit d32100eF
Feedback Fb
Filter Fltr, Flt
Flow Fl
Forward Fwd
Fuel Energy Flow Wf
Full Load Flld
Frequency Freq
G
Gap Voltage GapV
Gas Fuel Gf
Gas Generator Speed NGG
Gas producer Gp
Gas producer Speed NGP
GearBox Grbx, Gb
Generator Gen
Guide Vane Gv
H
High Hi, H
High Pressure Compressor Hpc
Hourly Hr
Hourly Average Hravg, Hrav
I
Inboard Inbd, Ib
Inch In
Increase Incr, Inc
Injection Inj
J
Journal J/brg
Junction Jct
L
Level Lvl
Limit Lim
Liquid Fuel Liq fl, Lf
Liquid Liq
Load Ld
Local Lcl
Low Lo, l
Lower Heating Value LHV
Low Pressure Compressor Lpc
Lubrication Lub
Lubeoil L/oil
M
Manual Mnl
Maximum Max
Middle Mid
Minimum Min
Mode Mod, M
N
Power turbine speed NPT
Nomimal Nom
Non Drive End Nde
Non Lockout Nl
Normal cubic meter per day Nm3/d, Nm3d
O
Offset Ofs
Ohms Ohm
Open Op
OutBoard Outbd, Ob
Output Out, Op
P
Percent Pcnt, %
Performance Perf
Permanent Magnet Generator PMG
Phase Ph
Pneumatic Pneu
Position Posn, Pos
Power Pwr
Power Factor Pf
Power Turbine Pt
Power Turbine Speed Npt
Pressure Press, Prs, P
Primary Pri
Process Prcs, Pro
Process Variable Pv
Programmable Logic Controller Plc
Proximeters Prox
Pump Speed Npmp
R
Ramp Rmp
Rate Rt
Reactive Power kVAR
Recycle Rcyl
Reference Ref
Regulator Rgltr, Reg
Remote Rem
Reserve Rsv
Request Req
Required Rqd
S
Schedule Sched, Sch
Secondary Sec
Set Point Sp
Shaft Sft
Shut Down Sht Dn, Sd
Side Stream Sdstrm
Specific Gravity SG
Speed Spd, Sp
Standard cubic feet per day Scfd
Standard cubic feet per hour Scfh
Standard cubic feet per minute Scfm
Standard cubic meter per day Scmd
Standard cubic meter per hour Scmr
Standard cubic meter per minute Scmm
Starter Start, Strt
Station Sta
Subsynchronous Subsync
Suction Suct, Suc
Surge Srg
Swirler Inlet Valve SIV
System Sys
T
Temperature Temp
Thermocouple Tc
Throttle Throt
Thrust Thr
Train Tn
Transmitter Xmtr
V
Valve Vlv
Velocity Vel
Variable Frequency Drive VFD
Vibration Vib
Volts Vlts, Vlt, V
Volts Alternating Current Vac, Ac
Volts Direct Current Vdc, Dc
W
Winding Wdg
ENGINEERING UNITS