Headquarters Subsidiaries France applicom international s.a. 43, rue Mazagran 76320 Caudebec-lès-Elbeuf International contact tel: + 33 (0)2 32 96 26 36 fax: + 33 (0)2 32 96 26 37 infointl@applicom-int.com National contact tel: + 33 (0)2 32 96 04 20 fax: + 33 (0)2 32 96 04 21 infofr@applicom-int.com Germany applicom international GmbH Im Gässle 9 70771 Leinfelden-Echterdingen tel: + 49 711/78 23 74-0 fax: + 49 711/78 23 74-11 infode@applicom-int.com United States applicom international, Inc 4340 Redwood Hwy, Suite D-309 San Rafael, CA 94903 tel: + 1 (415) 472-1595 fax: + 1 (415) 472-1596 infousa@applicom-int.com Benelux Euro View Services s.a. 273, Chaussée de Lodelinsart 6060 Gilly / Belgique tel: + 32 (0) 71 42 03 43 fax: + 32 (0) 71 42 06 29 infobe@applicom-int.com Italy I.M.A. S.r.l. (Italia Manutenzione Automatismi Piazza della Vittoria, 10 int.6 I-16121 Genova tel: + 39 010 59 30 77 fax: + 39 010 595 69 25 infoit@applicom-int.com PROFIBUS This document is for informational purposes only and is not contractual. applicom international reserve the right to improve their products at any moment without notice. applicom international, applicom the associated logos and the phrases opening up the industrial communication universe are all trademarks of applicom international and/for its subsidiaries. All other products or trademarks mentioned in this document are the property of their respective owners. applicom international - july 2000
PROFIBUS Overview PROFIBUS (PROcess FIeld BUS) is a vendor-independent, open fieldbus standard for a wide range of applications in manufacturing, process and building automation. Vendor independence and openness are guaranteed by the PROFIBUS standard EN 50 170. With PROFIBUS, devices of different manufacturers can communicate without special interface adjustments. PROFIBUS can be used for both high-speed time critical transmission and extensive complex communication tasks. Version 2.0 / july 2000 / page 2/16 applicom, open industrial communication concept 143
PROFIBUS PROFIBUS standard EN 50 170 specifies the functional, electrical and mechanical characteristics for a serial transmission fieldbus. The protocol architecture is oriented to the OSI (Open System Interconnection) reference model. PROFIBUS is located both at the cell supervisor level named Layer 7 (application layer) and at the field network level named Layer 1 (physical layer) and Layer 2 (Data Link layer). The applicom board connected to the PROFIBUS fieldbus can simultaneously manage 5 different types of communication messagings, depending on the connected devices: " PROFIBUS-DP Class 1, Class2 - Master/Slave modes " FDL for SIEMENS Simatic S5 - Master mode " PROFIBUS-FMS - Client & Server modes " MPI for SIEMENS Simatic series - Master mode " Protocol S7 on PROFIBUS for SIEMENS Simatic series - Master mode Reminder Master devices determine the data communication on the bus. A master can send messages without an external request when it holds the bus access rights (the token). Masters are also called active stations in the PROFIBUS protocol. Slave devices are peripheral devices. Typical slave devices include input/output devices, valves, drives and measuring transmitters. They do not have bus access rights and they can only acknowledge received messages or send messages to the master when requested to do so. Slaves are also called passive stations. Version 2.0 / july 2000 / page 3/16 applicom, open industrial communication concept 144
PROFIBUS-DP Master and Slave modes The PROFIBUS DP (Decentralized Peripherical) fieldbus is based on the European standard EN 50170 (Part 2). PROFIBUS-DP is designed especially for communication between automation control systems and distributed I/O at the device level. The Master and Slave modes are available simultaneously on the applicom interface. Master mode applicom as a DP Master interface includes Class-1, Class-2 and Multimaster management. PROFIBUS-DP telegrams can be used to transfer up to 244 bytes of data per telegram and connect to devices of address from 0 to 126. Each DP device has specific parameters such as device version, baud rate, data format, I/O length, user parameters, etc. These parameters are stored in a file with.gsd extension. The GSD file is provided by your manufacturer and is required for device configuration. The format of the GSD file is described in the standard (EN 50170, volume 2, PROFIBUS). The applicom configuration tool is able to import GSD files allowing you to edit and modify the user parameters to initialize PROFIBUS devices. Version 2.0 / july 2000 / page 4/16 applicom, open industrial communication concept 145
PROFIBUS-DP Master & Slave modes The PROFIBUS-DP messaging on applicom interface manages exchanges with DP Slave Devices. applicom is able to read and/or write Input and Output from the devices thanks to the applicom library/dll, DDE server, OPC server or ActiveX control : Device Data-Type Input Output applicom Data-Type Bit BI BO Byte OI OO Word (16-bit) WI WO Double word (32-bit) DI DO Floating point (32-bit) IEEE Format FI FO [1] : Maximum quantity in write is always 1 if you are using PCDDE application. Maximum number of variables per frame with OPC server applicom Data Max. quantity in read Max. quantity in write [1] Bit 1952 1952 Byte 244 244 Word (16-bit) 122 122 Double word (32-bit) 61 61 Floating point (32-bit) 61 61 Version 2.0 / july 2000 / page 5/16 applicom, open industrial communication concept 146
PROFIBUS-DP Master & Slave modes Slave mode This functionality is available on PCI2000PFB and PC104PFB applicom boards. It provides the data exchange between an applicom interface and DP Master(s) on the Profibus network. The applicom interface in DP Slave mode behaves as a standard slave device. This device could be access from the DP Master on the network as well as the client applications on the local machine through the applicom DP Master functionality. The GSD description files are provided and installed with the product. The size of Input/Output data area could be configuring from 0 to 244 bytes. The applicom interface can ensure data consistency up to size of 122 bytes (the data consistency insures the data coherence of word, double-word and floating-point types). The statuses of applicom functions guarantee refreshing of data with the remote Master as long as it sets the Bus Time-out (watchdog control) parameter. Local PC Applications applicom DP Master applicom DP Slave DP Master on Profibus network Version 2.0 / july 2000 / page 6/16 applicom, open industrial communication concept 147
PROFIBUS FDL Master mode S5 messaging on Profibus, developed by Siemens France, was designed especially to open Siemens SINEC L2 PLC s (based on FDL) to calculator PC based applications. S5 messaging uses PROFIBUS layer 2 called Fieldbus Data Link (FDL) to send and receive S5 requests. The FDL S5 messaging on applicom interface is Master type (Active Station) and as a client it manages exchanges with S5 PLCs such as: " 95U, " 115U (942, 943, 943B, 944, 944B, 945), " 135U (928, 928B), " 155U (946, 947, 948, 948B) Please contact us for other supported couplers. A Function Block (FB100) is provided for each type of Siemens S5 CPU. You have to downloaded it into the PLC program in order to ensure S5 messaging communication. [1] : DB, DX maximum size is 256 words. DB0 and DB1 (for 95U), DB150 - not accessible (reserved by Siemens communication program). Version 2.0 / july 2000 / page 7/16 applicom, open industrial communication concept 148
PROFIBUS FDL applicom can read and/or write major types of data in those PLC s thanks to applicom library/dll, DDE server, OPC server or ActiveX control : Device Data-Type Memento Smerker Data Extended Input Output Timer Counter Flag S Flag block [1] Data block applicom Data-Type Bit M S DB DX E A Byte MB SY EB AB Word (16-bit) MW SW DBDW DXDW EW AW Double word (32-bit) MD SD DBDD DXDD Floating point (32-bit) MDKG SDKG DBDDKG DXDDKG Siemens KG Format Maximum number of variables per frame with OPC applicom Data Max. quantity in read Max. quantity in write [2] Bit 1600 8 ou 16 [3] Byte 200 200 Word (16-bit) 100 100 Double word (32-bit) 50 50 Floating point (32-bit) 50 50 [2] : Maximum quantity in write is always 1 if you are using PCDDE application. [3] : A write bit request is limited to a maximum of : " 8 bits for the outputs, memento and Smerker with a 1rst address modulo 8. " 16 bits for a DB or a DX with a 1rst address modulo 16. Version 2.0 / july 2000 / page 8/16 applicom, open industrial communication concept 149
PROFIBUS-FMS Client and Server modes PROFIBUS-FMS is the general-purpose solution for communication tasks at the cell level. FMS services open up a wide range of applications. The applicom software, under the PROFIBUS FMS protocol, is Master type (Active Station) and manages exchanges with the other FMS devices as FMS Client and FMS Server. The applicom firmware supports the following FMS requests : " FMS Initiate " FMS GetOD (Short Form) " FMS Abort " FMS Ident " FMS Reject " FMS GetOD (Long Form) " FMS Status " FMS Read and FMS Write applicom PROFIBUS FMS protocol is valid with FMS devices such as: " Siemens S5 series: CP5431-FMS for 115U, 135U, 155U " Siemens S7 series: S7-300 (CP343), CPU S7-400 (CP443-5 (Basic)) " Klöckner-Moeller series: NET230 " Crouzet series: RPX, MIDU " etc. Please contact us for other supported couplers. Client mode The applicom system can dialogue with Master (MMAC) or Slave (MSAC) type devices. Connections are type "D" Defined connection (DIN 19245 part 2 clause 4.2.5.2). It has direct access to variables of type Boolean,Integer8,Unsigned8,Integer16,Unsigned16, Integer32,Unsigned32,and Floating Point. Version 2.0 / july 2000 / page 9/16 applicom, open industrial communication concept 150
PROFIBUS-FMS These variables can be read or written to as Object Type Simple Variables or Object Type Array of the same variables. They are available whenever you use our applicom library/dll, DDE server, or OPC server. Logical connections and disconnections to devices (FMS Initiate and FMS Abort) are automatically managed by the applicom firmware and are also available for applications using the applicom library/dll via the functions AppConnect and AppUnconnect. Other FMS requests are only accessible with applicom library/dll, such as FMS Ident, FMS Status and FMS GetOD. We also provide utility software to check and get the object dictionary with corresponding FMS index directly from the FMS devices. FMS Supported functions FMS Object Type Boolean Unsigned8 Unsigned16 Unsigned32 Floating Point (32-bit) Description Read bits, write bits Read packed bytes, write packed bytes Read words, write words Read double words, write double words Read floating points, write floating points Maximum number of variables per frame with OPC applicom Data-Type Max. quantity in read Max quantity in write [1] Bit 240 240 Byte 240 240 Word (16-bit) 120 120 Double word (32-bit) 60 60 Floating word (32-bit) 60 60 [1] : Maximum quantity in write is always 1 if you are using a PCDDE application. Server mode Each applicom board Data-Base behaves as an FMS Server device and can be accessed by other FMS Client devices on the PROFIBUS network. Bit,byte,word,double and floating point areas of this Data-Base are seen as an array objects of the corresponding type. Link are MMAC type, "O" type connection oriented Open connection at the responder (DIN 19245 part 2 clause 4.2.5.2). Each applicom board supports 8 FMS communication references. Version 2.0 / july 2000 / page 10/16 applicom, open industrial communication concept 151
PROFIBUS-FMS The access rights are "Read all and Write all". The communication object dictionary (OD) is fixed. Other objects which could be used to make redundancy (between PCs): " A simple Unsigned16 variable authorized in read and write to control the applicom board s "Watchdog" digital output. The unit is the second. " A simple Boolean variable authorized in read only to get the value from the applicom board s digital input. Object Type List Object Type Description 1 Boolean 5 Unsigned8 6 Unsigned16 7 Unsigned32 8 Floating Point (32-bit) applicom Object Dictionary Index Access Object Number of applicom variable Object base rights Type element per object address 21 r/w 6 1 WatchDog WATCHDOG Discrete Output 22 r 1 1 Discrete input DIGITAL INPUT 100 WORD 0000-003F to r/w 6 64 Word (16-bit) to 611 WORD 7FC0-7FFF 1000 BIT 0000-007F to r/w 1 128 Bit to 1255 BIT 7FC0-7FFF 2000 DWORD 0000-003E to r/w 7 32 double word(32-bit) to 2511 DWORD 7FC0-7FFE 3000 FWORD 0000-007F to r/w 8 32 Floating Point (32-bit) to 3511 FWORD 7FC0-7FFE 4000 BYTE 0000-007F to r/w 5 128 Byte to 4108 BYTE 3600-367F Version 2.0 / july 2000 / page 11/16 applicom, open industrial communication concept 152
MPI interface Master mode MPI (Multi Point Interface) is the new programming interface for Siemens SIMATIC S7 series. It replaces the PG interface of the S5 series. The MPI physical interface is identical to the PROFIBUS RS485 (pinout conformed to the EN 50170) standard. The default baud rate is 187.5 Kbaud. The maximal distance is 50 meters between two stations (of the same segment). Using repeaters, the maximum distance is 1100 meters between two repeaters. The MPI messaging on applicom interface is a Master client (Active Station) and manages exchanges with S7 PLC s such as: " S7-300, M7-300 " S7-400, M7-400 " OP Please contact us for other supported couplers. applicom can read and/or write major types of data in these PLC s thanks to the applicom library/dll, DDE server, OPC server or ActiveX control : Device Data-Type Memento Data Input Output Timer Counter flag block [1] applicom Data-Type Bit M DB DBX E A Byte MB DB DBB EB AB Word (16-bit) MW DB DBW EW AW T Z Double word (32-bit) MD DB DBD Floating point (32-bit) MDF DB DBDF IEEE Format [1] : DB maximum size is 65536 words. Version 2.0 / july 2000 / page 12/16 applicom, open industrial communication concept 153
PROFIBUS MPI interface Maximum number of variables per frame applicom Data-Type Max. quantity in read Max. quantity in write [2] Alignment Byte Word Double word Bit 1600 12 Byte 200 200 Word (16-bit) 128 100 100 Double word (32-bit) 64 64 50 50 Floating point (32-bit) IEEE formt 64 64 50 50 Timer/Counter 100 100 [2] :Maximum quantity in write is always 1 if you are using PCDDE application. Version 2.0 / july 2000 / page 13/16 applicom, open industrial communication concept 154
S7 protocol Master mode The S7 protocol on PROFIBUS allows the SIEMENS Simatic S7 PLCs to communicate with each other in client and server mode. The S7 protocol on applicom interface is Master client (Active Station) and manages exchanges with S7 PLC s such as: " S7-300 series : CPU315-2 DP, CP342-5 DP, CP343-5 " S7-400 series : CPU413-2 DP & CPU414-2 DP & CPU416-2DP, CP443-5 Basic & Extended Please contact us for other supported couplers. applicom can read and/or write major types of data in these PLC s thanks to the applicom library/dll, DDE server, OPC server or ActiveX control: Device Data-Type Memento Data Input Output Timer Counter flag block [1] applicom Data-Type Bit M DB DBX E A Byte MB DB DBB EB AB Wordt (16-bit) MW DB DBW EW AW T Z Double word (32-bit) MD DB DBD Floating point (32-bit) Format IEEE MDF DB DBDF [1] :DB maximum size is 65536 words. Version 2.0 / july 2000 / page 14/16 applicom, open industrial communication concept 155
PROFIBUS S7 protocol Maximum number of variables per frame applicom Data-Type Max. quantity in read Max. quantity in write [2] Alignement Byte Word Double Word Bit 1600 12 Byte 200 200 Word (16-bit) 128 100 100 Double word (32-bit) 64 64 50 50 Floating word (32-bit) 64 64 50 50 Timer/Counter 100 100 [2] : Maximum quantity in write is always 1 if you are using PCDDE application. Version 2.0 / july 2000 / page 15/16 applicom, open industrial communication concept 156
PROFIBUS S7 protocol Diagnostics tools The applicom solution package includes a set of tools to test your communication without developing any kind of application. You are usually able to run these test programs along with your application, HMI, or MMI software, allowing you to check your data acquisition. Each test program returns a status word and a text comment giving feedback on the communication. It can be used to diagnose the exact cause of a failure. Compatible applicom boards ISA Bus PCI Bus PC/104 Bus PC1500PFB (up to 500 Kbaud) PCI1500PFB (up to 1,5 Mbaud) PC104PFB (up to 12 Mbaud) FDL S5, FMS, MPI, DP Master, S7 FDL S5, FMS, MPI, DP Master, S7 DP Master/Slave, S7 PC1500S7 (up to 500 Kbaud) PCI1500S7 (up to 1,5 Mbaud) MPI, S7 MPI, S7 PCI2000PFB (up to 12 Mbaud) DP Master/Slave Version 2.0 / july 2000 / page 16/16 applicom, open industrial communication concept 157