Non-EPICS application needs to port to EPICS is a common issue in accelerator control system.EPICS provides an API named Portable Channel Access Server
i.e.PCAS
which can be used to port non-EPICS system to EPICS.For the convenience of using PCAS
a dynamic link library named pcasdll has been developed based on PCAS.The design and realization of pcasdll are introduced in this paper.Besides
A temperature measurement system for BEPCII e-gun timing module has been developed based on pcasdll is also discussed in this paper.