Summary of Contents for Siemens Micromaster Profibus
Page 3
MICROMASTER PROFIBUS Optional Board MICROMASTER 4 January 2001...
Page 4
We welcome suggestions for improvement. MICROMASTER® is a registered trademark of Siemens Siemens handbooks are printed on chlorine-free paper that has been produced from managed sustainable forests. No solvents have been used in the printing or binding process.
Page 5
The Sales Contract contains the entire obligations of Siemens. The warranty contained in the contract between the parties is the sole warranty of Siemens. Any statements contained herein do not create new warranties or modify the existing warranty.
Page 6
For the purpose of this Instruction Manual and product labels, a "Qualified person" is someone who is familiar with the installation, mounting, start-up and operation of the equipment and the hazards involved. He or she must have the following qualifications: Trained and authorized to energize, de-energize, clear, ground and tag circuits and equipment in accordance with established safety procedures.
Page 7
Before installing and commissioning, please read these safety instructions and warnings carefully and all the warning labels attached to the equipment. Make sure that the warning labels are kept in a legible condition and replace missing or damaged labels. Please note the following: This equipment contains dangerous voltages and controls potentially dangerous rotating mechanical parts.
Description of MICROMASTER PROFIBUS Optional Board........11 General Definition of PROFIBUS-DP ..............13 Communication with MICROMASTER4 via PROFIBUS-DP........17 Cyclical data of MICROMASTER4 via PROFIBUS-DP ........18 3.1.1 Useful data structure as defined in PROFIDrive Profile 2.0 and 3.0.....18 3.1.2 MICROMASTER4 reaction time..............21 Acyclic data transmission ................22 Control and status words................23...
Page 11
PROFIBUS-DP-based link between drives of the MICROMASTER4 product range and higher-level automation systems. 1 Contact connector for control unit 6 (for Siemens internal use only) 2 PROFIBUS address switch 7 Operating status display for MICROMASTER4...
Page 12
Acyclical accessing of parameters (data block 100/data block 47) for the purpose of exchanging parameter values with a SIMATIC S7 CPU (Drive ES SIMATIC function block package) Acyclical accessing of parameters for SIMATIC HMI or SIEMENS Drive STARTER tool. Support of PROFIBUS control commands SYNC and FREEZE for...
Page 13
PROFIBUS is an international, open field bus standard which is used widely in the fields of production and process automation. The bus is guaranteed brand-neutral and open by virtue of its compliance with international standards EN 50170 and IEC 61158. PROFIBUS-DP is a PROFIBUS communication profile optimized for high-speed, time-critical data transmission at field level using low-cost connections.
Page 14
Criteria such as high transmission speed and simple, low-cost installation are of critical importance in the selection of the transmission system. The RS-485 requires a screened copper cable with twisted-pair wires. The transmission speed can be selected within the 9.6 kbaud to 12 Mbaud range. It is set globally for all devices on the bus during system start-up.
Page 15
Data can be exchanged between the higher-level systems (e.g. SIMATIC, SIMADYN D, PC/PGs) and the drives very quickly via the PROFIBUS-DP. Drives are always accessed according to the master-slave principle. Drives are always slave nodes. Each slave can be identified by its unique address on the bus (MAC). All the standards and guidelines listed below can be obtained from the PROFIBUS User Organisation (PNO), www.profibus.com.
Page 17
The following illustration shows an overview of the PROFIBUS-DP communication functions implemented on MICROMASTER4: Automation Configuring Operation (Class 1 master) (Class 2 master) (Class 2 master) S7, S5 and others DriveES, STARTER SIMATIC HMI PROFIBUS-DP Internode communication Cyclic channels Acyclic channels (slave) Drive, ET200 PROFIBUS communication board...
Page 18
The MICROMASTER4 is controlled via the cyclical PROFIBUS-DP channel. This same channel can be used to exchange parameters. The structure of useful data for the cyclical channel is defined in the PROFIDrive Profile, version 2.0, and referred to as the Parameter Process data Object (PPO). The PROFIDrive Profile defines for the drives the useful data structure with which a master can access the drive slaves using the cyclical data communication method.
Page 19
PZD1 PZD2 STW1 PZD3 PZD4 PZD5 PZD6 PZD7 PZD8 PZD9 PZD10 ZSW1 word word word word word word word word word word word word word word 332 PPO2 332 PPO4 PPO5 PKW: Parameter identifier value STW: Control word 1 PZD: Process data ZSW: Status word 1...
Page 20
In addition to the PPO types, cyclical data can also be configured optionally. Up to four process data words, with a different number of setpoints and actual values if desired, can be configured on the MICROMASTER4. The areas of consistency can be set flexibly. A parameter area (PKW) can be configured irrespective of the number of process data.
Page 21
The reaction time of MICROMASTER4 with respect to PZD is approximately 20 milliseconds. This represents the period of time between "setpoint arrives at DP slave" and "updated (and referencing) actual value is made available on PROFIBUS-DP“. The reaction time of the MICROMASTER4 with respect to a parameter modification (PKW) is approximately 50 milliseconds.
Page 22
Acyclical data exchange with a SIMATIC HMI (second class 2 master) The SIMATIC HMI can acyclically access parameters in the converter. Instead of a SIEMENS start-up tool or SIMATIC HMI, an external master (class 2 master) as defined in the acyclical parameter channel according to PROFIDrive Profile version 3.0 (with data block 47) can access the converter.
The control and status words comply with the specifications for PROFIDrive Profile, version 2.0 or 3.0, for "Closed-loop speed control mode". Control word (bits 0-10 as per PROFIDrive Profile, bits 11-15 specific to MICROMASTER4) Table 3-1 Control word bit assignments Sets the converter to the "Ready to run"...
Page 24
Status word (bits 0-10 as per PROFIDrive Profile, bits 11-15 specific to MICROMASTER4) Table 3-2 Status word bit assignments Ready for ON Power supply switched on, electronics initialized, pulses disabled Not ready for ON Ready to run (see control word bit 0) Converter is switched on (ON command is applied), no fault is active, converter can start when "Enable operation"...
Page 25
Using the PKW mechanism you can process and monitor parameters (write/read) as described below: PPO type 1 on MICROMASTER4 in accordance with PROFIDrive Profile version use of acyclical channel in conjunction with data block 100 The parameter area includes at least 4 words. Parameter identifier (PKE) word...
Page 26
Table 3-3 Request identifier (master -> converter) No request 7 / 8 ↑ Request parameter value 1 / 2 Modify parameter value (word) Modify parameter value (double word) Request descriptive element 1 Request parameter value (array) 1 4 / 5 ...
Page 27
Table 3-5 Fault numbers for "Cannot process request" response Illegal parameter number (PNU) Parameter does not exist Parameter value cannot be modified Parameter is a read-only parameter Minimum/maximum not reached/exceeded Faulty subindex No array Single parameter has been accessed with array request and subindex >...
Page 28
PWE1 PWE2 HIGH Array subindex MICROMASTER4-specific Subindex 0- 255 Bit 7=PARA PAGE SEL The array subindex (referred to simply as "subindex" in the PROFIDrive Profile) is an 8-bit value which is transferred in the high-order byte (bits 8 to 15) of the parameter index (IND) when data are transferred cyclically via PPOs.
Page 29
If the subindex is transferred with values between 0 and 254 in a request, the relevant parameter index is transferred in the case of an indexed parameter. For the meaning of the individual indices of a parameter, please refer to the "Parameter List"...
Page 30
A request or a response can only ever refer to one parameter. The master must repeat a request continuously until it has received the appropriate response. The master detects the response to a request it has sent by ♦ evaluating the response identifier, ♦...
Page 31
Mount the PROFIBUS-DP communication board on the converter by inserting the two guides at the bottom into the slots provided and push the upper section towards the converter until the latching mechanism engages. Fig. 4-1 Mounting the communication board on the MICROMASTER4 PROFIBUS Optional Board Operating instructions 6SE6400-5AK00-0BP0...
Page 32
The PROFIBUS connection is on the bottom edge of the board housing. PROFIBUS interface Local 24 V connection Fig. 4-2 PROFIBUS connection on communication board The communication board is normally supplied by the mains supply to the converter. The PROFIBUS communication board has its own separate 24 V supply connection, thereby allowing the communication board and converter electronics to operate independently of the converter mains supply (board is still capable of communicating even when the converter power supply is switched off).
The maximum cable lengths are dependent on the baud rate (transmission speed). The maximum cable lengths specified in the table below can be guaranteed only with PROFIBUS bus cables (e.g. Siemens PROFIBUS cable available under order number (MLFB) 6XV1830-0EH10). Table 4-2...
The bus cable must not be twisted stretched or compressed during installation. Supplementary constraints as regards electromagnetic compatibility must also be observed. Further relevant information can be found, for example, in Chapter 3 of the Compendium (6SE7080-0QX50 Edition AE, MASTERDRIVES Docu). To connect the PROFIBUS cable to the communication board, a bus connector of one of the types described in the following table will be required.
Each bus segment must have a resistor network, i.e. a bus terminator, at both ends. Where the recommended bus connectors have been used, the bus terminator can be switched in and out by means of switches. Terminating resistor Terminating resistor switched in switched in Fig.
Page 36
The following EMC-related precautions must be taken to ensure interference-free PROFIBUS-DP operation, particularly in RS-485 data exchange mode: The screen of the PROFIBUS cable must be contacted in the bus connector. Additional screening is provided via a screen clamp on the bus cable screen which must make 360°...
Two methods of setting the PROFIBUS address: Via the seven DIP switches on the communication board or via parameter "P0918". 1 PROFIBUS address switch (DIP switch) 2 (for Siemens internal use only) Fig. 5-1 View of DIP switch PROFIBUS Optional Board...
Page 38
The PROFIBUS address can be set to between 1 and 125, as shown in the following table, on DIP switches 1 to 7. Switch number: Add to address: Example 1: Address = 3 = 1 + 2 Example 2: Address = 88 = 8 + 16 + 64 Some "addresses"...
Page 39
The following parameters must be set to start up the PROFIBUS optional board: P0918 PROFIBUS address P0719 Process data master control P0700 Fast selection command source P1000 Fast selection frequency setpoint r2050 Process data setpoint source (BICO) P2051 Process data actual values (BICO) P2041 Communication board functions P2040...
Page 40
(may activate fault 70) 1: Generate alarm A704 only P2041.03 Select displayed diagnostics screen. 0: Standard diagnostics >0: Special diagnostics (for SIEMENS internal use only) PROFIBUS Optional Board Operating instructions 6SE6400-5AK00-0BP0...
Page 41
Two parameters determine how process data are monitored: Threshold monitoring on the PROFIBUS optional board (standard slave function according to PROFIBUS) Monitoring of the telegram failure time in the converter with parameter "P2040" The threshold monitoring function on the PROFIBUS optional board is normally activated.
Page 42
This parameter can be set to define the sources of parameter modifications. Bit 0 PROFIBUS-DP 0: No 1: Yes Bit 1 0: No 1: Yes Bit 2 PC-converter assembly set 0: No (USS on the BOP interface) 1: Yes Bit 3 Local RS-485 interface (terminal 0: No 14/15 and USS)
Page 43
PROFIBUS slaves have different performance characteristics. To ensure that each slave with its individual properties can be correctly addressed by any master, the characteristic features of a slave are listed in its device master data file (GSD). Device master data file (GSD) The device master data file for the MICROMASTER4 PROFIBUS optional board (SIEM80B5.GSD) is stored on the documentation CD for MICROMASTER4.
Page 44
The communication board based on the integrated GSD can utilize the following functions: PPO type 1 or 3 4 PZD for process data Acyclical communication with a SIEMENS start-up tool (e.g. STARTER) and SIMATIC HMI PROFIBUS Optional Board Operating instructions...
Page 45
The extended scope of functions includes: Acyclical communication with a SIEMENS start-up tool (e.g. STARTER) and SIMATIC HMI Optional configuration of process data Utilization of internode data communication The MICROMASTER4 with extended functionality is based on an S7-specific configuring software add-on called the "Slave Object Manager".
Page 46
The "Internode communication" function is described in detail in PROFIDrive Profile, version 3.0. Internode communication enables slaves to communicate directly with one another instead of routing data indirectly via the DP master. This function can be utilized only in conjunction with a DP master as "synchronizer" or an S7 CPU with "equidistance"...
Page 47
You can configure the communication relationships between DP slaves using the internode communication function, e.g.: "Broadcast principle": One master drive specifies a master setpoint for all slave drives. "Peer-to-peer principle": A setpoint is forwarded from one drive to the next. A communication relationship is also referred to as a "channel"...
Page 48
The diagram below shows an internode communication configuration with two internode transmitters (Publishers) and one drive as an internode receiver (Subscriber). PROFIBUS Slave 1, Subscriber MICROMASTER4 Word number: Word number: Master - Slave 1 Inputs Inputs (actual values) Outputs Slave 2 Outputs Publisher (setpoints)
Page 49
You can access a MICROMASTER4 directly using a SIMATIC HMI as the PROFIBUS master. A MICROMASTER4 reacts to a SIMATIC HMI in the same way as it does to a SIMATIC S7. As regards access operations to drive parameters, the following simple formula applies: Parameter number = data block number Parameter subindex = data block offset...
You can operate a SIMATIC HMI and a drive together independently of the rest of the automation system. A simple "point-to-point" link with just two nodes is possible. The HMI "Variables" functions can be used for drives. Other functions cannot be used (e.g.
Page 51
The MICROMASTER4 can operate only as a standard DP slave on an external master. Required GSD file The device master file (GSD file) contains all information required by a DP master system to integrate the MICROMASTER4 into its PROFIBUS-DP configuration as a standard DP slave.
Page 53
There are three types of diagnostic display: Alarm numbers Diagnostic parameter The three-colored LED display is on the front panel of the PROFIBUS-DP communication board. It provides instantaneous information about the status of the board. Possible LED displays are explained in the table below. Table 7-1 LED display on PROFIBUS-DP communication board No power supply...
Page 54
If alarms and faults occur on the PROFIBUS communication link, corresponding alarm numbers are displayed on the converter (BOP/AOP). Table 7-2 Alarm displays on converter A700 Cause: The parameter or configuring settings by the PROFIBUS master are invalid. Remedy: Correct the PROFIBUS configuration A702 Cause: The link to the PROFIBUS is interrupted.
Detailed diagnostic information is displayed in parameter r2054. The content of the diagnostic parameter depends on the selected diagnostic screen (see communication board parameter P2041.03). Table 7-4 Standard diagnostic parameter (when P2041.03 = 0!) r2054.00 PROFIBUS status: 0: Off 1: Baud rate search 2: Baud rate found 3: Cyclical data exchange (>100: Other diagnostic screen active)
Page 56
Parameter accessing error (r2054.04), error numbers < 240 correspond to PKW error numbers: Table 7-5 No. 0 .. 199: Parameter access has been converted to a PKW request. Error detected in converter. Additional info in r2054.05, r2054.06: Parameter number, index word Parameter number does not exist Check data block number Parameter value cannot be modified...
Page 57
Irrespective of the setting in P2041.03, the PROFIBUS-DP communication board attempts to send the following diagnostics to the converter after detecting a software error: r2054.00 65535: Identifier for details of a software error r2054.01 Name of module in which error has been detected (ASCII code) r2054.05 r2054.06 Code line in which error has been detected...
Table 8-1 Technical data Order number 6SE6400-1PB00-0AA0 Size (height x width x depth) 161 mm x 73 mm x 43.5 mm Pollution severity Pollution severity 2 according to IEC 664-1 (DIN VDE 0110/T1), No moisture condensation permitted in operation Mechanical strength Acc.
Page 61
Request identifier Distributed I/Os Engineering System Device master file Main setpoint Main actual value Human Machine Interface Fiber optic conductor Operator Panel Optical Link Plug Optical Link Module Parameter number Parameter value Parameter identifier Process data Control word SlaveOM Slave Object Manager Text Display Status word PROFIBUS Optional Board...
Page 63
Siemens AG Automation & Drives For Publication/Manual: Group MICROMASTER SD VM 4 PROFIBUS Optional Board P.O. Box 3269 D-91050 Erlangen Federal Republic of Germany Suggestions for technical documentation User Documentation Order number: 6SE6400-5AK00-0BP0 Name: Date of Issue: Edition A1 Should you come across any printing...