Académique Documents
Professionnel Documents
Culture Documents
COMPANY ref:
XXXXXXXX
CONTRACTOR ref:
???
Revision:
--
AA
Status:
Class:
--
date:
page:
05/10/2007
--
--
1/12
--
code 0
Approved
code 1
code 2
Rejected
code 3
code 4
date:
ASB final acceptance
code 5
date:
Remarks:
AA
REV
DESIGNATION
B. THEVENET
M. MEDIONI
Initiator
Reviewed by
Approved by
COMPANY ref:
XXXXXXXX
CONTRACTOR ref:
???
Revision:
--
AA
Status:
Class:
--
date:
--
05/10/2007
--
page:
2/12
--
TABLE OF CONTENTS
GENERALITIES.....................................................................................................................................................................3
1.1
CODIFICATION.....................................................................................................................................................................4
2.1
2.2
DATA CODIFICATION............................................................................................................................................ 5
2.3
2.4
2.5
LOGICS CODIFICATION....................................................................................................................................... 12
COMPANY ref:
XXXXXXXX
CONTRACTOR ref:
???
Revision:
--
AA
Status:
Class:
--
date:
--
05/10/2007
--
page:
3/12
--
1 Generalities
1.1
Document purpose
The present document aims at establishing and gathering a general set of rules and conventions for the data and
sequence symbols codification that are used to write OML 100 DFA.
Particularly, it provides the rules that are applied for timers management description.
COMPANY ref:
XXXXXXXX
CONTRACTOR ref:
???
Revision:
--
AA
Status:
Class:
--
date:
--
05/10/2007
--
2 Codification
2.1
Function
>
From
steps > 1
100
Initial step
101
Standard step
Step name
Sub sequence
a
b
a
b
a
b
>
<
S = (a > b)
higher than
S = (a < b)
lower than
S = (a - b)
Subtraction
Test
:=
Affectation
Step
page:
4/12
--
COMPANY ref:
XXXXXXXX
CONTRACTOR ref:
???
2.2
Revision:
AA
Status:
--
Class:
--
date:
--
05/10/2007
page:
--
5/12
--
Data codification
Example
Description
cv is the prefix
cv.PWV.Command
For the exchanges inter FCW modules, the following nomenclature is also applied:
prefix[complementary data].data_name
Example
mcm[Well A].Start-up^
mcm[All Wells].PauseOrder
Description
The Multiwell Control Module (MCM) sends a START-UP order to the well A.
This order is a pulse one.
The Multiwell Control Module (MCM) sends a PAUSE order to all wells.
This order is a bistable one.
COMPANY ref:
XXXXXXXX
CONTRACTOR ref:
???
2.2.1
Revision:
AA
Status:
--
Class:
--
date:
--
Prefix list
Prefix
Description
Standard Functions
ai
Analog Input
cv
Control Valves
siv
Shut In Valves
pid
pcs
sss
mcm
mfcm
wcm
cmd
Operators commands
par
Parameters
set
Individual settings
sta
Status
war
int
Internal data
05/10/2007
--
page:
6/12
--
COMPANY ref:
XXXXXXXX
CONTRACTOR ref:
???
2.2.2
Revision:
AA
Status:
--
Class:
--
date:
--
05/10/2007
page:
--
Suffix list
Suffix
Description
Analog input
Value
Validity
Inhibition
Mode
Command
Status
Value
SetPoint
Mode
Output
Pid Output
Explicit = 0 100%
Validity
Pid is valid
Explicit = YES or NO
Inhibition
7/12
--
COMPANY ref:
XXXXXXXX
CONTRACTOR ref:
???
Revision:
--
AA
Status:
Class:
--
date:
--
Shut In Valves
Mode
Command
Status
Status
05/10/2007
--
page:
8/12
--
COMPANY ref:
XXXXXXXX
CONTRACTOR ref:
???
2.3
2.3.1
Revision:
AA
Status:
--
Class:
--
date:
05/10/2007
--
--
Sequence example
Sequence
Initial step
STEP
NB
STEP NAME
100
BEGIN
cmd.START^
OPEN ICV to target
101
Standard step
cv.ICV.command = set.ICV_Target
102
GL INJECTION
Macro step
End of sub sequence
103
2.3.2
END
Actions in steps
Step
Display
Action in step
100
BEGIN
101
102
GL INJECTION
103
END
page:
9/12
--
COMPANY ref:
XXXXXXXX
CONTRACTOR ref:
???
2.3.3
Revision:
AA
Status:
--
Class:
--
date:
--
Explanations
cmd.START^
Operator Command
Command function
Pulsed action
cv.ICV.Command = set.ICV_Target
test
Affectation
cv.ICV.command := set.ICV_Target
Continuous action
Affectation
05/10/2007
--
page:
10/12
--
COMPANY ref:
XXXXXXXX
CONTRACTOR ref:
???
2.4
Revision:
AA
Status:
--
Class:
--
date:
--
05/10/2007
page:
--
11/12
--
Timers management
Timers are used as count down chronometers. A timer elapsed may be a condition for a sequence to pursuit.
Actions on timers
A timer can be loaded (given a time value), stopped (to stop its count down), restarted (when it has been stopped),
tested if elapsed (test if its time value is equal to 0).
Functions:
The above actions are performed by the following code functions:
-
Load: It loads the timer to a defined time value given in seconds and initiates the countdown.
Example
Description
The int.GETimer is set to 10 seconds countdown
Elapsed: It is a boolean function. True once the timer countdown is elapsed (it value reach 0 seconds).
Example
int.GETimer = 0
stop int.GETimer
Description
Description
The int.GETimer countdown is stopped
Start: It starts the timer countdown from its present countdown value.
Example
start int.GETimer
Description
The int.GETimer countdown is restarted
COMPANY ref:
XXXXXXXX
CONTRACTOR ref:
???
2.5
Revision:
--
AA
Status:
Class:
--
date:
--
05/10/2007
--
Logics codification
The commands / instructions (If, for, do, repeat, until, while) are written in bold.
The use of tabulations permits to clearly identify the conditions to test and the actions to perform.
Example:
If
condition A = TRUE
& condition B = FALSE
OR (condition C = TRUE & condition D = TRUE)
Then action 1
Else If
condition E = FALSE
Then action 2
Else action 3
End If
End If
page:
12/12
--