- new drivers
This commit is contained in:
21
modbus.h
Normal file
21
modbus.h
Normal file
@ -0,0 +1,21 @@
|
||||
/*---------------------------------------------------------------------------
|
||||
modbus.h
|
||||
|
||||
Communication routines for Eurotherm ModBus instruments
|
||||
|
||||
Markus Zolliker, Aug 2005
|
||||
----------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef MODBUS_H
|
||||
#define MODBUS_H
|
||||
|
||||
#include "ease.h"
|
||||
|
||||
#define MODBUS_BAD_CRC -3090
|
||||
|
||||
int ModBusHandler(void *eab);
|
||||
void ModBusPutFloats(EaseBase *eab, int adr, int npar, float val[]);
|
||||
void ModBusRequestFloats(EaseBase *eab, int adr, int npar);
|
||||
float ModBusGetFloat(EaseBase *eab, int adr);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user