From 349831f6035e3197ede49fa9754ce6b1746b19f1 Mon Sep 17 00:00:00 2001 From: Douglas Clowes Date: Thu, 1 Mar 2007 09:07:44 +1100 Subject: [PATCH] Add in the Safety PLC object r1562 | dcl | 2007-03-01 09:07:44 +1100 (Thu, 01 Mar 2007) | 2 lines --- site_ansto/Makefile | 2 +- site_ansto/site_ansto.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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){