Merge branch 'master' of https://git.ipfn.tecnico.ulisboa.pt/r/ISTTOK
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
# ### macros: ID I2C address of ADC ### #
|
# ### macros: ID I2C address of ADC ### #
|
||||||
# ### Description: ### #
|
# ### Description: ### #
|
||||||
# ### This DB file is using ### #
|
# ### This DB file is using ### #
|
||||||
# ### stream(asynI2C) to read/write ### #
|
# ### stream(asynI2C) to read/write ### #
|
||||||
# ### an PCF8591 ADDA chip ### #
|
# ### an PCF8591 ADDA chip ### #
|
||||||
#######################################################
|
#######################################################
|
||||||
|
|
||||||
@@ -40,7 +40,7 @@ record( ai, "$(P)$(R)TMPump2-Speed" ) {
|
|||||||
field(DESC, "TMPump2-Speed")
|
field(DESC, "TMPump2-Speed")
|
||||||
field(DTYP, "Raw Soft Channel" )
|
field(DTYP, "Raw Soft Channel" )
|
||||||
field(INP, "$(P)$(R)PCF8591:72:BYTE2_CH1 PP NMS")
|
field(INP, "$(P)$(R)PCF8591:72:BYTE2_CH1 PP NMS")
|
||||||
field(SCAN, "1 second")
|
# field(SCAN, "1 second")
|
||||||
field(ASLO, "16" )
|
field(ASLO, "16" )
|
||||||
field(AOFF, "0" )
|
field(AOFF, "0" )
|
||||||
field(EGU, "RPM" )
|
field(EGU, "RPM" )
|
||||||
@@ -66,7 +66,7 @@ record( ai, "$(P)$(R)TMPump2-Current" ) {
|
|||||||
field(DESC, "TMPump2-Current")
|
field(DESC, "TMPump2-Current")
|
||||||
field(DTYP, "Raw Soft Channel" )
|
field(DTYP, "Raw Soft Channel" )
|
||||||
field(INP, "$(P)$(R)PCF8591:72:BYTE2_CH2 PP NMS")
|
field(INP, "$(P)$(R)PCF8591:72:BYTE2_CH2 PP NMS")
|
||||||
field(SCAN, "1 second")
|
# field(SCAN, "1 second")
|
||||||
field(ASLO, "0.1" )
|
field(ASLO, "0.1" )
|
||||||
field(AOFF, "0" )
|
field(AOFF, "0" )
|
||||||
field(EGU, "mA" )
|
field(EGU, "mA" )
|
||||||
@@ -93,7 +93,7 @@ record(ai, "$(P)$(R)Shot-TorPSCurrentImage" ) {
|
|||||||
field(DESC, "Toroidal Current Image")
|
field(DESC, "Toroidal Current Image")
|
||||||
field(DTYP, "Raw Soft Channel" )
|
field(DTYP, "Raw Soft Channel" )
|
||||||
field(INP, "$(P)$(R)PCF8591:72:BYTE2_CH3 PP NMS")
|
field(INP, "$(P)$(R)PCF8591:72:BYTE2_CH3 PP NMS")
|
||||||
field(SCAN, ".2 second")
|
# field(SCAN, ".2 second")
|
||||||
field(ASLO, "39.215686275" )
|
field(ASLO, "39.215686275" )
|
||||||
field(AOFF, "0.0" )
|
field(AOFF, "0.0" )
|
||||||
field(EGU, "A" )
|
field(EGU, "A" )
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
# ### ### #
|
# ### ### #
|
||||||
# ### Ref 2.0; 2019-10-14 ### #
|
# ### Ref 2.0; 2019-10-14 ### #
|
||||||
# ### ### #
|
# ### ### #
|
||||||
# ### macros: ID I2C address of ADC ### #
|
# ### macros: ID I2C address of DAC ### #
|
||||||
# ### Description: ### #
|
# ### Description: ### #
|
||||||
# ### This DB file is using ### #
|
# ### This DB file is using ### #
|
||||||
# ### stream(asynI2C) to write ### #
|
# ### stream(asynI2C) to write ### #
|
||||||
|
|||||||
@@ -11,6 +11,11 @@ DB += ISTTOKpcf8591.db
|
|||||||
DB += ISTTOKpfeiffer.db
|
DB += ISTTOKpfeiffer.db
|
||||||
DB += ISTTOKtda8444.db
|
DB += ISTTOKtda8444.db
|
||||||
DB += sendmail.db
|
DB += sendmail.db
|
||||||
|
DB += pcf8591.proto
|
||||||
|
DB += tda8444.proto
|
||||||
|
DB += sendmail.proto
|
||||||
|
DB += pcf8574.proto
|
||||||
|
DB += pfeiffer.proto
|
||||||
|
|
||||||
# If <anyname>.db template is not named <anyname>*.template add
|
# If <anyname>.db template is not named <anyname>*.template add
|
||||||
# <anyname>_TEMPLATE = <templatename>
|
# <anyname>_TEMPLATE = <templatename>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ ReadTimeout = 100;
|
|||||||
WriteTimeout = 100;
|
WriteTimeout = 100;
|
||||||
MaxInput = 2;
|
MaxInput = 2;
|
||||||
ExtraInput = Error;
|
ExtraInput = Error;
|
||||||
|
|
||||||
rReg {
|
rReg {
|
||||||
out ${1};
|
out ${1};
|
||||||
in "%.1r";
|
in "%.1r";
|
||||||
@@ -17,7 +17,7 @@ rReg {
|
|||||||
# Bits 4,5 ADC configuration . 00 = four single ended channels
|
# Bits 4,5 ADC configuration . 00 = four single ended channels
|
||||||
# Bits 6 : DAC Output enable bit
|
# Bits 6 : DAC Output enable bit
|
||||||
# Bits 7 : =0
|
# Bits 7 : =0
|
||||||
|
|
||||||
rConvAdc0 {
|
rConvAdc0 {
|
||||||
out ${1} 64;
|
out ${1} 64;
|
||||||
in "%02r";
|
in "%02r";
|
||||||
@@ -34,15 +34,14 @@ rConvAdc3 {
|
|||||||
out ${1} 67;
|
out ${1} 67;
|
||||||
in "%02r";
|
in "%02r";
|
||||||
}
|
}
|
||||||
|
|
||||||
## @init { rReg; }
|
## @init { rReg; }
|
||||||
##
|
##
|
||||||
wReg {
|
wReg {
|
||||||
out ${1} "%.1r";
|
out ${1} "%.1r";
|
||||||
}
|
}
|
||||||
|
|
||||||
wDac {
|
wDac {
|
||||||
out ${1} 64 "%.1r";
|
out ${1} 64 "%.1r";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
int main(int argc,char *argv[])
|
int main(int argc,char *argv[])
|
||||||
{
|
{
|
||||||
if(argc>=2) {
|
if(argc>=2) {
|
||||||
iocsh(argv[1]);
|
iocsh(argv[1]);
|
||||||
epicsThreadSleep(.2);
|
epicsThreadSleep(.2);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,12 +11,14 @@
|
|||||||
* Copyright (c) : (IPFN-IST)
|
* Copyright (c) : (IPFN-IST)
|
||||||
*
|
*
|
||||||
* Created 5-Mar-2013
|
* Created 5-Mar-2013
|
||||||
* Revised 01-07-2019
|
* Revised 07-May-2021
|
||||||
* Modified 18-Nov-2019
|
* Modified 18-Nov-2019
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
|
//%% #include "errlog.h"
|
||||||
|
|
||||||
program IsttokSeqExec
|
program IsttokSeqExec
|
||||||
|
%{#include "errlog.h"}%
|
||||||
/* CONSTANT DECLARATION*/
|
/* CONSTANT DECLARATION*/
|
||||||
/*Relays and INPUT (Valleman Board) have negative Logic!*/
|
/*Relays and INPUT (Valleman Board) have negative Logic!*/
|
||||||
short PCF_RELAY_ON = 0;
|
short PCF_RELAY_ON = 0;
|
||||||
@@ -112,7 +114,7 @@ monitor STARTINGSTATE;
|
|||||||
short CLEANINGSTATE;
|
short CLEANINGSTATE;
|
||||||
assign CLEANINGSTATE to "ISTTOK:central:CLEANINGSTATE";
|
assign CLEANINGSTATE to "ISTTOK:central:CLEANINGSTATE";
|
||||||
monitor CLEANINGSTATE;
|
monitor CLEANINGSTATE;
|
||||||
|
|
||||||
short CLEANINGMANMODE;
|
short CLEANINGMANMODE;
|
||||||
assign CLEANINGMANMODE to "ISTTOK:central:CLEANINGMANMODE";
|
assign CLEANINGMANMODE to "ISTTOK:central:CLEANINGMANMODE";
|
||||||
monitor CLEANINGMANMODE;
|
monitor CLEANINGMANMODE;
|
||||||
@@ -126,58 +128,62 @@ monitor STOPPINGSTATE;
|
|||||||
|
|
||||||
short IsttokRPump1_Motor;
|
short IsttokRPump1_Motor;
|
||||||
assign IsttokRPump1_Motor to "ISTTOK:central:RPump1-Motor";
|
assign IsttokRPump1_Motor to "ISTTOK:central:RPump1-Motor";
|
||||||
|
|
||||||
short IsttokRPump1_Valve;
|
short IsttokRPump1_Valve;
|
||||||
assign IsttokRPump1_Valve to "ISTTOK:central:RPump1-Valve";
|
assign IsttokRPump1_Valve to "ISTTOK:central:RPump1-Valve";
|
||||||
|
|
||||||
short IsttokRPump2_Motor;
|
short IsttokRPump2_Motor;
|
||||||
assign IsttokRPump2_Motor to "ISTTOK:central:RPump2-Motor";
|
assign IsttokRPump2_Motor to "ISTTOK:central:RPump2-Motor";
|
||||||
|
|
||||||
short IsttokRPump2_Valve;
|
short IsttokRPump2_Valve;
|
||||||
assign IsttokRPump2_Valve to "ISTTOK:central:RPump2-Valve";
|
assign IsttokRPump2_Valve to "ISTTOK:central:RPump2-Valve";
|
||||||
|
|
||||||
short IsttokTMPump1_ControllerOff;
|
short IsttokTMPump1_ControllerOff;
|
||||||
assign IsttokTMPump1_ControllerOff to "ISTTOK:central:TMPump1-ControllerOff";
|
assign IsttokTMPump1_ControllerOff to "ISTTOK:central:TMPump1-ControllerOff";
|
||||||
|
|
||||||
short IsttokTMPump1_ControllerOn;
|
short IsttokTMPump1_ControllerOn;
|
||||||
assign IsttokTMPump1_ControllerOn to "ISTTOK:central:TMPump1-ControllerOn";
|
assign IsttokTMPump1_ControllerOn to "ISTTOK:central:TMPump1-ControllerOn";
|
||||||
|
|
||||||
short IsttokTMPump1_MotorOff;
|
short IsttokTMPump1_MotorOff;
|
||||||
assign IsttokTMPump1_MotorOff to "ISTTOK:central:TMPump1-MotorOff";
|
assign IsttokTMPump1_MotorOff to "ISTTOK:central:TMPump1-MotorOff";
|
||||||
|
|
||||||
short IsttokTMPump1_MotorOn;
|
short IsttokTMPump1_MotorOn;
|
||||||
assign IsttokTMPump1_MotorOn to "ISTTOK:central:TMPump1-MotorOn";
|
assign IsttokTMPump1_MotorOn to "ISTTOK:central:TMPump1-MotorOn";
|
||||||
|
|
||||||
short IsttokTMPump2_Motor;
|
short IsttokTMPump2_Motor;
|
||||||
assign IsttokTMPump2_Motor to "ISTTOK:central:TMPump2-Motor";
|
assign IsttokTMPump2_Motor to "ISTTOK:central:TMPump2-Motor";
|
||||||
|
|
||||||
short TMPump1NormalOperation;
|
short TMPump1NormalOperation;
|
||||||
assign TMPump1NormalOperation to "ISTTOK:central:TMPump1-NormalOperation";
|
assign TMPump1NormalOperation to "ISTTOK:central:TMPump1-NormalOperation";
|
||||||
monitor TMPump1NormalOperation;
|
monitor TMPump1NormalOperation;
|
||||||
|
|
||||||
short IsttokTMPump1_Power;
|
short IsttokTMPump1_Power;
|
||||||
assign IsttokTMPump1_Power to "ISTTOK:central:TMPump1-Power";
|
assign IsttokTMPump1_Power to "ISTTOK:central:TMPump1-Power";
|
||||||
monitor IsttokTMPump1_Power;
|
monitor IsttokTMPump1_Power;
|
||||||
|
|
||||||
short IsttokTMPump1_Emergency;
|
short IsttokTMPump1_Emergency;
|
||||||
assign IsttokTMPump1_Emergency to "ISTTOK:central:TMPump1-Emergency";
|
assign IsttokTMPump1_Emergency to "ISTTOK:central:TMPump1-Emergency";
|
||||||
monitor IsttokTMPump1_Emergency;
|
monitor IsttokTMPump1_Emergency;
|
||||||
|
|
||||||
short IsttokTMPump1_ManualValve;
|
short IsttokTMPump1_ManualValve;
|
||||||
assign IsttokTMPump1_ManualValve to "ISTTOK:central:TMPump1-ManualValve";
|
assign IsttokTMPump1_ManualValve to "ISTTOK:central:TMPump1-ManualValve";
|
||||||
monitor IsttokTMPump1_ManualValve;
|
monitor IsttokTMPump1_ManualValve;
|
||||||
|
|
||||||
|
/*
|
||||||
short IsttokTMPump2_Emergency;
|
short IsttokTMPump2_Emergency;
|
||||||
assign IsttokTMPump2_Emergency to "ISTTOK:central:TMPump2-Emergency";
|
assign IsttokTMPump2_Emergency to "ISTTOK:central:TMPump2-Emergency";
|
||||||
monitor IsttokTMPump2_Emergency;
|
monitor IsttokTMPump2_Emergency;
|
||||||
|
*/
|
||||||
|
|
||||||
float IsttokRPump1_Pressure;
|
float IsttokRPump1_Pressure;
|
||||||
assign IsttokRPump1_Pressure to "ISTTOK:central:RPump1-Pressure";
|
assign IsttokRPump1_Pressure to "ISTTOK:vacuum:RPump1-Pressure";
|
||||||
monitor IsttokRPump1_Pressure;
|
monitor IsttokRPump1_Pressure;
|
||||||
|
|
||||||
|
/*
|
||||||
float IsttokRPump2_Pressure;
|
float IsttokRPump2_Pressure;
|
||||||
assign IsttokRPump2_Pressure to "ISTTOK:central:RPump2-Pressure";
|
assign IsttokRPump2_Pressure to "ISTTOK:central:RPump2-Pressure";
|
||||||
monitor IsttokRPump2_Pressure;
|
monitor IsttokRPump2_Pressure;
|
||||||
|
*/
|
||||||
|
|
||||||
float IsttokVVesselTemperature;
|
float IsttokVVesselTemperature;
|
||||||
assign IsttokVVesselTemperature to "ISTTOK:temperature:VVessel-Temperature";
|
assign IsttokVVesselTemperature to "ISTTOK:temperature:VVessel-Temperature";
|
||||||
@@ -185,25 +191,25 @@ monitor IsttokVVesselTemperature;
|
|||||||
|
|
||||||
short IsttokShotBuzzer;
|
short IsttokShotBuzzer;
|
||||||
assign IsttokShotBuzzer to "ISTTOK:central:Buzzer";
|
assign IsttokShotBuzzer to "ISTTOK:central:Buzzer";
|
||||||
|
|
||||||
short IsttokShotLab_WarningLight;
|
short IsttokShotLab_WarningLight;
|
||||||
assign IsttokShotLab_WarningLight to "ISTTOK:central:Lab-WarningLight";
|
assign IsttokShotLab_WarningLight to "ISTTOK:central:Lab-WarningLight";
|
||||||
|
|
||||||
short IsttokShotGasIS_Valves;
|
short IsttokShotGasIS_Valves;
|
||||||
assign IsttokShotGasIS_Valves to "ISTTOK:central:GasIS-Valves";
|
assign IsttokShotGasIS_Valves to "ISTTOK:central:GasIS-Valves";
|
||||||
|
|
||||||
short IsttokShotVVessel_Filament;
|
short IsttokShotVVessel_Filament;
|
||||||
assign IsttokShotVVessel_Filament to "ISTTOK:central:VVessel-Filament";
|
assign IsttokShotVVessel_Filament to "ISTTOK:central:VVessel-Filament";
|
||||||
|
|
||||||
short IsttokShotCapBank_Charge;
|
short IsttokShotCapBank_Charge;
|
||||||
assign IsttokShotCapBank_Charge to "ISTTOK:central:CapBank-Charge";
|
assign IsttokShotCapBank_Charge to "ISTTOK:central:CapBank-Charge";
|
||||||
|
|
||||||
short IsttokShotCapBank_Discharge;
|
short IsttokShotCapBank_Discharge;
|
||||||
assign IsttokShotCapBank_Discharge to "ISTTOK:central:CapBank-Discharge";
|
assign IsttokShotCapBank_Discharge to "ISTTOK:central:CapBank-Discharge";
|
||||||
|
|
||||||
short IsttokShotClean_TorContactor;
|
short IsttokShotClean_TorContactor;
|
||||||
assign IsttokShotClean_TorContactor to "ISTTOK:central:Clean-TorContactor";
|
assign IsttokShotClean_TorContactor to "ISTTOK:central:Clean-TorContactor";
|
||||||
|
|
||||||
short IsttokShotClean_TorPneuBreaker;
|
short IsttokShotClean_TorPneuBreaker;
|
||||||
assign IsttokShotClean_TorPneuBreaker to "ISTTOK:central:Clean-TorPneuBreaker";
|
assign IsttokShotClean_TorPneuBreaker to "ISTTOK:central:Clean-TorPneuBreaker";
|
||||||
|
|
||||||
@@ -406,13 +412,14 @@ ss PulseSequence {
|
|||||||
/* Pulse state change to Emergency*/
|
/* Pulse state change to Emergency*/
|
||||||
} state Emergency
|
} state Emergency
|
||||||
|
|
||||||
when ( pvStatus(IsttokRPump1_Pressure) != pvStatOK || pvStatus(IsttokRPump2_Pressure) != pvStatOK ||
|
when ( pvStatus(IsttokRPump1_Pressure) != pvStatOK || pvStatus(IsttokTMPump1_Emergency) != pvStatOK ) {
|
||||||
pvStatus(IsttokTMPump1_Emergency) != pvStatOK || pvStatus(IsttokTMPump2_Emergency) != pvStatOK) {
|
//when ( pvStatus(IsttokRPump1_Pressure) != pvStatOK || pvStatus(IsttokRPump2_Pressure) != pvStatOK ||
|
||||||
|
// pvStatus(IsttokTMPump1_Emergency) != pvStatOK || pvStatus(IsttokTMPump2_Emergency) != pvStatOK) {
|
||||||
/* Vacuum emergency: Pulse state change to Stopping */
|
/* Vacuum emergency: Pulse state change to Stopping */
|
||||||
IsttokOPREQ = STOP;
|
IsttokOPREQ = STOP;
|
||||||
pvPut(IsttokOPREQ);
|
pvPut(IsttokOPREQ);
|
||||||
//strcpy(sendMail, "Vacuum Emergency while Process");
|
//strcpy(sendMail, "Vacuum Emergency while Process");
|
||||||
sprintf(sendMail, "R1:%1.1e R2:%.1e T1:%d T2:%d",IsttokRPump1_Pressure,IsttokRPump2_Pressure,IsttokTMPump1_Emergency,IsttokTMPump2_Emergency);
|
sprintf(sendMail, "R1:%1.1e T1:%d",IsttokRPump1_Pressure,IsttokTMPump1_Emergency);
|
||||||
pvPut(sendMail);
|
pvPut(sendMail);
|
||||||
} state Stopping
|
} state Stopping
|
||||||
|
|
||||||
@@ -453,8 +460,9 @@ ss PulseSequence {
|
|||||||
|
|
||||||
when (IsttokOPREQ == STOP) {} state Stopping
|
when (IsttokOPREQ == STOP) {} state Stopping
|
||||||
|
|
||||||
when ( pvStatus(IsttokTMPump1_Emergency) != pvStatOK ||
|
when ( pvStatus(IsttokTMPump1_Emergency) != pvStatOK) {
|
||||||
pvStatus(IsttokTMPump2_Emergency) != pvStatOK) {
|
//when ( pvStatus(IsttokTMPump1_Emergency) != pvStatOK ||
|
||||||
|
// pvStatus(IsttokTMPump2_Emergency) != pvStatOK) {
|
||||||
/* Vacuum emergency: Pulse state change to Stopping */
|
/* Vacuum emergency: Pulse state change to Stopping */
|
||||||
IsttokOPREQ = STOP;
|
IsttokOPREQ = STOP;
|
||||||
pvPut(IsttokOPREQ);
|
pvPut(IsttokOPREQ);
|
||||||
@@ -497,8 +505,9 @@ ss PulseSequence {
|
|||||||
/* Pulse state change to Stopping */
|
/* Pulse state change to Stopping */
|
||||||
} state Stopping
|
} state Stopping
|
||||||
|
|
||||||
when ( pvStatus(IsttokTMPump1_Emergency) != pvStatOK ||
|
when ( pvStatus(IsttokTMPump1_Emergency) != pvStatOK) {
|
||||||
pvStatus(IsttokTMPump2_Emergency) != pvStatOK) {
|
//when ( pvStatus(IsttokTMPump1_Emergency) != pvStatOK ||
|
||||||
|
// pvStatus(IsttokTMPump2_Emergency) != pvStatOK) {
|
||||||
/* Vacuum emergency: Pulse state change to Stopping */
|
/* Vacuum emergency: Pulse state change to Stopping */
|
||||||
IsttokOPREQ = STOP;
|
IsttokOPREQ = STOP;
|
||||||
pvPut(IsttokOPREQ);
|
pvPut(IsttokOPREQ);
|
||||||
@@ -677,7 +686,8 @@ ss StartingSequence {
|
|||||||
STARTINGSTATE = STRST_NonStarting;
|
STARTINGSTATE = STRST_NonStarting;
|
||||||
pvPut(STARTINGSTATE);
|
pvPut(STARTINGSTATE);
|
||||||
} state NonStarting
|
} state NonStarting
|
||||||
when ( (pvStatus(IsttokRPump1_Pressure) == pvStatOK) && (pvStatus(IsttokRPump2_Pressure) == pvStatOK)) {
|
//when ( (pvStatus(IsttokRPump1_Pressure) == pvStatOK) && (pvStatus(IsttokRPump2_Pressure) == pvStatOK)) {
|
||||||
|
when ( pvStatus(IsttokRPump1_Pressure) == pvStatOK) {
|
||||||
|
|
||||||
strcpy(msg, "TMP1 MotorOn ON" );
|
strcpy(msg, "TMP1 MotorOn ON" );
|
||||||
pvPut(msg);
|
pvPut(msg);
|
||||||
|
|||||||
@@ -4,18 +4,38 @@ include $(TOP)/configure/CONFIG
|
|||||||
#----------------------------------------
|
#----------------------------------------
|
||||||
# ADD MACRO DEFINITIONS BELOW HERE
|
# ADD MACRO DEFINITIONS BELOW HERE
|
||||||
|
|
||||||
|
# Use typed rset structure (see 3.16.1 release notes)
|
||||||
|
USR_CPPFLAGS += -DUSE_TYPED_RSET
|
||||||
|
|
||||||
|
# xxxRecord.h will be created from xxxRecord.dbd
|
||||||
|
#DBDINC += xxxRecord
|
||||||
|
|
||||||
|
# Install xxxSupport.dbd into <top>/dbd
|
||||||
|
#DBD += xxxSupport.dbd
|
||||||
|
|
||||||
# Build an IOC support library
|
# Build an IOC support library
|
||||||
LIBRARY_IOC += ISTTOKrpiSupport
|
LIBRARY_IOC += ISTTOKrpiSupport
|
||||||
|
|
||||||
# Compile and add the code to the support library
|
# Compile and add code to the support library
|
||||||
|
#ISTTOKrpiSupport_SRCS += xxxRecord.c
|
||||||
|
#ISTTOKrpiSupport_SRCS += devXxxSoft.c
|
||||||
|
|
||||||
# Link locally-provided code into the support library,
|
# Link locally-provided code into the support library,
|
||||||
# rather than directly into the IOC application.
|
# rather than directly into the IOC application, that
|
||||||
# This is required for Windows DLL builds.
|
# causes problems on Windows DLL builds
|
||||||
|
#ISTTOKrpiSupport_SRCS += dbSubExample.c
|
||||||
|
#ISTTOKrpiSupport_SRCS += devISTTOKrpiVersion.c
|
||||||
|
#ISTTOKrpiSupport_SRCS += ISTTOKrpiHello.c
|
||||||
ISTTOKrpiSupport_SRCS += initTrace.c
|
ISTTOKrpiSupport_SRCS += initTrace.c
|
||||||
|
|
||||||
ISTTOKrpiSupport_LIBS += $(EPICS_BASE_IOC_LIBS)
|
ISTTOKrpiSupport_LIBS += $(EPICS_BASE_IOC_LIBS)
|
||||||
|
|
||||||
|
# Auto-generate a header file containing a version string.
|
||||||
|
# Version comes from the VCS if available, else date+time.
|
||||||
|
#GENVERSION = ISTTOKrpiVersion.h
|
||||||
|
# Macro name
|
||||||
|
#GENVERSIONMACRO = ISTTOKrpiVERSION
|
||||||
|
|
||||||
# Build the IOC application
|
# Build the IOC application
|
||||||
PROD_IOC = ISTTOKrpi
|
PROD_IOC = ISTTOKrpi
|
||||||
|
|
||||||
@@ -27,6 +47,7 @@ ISTTOKrpi_DBD += base.dbd
|
|||||||
ISTTOKrpi_DBD += initTrace.dbd
|
ISTTOKrpi_DBD += initTrace.dbd
|
||||||
# Include dbd files from all support applications:
|
# Include dbd files from all support applications:
|
||||||
ISTTOKrpi_DBD += asyn.dbd
|
ISTTOKrpi_DBD += asyn.dbd
|
||||||
|
#ISTTOKrpi_DBD += calc.dbd
|
||||||
ISTTOKrpi_DBD += stream.dbd
|
ISTTOKrpi_DBD += stream.dbd
|
||||||
ISTTOKrpi_DBD += drvAsynI2C.dbd
|
ISTTOKrpi_DBD += drvAsynI2C.dbd
|
||||||
ISTTOKrpi_DBD += drvAsynSerialPort.dbd
|
ISTTOKrpi_DBD += drvAsynSerialPort.dbd
|
||||||
@@ -35,6 +56,7 @@ ISTTOKrpi_DBD += asSupport.dbd
|
|||||||
|
|
||||||
# Add all the support libraries needed by this IOC
|
# Add all the support libraries needed by this IOC
|
||||||
ISTTOKrpi_LIBS += asyn
|
ISTTOKrpi_LIBS += asyn
|
||||||
|
#ISTTOKrpi_LIBS += calc
|
||||||
ISTTOKrpi_LIBS += stream
|
ISTTOKrpi_LIBS += stream
|
||||||
ISTTOKrpi_LIBS += drvAsynI2C
|
ISTTOKrpi_LIBS += drvAsynI2C
|
||||||
ISTTOKrpi_LIBS += autosave
|
ISTTOKrpi_LIBS += autosave
|
||||||
@@ -52,14 +74,21 @@ ISTTOKrpi_LIBS += ISTTOKrpiSupport
|
|||||||
# To build SNL programs, SNCSEQ must be defined
|
# To build SNL programs, SNCSEQ must be defined
|
||||||
# in the <top>/configure/RELEASE file
|
# in the <top>/configure/RELEASE file
|
||||||
ifneq ($(SNCSEQ),)
|
ifneq ($(SNCSEQ),)
|
||||||
# Build sncExample into ISTTOKrpiSupport , Safe Mode : +s
|
# Build sncExample into ISTTOKrpiSupport , Safe Mode : +s
|
||||||
IsttokSeqExec_SNCFLAGS += +r +s
|
IsttokSeqExec_SNCFLAGS += +r +s
|
||||||
ISTTOKrpi_DBD += IsttokSeqExec.dbd
|
ISTTOKrpi_DBD += IsttokSeqExec.dbd
|
||||||
# A .stt sequence program is *not* pre-processed:
|
# A .stt sequence program is *not* pre-processed:
|
||||||
ISTTOKrpiSupport_SRCS += IsttokSeqExec.stt
|
ISTTOKrpiSupport_SRCS += IsttokSeqExec.stt
|
||||||
ISTTOKrpiSupport_LIBS += seq pv
|
ISTTOKrpiSupport_LIBS += seq pv
|
||||||
ISTTOKrpi_LIBS += seq pv
|
ISTTOKrpi_LIBS += seq pv
|
||||||
|
endif
|
||||||
|
|
||||||
|
# Link QSRV (pvAccess Server) if available
|
||||||
|
ifdef EPICS_QSRV_MAJOR_VERSION
|
||||||
|
ISTTOKrpi_LIBS += qsrv
|
||||||
|
ISTTOKrpi_LIBS += $(EPICS_BASE_PVA_CORE_LIBS)
|
||||||
|
ISTTOKrpi_DBD += PVAServerRegister.dbd
|
||||||
|
ISTTOKrpi_DBD += qsrv.dbd
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Finally link IOC to the EPICS Base libraries
|
# Finally link IOC to the EPICS Base libraries
|
||||||
@@ -69,3 +98,5 @@ include $(TOP)/configure/RULES
|
|||||||
#----------------------------------------
|
#----------------------------------------
|
||||||
# ADD EXTRA GNUMAKE RULES BELOW HERE
|
# ADD EXTRA GNUMAKE RULES BELOW HERE
|
||||||
|
|
||||||
|
# Explicit dependency needed for generated header file
|
||||||
|
devISTTOKrpiVersion$(DEP): $(COMMON_DIR)/$(GENVERSION)
|
||||||
|
|||||||
@@ -23,8 +23,7 @@ CHECK_RELEASE = YES
|
|||||||
|
|
||||||
# To install files into a location other than $(TOP) define
|
# To install files into a location other than $(TOP) define
|
||||||
# INSTALL_LOCATION here.
|
# INSTALL_LOCATION here.
|
||||||
INSTALL_LOCATION=/opt/epics/iocs/ISTTOKrpi
|
#INSTALL_LOCATION=</absolute/path/to/install/top>
|
||||||
#</absolute/path/to/install/top>
|
|
||||||
|
|
||||||
# Set this when the IOC and build host use different paths
|
# Set this when the IOC and build host use different paths
|
||||||
# to the install location. This may be needed to boot from
|
# to the install location. This may be needed to boot from
|
||||||
|
|||||||
@@ -1,13 +1,12 @@
|
|||||||
# RELEASE - Location of external support modules
|
# RELEASE - Location of external support modules
|
||||||
#
|
#
|
||||||
# IF YOU MAKE ANY CHANGES to this file you must subsequently
|
# IF YOU CHANGE ANY PATHS in this file or make API changes to
|
||||||
# do a "gnumake rebuild" in this application's top level
|
# any modules it refers to, you should do a "make rebuild" in
|
||||||
# directory.
|
# this application's top level directory.
|
||||||
#
|
#
|
||||||
# The build process does not check dependencies against files
|
# The EPICS build process does not check dependencies against
|
||||||
# that are outside this application, thus you should do a
|
# any files from outside the application, so it is safest to
|
||||||
# "gnumake rebuild" in the top level directory after EPICS_BASE
|
# rebuild it completely if any modules it depends on change.
|
||||||
# or any other external module pointed to below is rebuilt.
|
|
||||||
#
|
#
|
||||||
# Host- or target-specific settings can be given in files named
|
# Host- or target-specific settings can be given in files named
|
||||||
# RELEASE.$(EPICS_HOST_ARCH).Common
|
# RELEASE.$(EPICS_HOST_ARCH).Common
|
||||||
@@ -15,7 +14,7 @@
|
|||||||
# RELEASE.$(EPICS_HOST_ARCH).$(T_A)
|
# RELEASE.$(EPICS_HOST_ARCH).$(T_A)
|
||||||
#
|
#
|
||||||
# This file is parsed by both GNUmake and an EPICS Perl script,
|
# This file is parsed by both GNUmake and an EPICS Perl script,
|
||||||
# so it can ONLY contain definititions of paths to other support
|
# so it may ONLY contain definititions of paths to other support
|
||||||
# modules, variable definitions that are used in module paths,
|
# modules, variable definitions that are used in module paths,
|
||||||
# and include statements that pull in other RELEASE files.
|
# and include statements that pull in other RELEASE files.
|
||||||
# Variables may be used before their values have been set.
|
# Variables may be used before their values have been set.
|
||||||
@@ -23,25 +22,21 @@
|
|||||||
# the CONFIG_SITE file.
|
# the CONFIG_SITE file.
|
||||||
|
|
||||||
# Variables and paths to dependent modules:
|
# Variables and paths to dependent modules:
|
||||||
SUPPORT=$(EPICS_BASE)/../synApps_5_8/support
|
#MODULES = /path/to/modules
|
||||||
|
#MYMODULE = $(MODULES)/my-module
|
||||||
|
|
||||||
# If using the sequencer, point SNCSEQ at its top directory:
|
# If using the sequencer, point SNCSEQ at its top directory:
|
||||||
SNCSEQ = $(SUPPORT)/seq-2-2-1
|
#SNCSEQ = $(MODULES)/seq-ver
|
||||||
ASYN = $(SUPPORT)/asyn-4-26
|
|
||||||
STREAM = $(SUPPORT)/stream-2-6a
|
|
||||||
AUTOSAVE = $(SUPPORT)/autosave-5-6-1
|
|
||||||
DRVASYNI2C = $(EPICS_BASE)/../modules/drvAsynI2C
|
|
||||||
|
|
||||||
#
|
|
||||||
# EPICS_BASE should appear last so earlier modules can override stuff:
|
# EPICS_BASE should appear last so earlier modules can override stuff:
|
||||||
EPICS_BASE = /usr/local/epics/base
|
EPICS_BASE = /home/pi/Apps/epics7/epics-base
|
||||||
|
|
||||||
# Set RULES here if you want to use build rules from somewhere
|
# Set RULES here if you want to use build rules from somewhere
|
||||||
# other than EPICS_BASE:
|
# other than EPICS_BASE:
|
||||||
#RULES = $(MODULES)/build-rules
|
#RULES = $(MODULES)/build-rules
|
||||||
|
|
||||||
# These allow developers to override the RELEASE variable settings
|
# These lines allow developers to override these RELEASE settings
|
||||||
# without having to modify the configure/RELEASE file itself.
|
# without having to modify this file directly.
|
||||||
-include $(TOP)/../RELEASE.local
|
-include $(TOP)/../RELEASE.local
|
||||||
|
-include $(TOP)/../RELEASE.$(EPICS_HOST_ARCH).local
|
||||||
-include $(TOP)/configure/RELEASE.local
|
-include $(TOP)/configure/RELEASE.local
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
TOP = ../..
|
TOP = ../..
|
||||||
include $(TOP)/configure/CONFIG
|
include $(TOP)/configure/CONFIG
|
||||||
|
ARCH = $(EPICS_HOST_ARCH)
|
||||||
TARGETS = envPaths
|
TARGETS = envPaths
|
||||||
include $(TOP)/configure/RULES.ioc
|
include $(TOP)/configure/RULES.ioc
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
epicsEnvSet("IOC","iocISTTOKrpi")
|
epicsEnvSet("IOC","iocISTTOKrpi")
|
||||||
epicsEnvSet("TOP","/home/pi/ISTTOK/epics/iocs/ISTTOKrpi")
|
epicsEnvSet("TOP","/home/pi/ISTTOK/epics/iocs/ISTTOKrpi")
|
||||||
epicsEnvSet("SUPPORT","/usr/local/epics/base/../synApps_5_8/support")
|
epicsEnvSet("EPICS_BASE","/home/pi/Apps/epics7/epics-base")
|
||||||
epicsEnvSet("SNCSEQ","/usr/local/epics/base/../synApps_5_8/support/seq-2-2-1")
|
epicsEnvSet("HOME","/home/pi")
|
||||||
epicsEnvSet("ASYN","/usr/local/epics/base/../synApps_5_8/support/asyn-4-26")
|
epicsEnvSet("SUPPORT","/home/pi/Apps/epics7/support")
|
||||||
epicsEnvSet("STREAM","/usr/local/epics/base/../synApps_5_8/support/stream-2-6a")
|
epicsEnvSet("ASYN","/home/pi/Apps/epics7/support/asyn")
|
||||||
epicsEnvSet("AUTOSAVE","/usr/local/epics/base/../synApps_5_8/support/autosave-5-6-1")
|
epicsEnvSet("STREAM","/home/pi/Apps/epics7/support/StreamDevice")
|
||||||
epicsEnvSet("DRVASYNI2C","/usr/local/epics/base/../modules/drvAsynI2C")
|
epicsEnvSet("AUTOSAVE","/home/pi/Apps/epics7/support/autosave")
|
||||||
epicsEnvSet("EPICS_BASE","/usr/local/epics/base")
|
epicsEnvSet("DRVASYNI2C","/home/pi/Apps/epics7/support/drvAsynI2C")
|
||||||
|
epicsEnvSet("SNCSEQ","/home/pi/Apps/epics7/support/seq-2-2")
|
||||||
|
|||||||
@@ -11,8 +11,8 @@ ISTTOK:central:TMPump1-ManualValve.VAL
|
|||||||
ISTTOK:central:Shot-TorPSCurrent
|
ISTTOK:central:Shot-TorPSCurrent
|
||||||
|
|
||||||
#ALARM Limits
|
#ALARM Limits
|
||||||
ISTTOK:central:RPump1-Pressure.HIGH
|
ISTTOK:vacuum:RPump1-Pressure.HIGH
|
||||||
ISTTOK:central:RPump1-Pressure.HIHI
|
ISTTOK:vacuum:RPump1-Pressure.HIHI
|
||||||
ISTTOK:central:RPump2-Pressure.HIGH
|
#ISTTOK:central:RPump2-Pressure.HIGH
|
||||||
ISTTOK:central:RPump2-Pressure.HIHI
|
#ISTTOK:central:RPump2-Pressure.HIHI
|
||||||
|
|
||||||
|
|||||||
@@ -1,27 +1,3 @@
|
|||||||
ISTTOK:central:CurrentTime
|
|
||||||
ISTTOK:central:OPCALCSTATE
|
|
||||||
ISTTOK:central:STARTCALCSTATE
|
|
||||||
ISTTOK:central:STOPPINGCALCSTATE
|
|
||||||
ISTTOK:central:CLEANCALCSTATE
|
|
||||||
ISTTOK:central:WSHOTCALCSTATE
|
|
||||||
ISTTOK:central:COUNTDOWN
|
|
||||||
ISTTOK:central:COUNTER
|
|
||||||
ISTTOK:central:PCF8591:72:BYTE2_CH1
|
|
||||||
ISTTOK:central:PCF8591:72:BYTE2_CH2
|
|
||||||
ISTTOK:central:PCF8591:72:BYTE2_CH3
|
|
||||||
ISTTOK:central:Emergency
|
|
||||||
ISTTOK:central:VVessel-Pressure
|
|
||||||
ISTTOK:central:RPump1-Pressure
|
|
||||||
ISTTOK:central:TMPump1-PressureAdmission
|
|
||||||
ISTTOK:central:RPump2-Pressure
|
|
||||||
ISTTOK:central:TMPump2-Speed
|
|
||||||
ISTTOK:central:TMPump2-Current
|
|
||||||
ISTTOK:central:Shot-TorPSCurrentImage
|
|
||||||
ISTTOK:central:PCF8574:56:REGISTER
|
|
||||||
ISTTOK:central:PCF8574:57:REGISTER
|
|
||||||
ISTTOK:central:PCF8574:60:REGISTER
|
|
||||||
ISTTOK:central:PCF8574:61:REGISTER
|
|
||||||
ISTTOK:central:PCF8591:72:CTRLREGISTER
|
|
||||||
ISTTOK:central:PULSE-NUMBER
|
ISTTOK:central:PULSE-NUMBER
|
||||||
ISTTOK:central:PCF8591:72:DAC
|
ISTTOK:central:PCF8591:72:DAC
|
||||||
ISTTOK:central:TDA8444:32:DAC_CH0
|
ISTTOK:central:TDA8444:32:DAC_CH0
|
||||||
@@ -40,22 +16,17 @@ ISTTOK:SR_4_State
|
|||||||
ISTTOK:SR_5_State
|
ISTTOK:SR_5_State
|
||||||
ISTTOK:SR_6_State
|
ISTTOK:SR_6_State
|
||||||
ISTTOK:SR_7_State
|
ISTTOK:SR_7_State
|
||||||
ISTTOK:central:PCF8591:72:ADC_CH1
|
ISTTOK:SR_disableMaxSecs
|
||||||
ISTTOK:central:PCF8591:72:ADC_CH2
|
|
||||||
ISTTOK:central:PCF8591:72:ADC_CH3
|
|
||||||
ISTTOK:central:P001:M
|
|
||||||
ISTTOK:central:P001:E
|
|
||||||
ISTTOK:central:P002:M
|
|
||||||
ISTTOK:central:P002:E
|
|
||||||
ISTTOK:central:P003:M
|
|
||||||
ISTTOK:central:P003:E
|
|
||||||
ISTTOK:central:P004:M
|
|
||||||
ISTTOK:central:P004:E
|
|
||||||
ISTTOK:central:OPSTATE
|
ISTTOK:central:OPSTATE
|
||||||
ISTTOK:central:STARTINGSTATE
|
ISTTOK:central:STARTINGSTATE
|
||||||
ISTTOK:central:CLEANINGSTATE
|
ISTTOK:central:CLEANINGSTATE
|
||||||
ISTTOK:central:WSHOTINGSTATE
|
ISTTOK:central:WSHOTINGSTATE
|
||||||
ISTTOK:central:STOPPINGSTATE
|
ISTTOK:central:STOPPINGSTATE
|
||||||
|
ISTTOK:central:PCF8574:56:REGISTER:READ
|
||||||
|
ISTTOK:central:PCF8574:57:REGISTER:READ
|
||||||
|
ISTTOK:central:PCF8574:60:REGISTER:READ
|
||||||
|
ISTTOK:central:PCF8574:61:REGISTER:READ
|
||||||
|
ISTTOK:central:CurrentTime
|
||||||
ISTTOK:central:TMPump1-Power
|
ISTTOK:central:TMPump1-Power
|
||||||
ISTTOK:central:TMPump1-Emergency
|
ISTTOK:central:TMPump1-Emergency
|
||||||
ISTTOK:central:TMPump1-Acceleration
|
ISTTOK:central:TMPump1-Acceleration
|
||||||
@@ -64,12 +35,44 @@ ISTTOK:central:TMPump2-Emergency
|
|||||||
ISTTOK:central:TMPump2-Acceleration
|
ISTTOK:central:TMPump2-Acceleration
|
||||||
ISTTOK:central:TTSystem-tzero
|
ISTTOK:central:TTSystem-tzero
|
||||||
ISTTOK:central:Emergency-PhysButton
|
ISTTOK:central:Emergency-PhysButton
|
||||||
|
ISTTOK:central:PCF8574:56:REGISTER:READ:FNOUT
|
||||||
|
ISTTOK:central:PCF8574:57:REGISTER:READ:FNOUT
|
||||||
ISTTOK:central:TMPump1-ControllerOnInv
|
ISTTOK:central:TMPump1-ControllerOnInv
|
||||||
ISTTOK:central:TMPump1-ControllerOffInv
|
ISTTOK:central:TMPump1-ControllerOffInv
|
||||||
ISTTOK:central:TMPump1-MotorOnInv
|
ISTTOK:central:TMPump1-MotorOnInv
|
||||||
ISTTOK:central:TMPump1-MotorOffInv
|
ISTTOK:central:TMPump1-MotorOffInv
|
||||||
ISTTOK:central:BuzzerInv
|
ISTTOK:central:BuzzerInv
|
||||||
ISTTOK:central:Shot-TorPSTriggerInv
|
ISTTOK:central:Shot-TorPSTriggerInv
|
||||||
|
ISTTOK:central:PCF8574:56:REGISTER
|
||||||
|
ISTTOK:central:PCF8574:57:REGISTER
|
||||||
|
ISTTOK:central:PCF8574:60:REGISTER
|
||||||
|
ISTTOK:central:PCF8574:61:REGISTER
|
||||||
|
ISTTOK:central:PCF8591:72:CTRLREGISTER
|
||||||
|
ISTTOK:central:OPCALCSTATE
|
||||||
|
ISTTOK:central:STARTCALCSTATE
|
||||||
|
ISTTOK:central:STOPPINGCALCSTATE
|
||||||
|
ISTTOK:central:CLEANCALCSTATE
|
||||||
|
ISTTOK:central:WSHOTCALCSTATE
|
||||||
|
ISTTOK:central:COUNTDOWN
|
||||||
|
ISTTOK:central:COUNTER
|
||||||
|
ISTTOK:central:PCF8591:72:BYTE2_CH1
|
||||||
|
ISTTOK:central:PCF8591:72:BYTE2_CH2
|
||||||
|
ISTTOK:central:PCF8591:72:BYTE2_CH3
|
||||||
|
ISTTOK:central:Emergency
|
||||||
|
ISTTOK:central:LASTOPSTATE
|
||||||
|
ISTTOK:SR_rebootStatus
|
||||||
|
ISTTOK:SR_status
|
||||||
|
ISTTOK:SR_0_Status
|
||||||
|
ISTTOK:SR_1_Status
|
||||||
|
ISTTOK:SR_2_Status
|
||||||
|
ISTTOK:SR_3_Status
|
||||||
|
ISTTOK:SR_4_Status
|
||||||
|
ISTTOK:SR_5_Status
|
||||||
|
ISTTOK:SR_6_Status
|
||||||
|
ISTTOK:SR_7_Status
|
||||||
|
ISTTOK:central:TMPump2-Speed
|
||||||
|
ISTTOK:central:TMPump2-Current
|
||||||
|
ISTTOK:central:Shot-TorPSCurrentImage
|
||||||
ISTTOK:central:OPREQ
|
ISTTOK:central:OPREQ
|
||||||
ISTTOK:central:CLEANINGMANMODE
|
ISTTOK:central:CLEANINGMANMODE
|
||||||
ISTTOK:central:FSTriggerStart
|
ISTTOK:central:FSTriggerStart
|
||||||
@@ -102,24 +105,12 @@ ISTTOK:central:TMPump1-ManualValve
|
|||||||
ISTTOK:SR_heartbeat
|
ISTTOK:SR_heartbeat
|
||||||
ISTTOK:SR_i_am_alive
|
ISTTOK:SR_i_am_alive
|
||||||
ISTTOK:SR_deadIfZero
|
ISTTOK:SR_deadIfZero
|
||||||
ISTTOK:central:LASTOPSTATE
|
ISTTOK:SR_disable
|
||||||
ISTTOK:SR_rebootStatus
|
ISTTOK:central:PCF8591:72:ADC_CH1
|
||||||
ISTTOK:SR_status
|
ISTTOK:central:PCF8591:72:ADC_CH2
|
||||||
ISTTOK:SR_0_Status
|
ISTTOK:central:PCF8591:72:ADC_CH3
|
||||||
ISTTOK:SR_1_Status
|
|
||||||
ISTTOK:SR_2_Status
|
|
||||||
ISTTOK:SR_3_Status
|
|
||||||
ISTTOK:SR_4_Status
|
|
||||||
ISTTOK:SR_5_Status
|
|
||||||
ISTTOK:SR_6_Status
|
|
||||||
ISTTOK:SR_7_Status
|
|
||||||
ISTTOK:central:PCF8574:56:REGISTER:READ
|
|
||||||
ISTTOK:central:PCF8574:57:REGISTER:READ
|
|
||||||
ISTTOK:central:PCF8574:60:REGISTER:READ
|
|
||||||
ISTTOK:central:PCF8574:61:REGISTER:READ
|
|
||||||
ISTTOK:central:TraceMessage
|
ISTTOK:central:TraceMessage
|
||||||
ISTTOK:central:LogMessage
|
ISTTOK:central:LogMessage
|
||||||
ISTTOK:central:RS485Debug
|
|
||||||
ISTTOK:central:sendmail
|
ISTTOK:central:sendmail
|
||||||
ISTTOK:SR_recentlyStr
|
ISTTOK:SR_recentlyStr
|
||||||
ISTTOK:SR_rebootStatusStr
|
ISTTOK:SR_rebootStatusStr
|
||||||
@@ -149,5 +140,3 @@ ISTTOK:SR_6_Time
|
|||||||
ISTTOK:SR_7_Name
|
ISTTOK:SR_7_Name
|
||||||
ISTTOK:SR_7_StatusStr
|
ISTTOK:SR_7_StatusStr
|
||||||
ISTTOK:SR_7_Time
|
ISTTOK:SR_7_Time
|
||||||
ISTTOK:central:PCF8574:56:REGISTER:READ:FNOUT
|
|
||||||
ISTTOK:central:PCF8574:57:REGISTER:READ:FNOUT
|
|
||||||
|
|||||||
@@ -1,15 +1,14 @@
|
|||||||
# autosave R5.3 Automatically generated - DO NOT MODIFY - 200127-094325
|
# autosave R5.3 Automatically generated - DO NOT MODIFY - 210511-111857
|
||||||
ISTTOK:central:PULSE-NUMBER.VAL 48422
|
! 2 channel(s) not connected - or not all gets were successful
|
||||||
ISTTOK:central:LogMessage.VAL Emplastro esteve aqui
|
ISTTOK:central:PULSE-NUMBER.VAL 0
|
||||||
ISTTOK:central:LASTOPSTATE.VAL 5
|
ISTTOK:central:LogMessage.VAL
|
||||||
ISTTOK:central:OPREQ 1
|
ISTTOK:central:LASTOPSTATE.VAL 0
|
||||||
|
ISTTOK:central:OPREQ 0
|
||||||
ISTTOK:central:PROCESS-MODE.VAL 0
|
ISTTOK:central:PROCESS-MODE.VAL 0
|
||||||
ISTTOK:central:CLEANINGMANMODE.VAL 1
|
ISTTOK:central:CLEANINGMANMODE.VAL 0
|
||||||
ISTTOK:central:Emergency-UserButton.VAL 0
|
ISTTOK:central:Emergency-UserButton.VAL 0
|
||||||
ISTTOK:central:TMPump1-ManualValve.VAL 1
|
ISTTOK:central:TMPump1-ManualValve.VAL 0
|
||||||
ISTTOK:central:Shot-TorPSCurrent 34
|
ISTTOK:central:Shot-TorPSCurrent 1
|
||||||
ISTTOK:central:RPump1-Pressure.HIGH 0
|
#ISTTOK:vacuum:RPump1-Pressure.HIGH Search Issued
|
||||||
ISTTOK:central:RPump1-Pressure.HIHI 0
|
#ISTTOK:vacuum:RPump1-Pressure.HIHI Search Issued
|
||||||
ISTTOK:central:RPump2-Pressure.HIGH 0
|
|
||||||
ISTTOK:central:RPump2-Pressure.HIHI 0
|
|
||||||
<END>
|
<END>
|
||||||
|
|||||||
@@ -4,9 +4,9 @@
|
|||||||
## everywhere it appears in this file
|
## everywhere it appears in this file
|
||||||
|
|
||||||
< envPaths
|
< envPaths
|
||||||
epicsEnvSet( "STREAM_PROTOCOL_PATH", "$(TOP)/protocols" )
|
epicsEnvSet( "STREAM_PROTOCOL_PATH", "$(TOP)/db" )
|
||||||
epicsEnvSet( "SAVE_DIR", "$(TOP)/iocBoot/$(IOC)" )
|
epicsEnvSet( "SAVE_DIR", "$(TOP)/iocBoot/$(IOC)" )
|
||||||
epicsEnvSet( "EPICS_CA_ADDR_LIST", "localhost 192.168.1.152")
|
epicsEnvSet( "EPICS_CA_ADDR_LIST", "localhost 192.168.1.120 192.168.1.152")
|
||||||
|
|
||||||
cd "${TOP}"
|
cd "${TOP}"
|
||||||
|
|
||||||
@@ -25,17 +25,18 @@ dbLoadRecords("db/ISTTOKtda8444.db","P=ISTTOK:,R=central:")
|
|||||||
dbLoadRecords("db/ISTTOKmachineControl.db","P=ISTTOK:,R=central:")
|
dbLoadRecords("db/ISTTOKmachineControl.db","P=ISTTOK:,R=central:")
|
||||||
|
|
||||||
## Load Serial drivers
|
## Load Serial drivers
|
||||||
drvAsynSerialPortConfigure("RS0","/dev/ttyUSB0")
|
#drvAsynSerialPortConfigure("RS0","/dev/ttyUSB0")
|
||||||
#drvAsynSerialPortConfigure("RS0","/dev/ttyAMA0")
|
#drvAsynSerialPortConfigure("RS0","/dev/ttyAMA0")
|
||||||
|
|
||||||
asynSetOption("RS0", 0, "baud", "9600")
|
#asynSetOption("RS0", 0, "baud", "9600")
|
||||||
asynSetOption("RS0", 0, "bits", "8")
|
#asynSetOption("RS0", 0, "bits", "8")
|
||||||
asynSetOption("RS0", 0, "parity", "none")
|
#asynSetOption("RS0", 0, "parity", "none")
|
||||||
asynSetOption("RS0", 0, "stop", "1")
|
#asynSetOption("RS0", 0, "stop", "1")
|
||||||
asynSetOption("RS0", 0, "clocal", "Y")
|
#asynSetOption("RS0", 0, "clocal", "Y")
|
||||||
asynSetOption("RS0", 0, "crtscts", "N")
|
#asynSetOption("RS0", 0, "crtscts", "N")
|
||||||
|
|
||||||
dbLoadRecords("db/ISTTOKpfeiffer.db","P=ISTTOK:,R=central:,bus=RS0")
|
# Pfeiffer sensor are connectoed to other RPI /(192.168.1.120)
|
||||||
|
#dbLoadRecords("db/ISTTOKpfeiffer.db","P=ISTTOK:,R=central:,bus=RS0")
|
||||||
|
|
||||||
# connect to the MAIL server mail.ipfn.tecnico.ulisboa.pt
|
# connect to the MAIL server mail.ipfn.tecnico.ulisboa.pt
|
||||||
# ,priority,noAutoConnect,noProcessEos
|
# ,priority,noAutoConnect,noProcessEos
|
||||||
|
|||||||
@@ -5,12 +5,16 @@ SUPPORT=$(HOME)/Apps/epics7/support
|
|||||||
#
|
#
|
||||||
ASYN=$(SUPPORT)/asyn
|
ASYN=$(SUPPORT)/asyn
|
||||||
STREAM=$(SUPPORT)/StreamDevice
|
STREAM=$(SUPPORT)/StreamDevice
|
||||||
|
#CALC=$(SUPPORT)/calc
|
||||||
|
AUTOSAVE = $(SUPPORT)/autosave
|
||||||
|
DRVASYNI2C =$(SUPPORT)/drvAsynI2C
|
||||||
|
SNCSEQ=$(SUPPORT)/seq-2-2
|
||||||
|
|
||||||
# IPAC release V2-7 or later is required.
|
# IPAC release V2-7 or later is required.
|
||||||
IPAC=
|
#IPAC=
|
||||||
#$(SUPPORT)/ipac-2-15
|
#$(SUPPORT)/ipac-2-15
|
||||||
#
|
#
|
||||||
# # SEQ is required for testIPServer
|
# # SEQ is required for testIPServer
|
||||||
SNCSEQ=
|
|
||||||
#$(SUPPORT)/seq-2-2-5
|
#$(SUPPORT)/seq-2-2-5
|
||||||
#
|
#
|
||||||
CALC=
|
CALC=
|
||||||
|
|||||||
Reference in New Issue
Block a user