Device/Driver Support for Network Based Devices
E N D
Presentation Transcript
Device/Driver Support for Network Based Devices EPICS Collaboration Meeting Jun, 2003
Backgrounds & Basic Idea • Many PLCs and device controllers comes equipped with an Ethernet interface. • It is inefficient to implement device/driver support modules for each of those devices independently. • The most complex part, Message Passing Facility, can be shared. • What to send depends on the company proprietary protocols, but how to send does not.
Modular Structure Record Support FA-M3 MELSEC CVM1 … Device Support Library Network IO Driver
Loading Modules for Each -> ld < drvNetMpf.o -> ld < devNetDev.o -> ld < devMelPlc.o -> ld < devYewPlc.o -> ld < devOmrPlc.o -> ld < devNDim.o
Device Dependent Module • Implements only 3 functions: • Link Field Parser • Command Constructor • Response Parser • Fairly easy to implement ! • Portable • Some of the modules has been ported onto 3.14 on Linux together with the common driver