Components of PROFIBUS-PA Development Toolkit
PROFIBUS-PA Round Card Development Toolkits consists of round card hardware, software toolkit and technical documents.
Hardware characteristic:
Same hardware structure, different firmware to realize PROFIBUS PA or FF H1device
Passed EMC Test Certification: complied with IEC 61326-1:1997
Bus power supply: 9~32 VDC
Passed NEPSI FISCO Essence Safety Certification: Ex ia IIC T4/T6
Current consume: ≤ 14mA
Complied with IEC61158-2 physical layer standard, passed physical layer certification test
Flexible to communicate with user’s board cards, supporting asynchronous serial ports and universal I/O ports
Support crystal display and magnetic stick local operation
Round card size: Φ65mm
Working temperature: -40℃~85℃ 6mA/3.3V stable power supply(or customized order) for user’s board cards
User’s board cards communication ports: USART serial ports
User’s board cards isolation
PA Development Toolkits including:
Source codes: mainly consists of function block source file and example file of user application program, with which user can complete development of function block and other application program in short time.
PAShell library: PAShell library packages function of PROFIBUS DP Slave protocol stack, providing interface access protocol stack for user, it is unnecessary for user to understand the communication technology of protocol stack in detail.
Source code of driver program: mainly consists of USART driver program and LCD display driver program.
Device Description sample file: DD and CFF sample files are provided by PA development toolkits. User is able to develop his own device description file according to these sample files and to realize integration between device and control system.
These tools are needed to buy by developer:
Nucleus operation system. It is needed to use Nucleus operation system, which should be bought by user.
Green Hills Multi development environment. Multi integration development tool of Green Hills Inc, Version 3.6 and above is used.
PA Round Card Development process
1. Preparation Phase
Buy the necessary software tools such as NUCLEUS operation system and MULTI integration development environment.
2. Design Phase
You should read relative documents about PROFIBUS-PA development tools and get to be familiar with hardware interface and software application program. Developers need to have knowledge of PROFIBUS DP slave communication specification, and PROFIFBUS PA profile, and good program ability for C Language.
The user should do software design according to the technical development document and make it clear that what type of blocks are used in your device, then design physical access channel for these blocks. Furthermore, you should specify the communication protocol between your peripheral device and PA round card.
3. Development Phase
You should develop function block and transducer block program reference to function blocks source program provided by development tools, and register information of function blocks into PAShell base. The information about FBShell base is reference to “PROFIBUS-PA Application Program Interface Brochure”. Users can realize communication between round cards and peripheral device by serial ports driver provided by round cards. Finally, you should debug connecting program to get target code, use H-JTAG software to brun target codes to round cards. It is needed for user to write GSDdocument and EDD document to exchange information with control system. The detailed content can be referenced to the examples of development toolkits.
4. Test Phase
After software development, you can test your device. First, the simple function test can be divided into DP slave communication test and PA function block test. SIMATIC STEP7 software can be used in DP slave communication test, which is to test whether configuration between DP slave communication and GSD document is right. SIMATIC PDM device management software is used in PA function block test, which is to test whether parameter description of PA function block is right, the execution of function block is right, and whether EDD file is satisfied the requirements, etc. Furthermore, users are required to have more professional test such as interoperability test. The detailed test steps can be referenced to “PROFIBUS-PA Application Program Interface Manual”.