Download ELLIPs
Transcript
An intelligent weight controller using Profibus • ~ ELLIFf) To meet the requirements of TSR ~ 10 ms and TENC ~ 2.5 ms, the bit rate should be at least 1.5 kbit/s for this system, and the encoder should be polled after 8 other slaves, thus n=8. Tables with the calculated timing parameters, produced with Excel, can be found in Appendix B. 3.4 Profibus-DP Since we are using decentralised peripherals in the fruit grading system, the ProfibusDP protocol seems a logical choice. It supports the highest bit rate of 12 Mbit/s and has several predefined services or service access points (SAPs): • Default Data exchange • SAP54 Master-Master communication • SAP55 Change station address • SAP56 Read inputs • SAP5? Read outputs • SAP58 Control commands to a DP slave • SAP59 Read configuration • SAP60 Read diagnostic information • SAP61 Transmit parameters • SAP62 Check configuration All these SAPS have predefined frame structures, which allows the use of any Profibus-DP slave from any manufacturer in the fruit grading system. However, communications with the slaves still take place on a cyclic basis. In paragraph 3.3.3 we stated that it would be convenient to use a Poll List that contains the encoder device more than once to guarantee accurate timing. This is impossible in Profibus-DP. In future, some a-cyclic extensions will be added to the DP standard, referred to as DPE. As it is not a standard yet, only a few manufacturers support this feature for the master stations, resulting in astronomical prices. Furthermore, the solutions that are provided by these manufacturers are not quite elegant. For this reason, the first version of the fruit grading system will use the FDL layer directly. Future updates of the Profibus devices will support a-cyclic Profibus-DP. 19