diff --git a/site_ansto/Makefile b/site_ansto/Makefile index ba5664ae..617e37bf 100644 --- a/site_ansto/Makefile +++ b/site_ansto/Makefile @@ -74,7 +74,7 @@ OBJ= site_ansto.o anstoutil.o\ lh45.o lh45driv.o \ lakeshore340.o lakeshore340driv.o \ nhq200.o nhq200driv.o \ - counterdriv.o\ + counterdriv.o safetyplc.o\ ../psi/tcpdocho.o ../psi/tcpdornier.o \ anstohttp.o \ hmcontrol_ansto.o diff --git a/site_ansto/site_ansto.c b/site_ansto/site_ansto.c index ff347ae3..4851f05f 100644 --- a/site_ansto/site_ansto.c +++ b/site_ansto/site_ansto.c @@ -34,6 +34,8 @@ /* Added code for NHQ200 HV Power Supply */ #include "nhq200.h" +#include "safetyplc.h" + /*@observer@*//*@null@*/ pCounterDriver CreateMonCounter(/*@observer@*/SConnection *pCon, /*@observer@*/char *name, char *params); /* @@ -61,6 +63,7 @@ static void AddCommands(SicsInterp *pInter) // (void) AddCommand(pInter,"MakePLC",MakePLC,NULL,NULL); AddCommand(pInter,"MakeHMControl_ANSTO",MakeHMControl_ANSTO,NULL,NULL); AddCommand(pInter,"MakeMultiChan",MultiChanFactory,NULL,NULL); + AddCommand(pInter,"MakeSafetyPLC",SafetyPLCFactory,NULL,NULL); } /*---------------------------------------------------------------------*/ static void RemoveCommands(SicsInterp *pSics){