Add in the Safety PLC object

r1562 | dcl | 2007-03-01 09:07:44 +1100 (Thu, 01 Mar 2007) | 2 lines
This commit is contained in:
Douglas Clowes
2007-03-01 09:07:44 +11:00
parent 40846b9d94
commit 349831f603
2 changed files with 4 additions and 1 deletions

View File

@@ -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

View File

@@ -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){