background image

4.4.3 Commissioning on the field bus

Commissioning software for the field bus master usually
provides an online mode in which the current states of
the field bus inputs and outputs can be influenced.

As with commissioning with WinPISA, you can also
generate the control signals of the SPC200 by means
of the PROFIBUS master. 

The functionability of the SPC200 on the field bus can
be checked in the online mode of the software for the
PROFIBUS master. The following tables give a sum-
mary of the configurable field bus address range of the
field bus module. The addresses are as seen by the
SPC200.

CAUTION
The outputs of the master are mapped on internal
inputs; internal outputs of the field bus module are
mapped on the inputs of the master.

4. Commissioning 

SPC200-COM-PDP  9904NH

4-43

Summary of Contents for SPC200 Series

Page 1: ...Smart Positioning Controller SPC200 Fieldbus module PROFIBUS DP Type SPC200 COM PDP ...

Page 2: ...y 1999 The copying distribution and utilization of this docu ment as well as the communication of its contents to others without expressed authorization is prohibited Of fenders will be held liable for the payment of damages All rights reserved in particular the right to carry out patent utility model or ornamental design registration Printed on 100 recycled paper SPC200 COM PDP 9904NH I ...

Page 3: ...Order no 188 893 Description Manual Designation P BE SPC200 COM PDP GB II SPC200 COM PDP 9904NH ...

Page 4: ...s 3 3 3 2 Connecting the PROFIBUS DP interface 3 4 3 3 Connecting the SPC200 via a branch line 3 9 3 4 Optical fibre waveguide connection 3 10 4 Commissioning 4 1 Procedure for commissioning 4 3 4 1 1 Additional instructions on commissioning with WinPISA 4 4 4 2 Preparations for commissioning the field bus 4 9 4 2 1 Setting the PROFIBUS address with WinPISA 4 10 4 2 2 Setting the PROFIBUS address ...

Page 5: ...Commissioning on the field bus 4 43 5 Diagnosis and error treatment 5 1 General instructions on diagnosis 5 3 5 2 On the spot diagnosis 5 4 5 3 Diagnosing with WinPISA 5 6 5 4 Diagnosing with PROFIBUS DP 5 7 5 5 Diagnosing with the programmer PC 5 14 A Technical appendix A 1 Technical specifications A 3 A 2 Index A 5 IV SPC200 COM PDP 9904NH ...

Page 6: ...therein as well as the designated use of the individual components and modules Please observe also the notes on safety in the operating instructions for the pneumatic components used The SPC200 as well as the modules and cables to be connected may only be used as follows as intended in their original state without any modifications in perfect technical condition If used with additional commerciall...

Page 7: ...correctly These instructions are printed in italics are placed in a frame and also marked with a pictogram Danger categories A distinction is made beween the following WARNING This means that considerable injury to people and or damage to property can occur if these instructions are not observed CAUTION This means that injury to people and or damage to property can occur if these instructions are ...

Page 8: ...ltage or undefined switching status of the electronic components which consequently affect connected circuits Electrostatically vulnerable components which will be damaged if the contacts are touched Recommendations and tips are marked with this picto gram This point marks activities which can be carried out in any order Text markings 1 Numbers denote activites which must be carried out in the seq...

Page 9: ...Software manual Software package WinPISA type P SW WIN PISA GB Functions of the WinPISA software package Help system Help system for WinPISA contained in WinPISA WinPISA help system Manuals Field bus module type P BE SPC200 COM Installation commissioning and diagnosis of the relevant field bus module Stepping motor indexer module type P BE SP200 SMX Installation commissioning and diagnosis when us...

Page 10: ...k of the SPC200 PLC IPC Programmable logic controller industrial PC PROFIBUS PROcess FIeld BUS German processing and field bus standard specified in the PROFIBUS standard EN 50170 volume 2 PROFIBUS address Serves for clearly identifying a slave on the PROFIBUS PROFIBUS DP Protocol variant decentral periphery Q Digital output Record select mode Operating mode of the SPC200 which supports close coup...

Page 11: ...X SPC200 COM PDP 9904NH ...

Page 12: ...Chapter 1 System summary 1 System summary SPC200 COM PDP 9904NH 1 1 ...

Page 13: ...summary 1 1 System structure 1 3 1 2 Connecting and display elements on the PROFIBUS module 1 4 1 3 Basic structure for operation on the PROFIBUS DP 1 5 1 4 Operating modes 1 7 1 System summary 1 2 SPC200 COM PDP 9904NH ...

Page 14: ...Field bus module type SPC200 COM PDP enables the SPC200 to be connected to the PROFIBUS DP in accordance with EN 50170 part 2 1 2 Programmer PC PROFIBUS DP master 3 4 SPC200 as PROFIBUS DP slave Further slaves on the PROFIBUS DP Fig 1 1 System summary example 2 3 4 1 1 System summary SPC200 COM PDP 9904NH 1 3 ...

Page 15: ...ule The diagram below shows the connecting and display elements on field bus module type SPC200 COM PDP 1 2 ERROR LED red POWER LED green 3 PROFIBUS DP interface 9 pin Fig 1 2 Connecting and display elements 2 3 1 1 System summary 1 4 SPC200 COM PDP 9904NH ...

Page 16: ... nodule for PROFIBUS DP Fig 1 3 Basic structure for the PROFIBUS DP Module Description Power supply module Enables both the power supply and the axis interface designed as a field device to be connected Diagnostic module Enables the operating panel to be inserted optional and a PC to be connected Field bus module for PROFIBUS DP Enables communication via the field bus 2 3 1 1 System summary SPC200...

Page 17: ...erating panel coordination with external PLC IPC via a field bus With field bus module type SPC200 COM PDP the SPC200 can be connected to all DP masters The SPC200 can be controlled via the PROFIBUS DP in the operating modes start stop or record selection The field bus module provides the address range re quired for this 1 System summary 1 6 SPC200 COM PDP 9904NH ...

Page 18: ...manual for the SPC200 The SPC200 communicates with the PROFIBUS mas ter via the internal I O address ranges internal input output addresses of the field bus module De pending on the operating mode used field bus module type SPC200 COM PDP provides the following I O bits for communication with the DP master Operating mode I O address range of field bus module type SPC200 COM PDP Start stop I10 0 I1...

Page 19: ...ts 6 7 8 PROFIBUS DP field bus Internal I Os of field bus module Internal I Os of SPC200 1 Maximum address range address specifications as seen by SPC200 Fig 1 4 Internal I O address range Due to the large I O address range considerably more NC records can be accessed in record select mode via the field bus than via the I O module 3 1 2 Q10 0 Q13 15 1 I10 0 I13 15 1 4 4 5 5 5 5 4 4 7 6 8 1 System ...

Page 20: ...ules can be inserted These pro vide exclusively freely programmable I Os in the operating mode start stop The address assignment when a field bus module is used is shown in the table below Module Maximum address range 1 I0 0 I0 9 1 Q0 0 Q0 7 1 I O modules on first axis interface string I1 0 I1 15 Q1 0 Q1 15 First I O module I2 0 I2 9 Q2 0 Q2 7 I O modules on second axis interface string I3 0 I3 15...

Page 21: ...ut and output bits of the field bus module as well as the permitted NC com mands depend on the operating mode set Detailed in formation on this can be found in the user manual for the SPC200 1 System summary 1 10 SPC200 COM PDP 9904NH ...

Page 22: ...Chapter 2 Fitting 2 Fitting SPC200 COM PDP 9904NH 2 1 ...

Page 23: ...Contents 2 Fitting 2 1 Fitting and removing the field bus module 2 4 2 Fitting 2 2 SPC200 COM PDP 9904NH ...

Page 24: ...he compressed air supply 2 the load voltage and operating voltage supplies on the SPC200 and if applicable on the axis interface string You thereby avoid undesired movements of the connected actuators uncontrolled movements of loose tubing undefined switching states 2 Fitting SPC200 COM PDP 9904NH 2 3 ...

Page 25: ...umbered 1 to 6 from left to right Slot 1 is reserved for the power supply module type SPC 200 PWR AIF The field bus module can be fitted as desired in slots 2 to 6 If the field bus module is fitted next to the diagnostic module an operating panel can not be plugged in because of the field bus cable Individual identification of all the modules fitted is car ried out automatically Only 1 field bus m...

Page 26: ...erface string When fitting the modules into the rack proceed as follows Fitting modules 1 Switch off the compressed air supply and the oper ating voltage supply 2 If applicable remove the blind plate 3 Hold the module by the front plate and push it into the guide rail Make sure that the modules are not tilted when they are pushed in and that no compo nents on the printed circuit board are damaged ...

Page 27: ...oving a module proceed as follows Removing modules 1 Switch off the operating voltage and the compressed air supply 2 Disconnect and remove the cable on the front of the module 3 Unlock both safety catches see Fig 2 1 and care fully remove the module 4 If necessary seal unused slots with blanking plates 6 5 1 4 3 2 2 2 Fitting 2 6 SPC200 COM PDP 9904NH ...

Page 28: ...Chapter 3 Installation 3 Installation SPC200 COM PDP 9904NH 3 1 ...

Page 29: ...tallation 3 1 General instructions 3 3 3 2 Connecting the PROFIBUS DP interface 3 4 3 3 Connecting the SPC200 via a branch line 3 9 3 4 Optical fibre waveguide connection 3 10 3 Installation 3 2 SPC200 COM PDP 9904NH ...

Page 30: ...ating voltage supply for internal electronics of the SPC200 and field devices plug X2 pin 2 You thereby avoid undesired movements of the connected actuators uncontrolled movements of loose tubing undefined switching states CAUTION Please note that the maximum permitted bus seg ment length depends on the baud rate used A bus segment is a bus cable which may contain up to 32 slaves devices The ends ...

Page 31: ...US DP interface X 20 Pin Signal Description 1 2 3 4 5 6 7 8 9 Housing Earth n c RxD TxD P CNTR P DGND VP n c RxD TxD N n c Screening shield Direct connection to housing Not connected Receive send data P Repeater control signal Data reference potential M5V Supply voltage positive P5V Not connected Receive send data N Not connected Direct connection to housing The repeater control signal CNTR P is i...

Page 32: ...MHz capacitance per unit length 30 nF km loop resistance 110 Ohm km core cross sectional area 0 34 mm 2 Maximum permitted segment length of field bus Baud rate in kBaud Maximum permitted segment length in m as per PNO 1 9 6 19 2 93 75 187 5 500 1500 3000 12000 1200 1200 1200 1000 400 200 100 1 PNO PROFIBUS User organisation 3 Installation SPC200 COM PDP 9904NH 3 5 ...

Page 33: ...A10 0XA0 Terminating resistor can be switched in vertical cable exit Baud rate 9 6 kBaud 12 MBaud 4 pin series terminals for wires up to 1 5 mm2 6ES7 972 0BB10 0XA0 As above but also with conduit thread connection ERNI part number Description 103648 Horizontal cable exit Baud rate 9 6 kBaud 12 MBaud 4 pin series terminal for wires up to 1 5 mm2 103649 As above but with integrated terminating resis...

Page 34: ... 4 pin series terminal Make sure that the cable screening lies flat under the fastening clip for the screening Read if applicable the instructions supplied with the plug 1 4 pin series terminal 2 Cable screening Fig 3 2 Connecting the bus cable to the plug 2 1 3 Installation SPC200 COM PDP 9904NH 3 7 ...

Page 35: ...tegrated termi nating resistor if you are connecting the SPC200 at the end of a bus segment If necessary switch in the termi nating resistor The diagram below shows the circuitry of the terminat ing resistor combination of cable A as per EN 50 170 Pin 6 Power supply Pin 3 RxD TxD P Pin 8 RxD TxD N Pin 5 DGND Fig 3 3 Cable termination as per EN 50 170 cable A 390 220 390 Pin 6 Pin 3 Pin 8 Pin 5 3 I...

Page 36: ...s reduced by the length of the branch line observe the maximum permitted branch line length PLEASE NOTE Branch lines should be avoided on the PROFIBUS DP where possible as they can overload the trans mission cable too much Baud rate in kBaud Maximum permitted branch line length in m 9 6 19 2 93 75 187 5 500 1500 3000 12000 500 500 100 33 3 20 6 6 not permitted 3 Installation SPC200 COM PDP 9904NH ...

Page 37: ...tromagnetic compatibility electrostatic dis charge protection due to optical transmission of the signals Protection against lightning Potential isolation of the individual DP slaves no compensating currents can flow through a cable screening The PROFIBUS DP interface of the node has been de signed in accordance with specification EN 50170 vol ume 2 and can therefore be used for controlling net wor...

Page 38: ...Chapter 4 Commissioning 4 Commissioning SPC200 COM PDP 9904NH 4 1 ...

Page 39: ...BUS address with the control panel 4 12 4 3 Configuring the SPC200 as a PROFIBUS slave 4 14 4 3 1 Configuration with COM PROFIBUS 4 20 4 3 2 Configuration with STEP 7 4 25 4 3 3 Configuration with DP masters of other manufacturers 4 30 4 4 Instructions on commissioning the PROFIBUS 4 38 4 4 1 Start up reaction of the field bus module 4 40 4 4 2 Response monitoring 4 42 4 4 3 Commissioning on the f...

Page 40: ...ommendation Proceed with commissioning as follows 1 Create and save the desired hardware configuration incl field bus module 2 First commission the individual axes with the aid of WinPISA but without using the field bus interface After reading this chapter refer to the WinPISA manual 3 Then start commissioning the field bus 4 Commissioning SPC200 COM PDP 9904NH 4 3 ...

Page 41: ...rt program If a field bus module is installed you can generate these control signals in the test mode when com missioning Commissioning can then be carried out in dependently of the PROFIBUS master Activating the test mode CAUTION You can specify input signals in test mode The input signals actually present will be ignored Activate the test mode only when the SPC200 is not connected to the field b...

Page 42: ...signals Then switch on the test mode e g with function key F5 The contents of the window Con trol signals depends on the operating mode set ä 1 signal 1 2 ENABLE Stop signal 3 Display for test mode Fig 4 1 Control signals for commissioning example Especially the signals ENABLE and STOP are import ant for commmissioning Now refer to the WinPISA manual for information on carrying out commissioning 3...

Page 43: ...tem ready Q10 1 Q10 2 SYNC_OA B Synchronization output for M00 Q10 3 Q10 4 MC_A B MC output for program A B motion complete Address specifications as seen by SPC200 Record select mode Address Control signal Description I10 0 ENABLE Enable controller I10 1 RESET Reset programs in conjunction with STOP 0 I10 2 STOP Stop positioning task 0 stopped I10 3 I10 4 CLK_A B Start NC record from program A B ...

Page 44: ...te that when loading a program with WinPISA the programmed record numbers are stored beginning with N000 and with step size 1 Example 1 Start NC record from line N007 of program A ä 1 signal 1 2 Start NC record with CLK_A signal Current NC record number here 7 3 Entry field for NC record number conclude entry with ENTER Fig 4 2 Selecting an NC record in record select mode example 1 3 2 4 Commissio...

Page 45: ...s with WinPISA or with the operating panel 2 Configure the Profibus with the appropriate configu ration software e g with COM PROFIBUS or STEP 7 hardware configurator 3 Test the PROFIBUS connection in online mode The subsequent sections contain detailed information 4 Commissioning 4 8 SPC200 COM PDP 9904NH ...

Page 46: ...LEASE NOTE PROFIBUS addresses may only be assigned once per PROFIBUS DP interface Note any possible restrictions in respect of the assignment of PROFIBUS addresses by your DP master Recommendation Assign the PROFIBUS addresses in ascending order Assign the addresses where necessary to suit the machine structure of your system Permitted PROFIBUS addresses 0 125 possibly limited by the DP master use...

Page 47: ...er to set the PROFIBUS addresses with Win PISA proceed as follows 1 Read the hardware configuration out of the SPC200 or set it manually as described in the guidelines In the WinPISA manual 2 Double click the symbol CPU in the project win dow The window SPC200 configuration will then appear 1 PROFIBUS module Fig 4 3 Configuration of the SPC200 modules 1 4 Commissioning 4 10 SPC200 COM PDP 9904NH ...

Page 48: ...IBUS module 4 Set the desired PROFIBUS address 0 125 and confirm with OK The field bus module sets itself automatically to the PROFIBUS baud rate used automatic baud rate recog nition The PROFIBUS address is transferred to the SPC200 when the project is loaded and thereby becomes valid A separate download is also possible 2 1 4 Commissioning SPC200 COM PDP 9904NH 4 11 ...

Page 49: ...US addresses with the control panel proceed as follows 1 Press the key or so often in the basic setting until the menu CONFIG SYSTEM appears SPC200 READY CONFIG SYSTEM 2 Press the Enter key to open the menu CONFIG SYSTEM The first command ACTUAL CONFIG will then be shown in the bottom line CONFIG SYSTEM ACTUAL CONFIG 3 Select the menu FIELDBUS with the keys or CONFIG SYSTEM FIELDBUS 4 Commissionin...

Page 50: ...dress The following question there fore appears UPDATE NEW ADDR SYSTEM RESET 7 You can now abort with ESC or trigger a system reset with ENTER and thereby confirm the new ad dress After a system reset the SPC200 is reset to the status it was in when switched on A program reset and a hardware recognition are carried out here and the axis interface string is initialized again Depending on the system...

Page 51: ...ation list of all the connected field bus slaves On the basis of this list you can compare the NOMINAL with the ACTUAL configura tion in order to detect connection faults access these specifications during the syntax check of a program in order to avoid addressing errors 4 Commissioning 4 14 SPC200 COM PDP 9904NH ...

Page 52: ...5 Control signals and freely prog inputs I11 0 I13 15 Freely programmable inputs optional Q10 0 Q10 15 Control signals and freely prog outputs Q11 0 Q13 15 Freely programmable outputs optional Record select I10 0 I10 15 Control signals I11 0 I11 15 Record number Q10 0 Q10 15 Control signals I O address range of field bus module address specifications as seen by SPC200 CAUTION The outputs of the ma...

Page 53: ...consistency over 1 byte Configuration entries with identifiers The type and the number of inputs and outputs are written with identifiers under PROFIBUS DP The DP identifiers can be entered in the configuration tables of the configuration programs either directly or via a dialogue This choice depends on the configuration pro gram 4 Commissioning 4 16 SPC200 COM PDP 9904NH ...

Page 54: ... 149 6 byte inputs complete length 97 151 8 byte inputs complete length A1 161 2 byte outputs complete length A3 163 4 byte outputs complete length A5 165 6 byte outputs complete length A7 167 8 byte outputs complete length 1 Identifiers for data consistency over 1 byte are permitted in this operating mode All non configured input output addresses can be used as flags in this operating mode Valid ...

Page 55: ...bus master is stopped The FREEZE mode will also be automatically reset in the following case when the bus connection to the SPC200 is interrupted response monitoring active The internal outputs of the field bus module are mapped on inputs of the master With this control com mand the internal outputs of the field bus module Q10 0 Q10 15 can be frozen The field bus module then sends a constant outpu...

Page 56: ...n The next two chapters describe the configuration of the SPC200 as a PROFIBUS slave especially with a Siemens DP master This is followed by a description of the configuration in general for PROFIBUS masters of other manufacturers Various configuration programs are available for the Siemens DP master This manual deals with COM PROFIBUS STEP 7 hardware configurator Configuration programs are subjec...

Page 57: ...the documentation on the COM PROFIBUS This manual refers to software version 3 0 Installing the GSD file In order that the SPC200 can be configured with COM PROFIBUS a data carrier containing a GSD file and a BITMAP file is supplied with this manual Information on using the GSD file is contained In the README file in the main directory The files must be installed as follows in order that all neces...

Page 58: ... GSD file German SPC_00C8 GSD COMPB3x GSD GSD file English SPC_00C8 GSE COMPB3x GSD BITMAP PBSP200N BMP PBSP200S BMP COMPB3x BITMAP Although COM PROFIBUS has already been started when you copy the GSD files you can update the slave catalogue with the command File Read GSD file 4 Commissioning SPC200 COM PDP 9904NH 4 21 ...

Page 59: ...or SPC200 2 Menu entry NC from GSD file Fig 4 5 Station selection COM PROFIBUS In order to insert the SPC200 click the entry NC Move the mouse pointer to the field bus string Click on the field bus string at the point where you wish to insert the SPC200 A dialogue for entering the PROFIBUS address will then appear When the PROFIBUS address is entered the SPC200 will be represented graphically 1 2 ...

Page 60: ...an determine the number and size of the I O ranges of the slave and assign address ranges of the master to them Permitted identifiers for COM PROFIBUS can be found in section 4 3 1 2 Identifier for inputs Identifier for outputs 3 4 Address ranges of the master Shows a list of permitted identifiers Fig 4 6 Configuring slave characteristics 1 2 4 3 4 Commissioning SPC200 COM PDP 9904NH 4 23 ...

Page 61: ...be configured depends on the operating mode of the SPC200 Always configure inputs before outputs Assign only one identifier for inputs and one for out puts When configuration is completed transfer the data to your master 4 Commissioning 4 24 SPC200 COM PDP 9904NH ...

Page 62: ...o operate your configuration program If necessary refer to the documentation on the Simatic Manager This manual refers to software version V 4 02 Installing the GSD file In order that the SPC200 can be configured with STEP 7 a data carrier containing a GSD file a type file and a BITMAP file is supplied with this manual Information on using the GSD file and the type file is contained in the README ...

Page 63: ...C File type File name Copy into directory GSD file German SPC_00C8 GSD S7DATA GSD GSD file English SPC_00C8 GSE S7DATA GSD BITMAP PBSP200N BMP PBSP200S BMP S7DATA NSBMP With Simatic Manager as from version 4 02 Activate the command Extras Install GSD file Although the Simatic Manager has already been started when you copy the GSD files you can update the hard ware catalogue with the command Extras...

Page 64: ...p PROFIBUS DP Additional field devices NC 1 Symbol for SPC200 2 Menu entry NC from GSD file Fig 4 7 Station selection STEP 7 In order to insert the SPC200 click the entry Festo SPC200 and hold the left hand mouse key pressed down Move the mouse pointer to the field bus string and release the mouse key when the PROFIBUS address is set the SPC200 will be represented graphically 2 1 4 Commissioning S...

Page 65: ... I O ranges of the slave and assign address ranges of the master to them To do this open the permitted identifiers in the hard ware catalogue under Festo SPC200 Move the desired identifier with the aid of the mouse into the appropriate line under Modules DP ID 1 Identifiers for SPC200 2 Modules DP identifier Fig 4 8 Configuring slave characteristics 1 2 4 Commissioning 4 28 SPC200 COM PDP 9904NH ...

Page 66: ...be configured depends on the operating mode of the SPC200 Always configure inputs before outputs Assign only one identifier for inputs and one for out puts When configuration is completed transfer the data to your master 4 Commissioning SPC200 COM PDP 9904NH 4 29 ...

Page 67: ...In order to commission the SPC200 correctly the DP master must perform the following functions in the se quence stated here 1 Send parametrizing telegram 2 Send configuration telegram 3 Request diagnostic information 4 Start cyclic data communication The structure and contents of the individual telegrams are described in the chapters which follow 4 Commissioning 4 30 SPC200 COM PDP 9904NH ...

Page 68: ...1 2 3 WD_On Response monitoring of SPC200 on off logic 0 off logic 1 on 4 Freeze_Req logic 1 Activate FREEZE 5 Sync_Req log 1 Activate SYNC Bit 7 Bit 6 Explanation 6 7 Unlock_Req Lock_Req 0 0 min TSDR SPC200 parameter may be overwritten 0 1 Release SPC200 for other masters 1 0 SPC200 blocked for other masters 1 1 Release SPC200 for other masters 4 Commissioning SPC200 COM PDP 9904NH 4 31 ...

Page 69: ...e the SPC200 must wait before the reply telegram can be sent to the DP master Octets 5 and 6 Ident_Number Explanation Transfer of Ident number 00C8H of SPC200 Parametrizing telegrams to the SPC200 are only accepted if the transferred and programmed Ident numbers are the same Octet 7 Group_Ident Explanation With the SPC200 each bit represents a group Octet 8 32 User_Prm_Data Explanation Not support...

Page 70: ...Parameter summary Octet 1 n identifier bytes Permitted identifiers for the SPC200 can be found in section 4 3 Configuring the SPC200 as a PROFIBUS slave Example Configuring an SPC200 for record select mode with up to 2 input bytes and 4 output bytes Station no 20 Configuration Function Chk_Cfg Octet 1 145D Octet 2 163D Read out configuration data Get_Cfg Operating mode Start stop mode Record selec...

Page 71: ...function The length of the octet string depends on the size of the address range used for the exchange of data Its size can therefore differ for input data and output data Inp_Data Outp_Data Each byte has an octet string length of 1 PLEASE NOTE With the function Data_Exchange the SPC200 expects the status description for the internal inputs outputs of the master As reply telegram the status of the...

Page 72: ... Yes None RD_Inp Yes 56 RD_Outp Yes 57 Slave_Diag Yes 60 Set_Prm Yes 61 Chk_Cfg Yes 62 Get_Cfg Yes 59 Global_Control Yes 58 Set_Slave_Add No 55 Bus parameters reaction times Baud rate kBit s max TSDR TBit min TSDR TBit 187 5 60 11 500 100 1500 150 3000 250 6000 450 12000 800 4 Commissioning SPC200 COM PDP 9904NH 4 35 ...

Page 73: ...e in the main directory In addition to the slave typical entries Ident number revision etc the device data base file also contains a selection of identifiers These identifiers are divided into 2 main groups 1 Address range for digital inputs 2 Address range for digital outputs Enter the identifiers in the sequence stated PLEASE NOTE The outputs of the master are mapped on internal inputs of the fi...

Page 74: ...er for the inputs and one for the outputs All internal I Os of the field bus module which lie outside the I O address range configured for communication can be used as flags in the operating mode start stop 4 Commissioning SPC200 COM PDP 9904NH 4 37 ...

Page 75: ...ch your controller on it will automatically perform a comparison between the NOMINAL and AC TUAL configurations For this configuration run it is im portant that the specifications on configuration are complete and correct the power supply to the PLC and the field bus slaves is switched on either simultaneously or in the se quence stated below 4 Commissioning 4 38 SPC200 COM PDP 9904NH ...

Page 76: ...wer unit or switch Common supply If the control system and the field bus slaves have sep arate power supplies power should be switched on in the following sequence Separate supply 1 Switch on the power supply for all field bus slaves 2 Switch on the compressed air supply for the axes connected to the SPC200 3 Switch on the power supply for the control system 4 Commissioning SPC200 COM PDP 9904NH 4...

Page 77: ...ata cannot take place until the field bus module is reconfigured by the master Information on the start up reaction of the SPC200 can be found in the user manual for the SPC200 The following diagram shows the start up reaction of the field bus module Detailed information on error diagnosis can be found in chapter 5 4 Commissioning 4 40 SPC200 COM PDP 9904NH ...

Page 78: ... module POWER LED on BUSERROR LED on No Yes Initialization self test fault Hardware fault Yes Yes BUSERROR LED flashes briefly BUSERROR LED flashes fast 2 1 No Switch off BUSERROR LED BUSERROR LED flashes slowly offline Data exchange OK Configuration by master Yes No No 4 Commissioning SPC200 COM PDP 9904NH 4 41 ...

Page 79: ...h activated or deactivated response monitoring When the response monitoring is activated all field bus inputs of the SPC200 will be reset to 0 when the re sponse monitoring time has expired When the response monitoring is deactivated the status of the field bus inputs will not be modified in the event of failure of the field bus communication 4 Commissioning 4 42 SPC200 COM PDP 9904NH ...

Page 80: ...0 by means of the PROFIBUS master The functionability of the SPC200 on the field bus can be checked in the online mode of the software for the PROFIBUS master The following tables give a sum mary of the configurable field bus address range of the field bus module The addresses are as seen by the SPC200 CAUTION The outputs of the master are mapped on internal inputs internal outputs of the field bu...

Page 81: ...13 12 I13 3 I13 11 I13 2 I13 10 I13 1 I13 9 I13 0 I13 8 1 Addresses as seen by the SPC200 The internal outputs of the field bus module are mapped on the configured inputs of the master Output bits Q10 0 Q13 15 1 Byte Bit 7 Bit 15 Bit 6 Bit 14 Bit 5 Bit 13 Bit 4 Bit 12 Bit 3 Bit 11 Bit 2 Bit 10 Bit 1 Bit 9 Bit 0 Bit 8 n n 1 Q10 7 Q10 15 Q10 6 Q10 14 Q10 5 Q10 13 MC_B Q10 12 MC_A Q10 11 Sync_OB Q10 ...

Page 82: ...ernal outputs of the field bus module are mapped on the configured inputs of the master Output bits Q10 0 Q10 15 1 Byte Bit 7 Bit 15 Bit 6 Bit 14 Bit 5 Bit 13 Bit 4 Bit 12 Bit 3 Bit 11 Bit 2 Bit 10 Bit 1 Bit 9 Bit 0 Bit 8 n n 1 RC_B RC_A ACK_B ACK_A Ready 1 Addresses as seen by the SPC200 Programming examples The following section contains programming examples which are intended to assist you in p...

Page 83: ...ogram B Q10 0 E20 0 READY SPC200 redy to operate Q10 1 E20 1 SYNC_OA Start stop mode SYNC_OA Q10 2 E20 2 SYNC_OB Start stop mode SYNC_OB Q10 3 E20 3 MC_A Start stop mode MC_A Q10 4 E20 4 MC_B Start stop mode MC_B Generate the starting edge Program in the master UN READY S ENABLE Enable controller S STOP RESET Set stop S SYNC_IA M00 prepare aknowledge for program A S SYNC_IB Prepare for program B U...

Page 84: ...e to POS3 N0004 N0005 N0006 N0007 M30 Program end with repeat Program in the master U E 0 0 If M00 is to be acknowledged U SYNC_OA and the SPC200 is in U SYNC_IA Programmed stop R SYNC_IA Acknowledge programmed stop UN SYNC_IA Has it been acknowledged UN SYNC_OA Has acknowledgement been confirmed S SYNC_IA Switch signal to output position 4 Commissioning SPC200 COM PDP 9904NH 4 47 ...

Page 85: ...0 ready to operate Q10 1 E20 1 ACK_A Task accepted acknowledged for program A Q10 3 E20 3 RC_A NC record of program A finished Create and start NC record Program in the master L KH 0001 Determine NC record number T AW 22 Create NC record UN CLK_A Master in output position UN ACK_A SPC200 ready U RC_A NC record finished S CLK_A Start NC record U CLK_A If task is cancelled U ACK_A and task accepted ...

Page 86: ...Chapter 5 Diagnosis and error treatment 5 Diagnosis and error treatment SPC200 COM PDP 9904NH 5 1 ...

Page 87: ... 5 1 General instructions on diagnosis 5 3 5 2 On the spot diagnosis 5 4 5 3 Diagnosing with WinPISA 5 6 5 4 Diagnosing with PROFIBUS DP 5 7 5 5 Diagnosing with the programmer PC 5 14 5 Diagnosis and error treatment 5 2 SPC200 COM PDP 9904NH ...

Page 88: ...he LEDs on the SPC200 and on the connected field devices show directly configuration errors hardware errors string errors bus errors etc The operating panel shows detailed error messages coded in the form of an 8 figure hexadecimal num ber In online mode WinPISA shows the 8 figure error messages as well as a description of the error in clear text A slave diagnosis can be requested via the PROFIBUS...

Page 89: ... flashes fast Parametrizing error Profibus address or operating mode not permitted lights up flashes slowly Operating status normal no connection to field bus master lights up flashes briefly Hardware fault Servicing required lights up lights up Card not started SPC200 defective or card defective servicing required Description of the LED signals Signal Description Signal Description is out flashes...

Page 90: ...sis the current error message consisting of the error class axis identifer error number and additional information can be read out via the PROFIBUS DP see manual P BE SPCPDP 5 Diagnosis and error treatment SPC200 COM PDP 9904NH 5 5 ...

Page 91: ...tion by the PROFIBUS master Data exchange Data exchange runs Bus address Set Profibus address Baud rate Current baud rate of PROFIBUS DP network 1 I O assignment Number of I O bytes used for communication 2 Software version Software version number of field bus module Info Information Sync Freeze active baud search configuration error from master 1 When connection is being made the display changes ...

Page 92: ...metrized and which has read and write access 4 5 Manufacturer identifier for SPC200 00C8H Describes the type of DP slave here 00C8H 5 6 6 7 Header Specifies the length of the device related diagnosis incl header 7 8 Device related diagnosis 1 bits 4 7 additional information 8 bits 0 3 additional information 7 Describes in detail the status of the SPC200 in the form of an 8 figure hexadecimal error...

Page 93: ...are not correct 1 Diag Ext_Diag There is a device related diagnosis1 1 Diag Not_Supported The function requested is not suppported 0 Diag Invalid_Slave_Response Is always reset to 0 by the SPC2002 1 Diag Prm_Fault Planned type is not correct 1 Diag Master_Lock Access by another master is set by master 1 Is set by SPC200 when a new error occurs new error message 2 Is set to 1 in DP master if the re...

Page 94: ...On Response monitoring active 1 Diag Freeze_Mode FREEZE mode is active 1 1 Diag Sync_Mode SYNC mode is active 1 0 Diag Deactivated Is always reset to 0 by SPC200 1 Only in conjunction with a diagnostic message Fig 5 3 Structure of station status 2 Station status 3 The structure depends on the master used Bit 7 Diag Ext_Diag_Overflow is always logic 0 set by the SPC200 7 6 5 4 3 2 1 0 5 Diagnosis a...

Page 95: ...ain the manufacturer identifier 00C8H for the SPC200 Header for device related diagnosis Octet 7 Ext_Diag_Data device related diagnosis Explanation This octet represents the header for the device related diagnosis The SPC200 enters the value 6 fixed in this octet i e 5 octets for device related diagnosis incl header octet will be provided transferred 5 Diagnosis and error treatment 5 10 SPC200 COM...

Page 96: ... if applicable additional information Structure of the error messages The individual positions in this hexadecimal number contain the following information 1 2 3 4 Error class 0 9 Axis identifier 0 2 Error number Additional information 5 6 7 8 Device related diagnosis 1 Device related diagnosis 2 Device related diagnosis 3 Device related diagnosis 4 Fig 5 4 Structure of device related diagnosis 0 ...

Page 97: ...position of the additional information Fig 5 5 Example structure of device related diagnosis 1 Device related diagnosis 2 This contains the 1st hexadecimal position of the addi tional information and the 2nd hexadecimal position of the error number Error number 2 figure 2nd hexadecimal position of the error message Additional information 1st hexadecimal position of the additional information Fig 5...

Page 98: ...l position of error number Fig 5 7 Example structure of device related diagnosis 3 Device related diagnosis 4 This contains the 1st and 2nd hexadecimal position of the 2 figure error class Error class 2 figure 1st hexadecimal position of the error class Error class 2 figure 2nd hexadecimal position of the error class Fig 5 8 Example structure of device related diagnosis 4 7 6 5 4 3 2 1 0 7 6 5 4 3...

Page 99: ...r PC Some software programs also provide the following functions in addition to the bus configuration commissioning test diagnosis In order to test the SPC200 with the aid of a pro grammer PC you will require e g the CP 5410 com munication processor from Siemens Connect the programmer PC to the PROFIBUS DP interface on the SPC200 5 Diagnosis and error treatment 5 14 SPC200 COM PDP 9904NH ...

Page 100: ...Appendix A Technical appendix A Technical appendix SPC200 COM PDP 9904NH A 1 ...

Page 101: ...Contents A Technical appendix A 1 Technical specifications A 3 A 2 Index A 5 A Technical appendix A 2 SPC200 COM PDP 9904NH ...

Page 102: ...x PROFIBUS DP standard slave certified as per DIN 19245 parts 1 to 4 EN 50170 vol 2 9 6 12000 kbit s automatic baud rate recognition up to 23 8 km max 100 mA Electromagnetic compatibility interference emitted immunity to interference tested as per EN 55011 limit class A 1 tested as per EN 50082 2 Oscillation and shock oscillation shock tested as per DIN IEC 68 part 2 6 severity 1 tested as per DIN...

Page 103: ...A Technical appendix A 4 SPC200 COM PDP 9904NH ...

Page 104: ...agnosis 4 5 13 structure 5 11 structure of the diagnosis 5 11 Diagnosis programmer PC 5 14 Diagnosis PROFIBUS DP device related diagnosis 5 11 header for device related diagnosis 5 10 manufacturer identifier 5 10 master address 5 10 station status 1 5 8 station status 2 5 9 DP master bus parameters reaction times 4 35 implemented functions 4 35 send parametrizing data 4 31 service access points SA...

Page 105: ...base file 4 36 GSD file installing with COM PROFIBUS 4 20 installing with STEP 7 4 25 meaning of the term GSD file IX I Important user instructions VI O Operating modes I O address range 1 7 number of configurable I Os 4 15 valid identifiers for record select mode 4 17 valid identifiers for start stop mode 4 17 Optical fibre waveguide general instructions 3 10 A Technical appendix A 6 SPC200 COM P...

Page 106: ...ing of the term Repeater IX S Slave diagnosis structure of slave diagnosis 5 7 Start stop mode internal I O addresses in start stop mode 4 44 Station status station status 1 5 8 station status 2 5 9 station status 3 5 9 SYNC general instructions on SYNC and FREEZE 4 19 T Terminating resistor meaning of the term Terminating resistor IX plug with integrated terminating resistor 3 6 structure 3 8 A T...

Page 107: ...A Technical appendix A 8 SPC200 COM PDP 9904NH ...

Reviews: