SOFTWARE TOOLS
4-2 DYNAMIC RUNG DISPLAY
The Dynamic Rung Display locates and monitors the values of all parameters ("passed" or "automatic" / "logic" or "analog") that are used on any specific block of Big Block Language (BBL) code. BBL consists of primitive, generic and application specific big blocks. A big block is a section or sub-routine of software that performs a specific function. Therefore, the Dynamic Rung Display is an excellent tool for stepping through the control programming of a Mark V. The following sections describe how to use the program. For additional information on BBLs, see Chapter 5 (Control Sequence Editor) and Appendix C of the Turbine Control Application Manual, GEH-6195. Unlike the Control Sequence Editor, the Dynamic Rung Display is used for monitoring purposes only. The unit’s control sequence program cannot be altered using this program. The following sections define the operation of the Dynamic Rung Display.
4-2.1. BBL (Sequencing/Non-sequencing)
BBL is a programming language that uses blocks of standardized control functions consisting of parameters ("passed" and/or "automatic"), and/or Primitives. BBLs are used for a specific application or function and can be defined as either sequencing or non-sequencing.
Sequencing BBLs consist entirely of Relay Ladder Diagrams (RLDs). These diagrams may be used in conjunction with
Primitives. They are the only BBLs that have sub-rungs associated with them. Selecting the source code (SRC) target changes the display currently shown to a dynamic "picture" of the logic used within the sub-rung. This picture is derived from the SRC or source/picture code (SPC) files and are accessed by the dynamic rung display. Since the BBL: ALARMS_MISC_L1 shown in Figure 4-1 consists entirely of RLDs and Primitives, it is considered a sequencing BBL.
NOTE
Non-sequencing BBLs are used to perform "analog" type calculations. Non-sequencing BBLs usually consist of several
parameters (passed and/or automatic) that are manipulated by one or more Primitives. The BBL: FSRMANV2 in Figure 4-2, uses various inputs and Primitives such as clamps and multipliers to calculate desired outputs. Non-sequencing BBLs do not have sub-rungs associated with them. Instead, they have PIC files that can be accessed by clicking on the PIC target.
K63TF1H_ALM T63TF1H_ALM Primitive: TMV K27MC1N_ALM T27MC1N_ALM Primitive: TMV K27BLN_ALM Primitive: TMV Primitive: CMP TNH L30TF L63TFH1 L30RHFLT L26CTH L26BT1H L27MC1N L49X L27BLN L27MC1N L64D_P L64D_N L41FY L27DZ Primitive: TMV PIC PIC PIC PIC L30TFX L27BLN_ALM L64D L27DZ_ALM LSC1 L63TH1H_ALM L4 L64F L49X K27BLN_ALM PIC L30RHFLTX L27MC1N_ALM L49X_ALM L26CTH_ALM L26BT1H_ALM TNL 0.0 sec 0.0 sec 0.0 sec 0.0 sec 0.0 sec 0.0 sec 0.0 sec 0.0 sec 0.00% 0.00%
NOTE
Non-sequencing BBLs have F:\UNITn\PROM\*.PIC files that permit viewing picture files. These PIC files are available for printout.
±µµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµ£ ¢ FSRMANV2 - MANUAL FUEL STROKE REFERENCE ¢ ¢ ¢ ¢FSRMAX ¬¬¬¬§ ¢ >¬¬¿¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ª¬¬¬¬¬¬¬¬¬¬¬¬¬A L60FSRG¢ ¢cur_seg_time A>B«¬¬¬¬¬¬¬-¿¬¬< >¬¬¿¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬§ ¬B ¢ ¢FSKRMAN1 max¬¬©¬§ ¨¬¬¬¬Á ¢ >¬¬¿¬¬¬¬ª¬¬¬¬¬¬¬¬¬clmp ¢ ¢ -1©§ min ¬¬¬§ ¨¬¬¬¬¬¬§ ¢ ¢ ¬¬x«¬¬¬¬¬¬¬¬ _ ¨¬ ¢ ¢ ¨¬Á / + MED FSRMAN¢ ¢FSRMAN_CMD + _/ «¬¬O¬¬¬¬SEL«¬ª¬¬/«¬ª/«¬¬¬¬¬¬¬¬¿¬¬< >¬¬¿¬¬¬¬¬ª¬¬¬¬¬¬O¬ + 0 â â ¢ ¢ - ¨¬¬¬¬Á ¬¬ â â ¢ ¢ ¨¬¬¬Á â â ¢ ¢ ¬¬¬§ â â ¢ ¢ -1«¬¬Á â â ¢ ¢ ¨¬¬¬¬¬¬¬¬¬©¬¬¬Z â â ¢ ¢ ¨¬¬¬¬¬¬¬¬¬¬¬¬§ ¨¬¬¬Á â â ¢ ¢ pup-init â â ¢ ¢ ¬¬¬¬¬¬¬¬¬¬¬ªââââââââââââââââââââÁ â ¢ ¢ FSRMAX â â ¢ ¢ ¬¬¬¬¬¬¬ª¬¬ «¬ â ¢ ¢L43FSRS â â ¢ >¬¬¿¬¬¬¬¬¬¬ªââââââ(ââââââââââââââââââââââââÁ ¢ ¢FSR â â ¢ >¬¬¿¬¬¬ª¬¬ «¬¬(¬¬/«¬Á ¢ ¢ â â ¢ ¢ â ¨¬¬ «¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬Á ¢ ¢ â â ¢ ¢ ¨¬¬ «¬¬¬¬¬/«¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬Á ¢ ¢ ¢ °µµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµ¤ Figure 4-2. BBL: FSRMANV2
4-2.1.1. PRIMITIVE. Primitive is a software construction that consists of parameters (passed and/or automatic), and relatively simple algorithms such as Add, Subtract, Multiply, Time Delay (TMV), Compare (A>B), and such. Primitives are used as "modules" within BBLs and RLDs to simplify the programming process.
4-2.1.2. PARAMETERS -PASSED/AUTOMATIC. Parameters are signal point names that can be either passed or automatic parameters. Both are used in BBLs (sequencing and non-sequencing) and Primitives.
Passed Parameters are signal points that are passed to and from BBLs and Primitives. They are user-definable in the Control
Sequence Editor and are shown by the Dynamic Rung Display as merely parameters (parameters = passed parameters). They are accessed by selecting the PAR target.
Automatic Parameters are not user-definable and are configured by GEDS. These signal points are shown by the Dynamic
Rung Display as automatics (Automatics = automatic parameters). They can be accessed by selecting the AUTO target.
4-2.1.3. PARAMETERS -ANALOG/LOGIC. Analog parameters (passed or automatic) are signal point definitions having values other than zero or one. The range can vary and is determined by its scaling. Logic parameters (passed or automatic) can have values of one or zero only. They are typically used to define logic states such as ON and OFF.
4-2.1.4. LOGIC STATES. A parameter that is a software "logic" can have several different states other than "picked up" or "dropped out." The Dynamic Rung Display only displays the value of the logical parameter as it relates to the value in <C>. It does not matter what value the parameter has in <R>, <S>, and <T>. The following are descriptions of all the possible states a logic can be in as well as the Dynamic Rung Display’s representation of each of these states.
• A white on black contact or coil indicates no power flow in the normal state. • A solid green box or circle indicates power flow through any contact or coil.
• A solid green box or circle with an "F" (or ">") in the middle indicates Forced power flow through the contact or coil. • An empty yellow box or circle with an "F" (or ">") in the middle indicates no power flow due to a Force.
• A "?" indicates that the logical name is not defined in the database.
• An inverted coil is shown as a coil with a "/" through it. An inverted coil with a <C> value of "0" is considered to be
picked up and therefore is shown as a solid green coil with a "/" through it.
• A contact from an inverted coil is shown as normal. For example, if an inverted coil has a <C> value of "0" then a normally open contact would appear to be open (no green), and a normally closed contact would appear closed (with a green identifier).
NOTE
The Dynamic Rung Display only shows the logic states of parameters as they relate to their current value in <C>.
4-2.2. Position Indicator
The position indicator is the area under the User-defined Display that refers to either: • The position of the current rung within its segment. For example, the caption
Segment 2 of 3 SEQU_XX: 2 of 5
reveals that the BBL currently being viewed is in the second segment (2 of 3), and that it is the second of five rungs (see Figure 4-6).
• The position of the current sub-rung within the sequencing rung (BBL). For example, selecting SRC while viewing the main display of BBL: ALARMS_MISC_L1 would show a position indicator
Sequencing BBL
ALARMSL1.SRC : 1 of 12
indicating that the sub-rungs in the sequencing BBL: ALARMSL1.SPC are being viewed and this sub-rung is one of 12 sub-rungs.
4-2.3. User Status Box
The User Status Box available in the Dynamic Rung Display is the rectangular area in Figure 4-3 that contains TNH, FSR, TTXM, CPD, CSGV and their respective values. It is shown in all Rungs and Sub-rungs, except when viewing PIC files. The User Status Box is user programmable utilizing the format as described in Chapter 5 of the Applications Manual, GEH-6195. The User Status Box can contain any of the supported animator items, text or graphics. The file F:\RUNTIME\USER.A
defines what is displayed in the User Status Box. Improper use of the F:\RUNTIME\USER.A file causes unpredictable displays such as overwriting of variables and graphics.
4-2.4. Positioning Targets
Positioning targets locate and view specific segments, rungs, BBLs, Primitives, or parameters. The Dynamic Rung Display’s positioning targets are as follows:
Goto Jump jumps the display to the specified rung number. If the number is greater than the number of rungs in the
current segment, the next segment is used. If the number is preceded by a plus or minus (+ or -), the number is used as a relative value, for example, +5 = 5. Press Enter (not Execute), for the Dynamic Rung Display to accept a Goto Jump command. If this target is not selected within five seconds of Goto Jump, the process is aborted.
Search Name: enters the name to be searched. All letters (A-Z and a-z) and numbers (0-9) are valid entries. In
addition, wild card characters are permitted (*/?). For example, both L30* or K?8 are both valid entries. Press Enter (not Execute), to accept Search Name:. If this target is not selected within five seconds of an entry, the process is aborted. Once a valid Search Name is entered, select Find Coil or Find All to carry out the search. The
Execute function key must then be used to Find Coil or Find All.
Find Coil searches for coils only. When selected, this target instructs the Dynamic Rung Display to search for the name
of the coil entered in Search Name:. Find Coil is used only to find a coil of an RLD. It is not used to find where a Parameter is written to. If Find Coil is used while viewing rungs, only the coils in the RLD rungs are found. To find where a Parameter is written to, the user must click on the Find All target repeatedly, and then click on either the PIC or SRC targets to look at the particular Parameter (see section 4-2.8). The Find Coil function can only be effectively used when looking for coils in RLD rungs or after selecting SRC, thereby looking at the RLD sub-rungs.
Find All searches for the next occurrence of the name entered into the Search Name: field. The search includes all segments downward from the display’s current position. If the name is found, the rung is displayed and the name highlighted. BBL, Primitives, and parameters can be searched. Comments cannot be searched. Press any key, except ESC, F1, F8, or a non-target, to abort a search.
Goto Top returns the display to the first rung of the first segment (the top of the file). Prev Rung displays the previous rung, same as the Page Up function.
Next Rung displays the next rung, same as the Page Down function. Prev Seg moves the display to the first rung in the previous segment. Next Seg moves the display to the first rung in the next segment.
Return Main is displayed after selecting the SRC target. It returns user to the main BBL Display of the sequencing BBL. Rung Display is displayed after the PIC target is selected. It returns to the rung display from a PIC display.
Show Value shows the values of all passed parameters.
If a picture is too large to show on the screen, the following four targets enable viewing of the entire PIC file. They are displayed only after the PIC target is selected.
• Scroll Right moves to the right on the PIC display. • Scroll Left moves to the left on the PIC display.
• Scroll Up moves upward on the PIC display.
• Scroll Down moves downward on the PIC display.
4-2.5. Parameter/Picture Targets
Parameter/Picture targets are located in the lower right-hand corner of the display just above the position indicator.
AUTO displays the automatics of the algorithm.
MORE views more parameters (passed or automatic) of the current BBL when it contains more than 57. Continually
clicking on the MORE target while viewing a particular BBL results in a scrolling through of all the parameters (passed or automatic) of that BBL.
PAR displays the passed parameters of a particular BBL. PIC displays the respective *.PIC file.
SRC displays either the source file (*.SRC) or source/picture file (*.SPC) depending on which one exists.
4-2.6. Executing/Exiting Dynamic Rung Display
To start the Dynamic Rung Display, select RUNG DISPLAY from the main menu, or type Anim Rung at the DOS prompt.
To exit the Dynamic Rung Display, press F1 or the Esc key, or click on EXIT, MAIN DISPLAY, or ALARM DISPLAY.
The following sections show how targets affect the Dynamic Rung Display. The screens represent actual Dynamic Rung Displays, however, the data shown such as BBLs, Primitives, RLDs, parameters, comments, and such is furnished as an example only.
4-2.6.1. FINDING BBL. To reach the main display of non-sequencing BBL: L39VV5 perform the following steps. 1. Start the Dynamic Rung Display (see section 4-2.6).
2. Click on Search Name: and type L39VV* or L39VV5 and press Enter.
3. Click on Find All then EXECUTE COMMAND.
This reveals the screen in Figure 4-3. For other methods on finding BBLs, Primitives, and parameters using the Dynamic Rung Display see section 4-2.13.
4-2.6.2. SELECTING AUTO. From the screen shown in Figure 4-3, select AUTO. This reveals the screen shown in Figure 4-4. When viewing the Automatics, PAR can be selected to view the "passed" parameters. Likewise, when viewing "passed" parameters , AUTO can be selected to view the Automatics. Both parameters and Automatics cannot be viewed
simultaneously with the Dynamic Rung Display.
4-2.6.3. SELECTING MORE. From the screen shown in Figure 4-4, select MORE. This reveals the screen shown in Figure 4-5. The Dynamic Rung Display shows only 57 parameters. If a BBL has more than 57 parameters such as BBL: L39VV5 with 109 Automatics (see Figure 4-5), a MORE target appears that allows the user to view Automatics 58 to 114. The
MORE target appears for both passed and automatic parameters as needed.
4-2.6.4. SELECTING PAR. From the screen shown in Figure 4-5, select MORE. This reveals the screen in Figure 4-3. Selecting AUTO then PAR merely toggles the viewing area between the two displays.
Figure 4-5. More Automatics of Non-sequencing BBL: L39W5
4-2.7. Segments, Rungs, and Sub-rungs
Protecting and controlling a turbine requires using BBLs (sequencing and non-sequencing). Understanding how BBLs are defined, arranged, and ordered is imperative for effective use of the Dynamic Rung Display. Further, since the Dynamic Rung Display is primarily used for monitoring and locating BBLs and their corresponding parameters, the user must understand how to move from one BBL to another in relation to both Segments and Sub-Rungs.
BBLs are arranged and ordered in the Dynamic Rung Display much like a "tree" structure in DOS. However, instead of directories, files, and contents, the Dynamic Rung Display uses segments, rungs, and sub-rungs respectively. Figure 4-6 shows the layout of several BBLs and their relationship to the various segments and sub-rungs. It is for demonstration purposes only and is not related to any job’s specific Segments, Rungs, and Sub-Rungs.
---- --- --- --- --- --- 1. SEQ_Q «¬¬¬¬¬¬¬¬¬¬1¬¬¬¬¬¬TITLE «¬¬¬¬¬¬¬¬¬¬2¬¬¬¬¬¬RLD «¬¬¬¬¬¬¬¬¬¬3¬¬¬¬¬¬sequencing BBL «¬¬¬¬¬¬¬¬¬¬¬¬¬1¬¬¬¬¬¬¬¬¬¬¬TITLE «¬¬¬¬¬¬¬¬¬¬¬¬¬2¬¬¬¬¬¬¬¬¬¬¬RLD ¨¬¬¬¬¬¬¬¬¬¬¬¬¬3¬¬¬¬¬¬¬¬¬¬¬RLD W/ Primitive * ¨¬¬¬¬¬¬¬¬¬¬¬¬¬11¬¬¬¬¬¬¬¬¬¬TITLE ¨¬¬¬¬¬¬¬¬¬¬4¬¬¬¬¬¬RLD 2. SEQ_XX «¬¬¬¬¬¬¬¬¬¬1¬¬¬¬¬¬non-sequencing BBL «¬¬¬¬¬¬¬¬¬¬2¬¬¬¬¬¬non-sequencing BBL «¬¬¬¬¬¬¬¬¬¬3¬¬¬¬¬¬RLD «¬¬¬¬¬¬¬¬¬¬4¬¬¬¬¬¬sequencing BBL «¬¬¬¬¬¬¬¬¬¬¬¬1¬¬¬¬¬¬¬¬¬¬¬TITLE ¨¬¬¬¬¬¬¬¬¬¬¬¬2¬¬¬¬¬¬¬¬¬¬¬RLD * ¨¬¬¬¬¬¬¬¬¬¬¬¬8¬¬¬¬¬¬¬¬¬¬¬TITLE ¨¬¬¬¬¬¬¬¬¬¬5¬¬¬¬¬¬TITLE 3. SEQU_B «¬¬¬¬¬¬¬¬¬¬1¬¬¬¬¬¬TITLE «¬¬¬¬¬¬¬¬¬¬2¬¬¬¬¬¬non-sequencing BBL ¨¬¬¬¬¬¬¬¬¬¬3¬¬¬¬¬¬TITLE
Figure 4-6. Segments, Rungs, and Sub-Rungs
Each BBL corresponds to a certain rung within a segment. All BBLs are considered rungs and are contained within a given segment. However, not all rungs are BBLs. For example, rung 2 of segment 1 is a RLD and therefore is not considered a BBL. Also, depending on whether the BBL is a sequencing BBL or non-sequencing BBL determines whether it has sub- rungs. The non-sequencing BBL which is Rung 1 of 5 in Segment SEQU_XX (Segment 2 of 3) has no Sub-Rungs. However, the sequencing BBL in Rung 3 of Segment 1 has Sub-Rungs. This method of segments, rungs, and sub-rungs serves only to keep track of all the BBLs in an orderly fashion.
4-2.7.1. SEGMENTS. A segment is a collection of rungs (BBLs, titles, or RLDs) much like a DOS directory is a collection of files. For example, Segment: SEQU_Q may have 9 Rungs and Segment: SEQU_Z may have 130 Rungs much like a DOS directory called C:\DOS may have 69 files stored in it.
The file that defines and determines which Segments are used and the order they are executed in the Dynamic Rung Display is
F:\UNITn\MSTR_SEQ.CFG. Part of the MSTR_SEQ.CFG file is as follows:
F:\UNITn\MSTR_SEQ.CFG #Segment SEQU_Q
#Segment SEQU_XX
#Segment SEQU_B
The following numerical assignments show how the Dynamic Rung Display orders the Segments being used. SEQU_Q is Segment 1 of 3
SEQU_XX is Segment 2 of 3 SEQU_B is Segment 3 of 3
4-2.7.2. RUNGS. A Rung can be one of four things:
• A sequencing BBL (with Sub-rungs), see section 4-2.7.4. • A non-sequencing BBL (with no Sub-rungs), see section 4-2.7.5. • A title, text message, or some kind of "comment", see section 4-2.7.6.
• A RLD consisting of contacts, coils, and possibly Primitives, see section 4-2.7.7.
A sequencing BBL_Rung can consist of "passed" parameters, automatics, or both. Also, a sequencing BBL consists of Sub- Rungs. The Sub-Rungs contain the dynamic "pictures" of the RLDs and show the actual arrangement of the contacts and coils as well as the current state of each. The Sub-rungs are accessed selecting the SRC target.
When SRC is selected, the Dynamic Rung Display no longer looks at a Rung to Segment positioning indicator. The Dynamic Rung Display now looks at a Sub-rung to Rung positioning indicator. In order to return to the Rung to Segment positioning it is necessary to select Return Main (see Figure 4-9). Section 4-2.7.4 is an example using BBL:
L43_AUX_LOGIC to show the effect of selecting SRC from the Main Display.
4-2.7.3. SUB-RUNGS. Sequencing BBLs is the only type of Rung that has Sub-rungs associated with it. Sub-rungs are accessed by selecting the SRC target when viewing a sequencing BBL. The Sub-rungs are then ordered from beginning to end with the current position being displayed by the position indicator. Select Goto Main to exit Rungs.
4-2.7.4. SELECTING SRC IN A SEQUENCING BBL. From the screen shown in Figure 4-3, perform the following steps to retrieve BBL: L43_AUX_LOGIC, shown in Figure 4-7.
1. Select Goto Top
2. Select Search Name:
3. Type L43_AU* and press Enter.
Select SRC, to reach the screen shown in Figure 4-8.
The Next Rung target actually performs a "Next Sub-Rung" operation here because while viewing an SRC or SPC file the Sub-rungs are subsets of the Rung. Normally the Rungs are viewed as subsets of Segments. The following steps reveal sub- rung 5 of 11, shown in Figure 4-9.
1. Select Goto Jump
2. Type 5 and press Enter
Next Rung, Prev Rung, PAGE UP, and PAGE DOWN are all targets that scroll through the RLD Sub-rungs of a sequencing BBL. While viewing the Sub-rungs within a sequencing BBL the position indicator
Sequencing BBL
L43AUXL1.SPC: 5 of 11
is referring only to the Sub-rungs within the BBL (not to the BBL’s position within the Segment).
To return to the main menu where the SRC command was selected , select Return Main. The screen as shown in Figure 4-7 is retrieved. Return Main moves back one level (going from viewing Sub-rungs to viewing Rungs).
4-2.7.5. PIC FILE IN A NON-SEQUENCING BBL. A non-sequencing BBL has no Sub-rungs and therefore the Dynamic Rung Display provides no SRC target. However, non-sequencing BBLs have related PIC files that are accessible by selecting the PIC target. Once the user selects PIC,the picture file is displayed along with two to seven additional targets. The two targets that are always displayed after selecting PIC are Rung Display and Show Value.
NOTE
The following section shows how targets affect the Dynamic Rung Display. The screens represent actual Dynamic Rung Displays; however, the data shown such as BBLs, Primitives, RLDs, parameters, comments, and such is furnished as an example only.