Sie sind auf Seite 1von 14

Sequence Tables

for the Fisher ROC

Version 2.04
Flashpac files & Roclink Interface Included

User Manual
11/26/98
Table Of Contents

1. Introduction......................................................................................................................3
2. Installation........................................................................................................................3
3. User Defined Point...........................................................................................................5
4. Summary of Key Parameters..........................................................................................14

2
1. Introduction

The Sequence Tables user C program allows a user to configure an emergency shutdown
(ESD) sequence. The sequence might involve monitoring fire and H2S sensors, as well as
fan, horn, and beacon control.

2. Changes From Previous Version

There was only one change from the previous version. The First Tag is cleared when the
First Table is zero and the result of the test of the table is false. In the previous version
the First Tag and the First Table had to be cleared or zeroed manually.

The present version also includes 2 ROC300 Flashpac files, and 4 files needed to upgrade
the ROCLINK RL101 configuration software.

3. Installation

Fisher’s GV101 or ROCLINK RL101 configuration software is used to download the


program into a ROC 312 with ROCPAC 1.10 or a ROC 364 with a ROCPAC 1.70.

The 5 download files to choose from are described in the following table.

Filename Starting # of Starting # of Task User


Code Blocks Data Blocks Defined
Block Block Points
SEQ_TBLS.H00 C800 1 C000 2 USER 1 22
SEQ_TBLT.H00 D800 1 D000 2 UsrLCD 22
SEQ_TBLU.H00 D800 1 D000 2 USER 1 31
SEQ_TBLV.H00 DC00 1 D400 2 USER 1 31
SEQ_TBLX.H00 7000 1 6000 2 USER 1 22

Fisher’s ROCLINK RL101 version 2.00 or newer is used to download the program into a
ROC 312 or ROC 364 with a FLASHPAC firmware revision 2.10.

The two download files to choose from are described in the following table.

Filename Starting # of Starting # of Task User


Code Blocks Data Blocks Defined
Block Block Points
SEQ_TBLA.H00 C800 1 A800 2 USER 1 22
SEQ_TBLB.H00 B800 1 B000 2 USER 2 22

3
The files to be copied into ROCLINK RL101 directory are:

menu2.txt ( overwrites existing )


menu4.txt ( overwrites existing )
event.txt ( overwrites existing )
scl_sqtbl.tpl

The release of the program includes the following items.

• The files in the above tables, and the 4 listed PC files


• Sequence Tables User Manual
• Sequence Tables Worksheet
• Example Customer Emergency Shutdown Key and Sequence Table Worksheet

4
4. User Defined Point

4.1 Configuration Using GV101

The Sequence Tables user data type can be found in the Configure User Data Types menu
in GV101. Shown below is the Sequence Tables display and a description of the
parameters. The labels, such as <TST1>, in the display below are used to help identify
the parameters in the display with the descriptions below.

The sequence tables are executed continuously in groups of 10. Once a group of 10 has
been executed other user C programs are given a chance to run.

Figure 3.1 - Sequence Table Layout


Sequence Tables 1 of 40

Tag <TAG > Enable <ENABLE> Status <STATUS>

Test 1 <TST1 > <CMP1> <DYN1 > <STT1 >


<OPE1> Test 2 <TST2 > <CMP2> <DYN2 > <STT2 >
<OPE2> Test 3 <TST3 > <CMP3> <DYN3 > <STT3 >
<OPE3> Table <STBL> First Table <FTBL > First Tag <FTAG >

<ENB1 > 1. <CTL1 > = <STA1 > <ENB8 > 8. <CTL8 > = <STA8 >
<ENB2 > 2. <CTL2 > = <STA2 > <ENB9 > 9. <CTL9 > = <STA9 >
<ENB3 > 3. <CTL3 > = <STA3 > <ENB10> 10. <CTL10 > = <STA10 >
<ENB4 > 4. <CTL4 > = <STA4 > <ENB11> 11. <CTL11 > = <DYN11 >
<ENB5 > 5. <CTL5 > = <STA5 > <STA11 >
<ENB6 > 6. <CTL6 > = <STA6 > <ENB12> 12. <CTL12 > = <DYN12 >
<ENB7 > 7. <CTL7 > = <STA7 > <STA12 >

Press Enter to configure.

1 Update 2 Prev. 3 Next 4 RD Disk 5 WR Disk 6 Quit 7 8 Save

Tag - A 30 character tag which is used to describe the table. This parameter is labeled
<TAG> in Figure 3.1.

Enable - A 1 means the table is enabled, a 0 means the table is disabled. In a multiple
table sequence only the first table should be enabled. The rest of the tables should be
disabled. This parameter is labeled <ENABLE> in Figure 3.1.

5
Status - The status shows the result of the multiple table test, the result of test on this
table, and any parameter errors. Following is a description of the bits.

Result Bits

bit 7 - 1 if the result of the multiple table test was true, 0 otherwise.

bit 6 - 1 if the result of test of this table was true, 0 otherwise. This bit can tell
you which of the tables in a multiple table test were true or false.

Error Bits

bit 5 - 1 if there is no Test Parameter and an Operator is given, or the Test


Parameter does not point to a numeric parameter, 0 otherwise.

bit 4 - 1 if there is an error in any of the Comparisons, 0 otherwise.

bit 3 - 1 if there is no Dynamic Test Value and the Comparison is greater than 10,
or the Dynamic Test Value does not point to a numeric parameter, 0
otherwise.

bit 2 - 1 if there is an error in any of the Operators, 0 otherwise.

bit 1 - 1 if there is no Control Parameter and the Control Enable parameter says
there should be one, or the Control Parameter does not point to a numeric
parameter, 0 otherwise.

bit 0 - 1 if there is no Dynamic Control Value and the Control Enable is 11 or 12,
or if the Dynamic Control Value does not point to a numeric parameter, 0
otherwise.

If either bits 0 or 1 are set then there where no errors in the test and the program does as
much of the control as possible.

This parameter is labeled <STATUS> in Figure 3.1.

Test Parameter - The Test Parameter points to the parameter to be used in the test. If the
table is enabled then the first Test Parameter must be given. If an Operator is given then
the Test Parameter on the same line must be given. The Test Parameter must point to a
numeric parameter.

The Test Parameters are to the right of ‘Test 1’, ‘Test 2’, and ‘Test 3’ and are labeled
<TST1>, <TST2>, and <TST3> in Figure 3.1.

6
Comparison - The Comparison is a number between 1 and 6 or 11 and 16, which is used
to tell the program how to compare the Test Parameter and the Dynamic or Static Test
Value. Below is a description of the values of Comparison.

1 = greater than or equal (>=)


2 = greater than (>)
3 = not equal (<>)
4 = less than or equal (<=)
5 = less than (<)
6 = equal (=)

If the Comparison is between 1 and 6 then the program compares the Test Parameter with
the Static Test Value. By adding 10 to the Comparison, the program compares the Test
Parameter with the Dynamic Test Value instead. For example, a Comparison of 11 will
instruct the program to test if the Test Parameter is greater than or equal to the Dynamic
Test Value.

The Comparisons are to the right of the Test Parameters and are labeled <CMP1>,
<CMP2>, and <CMP3> in Figure 3.1.

Dynamic Test Value - The Dynamic Test Value points to a numeric parameter which is
used in a comparison with the Test Parameter if the Comparison is between 11 and 16.

The Dynamic Test Values are to the right of the Comparison parameters and are labeled
<DYN1>, <DYN2>, and <DYN3> in Figure 3.1.

Static Test Value - The Static Test Value is used in a comparison with the Test
Parameter if the Comparison is between 1 and 6.

The Static Test Values are to the right of the Dynamic Test Values and are labeled
<STT1>, <STT2>, and <STT3> in Figure 3.1.

Operator - The Operator tells the program how to combine the tests. It is a number
between 1 and 3 and is described below.

1 = and
2 = or
3 = xor

If one of the first two Operators is given then the corresponding Test Parameter,
Comparison, and Dynamic or Static Test Value must be given. If the last Operator is
given then Table must be given also.

7
The Operators are evaluated as they appear. For example, in Figure 3.2, the test is
((SPT,0,DATA1 = 0) or (SPT,0,DATA2 = 0)) and (SPT,0,DATA3 = 0) and is NOT
(SPT,0,DATA1 = 0) or ((SPT,0,DATA2 = 0) and (SPT,0,DATA3 = 0)).

Figure 3.2 - Operator Example

Sequence Tables 1 of 40

Tag OPERATOR EXAMPLE Enable 1 Status 11000000

Test 1 SPT, 0,DATA1 6 ERROR .0000000


2 Test 2 SPT, 0,DATA2 6 ERROR .0000000
1 Test 3 SPT, 0,DATA3 6 ERROR .0000000
0 Table 0 First Table ERROR First Tag ERROR

0 1. ERROR = .0000000 0 8. ERROR = .0000000


0 2. ERROR = .0000000 0 9. ERROR = .0000000
0 3. ERROR = .0000000 0 10. ERROR = .0000000
0 4. ERROR = .0000000 0 11. ERROR = ERROR
0 5. ERROR = .0000000 .0000000
0 6. ERROR = .0000000 0 12. ERROR = ERROR
0 7. ERROR = .0000000 .0000000

1 Update 2 Prev. 3 Next 4 RD Disk 5 WR Disk 6 Quit 7 8 Save

The Operators are to the left of ‘Test 2’, ‘Test 3’, and ‘Table’ and are labeled <OPE1>,
<OPE2>, and <OPE3> in Figure 3.1.

Table - This parameter is used to make a multiple table test or control. It can be any
number less than or equal to 40 and greater than this table.

If the Operator to the left of Table is given then the result of this table is combined with
the result of the table in Table. The result of the multiple table test is shown in bit 7 of
the Status on each of the tables in the multiple table test. The multiple table test
continues to the table with no value in the Operator to the left of Table.

If the Operator to the left of Table is not given and there is a value in Table then the
Controls on that table are done as well (the tests, however, are not). The multiple table
control continues to the table which does not have an value in Table.

All of the tables in a multiple table test or control should have Enable set to 0 except the
first one.

The results of each of the tables in a multiple table test are obtained first and then they are
combined using the table operators (ie. the Operator to the left of Table).

8
Below is an example of a multiple table test and control.

Sequence Tables 1 of 40

Tag MULTIPLE TABLE EXAMPLE Enable 1 Status 11000000

Test 1 SPT, 0,DATA1 2 ERROR 6.000000


0 Test 2 ERROR 0 ERROR .0000000
0 Test 3 ERROR 0 ERROR .0000000
1 Table 2 First Table ERROR First Tag ERROR

2 1. SPT, 0,DATA4 = 1.000000 0 8. ERROR = .0000000


1 2. SPT, 0,DATA4 = .0000000 0 9. ERROR = .0000000
0 3. ERROR = .0000000 0 10. ERROR = .0000000
0 4. ERROR = .0000000 0 11. ERROR = ERROR
0 5. ERROR = .0000000 .0000000
0 6. ERROR = .0000000 0 12. ERROR = ERROR
0 7. ERROR = .0000000 .0000000

1 Update 2 Prev. 3 Next 4 RD Disk 5 WR Disk 6 Quit 7 8 Save

Sequence Tables 2 of 40

Tag MULTIPLE TABLE EXAMPLE Enable 0 Status 11000000

Test 1 SPT, 0,DATA2 5 ERROR 2.000000


2 Test 2 SPT, 0,DATA3 5 ERROR 4.000000
0 Test 3 ERROR 0 ERROR .0000000
0 Table 3 First Table ERROR First Tag ERROR

2 1. SPT, 0,DATA5 = 1.000000 0 8. ERROR = .0000000


1 2. SPT, 0,DATA5 = .0000000 0 9. ERROR = .0000000
0 3. ERROR = .0000000 0 10. ERROR = .0000000
0 4. ERROR = .0000000 0 11. ERROR = ERROR
0 5. ERROR = .0000000 .0000000
0 6. ERROR = .0000000 0 12. ERROR = ERROR
0 7. ERROR = .0000000 .0000000

1 Update 2 Prev. 3 Next 4 RD Disk 5 WR Disk 6 Quit 7 8 Save

9
Sequence Tables 3 of 40

Tag MULTIPLE TABLE EXAMPLE Enable 0 Status 10000000

Test 1 ERROR 0 ERROR .0000000


0 Test 2 ERROR 0 ERROR .0000000
0 Test 3 ERROR 0 ERROR .0000000
0 Table 0 First Table ERROR First Tag ERROR

2 1. SPT, 0,DATA6 = 1.000000 0 8. ERROR = .0000000


1 2. SPT, 0,DATA6 = .0000000 0 9. ERROR = .0000000
0 3. ERROR = .0000000 0 10. ERROR = .0000000
0 4. ERROR = .0000000 0 11. ERROR = ERROR
0 5. ERROR = .0000000 .0000000
0 6. ERROR = .0000000 0 12. ERROR = ERROR
0 7. ERROR = .0000000 .0000000

1 Update 2 Prev. 3 Next 4 RD Disk 5 WR Disk 6 Quit 7 8 Save

The test above is (SPT,0,DATA1 > 6) and ((SPT,0,DATA2 < 2) or (SPT,0,DATA3 < 4))
and is NOT ((SPT,0,DATA1 > 6) and (SPT,0,DATA2 < 2)) or (SPT,0,DATA3 < 4).

The Table parameter is labeled <STBL> in the Figure 3.1.

First Table - If the result of the test is true then the table number is written to the
parameter pointed to in First Table if it is zero. The parameter must be numeric. In a
multiple table test, the full result (not those of any one table) is used, and only the First
Table on the first table of the multiple table test is used.

This parameter is optional. The First Table parameter is labeled <FTBL> in Figure 3.1.

Note - The First Table must be zeroed manually (eg. by one of the controls in a sequence
tables). It is never zeroed by the program.

First Tag - If we wrote the table number to First Table as described above, then we write
the tag of this table to the parameter pointed to by First Tag. The parameter pointed to by
First Tag must be a 30 character string. Any of the Tag parameters in the Sequence
Tables or the FST message parameters can be used. This parameter is optional even if
First Table is given. The First Tag parameter is labeled <FTAG> in the display above.

The First Tag is cleared when the First Table is zero and the result of the test is false.

Control Enable - If this parameter is 1 and the result of the test is false or if this
parameter is 2 and the result is true then the Static Control Value is written to the Control
Parameter.

10
For the last two controls on the right side of the screen, if the Control Enable parameter is
11 and the result of the test is false or if the parameter is 12 and the result was true then
the value of the parameter pointed to by the Dynamic Control Value is written to the
Control Parameter.

The Control Enable parameters are to the left of ‘1.’, ’2.’, … , ‘12’ and are labeled
<ENB1>, <ENB2>, … , <ENB12>, in Figure 3.1.

Note: The result of the multiple table test is used on every table and not the result of the
table itself.

Control Parameter - Points to a numeric parameter. The Control Parameters are to the
right of ‘1.’, ‘2.’, … , ‘12’ and are labeled <CTL1>, <CTL2>, … , <CTL12> in Figure
3.1.

Static Control Value - A value which is written to the Control Parameter depending on
the value of Control Enable and the result of the test.

These parameters are to the right of the ‘=', and below the Dynamic Control Value in the
case of the last two controls on the right side of the display. They are labeled <STA1>,
<STA2>, … , <STA12> in Figure 3.1.

Dynamic Control Value - A pointer to a numeric parameter whose value is written to a


Control Parameter depending on the value of Control Enable and the result of the test.

There are two of these parameters and they are to the right of the ‘=' beside the last two
Control Parameters on the right side of the display. They are labeled <DYN11> and
<DYN12> in Figure 3.1.

11
4.2 Configuration Using ROCLINK RL101

The Sequence Tables User Program is displayed as a “Data Menu” item in ROCLINK.

The program functionality is identical with the GV101 version, only the graphical layout
differs.

Sequence Tables Setup Screen:

12
Multiple Table Test Result - “True” if the result of the multiple table test was true,
“False” otherwise. Wrapper for bit 7 in GV101.

Active Table Test Result - “True” if the result of test of this table was true, “False”
otherwise. This value can tell you which of the tables in a multiple table
test were true or false. Wrapper for bit 6 in GV101.

Errors - “Bit 5”, “Bit 4” “Bit 3” “Bit 2” “Bit 1” and/or “Bit 0” text boxes are displayed if
error active, or hidden if no error. Wrapper for bits 0 to 5 in GV101.

Multiple Tables - Push Button to open the “Multiple Tables” Window.

Multiple Tables Window:

13
5. Summary of Key Parameters

4.1 Status

Result Bits

bit 7 - 1 if the result of the multiple table test was true, 0 otherwise.
bit 6 - 1 if the result of test of this table was true, 0 otherwise.

Error Bits

bit 5 - 1 if error with one of the Test Parameters, 0 otherwise.


bit 4 - 1 if error in any of the Comparisons, 0 otherwise.
bit 3 - 1 if error with a Dynamic Test Value, 0 otherwise.
bit 2 - 1 if error in an Operator, 0 otherwise.
bit 1 - 1 if error in a Control Parameter, 0 otherwise.
bit 0 - 1 if error in one of the two Dynamic Control Value, 0 otherwise.

4.2 Comparison

1 = greater than or equal (>=)


2 = greater than (>)
3 = not equal (<>)
4 = less than or equal (<=)
5 = less than (<)
6 = equal (=)

Add 10 to the Comparison to make it dynamic.

4.3 Operator

1 = and
2 = or
3 = xor

4.4 Control Enable

1 = do the control if the test was FALSE


2 = do the control if the test was TRUE

On the last two Controls add 10 to the Control Enable to use the Dynamic Control Value
instead of the Static Control Value.

14

Das könnte Ihnen auch gefallen