Added logic, tags, and alarms for runtime alarms
This commit is contained in:
@@ -1 +1 @@
|
||||
COMPILED
|
||||
TO RELINK
|
||||
@@ -45,6 +45,11 @@ Controller.Micro820.Micro820._IO_EM_DO_05 FALSE
|
||||
Controller.Micro820.Micro820._IO_EM_DO_06 FALSE
|
||||
Controller.Micro820.Micro820._IO_P1_AI_00
|
||||
Controller.Micro820.Micro820._IO_P1_AI_01
|
||||
Controller.Micro820.Micro820.ALARM_Mode
|
||||
Controller.Micro820.Micro820.ALARM_Pressure
|
||||
Controller.Micro820.Micro820.ALARM_Temperature
|
||||
Controller.Micro820.Micro820.ALARM_TubingPressure
|
||||
Controller.Micro820.Micro820.ALARM_VFD
|
||||
Controller.Micro820.Micro820.Auto_Mode TRUE
|
||||
Controller.Micro820.Micro820.cfg_MaxFreq
|
||||
Controller.Micro820.Micro820.cfg_MinFreq
|
||||
|
||||
|
@@ -1 +0,0 @@
|
||||
TO RELINK
|
||||
@@ -1 +0,0 @@
|
||||
COMPILED
|
||||
@@ -1 +0,0 @@
|
||||
COMPILED
|
||||
@@ -1 +0,0 @@
|
||||
COMPILED
|
||||
@@ -1 +0,0 @@
|
||||
COMPILED
|
||||
@@ -1 +0,0 @@
|
||||
COMPILED
|
||||
@@ -1 +0,0 @@
|
||||
COMPILED
|
||||
@@ -1 +0,0 @@
|
||||
COMPILED
|
||||
@@ -1 +0,0 @@
|
||||
COMPILED
|
||||
@@ -1 +0,0 @@
|
||||
COMPILED
|
||||
@@ -1 +0,0 @@
|
||||
COMPILED
|
||||
@@ -1 +0,0 @@
|
||||
COMPILED
|
||||
@@ -1 +0,0 @@
|
||||
COMPILED
|
||||
@@ -1 +0,0 @@
|
||||
COMPILED
|
||||
@@ -1 +0,0 @@
|
||||
COMPILED
|
||||
@@ -1 +0,0 @@
|
||||
COMPILED
|
||||
@@ -1 +0,0 @@
|
||||
COMPILED
|
||||
@@ -1 +0,0 @@
|
||||
COMPILED
|
||||
@@ -1 +0,0 @@
|
||||
COMPILED
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Root Version="6">
|
||||
<LanguageContainerStyle CommentTextColor="Green" CommentFont="Courier New, 10pt" PonctuationTextColor="Black" PonctuationFont="Courier New, 10pt" IdentifierTextColor="Black" IdentifierFont="Courier New, 10pt" OperatorTextColor="Black" OperatorFont="Courier New, 10pt" ReservedWordTextColor="Fuchsia" ReservedWordFont="Courier New, 10pt" PouTextColor="BlueViolet" PouFont="Courier New, 10pt" NumberTextColor="Firebrick" NumberFont="Courier New, 10pt" StringTextColor="Gray" StringFont="Courier New, 10pt" EditorTextAreaBackgroundColor="White" EditorFont="Courier New, 10pt" Index="0" />
|
||||
</Root>
|
||||
@@ -205,7 +205,28 @@ END_IF;
|
||||
IF (NOT Run_Permissive AND VFD_Run_Cmd) THEN
|
||||
Device_Status := 'Lost Run Permissive';
|
||||
Shutdown_Time := __SYSVA_CYCLEDATE;
|
||||
|
||||
IF NOT RP_Mode THEN
|
||||
ALARM_Mode := TRUE;
|
||||
ELSIF NOT RP_Pressure THEN
|
||||
ALARM_Pressure := TRUE;
|
||||
ELSIF NOT RP_Temperature THEN
|
||||
ALARM_Temperature := TRUE;
|
||||
ELSIF NOT RP_TubingPressure THEN
|
||||
ALARM_TubingPressure := TRUE;
|
||||
ELSIF NOT RP_VFD THEN
|
||||
ALARM_VFD := TRUE;
|
||||
END_IF;
|
||||
|
||||
VFD_Start := FALSE;
|
||||
|
||||
END_IF;
|
||||
|
||||
IF Run_Permissive THEN
|
||||
ALARM_Mode := FALSE;
|
||||
ALARM_Pressure := FALSE;
|
||||
ALARM_Temperature := FALSE;
|
||||
ALARM_VFD := FALSE;
|
||||
END_IF;
|
||||
|
||||
(* Run only if commanded to start and start permissive is met or already running and not being told to stop *)
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
RA_PFX_ENET_PAR_WRITE(168):FB,MSG_CIPGENERIC();FB,R_TRIG();
|
||||
USINT_TO_UDINT(149):
|
||||
VFD_MESSAGING(163):FB,RA_PFX_ENET_STS_CMD(164);
|
||||
DINT_TO_USINT(154):
|
||||
UINT_TO_USINT(155):
|
||||
VFD_CONFIGMAP(167):FB,RA_PFX_ENET_PAR_READ(166);FB,RA_PFX_ENET_PAR_WRITE(168);
|
||||
VFD_ERRORMAP(169):
|
||||
USINT_TO_UINT(151):
|
||||
RA_PFX_ENET_STS_CMD(164):FB,MSG_CIPGENERIC();FB,R_TRIG();FB,COP();
|
||||
CONTROL(161):FB,LINEARSCALE(159);
|
||||
USINT_TO_SINT(152):
|
||||
LINEARSCALE(159):
|
||||
SINT_TO_USINT(156):
|
||||
UDINT_TO_USINT(153):
|
||||
RA_PFX_ENET_PAR_READ(166):FB,MSG_CIPGENERIC();FB,R_TRIG();
|
||||
USINT_TO_DINT(150):
|
||||
READDOWNHOLEDATA(160):
|
||||
Binary file not shown.
@@ -1,2 +1,2 @@
|
||||
[RMDManager]
|
||||
TASK=BUILD
|
||||
TASK=REBUILD
|
||||
|
||||
5
Controller/Controller/RmcVariables
Normal file
5
Controller/Controller/RmcVariables
Normal file
@@ -0,0 +1,5 @@
|
||||
Controller.Micro820.Micro820.ALARM_Mode
|
||||
Controller.Micro820.Micro820.ALARM_Pressure
|
||||
Controller.Micro820.Micro820.ALARM_Temperature
|
||||
Controller.Micro820.Micro820.ALARM_TubingPressure
|
||||
Controller.Micro820.Micro820.ALARM_VFD
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user