Download presentation
Presentation is loading. Please wait.
Published byAlban Bishop Modified over 9 years ago
1
1 1999/Ph 514: Supported Hardware EPICS Supported Hardware Ned D. Arnold APS
2
2 1999/Ph 514: Supported Hardware EPICS How Can I Find Device Support ? u http://csg.lbl.gov/EPICS/Supported.HW.html u EPICS Collaboration Meetings u tech-talk mailing list (ask nicely) u tech-talk archives (phrase search) u Hardware Vendor u BiRa u Kinetic Systems
3
3 1999/Ph 514: Supported Hardware EPICS Ways To Support Your Hardware u Instrument Specific Device Support u Write a device support module (e.g. devHp54520.c) that is specific to that instrument/device u All protocol is hidden from users. u Easy to handle device peculiarities u Generic Support u Provide device specific information in the database u Special field in a custom record u Parm field of I/O Link
4
4 1999/Ph 514: Supported Hardware EPICS Popular Hardware u VME u Many modules available u Generic VME Record - allows simple devices to be used w/o device support u Generic A16/D16 device support u Specify register offset and bit field in I/O link u VXI u Resource Manager (drvVxi) u Automatically configures MXI Modules to support multiple crate systems. Hierarchies allowed. u Static and Dynamic Addressing Supported u A24/A32 Address Allocation u Libraries provide... u lookup modules based on Logical Address, slot, Make, or Model u exclusive access to a device for a single driver u core routines for Message Passing Devices
5
5 1999/Ph 514: Supported Hardware EPICS Popular Hardware (cont.) u GPIB u Hardware u NI1014 VME card u HP-2050A Ethernet-GPIB Bridge u IP-488 on a MVME162 (using Message Passing Facility) u Instrument Specific Device Support u Template device support routine available u Edit parameter table which specifies command strings and parsing format for each supported function static struct gpibCmd gpibCmds[] = { /* Param */ /* 0 */ FILL, /* 1 : set frequency : AO */ {&DSET_AO, GPIBWRITE, IB_Q_HIGH, NULL, "FA %.3f", 0, 20, NULL, 0,0, NULL, NULL, -1}, /* 2 : read frequency : AI */ {&DSET_AI, GPIBREAD, IB_Q_HIGH, "SEND FREQ", " F OUT %lf", 0, 20, rdCheck, 0,0, NULL, NULL, -1}, /* 3 : set output level : AO */ {&DSET_AO, GPIBWRITE, IB_Q_HIGH, NULL, "LEVEL %.1f", 0, 20, NULL, 0,0, NULL, NULL, -1}, /* 4 : read output level : AI */ {&DSET_AI, GPIBREAD, IB_Q_HIGH, "SEND POWER", " P INT %lf", 0, 20, rdCheck, 0,0, NULL, NULL, -1}, /* 5 : read LOCK status : BI */ {&DSET_BI, GPIBREAD, IB_Q_LOW, "SEND STATUS", " LOCK %lu", 0, 30, NULL, 0,0, NULL, NULL, -1}, /* 6 : read LEVEL status : BI (if LOCK status != 1, this read will fail */ {&DSET_BI, GPIBREAD, IB_Q_LOW, "SEND STATUS", " LOCK 1 LEVEL %lu", 0, 30, NULL,0,0, NULL, NULL, -1} };
6
6 1999/Ph 514: Supported Hardware EPICS Popular Hardware (cont.) u GPIB (cont.) u Generic GPIB Record - allows simple communications w/o device support u Use with stringCalc record to create/parse strings u GPIB Interact utility allows menu driven interaction with devices u Serial u Hardware u Serial ports on CPU u drvSerial, drvAscii, devAscii u IP Serial (using the message passing facility) u Device Support u Examples available for device specific support u Specify in parameter field (Mooney) u Generic Serial Record - allows simple communications w/o device support u Serial port configuration on the fly u Use with stringCalc record to create/parse strings
7
7 1999/Ph 514: Supported Hardware EPICS Popular Hardware (cont.) u Allen Bradley u VME Scanner (Remote I/O or “Blue Hose”) u 1771 Series I/O Adapters u 1791 I/O u 1771-DCM (mailbox to PLC) u SLC500-DCM (mailbox to PLC) u Serial port to PLC serial port u Access to any element in PLC u AB DataHighway + u Access to any element in PLC
8
8 1999/Ph 514: Supported Hardware EPICS Popular Hardware (cont.) u PLC Interfaces u AllenBradley PLC5 via 1771-DCM u 10 messages of 64 words each from PLC u 1 message of 64 words to PLC u Device support fetches info from DCM record, which holds all the data from the DCM u AllenBradley via SLC500 DCM u Uses a message of 8 words for reading/writing u GE Fanuc u PLC dumps a serial stream to the IOC u PLC Direct (Koyo) u DL240/DL250 CPUs using DirectNet u IOC can read the entire PLC memory map u IOC can write to a designated memory block (512 words) u Modbus+ u Device support for ioc [KEK] u CA Server on a PC talking to Modicon 984 PLC’s via Modbus+ [MSU Cyclotron Lab]
9
9 1999/Ph 514: Supported Hardware EPICS Popular Hardware (cont.) u CAMAC u Hytec Serial Highway Driver (VME) u Generic CAMAC Record - allows simple communications w/o device support u Bitbus u Two VME boards supported u Canbus
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.