Home
Operating instructions
Contents
1. PROFINET IO System Te After adding the device to the automation network it is required to configure which of the cyclic data blocks will be used and where they will be addressed in memory For details refer to section 5 4 4 PROFINET configuration of the gateway which data are trans ferred on page 63 STEP 3 Configure the properties of the gateway Double click on the gateway hardware symbol Configure the update time of the cyclic IO data exchange To do this click on the IO Cycle tab and select the desired rate from the update time pull down menu 62 Wieland BA000587 09 2009 Rev A Note Ethernet gateways STEP 4 Assign the device name In order for the PLC to communicate with the SP EN PN the PLC software and the gate way must agree on the name of the gateway Specify the gateway s PROFINET IO device name Double click on the gateway hardware symbol Select the General tab Enter the desired device name in the dialog as shown below xi Fig 30 Properties dialog of the SP EN PN General Short description samosPro samosPro PROFINET ID Gateway Order no R1 190 0140 0 Family samosPro 3 Device name GSD file GSDML V2 1 WIELAND SAMOSPRO 20090624 xml ase Number Change Rele Node PN IO system Device number N a PROFINET IO System 100 IP address 192 168 0 2 Ethernet IV Assign IP address via I0 controller Com
2. SP EN MOD does not supply any data LED PWR O Green LED LINK ACT O OS Green LED MS Red 1 Hz Configuration required Configuration download is not completed Configure the SP EN MOD and download the configuration to the device Wait until the configuration download has been completed SP EN MOD does not supply any data LED PWR O Green LED LINK ACT O O Green LED MS O Green No data set is activated No Ethernet communication interface is enabled Activate at least one data set SP EN MOD does not supply any data LED PWR O Green LED LINK ACT O O Green LED MS Green 1 Hz SP EN MOD is in Idle mode CPU application is stopped Start CPU change into Run mode SP EN MOD functioned correctly after configuration but suddenly no longer sup plies data LED PWR O Green LED LINK ACT O O Green LED MS Red Green SP EN MOD is operated in slave mode the IP address is assigned from a DHCP server After the SP EN MOD or the DHCP server has been restarted a different IP address that is unknown to the PLC has been assigned to the SP EN MOD Either assign a fixed IP address to the SP EN MOD or reserve a fixed IP address for the SP EN MOD in the DHCP server manual assignment by means of the MAC address of the SP EN MOD SP EN MOD samos PRO system is in Critical fault mode LED PWR O Green LED LINK ACT O Green LED MS Red SP EN MOD is not plugged pr
3. Typ Max 16 8 V DC 24V DC 30 V DC eC 8 3 General technical specifications These technical specifications apply to all gateways Terminals Fieldbus SBUS Climatic conditions Ambient operating temperature T Storage temperature Relative humidity Climatic conditions EN 61131 2 Air pressure in operation Mechanical strength Sinusoidal vibration EN 60068 2 6 Frequency range Amplitude Acceleration Number of cycles Vibration wideband noise EN 60068 2 64 Frequency range Acceleration Half sinusoidal shocks EN 60068 2 27 Acceleration Duration Electrical safety Enclosure rating EN 60 529 Protection class Electromagnetic compatibility Mechanical and assembly Housing material Housing type Housing enclosure rating terminals Colour Gateways Weight SBUS connection internal bus Number of poles Gateways Mounting rail See section 8 1 Technical specifications gateways 10 pin connector for internal safety bus plug 25 to 55 C 25 to 70 C 10 to 95 non condensing 860 to 1060 hPa 5 to 150 Hz 3 5 mm 5 to lt 9 Hz 1 g 9 to 150 Hz 10 per axis on 3 axes 10 to 500 Hz 5g 15g 11 ms See SP SCON IP 20 EN 61000 6 2 EN 55011 Class A Polycarbonate Device for control cabinet installation IP 20 IP 40 Light grey 0 16 kg 10 1 connector left and 1 connector right Mounting rail acc to EN 60715 Wieland Electric BA000
4. wieland samos PrROo Gateways Operating instructions Doc No BA000587 Issued 09 2009 Rev A 2009 Wieland Electric GmbH This document is protected by the law of copyright whereby all rights established therein remain with the company Wieland Electric GmbH Reproduction of this document or parts of this document is only permissible within the limits of the legal determination of Copy right Law Alteration or abridgement of the document is not permitted without the explicit written approval of the company Wieland Electric GmbH Microsoft Windows 98 Windows ME Windows 2000 Windows XP and NET Frame work are registered trademarks of Microsoft Corporation Other product names and trademarks mentioned in these operating instructions are trademarks or registered trade marks of the respective owners Wieland Electric BA000587 09 2009 Rev A 3 Contents Contents 1 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 2 1 2 2 2 3 2 3 1 2 3 2 3 1 3 2 3 2 1 3 2 2 3 2 3 3 2 4 3 2 5 3 3 4 1 4 1 1 4 1 2 4 2 4 3 4 3 1 4 3 2 4 3 3 4 3 4 4 3 5 5 1 5 1 1 5 1 2 5 1 3 5 2 5 2 1 5 2 2 5 2 3 5 2 4 5 2 5 5 2 6 Abo t this document siiis 4a cc He ann axes ah neun conscience att ee wanna ees 6 Function of this document usssnnsssnnnsnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn san 6 The samos PRO operating instructions uussssnssssssnnnensnnnnennnnnnennnnnnnn
5. 18 Wieland BA000587 09 2009 Rev A Mounting and basic configuration of the gateways Fig 1 Mounting the module onto the DIN rail Make sure that the voltage supply of the samos pro system is switched off Hang the device onto the DIN rail 1 Connect the gateways directly onto the right side of the SP SCON module of the Samos pro system Up to two gateways per system are possible Ensure that the earthing spring contact 2 contacts the DIN rail such that it can electri cally conduct Latch the module onto the DIN rail by pressing it lightly in the direction of the arrow 3 Fig 2 Installing the end clips f there are several modules slide the modules together individually in the direction of the arrow until the side plug connection latches in Install end clips on the left and right The following steps are necessary after mounting Complete the electrical connections see section 4 2 Electrical installation on page 30 Configuration see section 4 3 First configuration steps on page 21 and the samos PLAN operating instructions Wieland part no BA000518 Checking the installation see the chapter on commissioning in the samos pro hardware operating instructions Wieland document no BA000497 Wieland Electric BA000587 09 2009 Rev A 19 Mounting and basic configuration of the gateways 4 1 2 Steps for dismantling the mo
6. Output 1 stuck at low error Output 2 stuck at high error Output 2 stuck at low error Output 3 stuck at high error Output 3 stuck at low error Output 4 stuck at high error Output 4 stuck at low error 31 PROFIBUS gateway Reserved Internal error Internal tests failed Reserved Reserved Configuration status changed to invalid Reserved Reserved Reserved 31 CANopen ga teway Reserved Internal error Internal tests failed Reserved Reserved Configuration status changed to invalid Reserved Reserved Reserved 31 DeviceNet gateway Reserved Internal error Internal tests failed Reserved Reserved Configuration status changed to invalid Reserved Reserved Reserved 31 Modbus gate way Reserved Internal error Internal tests failed Reserved Reserved Configuration status changed to invalid Reserved Reserved Reserved 31 Ethernet IP gateway Reserved Internal error Internal tests failed Reserved Reserved Configuration status changed to invalid Reserved Reserved Reserved Nie OINI OB OINI eJ ONIANA AJOI NIe OINI oR OIN e OINI OG oO Bl OIN eS OINI OAT Aw N
7. Position Description 1 PROFIBUS user grey 2 Shielded bus cable 3 PROFIBUS termination yellow with integrated terminating resistors Cable parameters The properties of the bus cable are specified in EN 50 170 as cable type A Property Value Characteristic impedance 135 165 Q at a frequency of 3 20 MHz Capacitance per unit length lt 30 pF m Loop resistance lt 110 O km Core diameter gt 0 64 mm Core cross section gt 0 34 mm With these cable parameters the following maximum physical sizes are possible for a bus segment Fig 34 D Sub socket and plug pin assignments SP PROFIBUS DP Fig 35 Bus cable SP PROFIBUS DP Tab 54 Explanation bus cable SP PROFIBUS DP Tab 55 Cable parameters SP PROFIBUS DP Wieland Electric BA000587 09 2009 Rev A 73 Fieldbus gateways N es Ha a a Baud rate Kbit s Max cable length m 9 6 1200 19 2 1200 93 75 1200 187 5 1000 500 400 1500 200 12000 100 Data transmission rate The data transmission rate is set automatically The maximum baud rate is 12 MBit s 6 1 2 Planning GSD file In the normal case the SP PROFIBUS DP is used on a DP master that looks up the device characteristics in the GSD file You will find the GSD file and device icon for PLC interfacing with PROFIBUS support e in the download center on the Internet at www wieland electric com Sup port Dow
8. e g SP SCON 0 0 Module operating state Module operating state Module operating state 1 Executing 1 Executing 1 Executing 0 Any other state 0 Any other state 0 Any other state 1 Internal error Internal tests Module operating state is Internal error Internal tests failed or watchdog test Critical Fault failed bad process data failed or bad process data or 1 No error 1 No error self test failure 0 Critical Fault 0 Error 1 No error 0 Error 2 External error Input test or Power supply out of range External error network dual channel evaluation 1 No error connection inactive failure failure or bad output power 0 Error 1 No error supply range or output s 0 Error inactive stuck at high or stuck at low 1 No error 0 Error 3 Reserved Reserved Reserved 4 Configuration status Configuration status Configuration status changed to invalid changed to invalid changed to invalid 1 Configuration valid 1 Configuration valid 1 Configuration valid 0 Conf invalid or un 0 Conf invalid or un 0 Conf invalid or un known known known 5 Output power supply out of Output power supply out of Input status range range 1 Valid network commu 1 Power supply o k 1 Power supply o k nication 0 Power supply out of 0 Power supply out of 0 Invalid or no communi range range cation 6 Reserved EFI 1 communication failure Output status 1 No error 1 Valid network commu 0 Error nication 0
9. 8 1 1 PROFIBUS DP Interface Min Typ Max Fieldbus PROFIBUS DP VO Interface level Connector technology Slave address set via rotary switches Slave address set via samos rLan Baud rate auto matic adjustment Baud rate kBits s with standard cable 9 6 19 2 93 75 187 5 500 1 500 12 000 Cable parameters see chapter 6 1 RS 485 D Sub socket 9 pin 12 MBaud Max cable length PROFIBUS DP gateway from page 71 8 1 2 EtherNet IP PROFINET IO Modbus TCP Interface Fieldbus EtherNet IP PROFINET IO Modbus TCP Integrated switch Connection technique Transfer rate Update rate heart beat rate Change of state COS update rate Addressing facto ry setting MAC address 8 3 port layer 2 managed switch with Auto MDI X for automatic detection of crossed Ethernet cable RJ45 socket 10 Mbit sec 10Base T or 100 Mbit sec 100Base TX autosen sing Configurable from 40 65535 ms IP 192 168 250 250 Subnet mask 255 255 0 0 Default gateway 0 0 0 0 Printed on type label example 00 06 77 02 00 A7 In order to set the slave address via software the hardware setting for the address must be 0 Wieland BA000587 09 2009 Rev A Technical specifications 8 2 Technical specifications supply circuit These technical specifications apply to all gateways Supply circuit Min e g via SBUS Supply voltage Power consumption
10. Invalid or no communi cation 7 Reserved EFI 2 communication failure Reserved 1 No error 0 Error 1 0 Input 1 2 dual channel input Reserved Reserved evaluation error 1 No error 0 Error 1 Input 3 4 dual channel input evaluation error 1 No error 0 Error 2 Input 5 6 dual channel input evaluation error 1 No error 0 Error 3 Input 7 8 dual channel input evaluation error 1 No error 0 Error 4 Status output 1 fast shut off logic control time out 1 No error 0 error 5 Status output 2 fast shut off logic control time out 2 The module status bits for the SP SDIO and SP SDI are fully supported only with firmware version 1 2 x and higher Tab 5 Meaning of the module status bits Wieland Electric BA000587 09 2009 Rev A 15 Product description samos PRO gateways N Byte Bit I O modules CPU modules Gateway modules e g SP SDIO SP SDI e g SP SCON 1 No error 0 error 6 Status output 3 fast shut off logic control time out 1 No error 0 error 7 Status output 4 fast shut off logic control time out 1 No error 0 error 2 0 Input 1 external test signal Reserved Reserved failure 1 No error 0 Error 1 Input 2 external test signal failure 1 No error 0 Error 2 Input 3 external test signal failure 1 No error 0 Error 3 Input 4 external test signal failure 1 No error 0 Error 4 Input 5 external
11. Pro system is used The machine operator is to be instructed in the use of the device by qualified safety personnel and must be instructed to read the operating in structions The samos pro system complies as per the radiated emissions generic standard with the requirements of class A industrial applications The samos pro system is therefore only suitable for use in an industrial environment WARNING a 2 3 Environmental protection The samos pro gateways are designed for minimum impact on the environment they con sume only a minimum of energy and resources At work always act in an environmentally responsible manner 2 3 1 Disposal Unusable or irreparable devices should always be disposed as per the applicable national regulations on waste disposal e g European waste code 16 02 14 Note We would be pleased to be of assistance to you on the disposal of these devices Con tact us 2 3 2 Separation of materials Only appropriately trained personnel are allowed to separate materials Caution is required when dismantling devices There is a risk of injuries Before you send the devices for appropriate recycling it is necessary to separate the diffe rent materials of the samos pro gateways WARNING Separate the housing from the rest of the parts in particular the circuit board Send the separated parts for recycling as appropriate see Tab 1 Tab 1 Overview on Components Disposal disposal by c
12. Tab 24 Individual Input Data Set Transfer object 73hex class attributes Tab 25 Individual Input Data Set Transfer object 73hex instance attributes Tab 26 Individual Input Data Set Transfer object 73hex common services Note Individual Input Data Set Transfer object definition 73 HEX one instance per data set The vendor specific Individual Input Data Set Transfer object defines the attributes by which the PLC can request either full input data sets or individual parameters within an input data set Class attributes Attribute ID Name Data type Data value s Access rule 1 Revision UINT 1 Get 2 Max instance UINT 4 Get 3 Num instances UINT 4 Get Instance attributes Attribute ID Name Data type Data value s Access rule 1ton Request input SINT 0 255 Get dependent on data set specific data set defini data tion Common services Service code Implemented in Implemented in Service name class instance Olhex Yes Yes Get_Attributes_All OEhex Yes Yes Get_Attribute_Single Instance attribute definitions Attribute 1 to n Request input data set specific parameters These attributes return the input data set specific data arrays Get Attribute Single re quests for a specific input data set will return only the requested data set parameter infor mation Get Attribute All requests will return the entire data set The data set a
13. gt data blocks into the slots of the SP EN PN shown in the SIEMENS SIMATIC Manager HW Config configuration table Fig 31 Projecting the SP gt 1 samosPro EN PN Slot 8 Module Order Number Q address Address Diagnostic address Comment Input Data Block 1 Input Data Block 2 Input Data Block 3 Input Data Block 4 Input Data Block 5 Output Data Block 3 276 285 Output Data Block 4 286 295 Output Data Block 5 296 305 oO e The and O addresses reflect where in memory the cyclic data will be available Notes e Each input data block can only be placed into the slot of the same number Example Input data block 4 can only be mapped into slot 4 Acyclic data and alarms Record read sSamos pro system diagnostic data is available as data record to be read by the PLC There are three data sets data set 2 3 and 4 providing diagnostic information e Data Set 2 contains the system CRCs e Data Set 3 contains the individual module status with four 4 bytes per module e Data Set 4 is currently filled with reserved values The format of the data sets is as specified in the tables below To access the acyclic data sets a record read must be performed on the appropriate ad dress as shown in the following table Data set 2 Data set 3 Data set 4 Tab 29 Memory location for data set 2 3 and 4 Location 1200 1231 1300 1359 1400 1459 Siz
14. 33 34 35 36 37 38 39 40 Annex Index of tables Overview on disposal by components 22222240sannnnesennnnnnnnnnnnnnnnnnnnnnnnnnnennn 10 Device variants and features overview ueenssssssssssnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 12 Availability Of data Set 1 A een en nina 13 Overview input data sets 1 3 default settings for EtherNet IP Modbus TGP and TCP IP u area RR aleve 13 Meaning of the module status bits uuussnensesssnnnnnnnnnnernennnnnnnnnnnn nr nennen 15 Output data blocks 1 5 for the different gateways nussseneensssnnnnnneennnenennnnnn 17 Telegrami StrUCtur SPRSRPPEPREEFIFPERFERPERFRRFEFTRLFERCHEFRERTENTE ERPEUEEFEREFHEREENIEEEHEFREREEREESLELFRFTERTERF 30 Error response message unsnssnnnssnnannnnnnnnnnnnnnnnnnnnnnnnnnnnnnnunnnnnennnnnnnannnnennnnnesnnanneen 31 Get data set s request nenennnnnnesnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 31 Get data set s response uuneenensnnnennnsnnnsnnnnnnnnnnnnnnnnnannnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 31 Write output data set setting command 4444444HHen nenne ennnnnnnnnnnee ernennen nn nenn 32 Write output data set setting response uuensnnnnnennennnnnnnnnnnnnnnnnnnnnennnnann 32 Auto update mode configuration command uuumserrssennnnnnnnnnnneennnnnnnnnnn nennen 34 Auto update mode configuration response u essnennnnnnnnnnnnnnnnnnnnnennnnnn
15. Cable parameters SP PROFIBUS DP c ccccccceceeeeeceeeeeeeeeeseenneeeeeeeeeesesneaeeees 73 Maximum cable lengths SP PROFIBUS DP 22us2222suenssnnnennsnnnennnnnnnenannn 74 Default content of input data block 1 5 of the SP PROFIBUS DP 75 Content of the PROFIBUS diagnostics messages uunnmnneennsnnennensnnnnennennnnennnn 78 samos PRO module NUMDEIS cccccceeeeeeeeneeeeeeeeeeeenaeeeeeeeeeseeenceeeeeeeseseesneeees 79 PROFIBUS error messages aan Inn 79 Troubleshooting for the SP PROFIBUS DP u 222uussssnnsnnsnnnennnnnnnennnnnnnnnnnnnn 81 Content of the data Sets 1 A nuunessssssssnnnnunnnnnsnnnnnnnnnnnnnnennnnnnnnnnnnnnnnnnnnnnnnnnnnn 83 Default configuration for the operational data transmitted into the DEOL PPPA EE EET AE EAE E T E E 84 Part number samos PLAN CD ROM 222224ssssnsnnnnesennnnnnnnnnnnennnnnnnnnnnnnnnennn 93 Index of illustrations Mounting the module onto the DIN rail eeseeeeeeereerirreerrrrirrrssessrrrrrrreseeree 19 Installing the end clips uuusrnsssnnnnnnnennnnnnnnnnnnnnnnnnnennennnnnnnnnnnnnnnnnnnnnnnnnnn nenn 19 Removing the removable terminals uussssssssssssnnnnnnennnesennnnnnnnnnnnnnnnnnnnnnnnnnnnn ne 20 Disconnecting the plug connections uusseessssssnnnnnnenneenennnnnnnnnnnnnnnnnnnnnnnnnnnn nenn 20 Removing modules from the DIN rail u suuur2244444nnneennnsennnnnnnnnnnnnnnnnnnnnnnenn
16. Exception If you make only non safety related changes such as modifying the gateway name the gateway s IP address or the port number for a TCP IP socket connection the configuration status remains verified More information can be found in the samos PLAN operating instructions Wieland part no BA000518 4 3 5 Upload of a configuration When in online mode you can upload a configuration from the connected samos pro system Click on Upload The current configuration of the samos pro system will be loaded into the samos PLan and can be edited after going offline 24 Wieland BA000587 09 2009 Rev A Ethernet gateways 2 Ethernet gateways This chapter describes the following samos pro gateways e EtherNet IP gateway SP EN IP Modbus TCP gateway SP EN MOD e Profinet IO gateway SP EN PN 5 1 Common features of the Ethernet gateways 5 1 1 TCP IP configuration interface The samos pro Ethernet gateways offer a TCP IP configuration interface which allows the configuration of the samos pro System over Ethernet TCP IP This runs parallel to the Ethernet TCP IP or other Ethernet protocols Do not connect to the samos pro system via the RS 232 and the Ethernet interface at the same time The samos pro system can only communicate with one instance of the samos PrLan at one time Connecting to the samos pro system using multiple instances of the Designer either on a single PC or multiple PCs may r
17. Fig Fig Fig Fig Fig Fig 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 COs OF S NS DDNDDND on Oo N SS OO SO Ole GONE ee Configuration guideline gateway as slave uuunssnnesenssnnnenssnnnnennnnnnnnnnnnnennnnnn 53 Data addressing for SP EN MOD as receiver uunsnnesesssnnnnensnnnnennennnnnnnnnnnennannnn 57 Modbus commands 2e um Heerlen 57 Modbus error messages Ense ee Saeed 57 Troubleshooting for the SP EN MOD 22444222400nssnnnnnnsnnnnennnnnnennnnnnnnnnnnn 58 Meaning of the LED displays of the SP EN PN cccccseseceeeeeeeeeeesetteeeeeeeess 59 Default content of input data block 1 5 of the SP EN PN een 64 Memory location for data set 2 3 and 4 ueueeeeeeneennnnnnnunnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 65 Default content of input data set 2 4 of the SP EN PN nennen 66 PROFINET IO error type definitions 444440nnnesennnnnnnnnnnnnnnnnnnnnnnnnnnnnennn 67 Troubleshooting for the SP EN PN 2uuuss2sssnssnnnnensnnnnnnnsnnnnennnnnnnnnnnnnnnnnnnnn 69 Meaning of the status LEDs of the SP PROFIBUS DP 244ss22sueensnnnnennnnn 71 Address switch SP PROFIBUS DP cccccceeseeeeeeeeeeeeeeeeeeeeeeeeeeeseesneeeeeeeeenss 72 Explanation bus cable SP PROFIBUS DP uuuuuusssesssnnnnnnnnnnnennnnnnnennnnnnnenn 73
18. SCON Note For each bit of the selected byte that you wish to use enter a tag name in the Tag Na mes area Each bit you enter a tag name for here will be available within the logic editor or for the process image of a second gateway F samosPLAN 1 2 0 Neues Projekt 5 E jol Project Device Extras X w E Com Settings 33 connect J Mar i Hardware configuration FO toate cator Jen SP EN MOD Gateway 13 Report 2 Diagnostics E a 100 EE AEN OASE E How can work with this software a D How can create a station b A How can create the logic for my station How can diagnose my project D gt How can print a report ect gj Transfer Ue Upload DE ul amp How can transmit the configuration to the station xl sp sconfo S sp En Mop 13 T0 2 Sp SDIO 1 I3 Reset SP EN MODL13 0 0 Byt PH SP EN MODI13 1 3 Byte 1 Bit 3 SP EN MOD 13 1 4 Byte 1 Bit 4 9 SP EN MOD 13 1 5 Byte 1 Bit 5 Gel co ca MNADANI C Dun 1 Di C 7 3 6 Saving and loading a configuration Using the buttons Load user configuration and Save user configuration you can save and load your configuration in XML format If you load a configuration all previously made changes that have not been saved will be lost You can not undo this action 7 3 7 Importing and exporting a configuration With the Import and Export buttons you can import and export a configuration i
19. See section 5 1 2 Ethernet TCP IP socket interface on page 28 5 4 7 Diagnostics and troubleshooting For information how to perform diagnostics on the samos pro system please refer to the operating instructions for the samos PLAN software Wieland part no BA000518 Error Cause Possible remedy The samos PLAN tool does not connect to the Samos PRO gateway mod ule SP EN PN has no power supply SP EN PN is not in the same physical network as the PC The PC is configured to another subnet mask in the TCP IP set tings SP EN PN has already been config ured once and has a fixed set IP address or an IP address assigned by a DHCP server that is not rec ognised Establish the power supply Check the Ethernet wiring and net work settings on the PC and correct if necessary Set the subnet mask on the PC to 255 255 0 0 factory setting of the SP EN PN Check the communication settings in the samos PLAN SP EN PN does not supply any data LED PWR Green LED LINK ACT O O Green LED STATUS Red Green SP EN PN is configured for data transfer to PLC but Ethernet communication is not yet estab lished or faulty Duplicate IP address detected Another device on the network has the same IP address Improperly formatted Profinet device name Minimum one Ethernet connection needs to be established Set up Ethernet connection on PLC side check Ethernet cabling check Ethernet con
20. a Output Data Block 3 25 12 Byte a Output Data Block 4 37 12 Byte gt Output Data Block 5 49 2 Byte a Machine Operator Ree Offline A samosPLAN configuration is not verified Select the PROFIBUS address in the PROFIBUS address field Notes The address that can be set via the hardware address switch ranges from 1 99 e The address that can be set via the samos PLAN software ranges from 3 125 e The PROFIBUS master cannot overwrite the address e A modified address setting only becomes effective after switching off and switching on the samos pro system e In online mode you can read the address set on the PROFIBUS DP gateway by clicking on the Read button above the PROFIBUS address field 72 Wieland BA000587 09 2009 Rev A Fieldbus gateways Plug assignment The connection to the PROFIBUS DP fieldbus is made using a 9 pin Sub D socket Pin 1 Pin 2 Pin 3 Pin 4 Pin 5 Bus cable The bus topology for PROFIBUS DP is a linear structure comprising a screened twisted 2 core cable with active bus termination at both ends The possible bus lengths are 100 m at 12 MBit s up to 1 200 m at 94 KBit s en SHLD Pin Description NC Pin 9 NC RxD TxD P Pin 8 CNTR P Pin 7 GND EXT 5V EXT Pin 6 NC RxD TxD N olo INIo O1 BR WW MD gt CNTR N GND EXT n I oO Shield
21. and provide the technical personnel at the machine manufacturer or machine operating organisation information on safe mounting adjustment electrical installation commissioning as well as on operation and maintenance of the samos pro gateways These operating instructions do not provide information on the operation of the machine in which a samos pro modular safety controller and a samos pro gateway is integrated Information on this is to be found in the appropriate operating instructions for the ma chine 1 2 The samos pro operating instructions For the samos pro system there are three operating instructions with clearly distinguished fields of application as well as mounting instructions for each module e The mounting instructions Wieland document nos BA000572 BA000583 are enclosed with each samos pro module They inform on the basic technical specifications of the modules and contain simple mounting instructions Use the mounting instructions when mounting samos pro safety controllers e The samos pro hardware operating instructions Wieland document no BA000497 describe all samos pro modules and their functions in detail Use the Hardware operat ing instructions in particular to configure samos pro safety controllers e The samos pro gateways operating instructions this document describe all samos pro gateways and their functions in detail e The samos PLan operating instructions Wieland part no BA000518 descr
22. ipmanu m ajlo Fig 24 Gateway Project Device Extras configuration dialog aa amp H GE Com Settings 3 connect P 9 Disconnect gI Transfer Ina Upload ME Hardware configuration E amp 7 Logic editor AN SP EN MOD Gateway 13 B Report 2 Diagnostics PLC requests m 400000 a po a l C Gateway writes to Tag File m 2 400100 5000 4 ee Write all Sets in one Tag m 3 400200 5000 Modbus TCP M Enable Update COS M 4 400300 3573 M Enable h j BoRead PLC IP Address Modbus uae 192 168 255 255 t s hie T DHCP Device ID Device name 1 _ SP EN MOD Max PLC update ratefms IP address 40 192 168 250 250 Modbus TCP Subnet mask 255 255 0 0 Default gateway configuration I PLC interface disabled Set Holding register address Heartbeat rate PLC writes w 4401000 5000 C Gateway reads from register V 2 40100 5000 VW 3 4401200 puo S W 4 401300 5000 V 5 401400 5973 Enter a valid IP address Subnet mask and if required a valid IP address for a Default gateway Click OK Click Connect to go online and download the configuration to the samos pro system 5 3 3 Configuration of the Modbus TCP interface to the PLC how the data is transferred Modbus TCP application characteristics e Support of standard Modbus TCP addressing conventions e Master and Slave receive methods Wieland Electric BA000587 09
23. the samos PLAN software operating instructions Wieland part no BA000518 In the delivery status the data routing configuration of the samos pro gateways is shown in the gateway configuration dialog Click on the Gateway button above the main window and select the respective gateway to open the gateway configuration dialog Click on the samos rro to Network tab on the left hand menu to display the routing configuration dialog The default setting is as follows example for Modbus TCP U Wieland BA000587 09 2009 Rev A Layout and content of the process image F samosPLAN 1 2 0 ipmanu a lo Fig 40 Default Project Device Extras configuration for the PA tings Mid connect 3 Discomnect Bay Transfer es upload MES operational data Pr Phsramoo sent Report GB Diagnostics transmitted into the network amp la By Reset to Defaut Clear all I i i Gateway Data Set to Network I Show only available data aS Input data OME Joanna Di E 00 Ganaan Module 1 SP SDIO 1 unt 0 20GA AAO Module f j Di E u GEBGO0000 Module 3 4 Mod MRSA o 20000200 atria isisi ma S o BGBBB880 to samosPRO _ npu 3 w GGEGG8880 l oe 7 Module 4 mu oo Aaaa 8_ Module 5 mu 0 Danaa ip 3 Module 6 2 ma 3 o GBG00000 10 Module 7 input u DBEEOBBBB0 Gateway 11_Module 8 input S u DORT config
24. 3 oO ProfiNet gate way Reserved Internal error Internal tests failed Reserved 80 Wieland BA000587 09 2009 Rev A Fieldbus gateways Module Diagnostics bit Error origin Error message number X_Unit_Diag_ Bit 3 Reserved 4 Configuration status changed to invalid 5 Reserved 6 Reserved 7 31 Reserved 9 0 Other module Reserved 1 Internal error Internal tests failed 2 Reserved 3 Reserved 4 Configuration status changed to invalid 5 31 Reserved 12 0 Other module Reserved 1 Internal error Internal tests failed 2 Reserved 3 Reserved 4 Configuration status changed to invalid 5 31 Reserved 6 1 4 Diagnostics and troubleshooting For information how to perform diagnostics on the samos pro system please refer to the operating instructions for the samos PLAn software Wieland part no BA000518 Error Cause Possible remedy The samos PLAN tool does not connect to the sSamos PRO gateway module SP PROFIBUS DP has no power supply Establish the power supply Check the communication settings in the samos PLAN SP PROFIBUS DP does not supply any data LED PWR O Green LED BF O Off LED MS Red 1 Hz Configuration required Configuration download is not completed Configure the SP PROFIBUS DP and download the configuration to the device Wait un
25. Activate at least one data set SP EN IP does not supply any data LED PWR O Green LED LINK ACT amp Green LED MS Green 1 Hz SP EN IP is in Idle mode CPU application is stopped Start CPU change into Run mode SP EN IP functioned cor rectly after configuration but suddenly no longer supplies data LED PWR O Green LED LINK ACT OAO Green LED MS Red Green SP EN IP is operated in slave mode the IP address is assigned from a DHCP server After the SP EN IP or the DHCP server has been restarted a different IP address that is unknown to the PLC has been assigned to the SP EN IP Either assign a fixed IP address to the SP EN IP or reserve a fixed IP address for the SP EN IP in the DHCP server manual assignment by means of the MAC address of the SP EN IP SP EN IP samos PRO sys tem is in Critical fault mode LED PWR O Green LED LINK ACT O Green LED MS Red SP EN IP is not plugged properly into the other samos PRO mod ule Module connection plug is soiled or damaged Other samos PRO module has internal critical error Plug the SP EN IP in correctly Clean the connecting socket plug Repower the system Check the other samos PRO mod ules SP EN IP is in Critical fault mode LED PWR O Green LED LINK ACT OG Green LED MS Red 2 Hz SP EN IP internal device error CPU firmware version does not support samos PRO gateways Switch off the powe
26. Click on the Connect button to go online 5 1 2 Ethernet TCP IP socket interface Each samos pro Ethernet gateway supports a total number of four TCP IP socket inter faces This allows up to four different applications to communicate with the gateway at the same time over Ethernet TCP IP The gateway s proprietary network interface e g Modbus TCP runs in parallel and its configuration or usage does not interact with the TCP IP socket configuration as it happens independently on separate samos PLAN pages Do not use the same output data set number for two different PLC connections or TCP IP sockets The output data set can be written to the Ethernet gateways in parallel by all communica tion interfaces or TCP IP sockets e g Modbus TCP and Ethernet TCP IP if they use the same output data set number In that case the last message overrides data received earlier The gateway processes the data of a samos pro system and makes it available in different compilations the data sets These data sets are available over the TCP IP interface For a 28 Wieland BA000587 09 2009 Rev A Ethernet gateways I Eee detailed description of the data sets please refer to section 3 2 Data transmitted into the network network input data sets on page 12 In order to configure the Ethernet TCP IP socket interface perform the following steps Open the samos r an and load the hardware configuration including the gateway C
27. Configured Stations DP VO slaves DP ASi H E DP PA Link ENCODER H ET 2008 ET 200c H ET 200eco a ET 2005 for Safety System samosPro Lele Diagnostics data SP PROFIBUS DP With the SP PROFIBUS DP diagnostics data are available via PROFIBUS standard DP VO diagnostics e Standard diagnostics 6 bytes e Device related diagnostics Status messages or manufacturer specific messages Each samos pro module supports a unique module ID Based on this ID the gateway de termines the manufacturer specific diagnostics number This way it is possible to retrieve module specific diagnostics texts from the GSD file The content of the diagnostics mes sage is shown in Tab 58 Tab 58 Content of the Octet Content Comment PROFIBUS diagnostics messages 7 0x09 Header 8 See Tab 59 Module number 9 0 PROFIBUS module slot number The PROFIBUS gateway supports five slots which do not represent the physical slots thus all messages shall be tied to slot 0 gateway itself 10 001 or 010 001 error coming 010 error going Bit 0 2 10 00000 11111 Alarm sequence number will be incremented for each state change of Bit 3 7 octet 10 Bit 0 2 error coming going 11 0 14 Position of the samos PRO module raising the diagnostic information 0 CPU 1 1 XT module 13 1 gateway 14 2 gateway relay modules are not counted 12 15 Variable 4 bytes module specific diagnostics dat
28. Input values Output values Not assigned Not assigned module 8 module 8 Byte 8 Input values Output values Not assigned Not assigned module 9 module 9 Byte 9 Input values Output values Not assigned Not assigned module 10 module 10 Byte 10 Input values Output values Not assigned Not assigned module 11 module 11 Byte 11 Input values Output values Not assigned Not assigned module 12 module 12 Length 12 bytes 12 bytes 12 bytes 12 bytes 2 bytes For detailed information about the content of the process image please see section 3 2 Data transmitted into the network on page 12 Notes Tab 57 Default content of input data block 1 5 of the SP PROFIBUS DP Wieland Electric BA000587 09 2009 Rev A 75 Fieldbus gateways How to set the start address for the data blocks Open the samos r an and load the hardware configuration including the PROFIBUS DP gateway Ensure your project is offline Click on the Gateway button above the main window and select the SP PROFIBUS DP to open the gateway configuration dialog Click on Gateway configuration on the left hand menu The following dialog appears Fig 37 Gateway GA samosPLAN 1 2 0 ipmanu J S iol xj configuration dialog for iaei Deve Eee the SP PROFIBUS DP w o Com Settings Pij connect 113 disconnect Dj Transfer D upload MES i jini Hardware configuration I Logic editor JEF Rouso Gateway t131 Report g Diagnostics Input Data Block 1 Foo
29. The Receive Data Area File Name must have the same name as the file defined on the PLC For SLC and PLC 5 PLCs all file names must be configured with a preceding i e N10 0 For MicroLogix PLCs all file names must be configured with a preceding i e N10 0 The file on the PLC must be of type INTEGER and must be large enough to contain the input data set table s Data will be written with the first byte placed in the MS byte location of the integer Example aabb ccdd eeff etc where aa byte 1 bb byte 2 cc byte 3 etc Transmit From PLC Data Transfer Methods The SP EN IP will support the following methods of receiving or retrieving the output data set s from the PLC e PLC Writes Method This is the standard method where the PLC uses a message instruction to write the out put data sets to the SP EN IP With this method the output data sets can be updated via a PCCC message written to the corresponding file address location on the SP EN IP e Read from File Transmit Method Poll the PLC With this method the SP EN IP will monitor the configured PLC memory location for changes to the output data set s When a change is detected the output data sets will be processed accordingly The following restrictions apply to this method The output data set file locations must be of INTEGER 16 bit word format and must be of sufficient length to contain the entire output data set Data in the INTEGER file m
30. are displayed in black e connected samos pro modules e configured logic results e gateway input data available from another gateway in the system Sources currently not configured will be displayed in grey Activating the Show only avai lable data checkbox in the upper left corner hides the unused sources from the view Sources that offer live data are marked with a little icon next to the text How to add a data byte to the routing table Drag and drop an element i e byte from the Available data area to a free slot in the Gateway Data area If the desired position is not free you will have to clear it first by deleting or moving the byte currently assigned to it Note It is possible to use the same byte several times in the routing table 7 3 3 Gateway Data area This area contains the routing table It shows the current content of the samos Pro gate way s input data modules Bytes and bits highlighted blue will hold live data from the system since the hardware configuration does support the source Bytes highlighted grey actually do not have data associated with them since the hardware configuration does not support the sources How to delete a data byte from the routing table Drag and drop the byte you want to delete to the trashcan icon in the bottom left corner of the Gateway Data area Or Select the byte you want to delete by clicking it with the left mouse button Then click on the Dele
31. be displayed e g universal module These modules are not needed and should be ignored e The input data blocks 1 4 contain 12 bytes each input data block 5 contains 2 bytes e The contents of the input data blocks are freely selectable but are preconfigured in the Samos PLAN configuration software Data block 1 Data block 2 Data block 3 Data block 4 Data block 5 Input data Input data Input data Input data Input data Byte 0 Input values Output values Logic result 1 Not assigned Not assigned module 1 module 1 Byte 1 Input values Output values Logic result 2 Not assigned Not assigned module 2 module 2 Byte 2 Input values Output values Logic result 3 Not assigned Not available module 3 module 3 Byte 3 Input values Output values Logic result 4 Not assigned module 4 module 4 Byte 4 Input values Output values Not assigned Not assigned module 5 module 5 Byte 5 Input values Output values Not assigned Not assigned module 6 module 6 Byte 6 Input values Output values Not assigned Not assigned module 7 module 7 Byte 7 Input values Output values Not assigned Not assigned module 8 module 8 Byte 8 Input values Output values Not assigned Not assigned module 9 module 9 Byte 9 Input values Output values Not assigned Not assigned module 10 module 10 Byte 10 Input values Output values Not assigned Not assigned module 11 module 11 Byte 11 Input values Output values Not assign
32. can now assign the IP address to the gateway before system boot Note The SP EN PN MAC address is printed on the device type label exam ple 00 06 77 02 00 A7 Device name set via SIEMENS SIMATIC Manager Refer to section STEP 4 Assign the device name on page 63 Device name set via samos PLAN Open the samos p an and load the hardware configuration including the PROFINET IO gateway Ensure your project is offline Click on the Gateway button above the main window and select the SP EN PN to open the gateway configuration dialog Click on Gateway configuration on the left hand menu The following dialog appears 60 Wieland BA000587 09 2009 Rev A Ethernet gateways Bl samosPLAN 1 2 0 ipmanu Project Device Extras S lol x Fig 28 Gateway configuration dialog ME Be H A com settings fd conect P oisconnect Ryg transfer Yes upload MES Hardware configuration X gt Logic editor Report 2 Diagnostics Input Data Block 1 1 12 Byte z j Input Data Block 2 13 12 Byte v a samosPRO to Input Data Block 3 25 12 Byte gt Profinet 10 Input Data Block 4 37 12 Byte gt Input Data Block 5 49 2 Byte gt Profinet ID Master to ygRead samosPRO M DHCP r E Device name SP EN PN el IP address eonhgwalon 192 168 250 250 Ej Subnet mask k 255 255 0 0 Default gateway ER 0 0 0 0 configuration Output Data Block 1 IT Om
33. configuration is not verified Check the Connect to checkbox Enter the IP Address and the Port number the gateway shall write to Select the update mode Enable COS update or Enable auto update and COS 34 Wieland BA000587 09 2009 Rev A Ethernet gateways f you have selected Enable auto update and COS select the Update rate in ms Select which data sets shall be updated Check the Update Dataset n checkbox Normal operation The following message is sent from the gateway to the application while operating in auto update mode Parameter Length Value Command WORD 002Ehex Auto update data set s message Data set 1 WORD O Data set not returned in data set s data field length Non zero Length of data set Data set 2 WORD O Data set not returned in data set s data field length Non zero Length of data set Data set 3 WORD O Data set not returned in data set s data field length Non zero Length of data set Data set 4 WORD O Data set not returned in data set s data field length Non zero Length of data set Data set s Array of bytes Data set s information Details see section 3 2 Data data length depen transmitted into the network network input data sets on dent on set page 12 and chapter 7 Layout and content of the process definition image on page 83 5 1 3 TCP IP process image example The following example shows a possible pro
34. display elements of the SP EN PN Tab 46 Meaning of the LED displays of the SP EN PN Wieland Electric BA000587 09 2009 Rev A 59 Ethernet gateways N Note Error elimination is described in section 5 4 7 Diagnostics and troubleshooting on page 69 Power up sequence On power up the following LED test sequence is performed LED MS O Off for 6 s LED MS O Red for 0 25 s LED MS O Green for 0 25 s LED Ms O off 5 4 2 Basic configuration assigning a device name and IP address Configuration and diagnostic of the SP EN PN may be performed via the samos PLan tool as well as with the PROFINET IO network programming tool e g SIEMENS SIMATIC Configuration via PROFINET IO In the out of the box configuration each PROFINET IO field device e g the SP EN PN has a MAC address and a symbolic name stored Notes e The symbolic name for the gateway is SP EN PN e This name is used by the IO controller i e PLC to assign the IP address to the field de vice e f the IP address is also used for other Ethernet communications like TCP IP or configura tion over Ethernet remember that the PLC can change the IP address so these can be interupted Address assignment is performed in two steps Assign a unique plant specific name to the gateway by using either the network con figuration tool e g SIEMENS SIMATIC Manager or the samos PLan tool Using the plant specific unique name the IO controller i e PLC
35. displayed red This could be the case e g for the outputs of an SP SDIO module if the power supply of this module is faulty Fig 45 Inactive Network input bits as a result ofan 000 DOBSHBBEBED error IB14 Module 2 Output ao DIGHEHBED IR1R kdn d la 2 aka tl e non ARNRANMNMNAAMAM In the Network to samos pro view bits that have no tag name assigned so that they can not be used in the logic editor but which are included in the process image that the samos pro gateway receives from the PLC are highlighted yellow OutD ataSet1 Fig 46 Network output bits with no tag names 0 BBBBRBE80 assigned in the online 0x00 m B a o B A o 0 process image ann Anam The samos pro gateways always reflect the actual physical status of the inputs and out Note puts on the connected modules and devices This means that even when Force mode is active and inputs that are physically Low are forced High or vice versa the actual physical status of these inputs will be transmitted to the PLC instead of the virtual forced status If however as a result of forcing of one or several inputs one or several outputs change their status the changed status of these outputs will be transmitted to the PLC since the actual physical status of the outputs on the devices has changed Wieland Electric BA000587 09 2009 Rev A 89 Technical specifications N Technical specifications 8 1 Technical specifications gateways
36. gels m wel ael Offline fl M RUN Path lt none gt v No Forces b ES No Edits 21 ee 4 i afi l gt Evo Bod D irie tes A Controller FlexiSoftTestPLC Controller Tags A Controller Tags Controller Fault Handler Scope z Show Show All v Sot TagName vr E Power Up Handler P Tag Name 7 Alias For Base Tag Type Style 5 a ts nputDataSett INT SO Decimal 35 03 MainProgram _ inputDataSet2 INT 8 Decimal Unscheduled Programs EnputDataSet3 INTI30 Decimal Motion Groups a OutputD ataS ett INT S Decimal Ungrouped Axes _ OutputDataSet2 INTIS Decimal nen OutputDataSet3 INTIS Decimal len OutputDataSeta INTIS Decimal GR User Defined Ge Strings OutputD ataS et INT 5 Decimal Ci Predefined ol G Module Defined 1 0 Configuration ugr j e Tag names for Allen Bradley SLC PLC 5 PLCs must begin with a i e N10 0 Notes e Tag names for Allen Bradley MicroLogix PLCs must begin with a i e N10 0 Wieland Electric BA000587 09 2009 Rev A 41 Ethernet gateways Method 2 Polling mode PLC requests the data from PLC writes the data to the SP EN IP In this operating mode the SP EN IP operates as s ave It sends the data to the PLC upon request and the PLC writes the data to the gateway If this operating mode is desired Open the samos Pp an and load the hardware configuration including the EtherNet IP gateway Click on the Gate
37. no from a DHCP server After the SP address for the SP EN PN in the longer supplies data EN PN or the DHCP server has DHCP server manual assignment by LED PWR O Green been restarted a different IP ad means of the MAC address of the LED LINK ACT f O Green dress that is unknown to the PLC SP EN PN LED STATUS Red Green has been assigned to the SP EN PN SP EN PN samos PRO SP EN PN is not plugged properly Plug the SP EN PN in correctly system is in Critical fault into the other samos PRO module Clean the connecting socket plug mode Module connecting plug is soiled Repower the system LED PWR O Green or damaged Check the other samos PRO mod LED LINK ACT OF Green Other samos PRO module has ules LED STATUS Red internal critical error SP EN PN is in Critical fault SP EN PN internal device error Switch off the power supply of the mode CPU firmware version does not samos PRO system and switch it on LED PWR Green support samos PRO gateways again LED LINK ACT O O Green Check the diagnostics messages LED STATUS Red 2 with samos PLAN Hz Use a CPU with the required firm ware version see section 2 2 Correct use on page 9 If the error remains replace the gateway Symbol description O LED off Green LED lights up green Red LED flashes red 70 Wieland BA000587 09 2009 Rev A Fieldbus gateways 6 Fieldbus gateways 6 1 PROFIBUS DP gateway The f
38. of state will trigger an immediate update of the data as well regardless of the set update interval l e COS is always active For both methods the following structure of messages applies General telegram structure The request response message e g telegram is structured as shown below Command Parameter s Data content depends on type of command Parameter Length Description Command WORD Ohex Undefined no command Polling mode specific OOFihex Input data set s request message 001Fhex Input data set s response message Auto update specific 00E1hex Auto update control 001Ehex Auto update control response 002Ehex Auto update input data set s message Digital outputs read write OOF2hex Write output data set settings 002Fhex Response to write output data set settings Parameter s Length de As defined in specific command termined by command Data Length de As defined in specific command termined by command Error response to invalid messages The gateway will set the most significant bit of the command word in the event that an invalid or improperly formatted message is received 30 Wieland BA000587 09 2009 Rev A Ethernet gateways I EEE Parameter Length Description can or response Command WORD Bit 15 of received command will be set i e command of OOF2hex would become 80F2hex Following Length de Unc
39. on page 13 For the SP EN PN and the SP PROFIBUS DP data set 1 has been subdivided in five input data blocks where data block 1 4 contain 12 bytes each and data block 5 contains two bytes For detailed information see the section on the related gateway e Data set 2 32 bytes contains the system configuration CRCs See Tab 4 on page 13 e Data set 3 60 bytes contains the individual module status and diagnostics data with four 4 bytes per module For details see Tab 5 on page 15 e Data set 4 60 bytes is currently filled with reserved values Tab 3 gives an overview which data sets are available for which gateway 12 Wieland BA000587 09 2009 Rev A Product description samos PRO gateways With the SP PROFIBUS DP diagnostics data is available via PROFIBUS standard DP VO diagnostics For more information on how to retrieve module status and diagnostics data via the PROFIBUS DP gateway please refer to chapter 6 1 PROFIBUS DP gateway on page 71 Wieland Electric BA000587 09 2009 Rev A Tab 3 Availability of data set 1 4 Tab 4 Overview input data sets 1 3 default settings for EtherNet IP Modbus TCP and TCP IP L Data set 1 Data set 2 Data set 3 Data set 4 SP EN IP EtherNet IP or EtherNet IPor EtherNet I
40. pi agp 3 3 Input Data Block 2 RT o pj Skee J samosPRO to Input Data Block 3 BE fe Se Ja gai Input Data Block 4 Fr fe See Ja Input Data Block 5 Is p Ske Ja I Profibus DP f Rea Master to ig Read samosPRO Profibus address 3 Gateway configuration The Profibus address selected in samosPLAN is effective only if the address switch on the device is 0 Output Data Block 1 fi 12 4 Byte z a Output Data Block 2 3 12 Byte OutputDataBlock3 ja pj He ja OutputDataBlock4 7 p He a Output Data Block 5 BE TR Skee a Click on the button to the right of the data block for which you want to change the start address The following dialog appears Fig 38 Edit the data Edit start address block start address QB 1 QB12 Cancel Type in the desired new start address or use the arrows to change the address The ad dress set will be checked automatically for plausibility i e it is not possible to configure data blocks with overlapping address ranges Click OK to accept the new start address For further information on how to configure the process image see chapter 7 Layout and content of the process image on page 83 and the samos PLan operating instructions Wieland part no BA000518 6 1 3 PROFIBUS configuration of the gateway how the data is transferred The following steps need to be taken in order to configure the communication between PLC and gateway Note This
41. the settings click on the pencil icon to the right The following dialog appears Fig 7 Com settings Modify Profle dialog Entry name Standard Serial port Fixed baudrate 0 IV Auto scan Cancel Modify the settings if required and click OK Click OK The dialog closes Click on Connect to physical device The samos pLan will search for connected samos pro devices and load the hardware configuration into the hardware configura tion dialog Once all modules have been identified correctly the samos PLAN will ask whether the configuration shall be uploaded Click Yes to upload the configuration As an example the following hardware configuration may appear Fig 8 Hardware configu E samosPLAN 1 2 0 6W manual ee ration dialog Project Device Extras ae u EI A com settings Pij connect Di oisconnect Flyg Transfer Bes upload MES F l JD Hardware configuration gt Logic editor SP EN PN Gateway 13 Report GE Diagnostics Ree Configuration Area How can work with this software fo aa a a D How canl create a station D How can create the logic for my station How can diagnose my project D How canl print a report How can transmit the configuration to the station A1 A2 How can find the product in the Intemet o oQ ljo 220 s L20E65 X1 X2 A1 A2 X1 5 CPU Modules Revision Tale G Gateways se 7 8 I5 6 7 B D m e a
42. via hardware address switches Set the PROFIBUS DP address using the hardware address switches on the device front Then switch the samos pro system off and back on again How to set the PROFIBUS DP address via software using the samos PLAN Set both hardware address switches on the device front to 0 Open the samos P an and load the hardware configuration including the PROFIBUS DP gateway Ensure your project is offline Click on the Gateway button above the main window and select the SP PROFIBUS DP to open the gateway configuration dialog Click on Gateway configuration on the left hand menu The following dialog appears Fig 33 Setting the Dil samosPLAN 1 2 0 Neues Projekt i aj lol xi PROFIBUS address for the Project Device Extras SP PROFIBUS DP ae w H EG Com Settings Pij connect 118 oisconnect DI Transfer 1 z Upload Hardware configuration 2 gt Logic editor IJE sP prorieus pp Gateway 13 Report 2 Diagnostics ch Input Data Block 1 1 2 be x Input Data Block 2 13 12 Byte v fon samosPRO to Profibus DP Input Data Block 3 E fe Sah Je Input Data Block 4 Fr OR E boc eg Input Data Block 5 49 2 Byte gt Profibus DP Master to samosPRO T Read Profibus address 3 x PROCESS FIELD BUS The Profibus address selected in samosPLAN is effective only if the address switch on the device is 0 Output Data Block 1 1 12 este Y a Dutput Data Block 2 13 12 Byte z
43. with an integrated three port switch for connection with the Ethernet network Two RJ45 sockets are available for the connection The switch functio nality allows the SP EN IP to be used for connection to another Ethernet component e g connection to a notebook without having to interrupt the Ethernet connection to the net work an ATE RJ45 Ethernet socket wieland ii LED power supply green LINK ACT 1 ou E LED network activity for Ethernet port 1 UNK a or 2 green i o T LED MS red green PORT 2 L j w RJ45 Ethernet socket LED Meaning PWR O No power supply Green Power supply switched on LINK ACT 1 O No Ethernet connection LINK ACT 2 Green Ethernet connection active no data transmission X Green Ethernet connection active data transmission MS O Power up Green Executing live process data from to CPU Green 1 Hz Idle Red 1 Hz Configuring configuration required 2 Hz Critical fault on gateway O Red Critical fault on another module O Red Green Executing but Ethernet communication not established or faulty Symbol description O LED off O Green LED lights up green 38 Red LED flashes red Fig 18 Interfaces and display elements of the SP EN IP Tab 17 Meaning ofthe LED displays of the SP EN IP Wieland Electric BA000587 09 2009 Rev A 37 Ethernet gateways I Note Error elim
44. with at least IP 54 degree of protection e While supply voltage is applied modules must not be plugged to nor be removed from the samos pro system WARNING To ensure full electromagnetic compatibility EMC the DIN mounting rail must be connected to functional earth FE Additionally connect all network cable shields directly at the control cabinet entrance to a common FE ground line e In asamos pro system the main module SP SCON is positioned at the extreme left e The two optional gateways follow directly to the right of the main module e Connect further samos pro extension modules e g SP SDIO or SP SDI onto the right side of the gateways and any additional relay modules SA OR S2 or SA OR S1 to the extreme right of the entire samos pro system e Ensure that suitable ESD protective measures are taken during mounting Otherwise the devices may be damaged e The connection between the modules is effected by means of the plug connection inte grated in the housing Take into account that when replacing a module the samos pro modules have to be pushed approx 10 mm apart before the corresponding module can be removed from the DIN rail e Take suitable measures to ensure that foreign matter does not penetrate the connector openings in particular that of the system plug Mount the modules in accordance with EN 50274 e The modules are located in a 22 5 mm wide modular system for 35 mm DIN rails accor ding to EN 60715
45. 02Fhex Response to write output data set settings mes sage Status WORD O Success Output data sets written correctly 1 Error Can not write output data sets due to either Loss of backplane communication Incorrect routing information Configuration via samos PLAan tool In order to configure the Application requests Polling mode of the gateway via the samos PLan tool perform the following steps Open the samos p an and load the hardware configuration including the gateway Click on the Gateway button above the main window and select the respective gateway to open the gateway configuration dialog Click on TCP IP configuration on the left hand menu The following dialog appears 32 Wieland BA000587 09 2009 Rev A Ethernet gateways EN samosPLAN 1 2 0 new_dp S la xj Project Device Extras wy H G Com Settings Pij connect Di oisconnect Big Transfer un Upload BE i Hardware configuration gt Logic editor IR se enae Gateway 13 Report g diagnostics 7 Socket 1 M Socket 2 7 Socket3 I Enabled T Enabled T Enabled samosPRO to Application requests Polling Application requests Polling Application requests EthemetIP Port Port Port so m aa m gm 5 m C Gateway writes to Address Port Au s to Addtess Port Au Gateway writes to Address Port Au IP Address IP Address IP Address Ethemet rt 192 168 25 25
46. 09 Rev A wieland Wieland Electric GmbH Brennerstra e 10 14 D 96052 Bamberg Tel 49 0 951 9324 0 Fax 49 0 951 9324 198 Email info wieland electric com www wieland electric com
47. 1 a2 a304 1 aia a3 Q4 a a a SP PROFIBUS DP SP EN PN SP EN I Revision Fa CE 5 1 0 Modules M an E p E Modules 48 Elements Info Machine Operator 113 offline AA samosPLAN configuration is not verified Click Disconnect to go into the offline mode if you want to change the configuration of the samos pro modules 4 3 2 Configuration of the gateways For the configuration of the gateways please refer to the sections on the related gateway e Section 5 2 EtherNet IP gateway on page 37 e Section 5 3 Modbus TCP gateway on page 50 e Section 5 4 PROFINET IO gateway on page 59 e Section 6 1 PROFIBUS DP gateway on page 71 22 Wieland BA000587 09 2009 Rev A Mounting and basic configuration of the gateways III DLE For the configuration of the TCP IP interface of the Ethernet gateways please refer to the following sections e Section 5 1 1 TCP IP configuration interface on page 25 e Section 5 1 2 Ethernet TCP IP socket interface on page 28 For the configuration of the operational data data transfer from and to the network please refer to chapter 7 Layout and content of the process image on page 83 More information can be found in the samos PLAN operating instructions Wieland part no BA000518 4 3 3 Transfer of a configuration Once you have finished the configuration you have to transfer the configuration to your samos Pro system In order to transfer a con
48. 2 400100 5000 ne Ta 00200 SJ po SJ mnePhOin o M 3 400200 5000 Modus TER M 4 400300 SJ po a j i Doped PLC IP Address Modbus TCP 192 168 255 255 to samosPRO F DHCP m Device ID Device name 1 SP EN MOD Max PLC update ratefms IP address 40 192 168 250 250 Modbus TCP Subnet mask 255 255 0 O Default gateway TCP IP es es 0 configuration I PLC interface disabled Set Holding register address Heartbeat rate G PLC wios M 1 401000 393 C Gateway reads from register Wh 2 401100 5000 4 M 3 40200 a 503 m 4 1401300 fx SJ VW 5 401400 4 m SJ Within the Gateway Configuration dialog select the transfer method by checking PLC requests for the samos pro to Network direction and PLC writes for the Network to samos Pro direction Select which data shall be written read to from the PLC by checking the checkbox for the required data set For the exact description of the data sets please refer to section 3 2 Data transmitted into the network network input data sets on page 12 Click OK Go online and download the configuration to the samos pro system PLC writes output data sets The following restrictions apply when the PLC writes the output data sets e The device index must be 1 e The message must be sent in word format e All output data sets are transferred from the PLC in 16 bit word format and the first byte must be placed in the least significant or rightmost byte of
49. 2009 Rev A 51 Ethernet gateways I Modbus TCP PLC requirements The PLC must support the Modbus TCP protocol The PLC must support the Read Holding Registers and Write Multiple Registers com mands or alternatively the Read Write Multiple Registers command The configuration steps in this section specify how the data to the higher level PLC are transferred In general there are two different transfer methods available for each transfer direction such as samos pro to Network and Network to samos pro e Polling receive method PLC requests gateway as slave This method provides a polling method that allows the PLC to request data on a periodic basis In this method the data is returned in the response to the data request message The PLC requests data by accessing the receive data address on the SP EN MOD mod ule with a Read Holding Registers message e Master receive method Gateway writes to PLC auto update gateway as master When it is determined that data received on the SP EN MOD module backplane interface is to be sent to the PLC the data is immediately written to a data memory location on the PLC e Slave transmit method PLC writes gateway as slave In this method the PLC will send write messages to the SP EN MOD module to set the output data sets To write to the output data sets the PLC writes the data to specified addresses e Master transmit method Gateway reads from PLC auto update gateway as maste
50. 587 09 2009 Rev A 91 Technical specifications 8 4 Dimensional drawings Fig 47 Dimensional 58 drawing SP EN IP SP EN MOD and SP EN PN mm 1144 120 7 EREBEISTICET 96 5 92 Wieland BA000587 09 2009 Rev A 720 Technical specifications L 126 5 8 5 Ordering information samos pro gateways Type Gateway Part number SP EN IP EtherNet IP R1 190 0150 0 SP EN MOD Modbus TCP R1 190 0130 0 SP EN PN PROFINET IO R1 190 0140 0 SP PROFIBUS DP PROFIBUS DP R1 190 0190 0 8 6 Ordering information accessories spare parts Part Description Part number samos PLAN CD ROM CD ROM with samos pro operating instructions application examples and software tool samos PLAN R1 190 0070 0 Fig 48 Dimensional drawing SP PROFIBUS DP mm Tab 64 Part number samos PLAN CD ROM Wieland Electric BA000587 09 2009 Rev A 93 Annex 9 1 Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab DI 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
51. 9 ise 168 55 255 9 192 168 255 255 9 Port Port Port 12345 J 2 1236 I par 33 F Enable COS update Enable COS update Enable COS update ae Enable auto update Enable auto update Enable auto update Update rate oo 4 a Update rate oo 4 a Update rate oo 4 a E Update Dataset 1 K Update Dataset 1 La A Update Dataset 2 Update Dal E E TCP IP Update Dataset 3 L Update Dat Let a configuration Update Dataset 4 B Update Dataset 4 E E 192 168 250 250 9100 192 168 250 250 9101 192 168 250 250 9102 ER gt a Connect Port DJ a a Port 3 a Check the Listen on checkbox Enter the Port number on which the application will connect Select the update mode Enable COS update or Enable auto update and COS f you have selected Enable auto update and COS select the Update rate in ms Select which data sets shall be updated Check the Update Dataset n checkbox Machine Operator is Offline A samosPLAN configuration is not verified Gateway writes to Address Port Auto update mode The gateway can be configured to automatically update the data set information i e the application does not need to send any request messages as it would do in polling mode once the connection to the application has been made The configuration settings are available via the samos PLaN configuration tool or via the TCP IP interface itself Using one interface does not disable the other The auto update mode
52. A Other product names and company names referenced in this manual are trademarks or registered trademarks of their respective companies Wieland BA000587 09 2009 Rev A On safety On safety This chapter deals with your own safety and the safety of the equipment operators Please read this chapter carefully before working with a samos pro gateway 2 1 Qualified safety personnel The samos pro gateway must only be installed commissioned and serviced by qualified safety personnel Qualified safety personnel are defined as persons who e have undergone the appropriate technical training and e have been instructed by the responsible machine operator in the operation of the ma chine and the current valid safety guidelines and e have access to the operating instructions of the samos pro gateway and samos PRo modular safety controller and have read and familiarised themselves with them 2 2 Correct use The samos pro gateways can only be operated with a samos pro system The firmware version of the connected SP SCON must be at least V1 10 0 the version of the samos PLAn configuration software must be at least 1 2 0 40 The samos pro gateways do not have a dedicated voltage supply The samos pro gateways are not suitable for operation on a safety fieldbus These gateways only generate non safety related fieldbus data status bytes for control and diagnostics purposes Do not use non safe data f
53. Array of USINT CMD FMC specific parameters ER Sr on Name Data type Description Length USINT Length of requestor ID Vendor UINT Vendor number of requestor Serial number UDINT ASA serial number of requestor CMD USINT Command byte STS USINT Status byte TNSW UINT Transport word Same value as request EXT_STS USINT Extended status if error PCCC_params Array of USINT CMD FMC specific result data Er in ec CMD FNC Description command types OFhex 67hex PLC 5 write OFhex 68hex PLC 5 read OFhex A2hex SLC 500 protected read with 3 address fields OFhex AAhex SLC 500 protected write with 3 address fields 5 2 4 TCP IP configuration interface See section 5 1 1 TCP IP configuration interface on page 25 5 2 5 Ethernet TCP IP socket interface See section 5 1 2 Ethernet TCP IP socket interface on page 28 5 2 6 Diagnostics and troubleshooting For information how to perform diagnostics on the samos pro system please refer to the operating instructions for the samos PLan software Wieland part no BA000518 48 Wieland BA000587 09 2009 Rev A Ethernet gateways I Eee Error Cause Possible remedy The samos PLAN tool does not connect to the sSamos PRO gateway module SP EN IP has no power supply SP EN IP is not in the same physical network as the PC The PC is configured to another subnet mask in the TCP IP set tings SP EN IP has already been con figured once and has a fixed set IP address or
54. C Addre IP Address Device name gt 00 07 17 01 80 94 192 168 250 250 Select the gateway that you want to use as entry point Enter a name for the entry point to the Entry name edit field Click OK The entry point has now been created and is shown in the connection dialog Wieland Electric BA000587 09 2009 Rev A 27 Ethernet gateways I Fig 13 Connection settings dialog with new TCP IP entry point Fig 14 Connection settings dialog with new TCP IP entry point activated Note WARNING Connection settings s Oj x i ib Add COM Profile B Add TCP IP Profile ea Check all profiles ip samosPRO Gateway network settings Standard Serial Port COM1 pP i Baudrate 115200 In order to use this entry point it needs to be activated Click on the Activate Entry Point icon white arrow in green circle on the far right The entry point will then be activated and marked as such Connection settings amp lol x i HEN Add COM Profile B Add TCP IP Profile y Check all profiles ip samosPRO Gateway network settings Standard a Serial Port COM1 lb Baud rate 115200 Click OK All communication to the samos pro system will now happen via TCP IP In order to use the entry point via the serial interface again you will have to re activate it The port number for the TCP IP configuration interface is pre set to port 9000 and can not be changed Step 3 Connect via TCP IP
55. D supports the following Modbus commands and error messages Modbus command Value Read holding registers 3 Write multiple registers 16 10hex Read write multiple registers 23 17hex Modbus error response Description 1 Illegal function The requested function is not supported 2 Illegal data address Undefined data address received 3 Illegal data value Request with illegal data values for example not enough data requested for a data set 10 Gateway paths not available Invalid configuration for example polling or setting of the digital outputs via PLC during operation of the SP EN MOD in master mode 5 3 4 TCP IP configuration interface See section 5 1 1 TCP IP configuration interface on page 25 5 3 5 Ethernet TCP IP socket interface See section 5 1 2 Ethernet TCP IP socket interface on page 28 5 3 6 Diagnostics and troubleshooting For information how to perform diagnostics on the samos pro system please refer to the operating instructions for the samos PLaN software Wieland part no BA000518 5 Will correspond to all enabled input data sets 9 Must correspond to all enabled output data sets Example If only output data sets 1 and 2 are enabled then 10 words 20 bytes must be written If all output data sets are enabled then 25 words 50 bytes must be written Wieland Electric BA000587 09 2009 Rev A Tab 42 Data addressing for SP EN MOD as receiv
56. DP u 2440unnsnnnnnssnnnennnnnnnnnnnnnnnnnnnnnonnnnnnnnnnnnnnn 73 Fig 36 PROFIBUS DP configuration example in Siemens SIMATIC Manager 75 Fig 37 Gateway configuration dialog for the SP PROFIBUS DP u een 76 Fig 38 Edit the data block start address 24404224400snnnnnnennennnnennnnnnnnnnnnnnnnnn nenn 76 Fig 39 Gateway in the PROFIBUS HW Config u 2244ssssnnnnnsnnnnensnnnnennnnnnnen nennen 78 Fig 40 Default configuration for the operational data transmitted into the network una ea Erna 85 Fig 41 Toolbar for the routing configuration msssseennesnnnnnnnennennn nennen ernennen 85 Fig 42 Network to samos PRO dialog of the SP EN MOD u eenneennnnnennn 87 Fig 43 Tag names of incoming bits in the logic editor dialog of the SP SCON 88 Fig 44 Active and inactive bits in the online process image uuuseensssssnnnnnnenneeeen nennen 89 Fig 45 Inactive Network input bits as a result of an error uussseessssssnnnnnnnnenneerennnnnnnnn 89 Fig 46 Network output bits with no tag names assigned in the online process Mag narini SR EEEESTERLEEETLTLEEERFELHUPEURIETESSERLERLLRUEETELFICHBESETERPERLECHERETLEFFETERFERE SRG 89 Fig 47 Dimensional drawing SP EN IP SP EN MOD and SP EN PN mm 92 Fig 48 Dimensional drawing SP PROFIBUS DP mm 2444ss nennen 93 96 Wieland BA000587 09 20
57. EEEFEERN 74 6 1 3 PROFIBUS configuration of the gateway how the data is transferred 76 6 1 4 Diagnostics and troubleshooting 244s4ssnsnnnsnnnnnnnnnnennennnnonnnnnnennnnnnnnnn nn 81 7 Layout and content of the process image 2 2 0s eeeeeeeeeeeeeeeeeeeeeeeeeeeeees 83 7 1 ROUNO PHERISRRSBENBEREREFFEFEISEFEEEFEPEETIRFERSLFERPRERRERI SEPEREPEPEITERFERSEFERPEPEREHNCPENEPEEEFHEFSEHRSENEEENPEISREREREER 83 72 Default settings for the Operational data 444444HHn nenne nnnnnnnnnnnnrennnnnnnnnnnen nn nnn 83 73 Customizing the operational data samos PRO to Network en 84 7 3 1 The toolbar ee ii ee ee Re an 85 7 3 2 Av llable data area hd heeded 85 7 3 3 Gateway Data area nssesssssessssnnnnnnnssnnnnnnnnnnnnnnnennnnnnnnnnnnneennnnnnnnnnnnennnnnnnennnnnnnnnn 86 7 3 4 Tag EEEE e ETA A E 87 7 3 5 Tag names for incoming data Network to samos PRO eeeeeeeeeeeeeeeeeeesereen 87 7 3 6 Saving and loading a configuration 22244sssnsenenssnnnnensnnnnnnnnnnnnnnnnnnnennnnnnnnnn nn 88 7 3 7 Importing and exporting a configuration uu 2224usssnnenensnnnnennsnnnnennnnnnnennnnnnnnnn nn 88 7 4 Monitoring the operational data online ueunesssssnnnnnneennesnnnnnnnnnnnnnnnnnnnnnnnnennnnn nn 88 8 Technical specifications 2 22 2eceeeeeeee ence e eee ence eee eee eee eee eee ese eee eseeeeeeeeee 90 8 1 Technical spec
58. Field Devices gt Gateway gt Wieland Drag amp drop the device into the Ethernet PROFINET IO network Example Al Station Edit Insert PLC View Options Window Help la x Desa hS e ain i E 82 ne 5j xl Be mia IF Profle CPU 315 2 PN DP PROFIBUS DP SE PROFIBUS PA ems PROFINET 10 2 Additional Field Devices E Ethernet 1 PROFINET ID System 100 DI32xDL24V D032xDC24V 0 54 Gateway Ga Asi o samosPro S samosPro v2 1 Input modules J Input Data Block 1 J Input Data Block 2 J Input Data Block 3 J Input Data Block 4 J Input Data Block 5 gt 1 samosPro Slot 8 Module Order Number I Address Q address Diagnostic address Comment Output modules g samesPre BIISCOHOE 204 J Output Data Block 1 57 samosFha v2 7 ME f Output Data Block 2 ASTA Fat EZ 9 Output Data Block 3 AT Pat 2 UE J Output Data Block 4 1 Input Data Block 1 256 267 9 Output Data Block 5 2 Input Data Block 2 268 279 G Gateway 3 Input Data Block 3 280 291 aE 1 0 4 Input Data Block 4 292 303 Network Components 5 Input Data Block 5 304 305 4 Sensors 6 Output Data Block 1 256 265 E SIMATIC 300 7 Output Data Block 2 266 275 E SIMATIC 400 8 Output Data Block 3 276 285 m SIMATIC PC Based Control 300 400 a Output Data Block 4 286 295 H E SIMATIC PC Station 10 Output Data Block 5 296 305
59. PELV in accordance with EN 60 664 and DIN 50 178 equipment of electrical power installation with electronic devices e Ensure that all the modules of the samos pro system the connected protective devices as well as the voltage supplies are connected with the same GND plane The GND of the RS232 interface is connected internally to the GND of the supply of the main module A2 e Connect all fieldbus and Ethernet cable shields directly at the control cabinet entrance to the functional earth FE 4 3 First configuration steps This chapter describes the basic steps you have to perform for the configuration of the gateway e Establish a first connection between the gateway and a PC or laptop e Upload or transfer of a configuration e Verification of a configuration 4 3 1 Establishing a connection between gateway and PC Connect a PC or notebook to the RS 232 interface of the SP SCON Power on the samos pro System Open the samos P an configuration tool installed on the PC Click on Edit com interface settings to ensure the correct communication interface has been selected The following dialog appears Haix Fig 6 Com settings dialo HEN Add COM Profile B Add TCP IP Profile GV Check all profiles ip samosPRO Gateway network settings g Standard Serial Port COM7 P Ib Baudrate Auto scan s v Wieland Electric BA000587 09 2009 Rev A 21 Mounting and basic configuration of the gateways To edit
60. Por EtherNet IP or TCP IP TCP IP TCP IP TCP IP SP EN MOD Modbus TCP or Modbus TCP or Modbus TCP or Modbus TCP or TCP IP TCP IP TCP IP TCP IP SP EN PN Profinet IO or Profinet IO or Profinet IO or Profinet IO or TCP IP TCP IP TCP IP TCP IP SP PROFIBUS DP PROFIBUS DP N _ Data set 1 Data set 2 Data set 3 Byte 0 Logic result 1 Overall CRC Module status module 0 Byte 1 Logic result 2 Module 0 is always the CPU Byte 2 Logic result 3 For detailed information about the module status see Tab 5 Byte 3 Logic result 4 Byte 4 Input values module 1 System CRC Module status module 1 Byte 5 Input values module 2 SCID Byte 6 Input values module 3 Byte 7 Input values module 4 Byte 8 Input values module 5 Reserved Module status module 2 Byte 9 Input values module 6 Byte 10 Input values module 7 Byte 11 Input values module 8 Byte 12 Input values module 9 Module status module 3 Byte 13 Input values module 10 Byte 14 Input values module 11 Byte 15 Input values module 12 Byte 16 Output values module 1 Module status module 4 Byte 17 Output values module 2 Byte 18 Output values module 3 Byte 19 Output values module 4 Byte 20 Output values module 5 Module status module 5 Byte 21 Output values module 6 Byte 22 Output values module 7 Byte 23 Output values module 8 Byte 24 Output values module 9 Module status module 6 Byte 25 Output values module 10 Byte 26 Output values module 11 Byte 27 Output values module 12 Byte28 Not assigned Module status
61. RPRERERRSSTEIPPEPERFERTEHIERUERFERFECHEIRSERLE T E E A 45 Individual Input Data Set Transfer object 73hex instance 4 attribute detiniti ns u Heel RER EEEN EEE Ra EE 45 Supported PCCC messages for the PLC 5 SLC and MicroLogix PLCs 47 Addressing for the PLC 5 SLC messages uus224nsusnsnnnnennennnnennnnnnonnnnnnnannn nn 47 PCCC object 67hex common services uusssssssssssssnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 48 PCCC object 67hex request message ueesennssssssnnnnnneennnenennnnnnnnnnnnnnennnnnnennn 48 PCCC object 67hex response message uuneeneensssnnnnennennnnnnennnnnnnnnennnneennnnnnnnnnn 48 PCCC object 67hex supported PCCC command type6 cceeeeeeeeeeeeeeeeteees 48 Troubleshooting for the SP EN IP uuuesneeessssnssenssnnnnnsnnnnennennnnennnnnnnnnnnnnnnnnn nn 49 Meaning of the LED displays uuussssssssssnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nenn 50 Number of possible connections 22444444nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 52 Configuration guideline gateway as master uusssnneenssnnnennsnnnnnnnnnnennnnn nn 52 94 Wieland BA000587 09 2009 Rev A Annex Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab 9 2 Fig Fig Fig Fig Fig Fig Fig Fig Fig Fig Fig Fig Fig Fig Fig Fig
62. See ga OuputDataBok2 fi m apee d OuputDataBok3 Pi m If ja OutputDataBlock4 Fi m IJfe a Output Data Block 5 FM fo She A gt Enter the device name in the Device name field maximum length 255 characters e The device name format must apply to the PROFINET standard specification Notes e Ensure that the default gateway address corresponds to the address set by the PLC for the gateway If there is no router used Siemens Step 7 use as default gateway address the same address as the IP address for the GPNT IP address set via samos PLaN tool Usually the IP address will be assigned by the PROFINET IO controller e g PLC However the SP EN PN allows configuration of the entire samos pro system over Ethernet TCP IP In this case it may be necessary to assign an IP address to the gateway even before the PROFINET IO network has been setup This can be done on the configuration page shown in Fig 28 as well 5 4 3 PROFINET configuration of the gateway how the data is transferred The following steps need to be taken in order to configure the communication between PLC and gateway This document does not cover the creation of the PROFINET IO network or the rest of the Note automation system project in the network configuration tool It is assumed the PROFINET project has already been set up in the configuration program e g SIEMENS SIMATIC Manager Examples refer to configurations performed with SIEMENS SIMATIC manager STEP 1 I
63. W 1 OutDataSett 5000 Gateway reads from Tag Fie M 2 OuDataser2 sooo I B 3 oudaaser 500 E x Within the Gateway configuration dialog select the transfer method by activating Gateway writes to Tag File for the samos pro to Network direction and Gateway reads from Tag File for the Network to samos Pro direction Select which data shall be written to read from the PLC by checking the checkbox for the required data set 40 Wieland BA000587 09 2009 Rev A Ethernet gateways III Eee Define where in the PLC memory the selected data shall be written to or read from Enter tag names into the Tag File name edit fields max 20 characters Select Write all Sets in one Tag if all data sets shall be written into one tag in the PLC memory In this case the tag defined for data set 1 will be used Define how often the data shall be transmitted to the PLC Select Enable Update COS update on change of state if the SP EN IP is to update the data in the PLC immediately when changes occur in the data sets Select Enable heartbeat interval to activate updating of the selected data sets with the set Heartbeat rate in ms Both options may be selected at the same time Define how often the data shall be read from the PLC Enter a Heartbeat rate in ms to activate updating of the selected data sets with the set time Define where the data shall be read to written from in the EtherNet IP network En
64. a See Tab 60 78 Wieland BA000587 09 2009 Rev A Fieldbus gateways A The following table lists the module numbers for the samos pro system Module number Module ee PRO 161 samos pro main module SP SCON 162 SP SDI SP SDIO module 163 PROFIBUS gateway SP PROFIBUS DP 164 CANopen gateway SP CANopen 165 DeviceNet gateway SP DeviceNet 166 Modbus gateway SP EN MOD 167 Ethernet IP gateway SP EN IP 168 Profinet IO gateway SP EN PN The following table matches the module specific diagnostics data as defined by the GSD to the appropriate error message Module Diagnostics bit Error origin Error message Tab 60 PROFIBUS error number X_Unit_Diag_ messages Bit 1 0 CPU Reserved 1 Module operating state is Critical Fault 2 Power supply out of range or EFI communication failure 3 Reserved 4 Configuration status of a module within the system changed to invalid 5 Power supply out of specified range 6 EFI 1 communication failure 7 EFI 2 communication failure 8 31 Reserved 2 0 I O module Reserved 1 Internal error Internal tests failed or watchdog test failed or bad process data or self test failure 2 Reserved 3 Error history item existing Access via configuration t
65. an IP address assigned by a DHCP server that is not recognised Establish the power supply Check the Ethernet wiring and net work settings on the PC and correct if necessary Set the subnet mask on the PC to 255 255 0 0 factory setting of the SP EN IP Check the communication settings in the samos PLAN SP EN IP does not supply any data LED PWR O Green LED LINK ACT O O Green LED MS Red Green SP EN IP is configured for data transfer to PLC but Ethernet communication is not yet estab lished or faulty Duplicate IP address detected Another device on the network has the same IP address Minimum one Ethernet connection needs to be established Set up Ethernet connection on PLC side check Ethernet cabling check Ethernet connection settings on PLC and in the samos PLAN If no Ethernet communication is required disable the Ethernet connec tions PLC interfaces on the SP EN IP Adjust IP address and power cycle device SP EN IP does not supply any data LED PWR O Green LED LINK ACT F Green LED MS Red 1 Hz Configuration required Configuration download is not completed Configure the SP EN IP and download the configuration to the device Wait until the configuration download has been completed SP EN IP does not supply any data LED PWR O Green LED LINK ACT Green LED MS O Green No data set is activated No Ethernet communication interface is enabled
66. ation via samos PLAN tool In order to configure the Gateway writes to Address Port Auto update mode of the gateway via the samos PrLan tool perform the following steps Open the samos p an and load the hardware configuration including the gateway Click on the Gateway button above the main window and select the respective gateway to open the gateway configuration dialog Click on TCP IP configuration on the left hand menu The following dialog appears Fi samosPLAN 1 2 0 new_dp aj lal x Project Device Extras amp H Eom Settings 3 connect Jigoi sconnect J Transfer 1 g Upload ME jiin Hardware configuration Logic editor Ef ewr ateway 131 Report 2 Diagnostics 7 Socket 1 M Socket 2 FSocket3 Enabled T Enabled I Enabled samosPRO to Application requests Polling Application requests Polling Application requests Polling EthemnetlP Port Port Port ET a sa A je sem A a Gateway writes to Address Port Au sriti writes to N IP Address EthemetlP to samos PRO 192 168 255 255 9 Port ip 12345 a C Enable COS update Gateway configuration Enable auto update Update rate soo a a al E Update Dataset 1 Vv _ Update Dataset 2 TCP IP Update Dataset 3 configuration Update Dataset 4 192 168 250 250 192 168 255 255 12345 192 168 250 250 9101 SN a Beep Conen Pn JO a a H Machine Operator 11 Offline A samosPLAN
67. cess image sent by a SP EN IP gateway via TCP IP in auto update mode Byte values hex Part of message Meaning 00 2E Command Auto update data sets see Tab 15 00 32 Command parameters Length of data set 1 50 bytes 00 20 Length of data set 2 32 bytes 00 3C Length of data set 3 60 bytes 00 3C Length of data set 4 60 bytes 03 FF 03 03 Data set 1 Logic results 1 4 co default byte assignments Input values module 1 see Tab 4 CO 11000000 Inputs 18 and I7 Active 03 Input values module 2 03 00000011 Inputs I2 and 11 Active 3F 05 Input values module 3 12 05 05 00 00 00 00 00 00 00 00 00 00 Output values module 1 12 00 00 00 00 00 00 00 00 00 00 00 00 Not assigned 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 52 A1 10 4C Data set 2 Overall CRC same as system CRC 52 A1 10 4C see Tab 4 System CRC 00 00 00 00 Reserved 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF FF FF FF Data set 3 Status module 0 SP SCON OK Tab 15 Auto update mode normal operation message Tab 16 TCP IP process image example Wieland Electric BA000587 09 2009 Rev A 35 Ethernet gateways I Byte values hex Part of message Meaning FFFFFFFF see Tab 4 and Tab 5 Status module 1 e g SP SDI OK FD FB FF FF Data set 3 data is transferred Status module 2 e g SP SDIO in Big Endian format
68. configuration is the expected configuration The system is then considered to be verified e You have to be logged in as authorized user in order to mark the configuration as veri Notes fied e f the verification is completed successfully a Read in and compare report that pro vides the most important project information is created subsequently You can print out or store this report e The status verified not verified is indicated in the lower right hand corner of the sa mos PLan and by the CV LED at the samos pro main module lighting up Wieland Electric BA000587 09 2009 Rev A 23 Mounting and basic configuration of the gateways ee Eee e Only if the device and the corresponding configuration have been marked as verified the Auto Start mode is active in the configuration of the main module If the configuration is not set to verified after power up the system stays in Idle mode CV LED on the SP SCON module flashing and the system needs to be set to Run mode using the sa mos PLAN e f differences between the project data and the read back configuration data are detec ted a corresponding message including information about possible actions is displayed Verification of the configuration is not possible then Observe the information in the error message for the further procedure Terminate the dialog box by clicking Close e If you change a verified configuration the status is reset to not verified
69. configured to integrate non safe informa tion from the fieldbus into the logic editor a decoupling of the gateway can result in avail ablity problems A samos pro gateway can only be operated on a samos pro system It does not have a dedicated voltage supply It is possible to use two samos pro gateways per system The gateways are fitted in a 22 5 mm wide housing for 35 mm rails in accordance with EN 60715 Ordering information can be found in section 8 5 Ordering information samos PRO gate ways on page 93 A list of available accessories can be found in section 8 6 Ordering information accessories spare parts on page 93 3 1 Device variants Four samos pro gateways are available for the different network types Suitable for Ethernet networks are the EtherNet IP gateway SP EN IP the Modbus TCP gateway SP EN MOD and the Profinet IO gateway SP EN PN The PROFIBUS DP gateway SP PROFIBUS DP is a fieldbus gateway without Ethernet functionality With the SP DeviceNet for DeviceNet and the SP CANopen for CANopen two further fieldbus gateways will be available in the future Wieland Electric BA000587 09 2009 Rev A 11 Product description samos PRO gateways I Tab 2 Device variants SP EN IP SP EN MOD SP EN PN SP PROFIBUS DP and features overview Network type EtherNet IP Modbus TCP Profinet IO PROFIBUS DP explicit messa master amp slave slave confor slave ging receive method mance class A Etherne
70. coniguation SPENIP Max PLC update ratelms 40 E IP address E 192 168 250 250 Subnet mask see 25 25 0 0 Default gateway E IT PLC interface disabled Heartbeat rate PLC writes 5000 Gateway reads from Tag File OutD 2 5000 v3 fo a3 Fa Das i o V 5 outDatasets 5000 5000 I Machine Operator Mt offine ZU samosPLAN configuration is not verified On the left side of the dialog you will find the area for the gateway IP configuration f desired enter a Device name for the samos rro gateway Enter a valid IP address for the samos pro gateway and if required a valid Subnet mask and a valid IP address for a Default gateway Or f your network uses a DHCP server activate the DHCP checkbox Click Connect to go online and transfer the configuration to the samos pro system Notes e If your project is online you can use the Read IP address button at the upper left corner of the gateway IP configuration area to retrieve the current IP settings of the gateway The out of the box default IP address of the gateway is 192 168 250 250 You can find the default IP address also on the type label of the gateway Step 2 Add a TCP IP profile to your project Connect one of the two Ethernet ports of the gateway with your Ethernet network using a shielded Ethernet cable Connect a PC or notebook to the same Ethernet network Ensure the IP addre
71. could be enabled via samos PLan and disabled via TCP IP command for example Configuration via TCP IP interface This command message is sent by an application to the gateway to configure the auto up date mode This message can be used to either disable or enable the auto update mode directly through the TCP IP interface Fig 16 TCP IP configuration for Application requests Polling mode Wieland Electric BA000587 09 2009 Rev A 33 Ethernet gateways I Tab 13 Auto update mode configuration command Note Tab 14 Auto update mode configuration response Fig 17 TCP IP configuration for auto update Parameter Length Value Command WORD 00E1hex Auto update control Request da WORD O Donot send data set 1 ta set 1 1 Send data set 1 Request da WORD 0 Do not send data set 2 ta set 2 1 Send data set 2 Request da WORD O Donotsend data set 3 ta set 3 1 Send data set 3 Request da WORD 0 Do not send data set 4 ta set 4 1 Send data set 4 Heartbeat WORD O Disable heartbeat messages mode update Non zero Enable heartbeat message at specified rate in ms rate Minimum 40 ms Auto update is disabled if all Request Input Data Set flags are set to zero The response message returned to the application by the gateway Value 001Ehex Response to the auto update control message Length WORD Parameter Command Configur
72. croLogix interface and the ControlLogix interfaces are e Polling is performed through the SLC and PLC 5 specific messages instead of accessing the Data Transfer object e Data is written into files on the PLC instead of tags as on ControlLogix PLCs While ControlLogix PLCs support the SLC and PLC 5 messages using those messages on Note ControlLogix PLCs is not recommended due to data size and performance considerations Wieland Electric BA000587 09 2009 Rev A 45 Ethernet gateways N Receive communication methods e Polling Receive Method This method provides a polling method that allows the PLC to request data on a periodic basis In this method the input data set information is returned in the response to the data re quest message The PLC requests data by accessing the corresponding data file address on the SP EN IP with either a SLC typed read or PLC 5 typed read message The following restrictions apply to this method The file location to receive the input data set on the PLC must be of type INTEGER and large enough to contain the input data set table s If no data has been received on the SBUS for the specified module all zeros will be returned e Unsolicited Write to File Receive Method When it is determined that data received on the samos pro gateway s SBUS interface is to be sent to the PLC the data is immediately written to a file location on the PLC The following restrictions apply to this method
73. d 0101 Module operating state is Critical Fault 0102 Power supply out of range or EFI communication failure 0103 Reserved 0104 Configuration status of a module within the system changed to invalid 0105 Power supply out of specified range 0106 EFI 1 communication failure 0107 EFI 2 communication failure 0200 I O module Reserved 0201 Internal error Internal tests failed or watchdog test failed or bad process data or self test failure 0202 Reserved 0203 Error history item existing Access via configuration tool 0204 Configuration status changed to invalid 0205 Output power supply out of range 0206 Reserved 0207 Reserved 0208 Input 1 2 dual channel input evaluation error detected 0209 Input 3 4 dual channel input evaluation error detected 0210 Input 5 6 dual channel input evaluation error detected 0211 Input 7 8 dual channel input evaluation error detected 0212 Status output 1 fast shut off logic control time out 0213 Status output 2 fast shut off logic control time out 0214 Status output 3 fast shut off logic control time out 0215 Status output 4 fast shut off logic control time out 0216 Input 1 external test signal failure Check for stuck at high or ca bling 0217 Input 2 external test signal failure Check for stuck at high or ca bling 0218 Input 3 external test signal failure Check for stuck at high or ca bling 0219 Input 4 external test signal failure Check for stuck at high or ca bling 0220 Input 5 ext
74. d in the samos PLAN 52 Wieland BA000587 09 2009 Rev A Ethernet gateways A To do in the gateway configuration via samos PLAN tool To do in the PLC program and or Modbus TCP network configuration tool data shall be written to Enter holding register address es Example 400001 And or define where in the PLC memory the se lected data shall be read from Enter holding register addresses configuration are available and contain the data determined for the samos PRO system Select how often this data shall be transmitted Define where the data shall be read from written to in the Modbus TCP network Enter the IP ad dress and controller slot number of the PLC Gateway is slave To do in the gateway configuration via samos PLAN tool To do in the PLC program and or Modbus TCP network configuration tool Select PLC requests and PLC writes in the gateway configuration dialog Define which data shall be written to read from the gateway Ensure the PLC program writes the data into the addresses defined for the gateway refer to sec tion SP EN MOD as slave data addressing The Modbus TCP gateway address setting is based 1 Please add 1 to the holding register address set in the samos PLan for an address setting based 0 Master mode SP EN MOD reads from writes to the PLC In order to configure the gateway to be master perform the follow
75. document does not cover the creation of the PROFIBUS DP network or the rest of the automation system project in the network configuration tool It is assumed the PROFIBUS N 76 Wieland BA000587 09 2009 Rev A Fieldbus gateways I EE project has already been set up in the configuration program e g SIEMENS SIMATIC Manager Examples refer to configurations performed with SIEMENS SIMATIC manager STEP 1 Install the generic station description file GSD file Before the SP PROFIBUS DP can be used as device in the network configuration tool e g SIEMENS SIMATIC Manager for the first time the generic station description GSD of the gateway must be installed into the hardware catalogue of the tool Download the GSD file and device icon from www wieland electric com Sup port Download Center Follow the instructions in the online help or in the user manual of the PROFINET net work configuration tool for installing generic station description files Using the SIEMENS SIMATIC Manager HW Config the gateway then appears in the hardware catalogue under gt gt PROFIBUS DP gt Additional Field Devices gt Gateway gt Wieland gt samos pro STEP 2 Add the gateway to the project In order to have the samos pro system data available in the PLC process image the gate way must be added to the hardware configuration first The procedure associated with this depends on the hardware configuration program of the PLC being
76. dules Fig 3 Removing the removable terminals Fig 4 Disconnecting the plug connections f there are several modules slide the modules away from each other individually in the direction of the arrow until the side plug connection is separated Fig 5 Removing modules from the DIN rail Press the module downwards at the rear 1 and remove it from the DIN rail in the direc tion of the arrow while keeping it pressed down 2 20 Wieland BA000587 09 2009 Rev A Mounting and basic configuration of the gateways 4 2 Electrical installation Switch the entire machine system off line The system could start up unexpectedly while you are connecting the devices WARNING e The samos pro gateways fulfil the EMC requirements in accordance with the basic spe Notes cification EN 61000 6 2 for industrial use e To ensure full electromagnetic compatibility EMC the mounting rail has to be connec ted to functional earth FE e The control cabinet or assembly casing of the samos pro system must comply at least with enclosure rating IP 54 e Mounting in accordance with EN 50274 e Electrical installation in accordance with EN 60204 1 e The voltage supply of the devices must be capable of buffering brief mains voltage failu res of 20 ms as specified in EN 60204 1 e The voltage supply has to fulfil the regulations for extra low voltages with safe separa tion SELV
77. e Cyclic IO communication 5 4 1 Interfaces and operation The SP EN PN is equipped with an integrated 3 port switch for connection with the Ether net network Two RJ45 sockets are available for the connection The switch functionality allows the SP EN PN to be used for connection to another Ethernet component e g con nection to a notebook without having to interrupt the Ethernet connection to the network m en RJ45 Ethernet socket PORT 1 Eu wieland wo o LED power supply green a LINK JACTA a E LED network activity for Ethernet port 1 LINK ACT or 2 green r SP EN PN g E LED STATUS red green PORTZ EEE ia RJ45 Ethernet socket LED Meaning PWR O No power supply Green Power supply switched on LINK ACT 1 O No Ethernet connection LINK ACT 2 Green Ethernet connection active no data transmission w Green Ethernet connection active data transmission STATUS O Power up Green Executing live process data from to CPU Green 1 Hz Idle 2 Hz Profinet master requested LED flashing for physi cal device identification w Red 1 Hz Configuring configuration required 2 Hz Critical fault on gateway O Red Critical fault on another module X Red Green Executing but Ethernet communication not established or faulty Symbol description O LED off Green LED lights up green Red LED flashes red Fig 27 Interfaces and
78. e gateway detects an invalid communica tion the contents of the data sets will be set to zero logical 0 and the corresponding module status bit will also be set to zero logical 0 e In case the communication is dropped the data of the output data sets will be set to zero logical 0 and the module input status bit will also be set to zero logical 0 Do not use the same output data set number for two different PLC connections or TCP IP sockets The output data set can be written to the Ethernet gateways in parallel by all communica tion interfaces or TCP IP sockets e g Modbus TCP and Ethernet TCP IP if they use the same output data set number In that case the last message overrides data received earlier WARNING Wieland Electric BA000587 09 2009 Rev A 17 Mounting and basic configuration of the gateways Mounting and basic configuration of the gateways 4 1 Mounting Dismantling This chapter describes the mounting of the samos pro gateways Make sure that the connection of the samos pro gateway cannot lead to hazardous situations during installation Ensure that connecting a samos Pro gateway cannot lead to a hazardous situation when implementing the unit on to the samos pro system and Ethernet network Prevent unin WARNING tended start up of equipment during connection of a samos Pro gateway 4 1 1 Steps for mounting the modules e The samos pro system is only suitable for mounting in a control cabinet
79. e in bytes 32 bytes 60 bytes 60 bytes Data set 1 is mapped into the cyclic transferred PROFINET modules of the device The Note content may be defined by the user Refer to chapter 7 Layout and content of the process image on page 83 for details Wieland Electric BA000587 09 2009 Rev A 65 Ethernet gateways N Tab 49 Default content Data set 2 Data set 3 Data set 4 of input data set 2 4 ofthe SP EN PN Byte 0 Overall CRC Module status module 0 Reserved Byte 1 Byte 2 Byte 3 Byte 4 System CRC Module status module 1 Byte 5 SCID Byte 6 Byte 7 Byte 8 Reserved Module status module 2 Byte 9 Byte 10 Byte 11 Byte 12 Module status module 3 Byte 13 Byte 14 Byte 15 Byte 16 Module status module 4 Byte 17 Byte 18 Byte 19 Byte 20 Module status module 5 Byte 21 Byte 22 Byte 23 Byte 24 Module status module 6 Byte 25 Byte 26 Byte 27 Byte 28 Module status module 7 Byte 29 Byte 30 Byte 31 Byte Byte 49 Byte a Byte 56 Module status module 14 Byte 57 Module 13 and 14 are Byte 58 always the gateways Byte 59 Length 32 bytes 60 bytes 60 bytes For the interpretation of the module status bit in data set 3 please see Tab 5 on page 15 Alarms Alarms can be read acyclically through the Profinet IO alarms infrastructure Once an error occurs on any samos pro m
80. e only task for the PLC programmer is to de fine a controller tag name which matches the gateway configuration tag name In order to configure the gateway to be master perform the following steps Open the samos p an and load the hardware configuration including the EtherNet IP gateway Click on the Gateway button above the main window and select the SP EN IP to open the gateway configuration dialog Click on Gateway configuration on the left hand menu The following dialog appears Fig 20 Gateway Di samosPLAN 1 2 0 ipmanu S iol x configuration dialog dds Baws aeii u H Geom Settings ij connect 139 disconnect Zi Transfer U Upload MES D Hardware configuration gt Logic editor Je seen oo Report 2 Diagnostics ts T PLC interface disabled Set Tag File name Heartbeat rate es DT requests WB 1 InDataSett 5000 4 EthernetIP Gateway writes to Tag File m 2 JinDataSet2 500 jte all Sets in ong ae V3 inDataSet3 500 T Enable Update COS m 4 Dataset sooo M Enable heartbeat interval EthernetlP to samosPRO ip IP Address 192 168 255 255 Slot number 0 I DHCP Gateway Device name configuration SP EN IP Max PLC update rate ms IP address 0 E 192 168 250 250 EtherNet IP Subnet mask Ural 25 255 0 0 configuration Default gateway 0 0 0 0 I PLC interface disabled Set Tag File name Heartbeat rate Te wites
81. e the assigned tag names in a PLC program The Import button is only available for the Network to gateway routing configuration Note e Reset to Default restores the default routing configuration You will be prompted for confirmation If you click Yes all previously made changes that have not been saved will be lost You can not undo this action e Clear all clears the configuration i e deletes all assigned bytes in the Gateway Data area You will be prompted for confirmation e Delete routing deletes the selected byte from the Gateway Data area e The Undo and Redo buttons allow you to undo or redo changes you made to your con figuration 7 3 2 Available data area This area offers all sources from which data may be routed into the network It is divided in two views holding the available Input types and Output data You can switch between these views using the file cards at the bottom Wieland Electric BA000587 09 2009 Rev A 85 Layout and content of the process image U e The Input types view contains the input values for the connected samos pro modules If your samos Pro system contains a second gateway the input data of this gateway i e data received from the network the second gateway is connected to will be avail able here as well e The Output view offers the output values for the connected samos pro modules as well as the Logic results from the logic editor All sources supported by the current configuration
82. ed Not assigned module 12 module 12 Length 12 bytes 12 bytes 12 bytes 12 bytes 2 bytes For detailed information about the content of the process image please see section 3 2 Data transmitted into the network on page 12 For information on how to configure the process image see chapter 7 Layout and con tent of the process image on page 83 and the samos PLan operating instructions Wie land part no BA000518 Data from the PLC to the samos pro CPU There are five 5 output data blocks 10 bytes each The content of these data blocks can be used as input in the samos Prro logic editor or can be routed via a second gateway into another network In order to have the desired bits available for routing or in the logic editor tag names have to be defined for each bit that shall be used Bits without a tag name will not be available For detailed information how to define and customize the content and tag names of the input and output data please see chapter 7 Layout and content of the process image on page 83 and the operating instructions for the samos PLan software Wieland part no BA000518 64 Wieland BA000587 09 2009 Rev A Ethernet gateways Settings within the PROFINET IO network configuration tool Drag the data blocks from the SIEMENS SIMATIC Manager HW Config hardware catalogue under gt gt PROFINET IO gt Additional Field Devices gt Gateway gt Wieland gt samos pro
83. eeeneeeeeeeeeeseeeniseeeeeeeeenee 14 Error and status information of the modules nnsssnnsnnnnnnnnnnnnnnnnnnnnnnnnn 14 Data received from the network network output data sets un nennen 17 Mounting and basic configuration of the gateways uunssunnsnnnnennnnnnnnnnnnn nen 18 Mo nting Dismantlihg isses 12 0 een gain 18 Steps for Mounting the modules uurssnsssnssnnnnensnnnnennnnnnnnnnnnnnnnnnnnnnnnnnnnannn 18 Steps for dismantling the modules uuur224400nssnnnnensnnnnennnnnnnnnnnnnnnnnnnnnnen nennen 20 Electricaliinstall tion u nrreate ne aa ah 21 First CONTIQUIATION Steps teen ea aka 21 Establishing a connection between gateway and PC uunssnesnssnnnnnsnnnnennnnnnnn 21 Configuration of the gateways uuusssnnnnennssnnnennnnnnnnnnnnnnennnnnnnnnnnnnnnnnnnnnnnnnnnnnann 22 Transfer of a configuration 2244444HHnnnennnnnnnnnnnnnnnennnnnnnnnennenennnnnnnnnnnrennnnnnnnnnnnn nenn 23 Verification of a configuration uussesessssssnnnnnnnnennnenennnnnnnnnnnnnennnnnnnnnnnnnnnrnnnnnnnnannnnr ren 23 Upload of a configuration uesersssssnnnnnnennneennnnnnnnnnnnnennnnnnnnnnnnnpenennnnnnnnnnn nern 24 Ethernet gateways u 0un2000000 nn nn anna han aaa nn heran innen 25 Common features of the Ethernet gateways nusussssenensennnnnnsnnnnennnnnnnn nennen 25 TCP IP configuration interface 40s444440ensnnnnnnsn
84. er Tab 43 Modbus commands Tab 44 Modbus error messages 57 Ethernet gateways A Tab 45 Troubleshooting for the SP EN MOD Error Cause Possible remedy The samos PLAN tool does SP EN MOD has no power sup Establish the power supply not connect to the ply Check the Ethernet wiring and net sSamos PRO gateway module SP EN MOD is not in the same physical network as the PC The PC is configured to another subnet mask in the TCP IP set tings SP EN MOD has already been configured once and has a fixed set IP address or an IP address assigned by a DHCP server that is not recognised work settings on the PC and correct if necessary Set the subnet mask on the PC to 255 255 0 0 factory setting of the SP EN MOD Check the communication settings in the samos PLAN SP EN MOD does not supply any data LED PWR O Green LED LINK ACT O O Green LED MS Red Green SP EN MOD is configured for data transfer to PLC but Ethernet communication is not yet established or faulty Duplicate IP address detected Another device on the network has the same IP address Minimum one Ethernet connection needs to be established Set up Ethernet connection on PLC side check Ethernet cabling check Ethernet connection settings on PLC and in the samos PLAN If no Ethernet communication is required disable the Ethernet connec tions PLC interfaces on the SP EN MOD Adjust IP address and power cycle device
85. ernal test signal failure Check for stuck at high or ca bling 0221 Input 6 external test signal failure Check for stuck at high or ca bling 0222 Input 7 external test signal failure Check for stuck at high or ca bling 0223 Input 8 external test signal failure Check for stuck at high or ca bling 0224 Output 1 stuck at high error 0225 Output 1 stuck at low error 0226 Output 2 stuck at high error 0227 Output 2 stuck at low error 0228 Output 3 stuck at high error 0229 Output 3 stuck at low error 0230 Output 4 stuck at high error Wieland Electric BA000587 09 2009 Rev A 67 Ethernet gateways I Message Error type Error origin Error definition 0231 Output 4 stuck at low error 0300 PROFIBUS gateway Reserved 0301 Internal error Internal tests failed 0302 Reserved 0303 Reserved 0304 Configuration status changed to invalid 0305 Reserved 0306 Reserved 0307 Reserved 0331 0400 CANopen gateway Reserved 0401 Internal error Internal tests failed 0402 Reserved 0403 Reserved 0404 Configuration status changed to invalid 0405 Reserved 0406 Reserved 0407 Reserved 0431 0500 DeviceNet gateway Reserved 0501 Internal error I
86. esult in inconsistencies of the configuration and the WARNING diagnostics as well as in operational errors This applies to both RS 232 and Ethernet con nections equally In order to configure a gateway for TCP IP configuration for the first time perform the following steps Step 1 Assign an IP address Connect a PC or notebook to the RS 232 interface of the SP SCON Power on the samos pro System Open the samos rLan configuration tool installed on the PC and load the hardware con figuration including the gateway f your project is online click on the Disconnect button to go offline Click on the Gateway button above the main window and select the desired gateway Click on Gateway configuration on the left hand menu The following dialog appears Wieland Electric BA000587 09 2009 Rev A 25 Ethernet gateways Fig 9 Gateway configu ii samosPLAN 1 2 0 GW manual ur ration dialog Project Device Extras ils BA comsettinas Df dconnect Poisconnect Pay transfer Yes upload MES YD Hardware configuration Logic editor IE SP EN IP Gateway 13 ka eport g Diagnostics ci T PLC interface disabled Set Tag File name Heartbeat rate z 71 asn ooo samosPRO to PLC requests ar EthemetlP C Gateway writes to Tag File m2 mas soo 4 F writ ne Tag V3 Das 5000 4 F Ena 4 Dataset 50 4 M Enzbleh IP Address Read I DHCP Gateway Device name
87. et interface u 224400snsnnnnennnnnnnennnnnnennnnnnnensnnnnnnnennnnnn nn 57 5 3 6 Diagnostics and troubleshooting 44u4s244enenssnnnnnnnnnnnennnnnnnnnnnnnnnnnennnnnn nn 57 5 4 PROFINET IO gateway uusssnessenssnnnennsnnnennnnnnnnnnnnnnnnnnnnnonnennnnnnnnnnnnnnnnnnnen nn 59 5 4 1 Interfaces and operation 4444444444440HHRnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 59 5 4 2 Basic configuration assigning a device name and IP address en 60 5 4 3 PROFINET configuration of the gateway how the data is transferred 61 5 4 4 PROFINET configuration of the gateway which data are transferred 63 5 4 5 TCP IP configuration interface uus222440nssnnneensnnnnnnnnnnnnennnnnnnnnnnnnnnnnennnnnn nn 69 5 4 6 Ethernet TCP IP socket interface uu 22440nnsnnnnensnnnnnennnnnnennnnnnnennnnnnnnnennnnnn nenn 69 5 4 7 Diagnostics and troubleshooting uunmsssssssennnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnennnen nennen 69 6 Fieldbus gateways uu 2 4unnnas a ea nenn rn 71 6 1 PROFIBUS DP gateway nssssssenenssnnnennsnnnnennnnnnennsnnnnnnnnnnnnonnnnnnnnnnnnnnnnnnnnnnnn nn 71 6 1 1 Interfaces and operation 2222ssssnnnnennnnnnnnnnnnnnnnnnnnnnnnnnnnnnennnnnnnnnnnnennnnnnnnnnnnnnnnnnn 71 62 Planning a ese asee ct ct eo ss te SPDPEAFERLESSATEELHERTERTENFERRTECRSTHECEITEFLESCHRIERRDRIEECHEENETELUN EF
88. et1 Example And or define where in the PLC memory the se InDataSet1 INT 25 lected data shall be read from Enter tag names OutDataSet1 INT 5 Example OutDataSet1 The data type shall be INT Select how often this data shall be transmitted Define where the data shall be read from written to in the EtherNet IP network Enter the IP address and controller slot number of the PLC Wieland Electric BA000587 09 2009 Rev A 39 Ethernet gateways I Tab 20 Configuration Gateway is slave PLC requests and or PLC writes guideline gateway as m slave To do in the gateway configuration To do in the PLC program and or EtherNet IP via Samos PLAN tool network configuration tool _ Download and install the SP EN IP EDS file from www wieland electric com Support Download Center _ Integrate the SP EN IP into the EtherNet IP net work via network configuration tool i e RSNet worx _ Program the explicit message Get_Attribute_ or Set_Attribute_ in the PLC program to read write data from to the gateway _ Program the trigger for sending the explicit mes sages Method 1 Gateway writes to reads from Tag File SP EN IP gateway writes the data into reads the data from the PLC memory In this operating mode the SP EN IP as a master writes the data of all activated data sets into the specified memory areas of the PLC Th
89. evice Extras samos PRO dialog of the SP EN MOD w H E Com Settings 3 connect 123 visconnect Za Transfer U Upload MES i Hardware configuration Logic editor tet SP EN MOD Gateway 13 B Report 2 Diagnostics eB B amp Reset to default Clear all c Qi Gateway data set from network Modbus TCP I w 1615115121110 w BGESG8080 w BGEGGa80 oo BGEGGa00 w BEEG0a00 Modbus TCP so BGEGHE0080 to samosPRO 0 GBEG8880 so GGEGG8E080 z BBEGB8880 w 116 5 12 15 2 1 107 Gateway configuration z 16 15 2 15 12 IH 1 z 1615 1 3 12 m 0 00909900 zes 312 m 0 TCPAP aGasceaso configuration 7 116 15 3 2 rn 10 opgong oogogaang z 1615 3 12 m 10 00909900 m 20 w BEBB8880 21 00 BBBG0080 M 22 w GEG00080 72 m ARANAAMM z 0 foteo 0 ae oo ane 2 ee a ee oHe a We oe oHe Update interval ms 4 Machine Operator 13 Offline A samosPLAN configuration is not verified Basically this dialog is divided into two areas Gateway data 1 and Tag Names 2 The Gateway data area shows the current configuration of the output modules The Tag Names area shows the tag names associated to the byte selected in the Gate way data area Select a byte in the Gateway data area Wieland Electric BA000587 09 2009 Rev A 87 Layout and content of the process image Fig 43 Tag names of incoming bits in the logic editor dialog of the SP
90. figuration perform the following steps Click Connect to go online The samos PLan connects to the samos pro system Click Transfer to transfer the configuration to the samos pro system Depending on your current user level you will be prompted to log on as authorized client Note to be able to transfer a configuration For details please see the samos PLAN operating instructions Once the transfer has been completed you will be asked whether you want to run the CPU module Depending on your choice click Yes or No to leave the dialog You can also start and stop the application in the Hardware configuration view using the Note Run application or Stop application buttons while the project is online More information can be found in the samos PLAN operating instructions Wieland part no BA000518 4 3 4 Verification of a configuration After the configuration has been transferred successfully the samos pro system can be verified To this purpose the downloaded configuration data are read back out from the samos Ppro system and compared with the project data If they match the data are dis played in a report If the user confirms that they are correct the system is considered to be verified In the Hardware configuration view click on the Upload and Verify configuration button A report of the current configuration will be generated Click Yes below at the question Mark device as verified if the displayed
91. hanged Returned as it was received data termined by command Application requests Polling mode In this mode the gateway will only send any data upon request e g polling Therefore the application shall send request telegrams as per definition below and the gateway will re spond with telegrams structured as per definition below Get input data set s The request message is sent by an application to the gateway The request message tele gram shall be structured as shown below Parameter Length Value e data setfs Command WORD 00Fihex Data set s request message Request WORD 0 Do not send data set 1 data set 1 1 Send data set 1 Request WORD 0 Donot send data set 2 data set 2 1 Send data set 2 Request WORD O Donot send data set 3 data set 3 1 Send data set 3 Request WORD O Donot send data set 4 data set 4 1 Send data set 4 The response message is returned to the application by the gateway The response mes sage telegram will be structured as shown below Parameter Length Value data set s Command WORD 00Fihex Data set s response message Data set 1 WORD O Data set not returned in data set s data field length Non zero Length of data set Data set 2 WORD O Data set not returned in data set s data field length Non zero Length of data set Data set 3 WORD O Data set not returned in data set s data field length N
92. i e in Byte 0 FF 11111111 No errors 32 bit double word format Byte 1 FF 11111111 No errors with the most significant Byte 2 FB 11111011 Input 3 external test byte placed in the leftmost signal failure position Byte 3 FD 11111101 Output 1 stuck at low error FF FF FF FF Status modules 3 6 OK FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Status modules 7 12 no modules present FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Status module 13 e g SP EN IP OK FF FF FF FF Status module 14 no module present 00 00 00 00 Data set 4 Reserved 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 36 Wieland BA000587 09 2009 Rev A Ethernet gateways III DEE 5 2 EtherNet IP gateway The following samos pro gateway can be used for EtherNet IP SP EN IP You will find the EDS file and device icon for PLC interfacing e on www wieland electric com go to Support Download Center e in the samos PLAN program folder on your hard disc default installation folder is C programs Wieland samosPRO DeviceDescriptions The samos pro EtherNet IP gateway SP EN IP supports only EtherNet IP explicit messag ing Class 1 messaging is not supported 5 2 1 Interfaces and operation The SP EN IP is equipped
93. ibe the soft ware supported configuration and parameterization of the samos pro safety controllers In addition the software operating instructions contain the description of the diagnostics functions that are important for operation and detailed information for the identification and elimination of errors Use the Software operating instructions in particular for the configuration commissioning and operation of samos pro safety controllers 1 3 Target group These operating instructions are addressed to planning engineers machine designers and the operators of systems in which a samos pro modular safety controller is integrated and who want to exchange data with a fieldbus a controller via a gateway They are also addressed to people who are placing a samos pro gateway in operation for the first time or maintaining it 6 Wieland BA000587 09 2009 Rev A About this document I EEE 1 4 Information depth These operating instructions contain information on the samos pro gateways on the fol lowing subjects e mounting e implementation into a network e configuration via samos PLAN software e data transfer to and from the network e status information planning and related mapping e part numbers Warning Pay attention to the safety notes and safety measures on the samos pro gateway WARNING We also refer you to our homepage on the Internet at Note www wieland electric com Support Download Center There you
94. ifications gatewaYS cccccccccceeeeeeeeeeeeeeeeeeeaeeeeeeeeeeeaeeeeeeeaeeeeeeaaaaes 90 8 11 PROFIBUS DP au ea eae i enced 90 8 1 2 EtherNet IP PROFINET IO Modbus TCP uuussnesessssnenenssnnnennsnnnnnnnnnnnnennnnnnnennnnnn 90 8 2 Technical specifications supply circuit 2 4444444444Hnnnnennnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 91 8 3 General technical specifications ccccecceeeeeeeneeeeeeeeceeenceeeeeeeeeesesncieeeeeeeesenenneaeees 91 8 4 Dimensional drawingS uuuessssssnnnnnnnenennnnnnnnnnnennnennnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnennnnnnnnnnnnn nenn 92 8 5 Ordering information samos PRO gateways uuunssnsnnnsnnnnennnnnnennnnnnnnnnnnnnnnnn nn 93 8 6 Ordering information accessories spare Parts uueeeesesenssnnnennnnnnsnnnnnnnnnnnnneennnnnnnnnnnn 93 9 PROVING GBEPREERASDEFESEERAEEE HE SEP AFHIEAFETEESAEBENEROESHEEPEENLPETRENE ASEREEERSDEREREERERRUESEPRARHIEAFEFEREEFPET 94 9 1 Index of tables kennen aE A A NEARE 94 9 2 Index of illustrations neee eataa a aa ea EEEa 95 Wieland Electric BA000587 09 2009 Rev A 5 About this document About this document Please read this chapter carefully before working with these operating instructions and the samos PRO gateways 1 1 Function of this document These operating instructions only apply in conjunction with the other samos pro operating instructions see section 1 2 The samos PRO operating instructions below
95. ignificant or leftmost byte of the integer and the sec ond byte will be placed in the least significant or rightmost byte of the integer Attribute ID Name Data type Data value s Access rule samos pro to Network 1 Request input data set 1 Array of UINT 0 255 Get specific data 2 Request input data set 2 Array of UINT 10 255 Get specific data 3 Request input data set 3 Array of UINT 10 255 Get specific data 4 Request input data set 4 Array of UINT 10 255 Get specific data Network to samos Ppro 5 Write the output data Array of UINT 0 255 Set set 1 specific data 6 Write the output data Array of UINT 0 255 Set set 2 specific data 7 Write the output data Array of UINT 0 255 Set set 3 specific data 8 Write the output data Array of UINT 0 255 Set set 4 specific data 9 Write the output data Array of UINT 0 255 Set set 5 specific data Common services Service code Implemented in class Implemented in Service name instance Olhex Yes Yes Get_Attributes_All OEhex Yes Yes Get_Attribute_Single 10hex No Yes Set_Attribute_Single 02hex No Yes Set_Attribute_All Tab 21 Full Data Set Transfer object 72hex class attributes Tab 22 Full Data Set Transfer object 72hex instance attributes Tab 23 Full Data Set Transfer object 72hex common services Wieland Electric BA000587 09 2009 Rev A 43 Ethernet gateways I
96. iguration dialog uussss42sensnnnnennnnnnnennnnnnnensnnnnennnnnnnnnnnnnnnnnnn 42 Wieland Electric BA000587 09 2009 Rev A 95 Annex en Fig 23 Interfaces and display elements of the SP EN MOD uuunsssseneneneennn 50 Fig 24 Gateway configuration dialog 244s4s240snnsnnnnennnnnnnnnnnnnnennnnnnnennnnnnnnnnnnnnnn 51 Fig 25 Gateway configuration dialog 444s4ss4nsnnsnnnnensnnnnnnnnnnnnennnnnnnennnnnnnnnennnnnn 54 Fig 26 Gateway configuration dialog 44srss40snnsnnnnennnnnnennnnnnnennnnnnnnnnnnnenn en 56 Fig 27 Interfaces and display elements of the SP EN PN ccccceeceeeeeceeeeeeeeeeseeees 59 Fig 28 Gateway configuration dialog 444s44s440snnnnnnennnnnnnnnnnnnnnnnnnnnennennnnnnn nn 61 Fig 29 Gateway in the PROFINET IO HW Config 44u422400snssnnnennnnnnnensnnnnnnennnnnn 62 Fig 30 Properties dialog of the SP EN PN u 440sssnnsesnssnnnnnnsnnnnennnnnnnnnnnnnnenennnnn 63 Fig 31 Projecting the SP EN PN ussssnssesssnssnnssnnnennsnnnennnnnnnnnnnnnnennnnnnnnnnnnnnnnnnnnnnn 65 Fig 32 Controls and status indicators SP PROFIBUS DP uussssenensnnnennsnnnnennn 71 Fig 33 Setting the PROFIBUS address for the SP PROFIBUS DP nenn 72 Fig 34 D Sub socket and plug pin assignments SP PROFIBUS DP en 73 Fig 35 Bus cable SP PROFIBUS
97. ination is described in section 5 2 6 Diagnostics and troubleshooting on page 48 Power up sequence On power up the following LED test sequence is performed LED MS O Off for 6 s LED MS O Red for 0 25 s LED MS O Green for 0 25 s LED Ms O off 5 2 2 Basic configuration assigning a device name and IP address Configuration of the SP EN IP is performed via the samos P aN tool Via samos PLan tool Open the samos p an and load the hardware configuration including the EtherNet IP gateway Click on the Gateway button above the main window and select the SP EN IP to open the gateway configuration dialog Click on Gateway configuration on the left hand menu The following dialog appears Fig 19 Gateway Bi samosPLAN 1 2 0 new_dp aox configuration dialog project Device Extras a o w H Don Settings 3 connect Di oisconnect Bay Transfer Jo Upload Hardware configuration amp Logic editor 4 SP EN IP Gateway 13 3 Report x Diagnostics T PLC interface disabled Set Tag File name Heartbeat rate al PLC requests P hassen 50 4 samosPRO to Gateway writes to Tag File VV 2 inDataSet2 5000 tical 5 a 3 mass 50 4 y BR 4 InDataSet4 5000 4 EthemetlP to samosPRO N Read IP Address I DHCP F Slot number Device name 0 E Gateway SP ENAP Max PLC update rate ms Sees lipeaee 40 z m 192 168 250 250 EtherNet IP E Subnet mask 255 255 0 0 TCPAP configurati
98. ing steps Open the samos r an and load the hardware configuration including the Modbus TCP gateway Click on the Gateway button above the main window and select the SP EN MOD to open the gateway configuration dialog Click on Gateway Configuration on the left hand menu The following dialog appears Tab 41 Configuration guideline gateway as slave Note Wieland Electric BA000587 09 2009 Rev A 53 Ethernet gateways Fig 25 Gateway configuration dialog Note Bi samosPLAN 1 2 0 ipmanu E 8 10 x Project Device Extras u H G Com Settings 3 connect Jijo ect g Transfer 1 Upload jiin Hardware configuration 2 Logic editor Efremo Gateway 13 Report mx Diagnostics PLC requests 1 400000 a 50 a Gateway writes to Tag File V2 FT sooo samosPRO to JT write all Sets in one Tag w 3 400200 5000 Modin TER T Enable Update COS aalala m 4 Jao0300 a s00 IV Enable heartbeat interval PLC IP Address 192 168 255 255 Device ID 1 Modbus TCP to samosPRO I DHCP Device name SP EN MOD IP address Max PLC update rate ms Gateway 40 Modbus TCP configuration 192 168 250 250 m Subnet mask E 255 255 0 0 Default gateway TCP IP configuration I PLC interface disabled Set Holding register address Heartbeat rate Gateway reads from register V2 mo sooo 3 401200 fon 1 oO Mos ms
99. k E DP DP Coupler Release 2 m Compatible PROFIBUS DP Slaves T EiR Object J Closed Loop Controller m Configured Stations nee ee DP VO slaves H DPAS i e DP PA Link ENCODER c Q ET 2008 a ET 200C e ET 200eco ET 20015 Gateway for Safety System samosPro BIER e Depending on the type of PLC used further modules may be displayed e g universal module These modules are not needed and should be ignored e The data blocks 1 4 contain 12 bytes each data block 5 contains 2 bytes e The contents of the data blocks are freely selectable but are preconfigured in the samos PLAn configuration software Data block 1 Data block 2 Data block 3 Data block 4 Data block 5 Input data Input data Input data Input data Input data Byte 0 Input values Output values Logic result 1 Not assigned Not assigned module 1 module 1 Byte 1 Input values Output values Logic result 2 Not assigned Not assigned module 2 module 2 Byte 2 Input values Output values Logic result 3 Not assigned Not available module 3 module 3 Byte 3 Input values Output values Logic result 4 Not assigned module 4 module 4 Byte 4 Input values Output values Not assigned Not assigned module 5 module 5 Byte 5 Input values Output values Not assigned Not assigned module 6 module 6 Byte 6 Input values Output values Not assigned Not assigned module 7 module 7 Byte 7
100. licit messaging in the PLC Polling data sets via explicit messaging The SP EN IP supports two vendor specific objects which can be polled via explicit mes saging e The Full Data Set Transfer object allows to poll for each of the data sets There is one instance where each attribute represents a data set e The ndividual Input Data Set Transfer object allows to poll for the individual data set parameters There is one instance per data set and each attribute represents one byte of the data set 42 Wieland BA000587 09 2009 Rev A Full Data Set Transfer object definition 72 HEX one instance The vendor specific Full Data Set Transfer object defines the attributes by which the PLC can e Request the complete input data set information from the SP EN IP e Write the complete output data set information to the SP EN IP Class attributes Ethernet gateways I Eee Attribute ID Name Data type Data value s Access rule 1 Revision UINT 1 Get 2 Max instance UINT 1 Get 3 Num instances UINT 1 Get Instance attributes These attributes provide access to input and output data sets Get Attribute Single requests for a specific input data set will return the input data set information Get Attribute All re quests will return all enabled input data sets All data set information will be returned in integer 16 bit word format For byte data the first byte will be placed in the most s
101. lick on the Gateway button above the main window and select the respective gateway to open the gateway configuration dialog Click on TCP IP configuration on the left hand menu The following dialog appears F samosPLAN 1 2 0 new_PN_MOD x al lalx Fig 15 TCP IP Project Device Extras _ configuration dialog w H Com Settings 243 Connect BBG iscomect Ba Transfer U upload Hardware configuration 2 Logic editor i SP EN IP Gateway 13 Report 2 Diagnostics j socket Socket2 7 Socket 3 j F Enabler l Application G equests Polling Application requests Paling samosPRO to EthemetIP ri EthemetlP to samosPRO Gateway configuration Port Port m son 3 a am 4 m ate 5000 Sj a K La ie E Ju ie E E 192 168 250 250 9101 a Connect Port DX a a Port J zl Valid configuration Undefined Machine Operator ye System online v Device configuration is verified Configuration of the TCP IP interface who establishes the connection If the samos pro gateway shall connect to the external application perform the following configuration steps Activate the Connect to radio button Set IP Address to the IP address of the computer the application is running on Enter the port number of the application for Port The configuration is considered faulty if either the connect socket port and or the connect Note IP address is zero when in Connect mode If the exter
102. ment Cancel Help The device name format shall apply to the PROFINET standard specification Assign the device name to the gateway Select PLC gt Ethernet gt Assign Device Name The Assign device name dialog opens From the Assign device name dialog find and select the Wieland gateway that you wish to assign the device name to in the list Click the Assign name button 5 4 4 PROFINET configuration of the gateway which data are transferred Cyclic data The physical samos pro IO modules are not represented as typical hardware modules in the PROFINET IO hardware catalogue Instead the data available from the samos pro system has been organized into data blocks Each data block represents a hardware module in the PROFINET IO hardware catalogue The samos pro PROFINET IO gateway GSDML supports ten 10 slots see Fig 31 where the modules can be placed into This allows each data block to be mapped once Wieland Electric BA000587 09 2009 Rev A 63 Ethernet gateways Notes Tab 47 Default content of input data block 1 5 of the SP EN PN Process data from the samos pro system to the PLC The SP EN PN provides 5 input data blocks virtual I O device modules containing the process image These must be projected in a hardware configurator e g SIEMENS HW Config in natural order 1 2 3 4 5 No other sequence is possible e Depending on the type of PLC used further modules may
103. module 7 Byte 29 Not assigned Byte 30 Not assigned Byte 31 Not assigned Byte Not assigned Byte 49 Not assigned Byte baie Byte 56 Module status module 14 Byte 57 Module 13 and 14 are always the Byte 58 gateways Byte 59 Length 50 bytes 32 bytes 60 bytes 13 Product description samos PRO gateways I Note If there are dual channel input or output elements configured at the IO module then only the lowest bit represents the element s input or output status on off It is represented by the element s tag name The highest bit is not supported 3 2 1 Logic results Logic results generated by the logic editor of the samos pro main unit can be made avail able to the network Up to 20 bytes are available where each bit represents one logic result from the logic editor Data set 1 containing the logic results can be customized For detailed information see the chapter on the related gateway and chapter 7 Layout and content of the process image on page 83 3 2 2 Module input and output values The samos pro gateways can transmit all input and output states of all samos pro mod ules connected to the samos pro system into the network Data set 1 containing the input and output values can be customized For detailed information see the chapter on the related gateway and chapter 7 Layout and content of the process image on page 83 Module input and output states The input and output states of the modules are transmi
104. n 34 Auto update mode normal operation Message seneennnnnnnnnnnnnnnnnnnnn 35 TCP IP process image example uuuuessnsssssnnnnssnennnnnnnnnnnnnennnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 35 Meaning of the LED displays of the SP EN IP 0 cccccsceeceeeeeeeeenneeeeeeeeeseeeeees 37 Number of possible connections 44444ssssssnnsnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 39 Configuration guideline gateway as master uuesssnseessnnnnennsnnnnnnnnnnennennnn 39 Configuration guideline gateway as slave uusesssnennssnnnnnnsnnnnnennnnnnennnnnnnn 40 Full Data Set Transfer object 72hex class attributes nnnnnnnn 43 Full Data Set Transfer object 72hex instance attributes nn 43 Full Data Set Transfer object 72hex common services uuaasasssssnnsnnnnnnnnnnnnnnnnnn 43 Individual Input Data Set Transfer object 73hex class attributes 44 Individual Input Data Set Transfer object 73hex instance attributes 44 Individual Input Data Set Transfer object 73hex common services 44 Individual Input Data Set Transfer object 73hex instance 1 attribute 6 2 11n1 1a Loc K FARRREFPERTTENTPELTERE REF o E 45 Individual Input Data Set Transfer object 73hex instance 2 attribute definitions n cusinssee erringen 45 Individual Input Data Set Transfer object 73hex instance 3 attribute 6 21 1101140 mL 2P
105. nal application shall connect to the samos pro gateway perform the following configuration steps Activate the Listen on radio button Enter the Port number for the application e Suggested port numbers are 9100 to 9103 default values Notes e Port 0 and port 9000 are reserved and can not be used faulty configuration e Port numbers 0 to 1023 are managed by the Internet Assigned Numbers Authority IANA and can not be used See http www iana org assignments port numbers Finally determine how the data is transferred Follow the steps outlined in the following section a ree Wieland Electric BA000587 09 2009 Rev A 29 Ethernet gateways N Note Tab 7 Telegram structure Data transfer method how the data is transferred Whenever the TCP IP socket connection has been established either by an application on a PC or by the gateway itself there are two possible methods how the data sets can be transferred e The application requests the data set s per command message Application requests Polling mode or e the gateway auto updates the data sets as per configuration Gateway writes to Ad dress Port Auto update mode For both methods there are two update modes how the gateways update the data e Change of state COS when any data of the input data set change status e Automatic update data will be sent according to the configured update rate in ms If automatic update is enabled a change
106. ncluding the tag names used as a CSV comma separated values file or in a network specific file format e g SIEMENS seq for PROFIBUS or Profinet This allows you to import and use tag names you have assigned in the samos Pro project in the PLC program and vice versa If you import a configuration all previously made changes that have not been saved will be lost You can not undo this action The Import button is only available for the Network to gateway routing configuration 7 4 Monitoring the operational data online When the samos pro system is online and running you can monitor the operational data online in the gateway configuration window 88 Wieland BA000587 09 2009 Rev A Layout and content of the process image SSS ee Click on the Gateway button above the main window and select the respective gateway to open the gateway configuration dialog Click on the samos pro to Network or the Network to samos Pro tab on the left hand menu to display the routing view for the input or output data you want to monitor For both directions samos pro to Network as well as Network to samos pro inactive bits are displayed grey while active bits are highlighted green Fig 44 Active and inactive bits in the online IB13 Module 1 Output 0 DOEHBBHHED process image IB14 Module 2 Output 5 BBBBEu80 IRIS Mndlule 3 Mut E nm AAAAAFAMM In the samos pro to Network view bits that are inactive due to an error are
107. nection settings on PLC and in the samos PLAN If no Ethernet communication is required disable the Ethernet connec tions PLC interfaces on the SP EN PN Adjust IP address and power cycle device Adjust device name between Profi net Master and GPNT SP EN PN does not supply any data LED PWR Green LED LINK ACT O G Green LED STATUS Red 1 Hz Configuration required Configuration download is not completed Configure the SP EN PN and download the configuration to the device Wait until the configuration download has been completed SP EN PN does not supply No data set is activated Activate at least one data set Tab 51 Troubleshooting for the SP EN PN Wieland Electric BA000587 09 2009 Rev A 69 Ethernet gateways I Error Cause Possible remedy any data samos PRO system is in Idle mode Start CPU change into Run mode LED PWR O Green LED LINK ACT OF Green LED STATUS Green 1 Hz SP EN PN does not supply Profinet Master requested LED Stop flashing with Simatic Manager any data flashing for physical device identi or power cycle samos PRO system LED PWR O Green fication to clear LED LINK ACT O Green LED STATUS Green 2 Hz SP EN PN functioned SP EN PN is operated in slave Either assign a fixed IP address to correctly after configura mode the IP address is assigned the SP EN PN or reserve a fixed IP tion but suddenly
108. nload Center e in the samos PrLan program folder on your hard disc default installation folder is C programs Wieland samosPRO DeviceDescriptions Operational data transmitted by the SP PROFIBUS DP The SP PROFIBUS DP GSD file provides input output data blocks virtual I O device mod ules containing the operational data These five blocks must be projected in a DP configu rator in natural order 1 2 3 4 5 No other sequence is possible s 74 Wieland BA000587 09 2009 Rev A Fieldbus gateways ly Station Edit Insert PLC View Options Window Help ielx Fig 36 PROFIBUS DP SIND 2 TERE o DErE 8er Input Output Data Block 1 Input Output Data Block 2 PROFIBUS 1 DP master system 1 i 3 SP PRO 0 11 0 11 12 23 12 23 Q Address Comment configuration example in gx Siemens SIMATIC Input Output Data Block 3 24 35 24 35 Input Output Data Block 4 36 47 36 47 Input Output Data Block 5 48 49 48 49 me mja Manager Profile Standard X PROFIBUS DP B Additional Field Devices B E Drives m Switching Devices aE vo 2 0 Gateway HE asi Wieland Electric samosPRO a SP PROFIBUS DP Universal module Input Output Data Block 1 Input Output Data Block 2 Input Output Data Block 3 Input Output Data Block 4 Input Output Data Block 5 Ic DP DP Coupler E DP RS232C Lin
109. nnn nn 20 Com settings dialog 2444s4snnnnensnnnnnnnnnnnnnnnnnnnnnnnnnnnennnnnnnnnnnnnennnnnnennnnnnnnnnnn 21 Com settings dialog 2444s4ssnnnennnnnnnnnsnnnnennnnnnnnnnnnnnennnnnnnnnnnnnennnnnnnnnnnnnnnnnnn 22 Hardware configuration dialog 222444Hnnen seen nnnnnnenneenennnnnnnnnnnnnnnnnnnnnnnnnnnn nenn 22 Gateway configuration dialog uussss44sensnnnnennsnnnnennnnnnnensnnnnennnnnnennn nennen 26 Com settings dialog sei ran une 27 Add TCP IP Profile dial g uun ee a 27 Add TCP IP Profile dialog after scan has been performed nueenennen 27 Connection settings dialog with new TCP IP entry point eenen 28 Connection settings dialog with new TCP IP entry point activated 28 TCP IP configuration dialog ae abe 29 TCP IP configuration for Application requests Polling mode 33 TCP IP configuration for auto update uu ssnnusssnnnnenssnnnnnnsnnnnennnnnnennnnnnnennnnnnnnn 34 Interfaces and display elements of the SP EN IP ssssenennnnnnnnn 37 Gateway configuration dialog u 224400sssnnnnensnnnnnnennnnennnnnnnennnnnnennnnnnnnn nn 38 Gateway configuration dialog uss4s4440snsnnnnennennnnennnnnnnnnnnnnnennnnnnnnnnnnnnnnn nn 40 Example of tag names in a PLC program 2uuusss2ssnensnnnnennsnnnnnnsnnnennnnnnennnnnnnn 41 Gateway conf
110. nnnennnnnnnennnnnnnnnnnnnnnnnnnnnnnnn nn 25 Ethernet TCP IP socket interface 224ssssnnnnnnnnnnnnnnnnnnenennnnnnnnnnnnnnnnnnnnnnennnnnnn 28 TCP IP process image example uuuueesssssssssssnnnnnsennnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnennnnnn nen 35 EtherNet lP igateway a n n na el ie ed eee 37 Interfaces ndl per tion na ne isi en Ae ie ee 37 Basic configuration assigning a device name and IP address gt 38 Configuration of the interface to the PLC how the data are transferred 39 TCP IP configuration interface 244s444444snsnnnnnnsnnnnennnnnnnennnnnnnnnnnnnnnnnnnnnnnnn nn 48 Ethernet TCP IP socket interface 224ssssnnnnennnnnnnnnnnnnenennnnnnnnnnnnnnnnnnnnnennnnnnn 48 Diagnostics and troubleshooting 444meeneereennnnnnnnennnenennnnnnnnnnnnnn ernennen 48 Wieland BA000587 09 2009 Rev A Contents I EOE 5 3 Modbus TCP gateway unse ite ae 50 5 3 1 Interfaces and operation namen 50 5 3 2 Basic configuration assigning an IP address 444442 240 nnnnensennnnnennnnenn 51 5 3 3 Configuration of the Modbus TCP interface to the PLC how the data is TRAMSTOICO PPRPRPESEERSR TEE IPBERSURETEERTEFBEREUFFERLOEPENEEDEFENTEEEGEFPERESFEES FIERSSERRTLERSTEEREDEERRTTEESERSTERERN 51 5 3 4 TCP IP configuration interface uus244440snsnnnneennnnnnnnnnnnnnennnnnnnnnnnnnnnnnennnnnnn nn 57 5 3 5 Ethernet TCP IP sock
111. nnnnnnen nennen 6 Target gFoUP u enon ieoi e eh secdtbe slusaneabacie meer 6 Information depth sieisen o 22a a E EEA ea rE a eieaa a er ASEE 7 SCOPE or a E Dee ge Tree aera 7 Abbreviations Used siseseid neoni a aE ea EA e r ea Ee a i E EEE NESE 7 Symbols used Reinach 7 Trademarks 2 2 enifann 8 On safety a re ee un SEE Aaa E 9 Qualified safety personnel uuuuseesssnnsnnnennnnssennnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnennn onen 9 COMME CT USE E EERFRIEERERPEEEGEEHERFEFFEREEHEEHERALEHEUEFEEEFEFEEPEREFEERBBREA 9 Environmental protection ccccccceeceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeseeeeseeeeeeeeeeeees 10 DiSPOSAl IEESPRFBREBERPE PPPRENFESEUHEERERUERERFERERBEEPEEEHEEEEEEEEEEEEREEFEERELFEHEPFEFEEEBERFEREEUEFNEEEEECHEVEEEEEEEREEREER 10 Separation of materials 000044444444nnnnnnnnennnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnrnennnnnn 10 Product description samos PRO gateways u surs snnnnnnnn anne nenn anne nenne 11 Device Variants 2 een eds aaa E E A ES 11 Data transmitted into the network network input data Sets nn 12 Logic results nn nee es ee Ge 14 Module input and output values ccc cece cece cece cece eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeerees 14 Routing of data from a second network uuussssessssssnnnnnnennenennnnnnnnnnennnnnnnnnnnnnnnnnnn nenn 14 Configuration checksums CRCS ccceecceceeeeeeeeeneeeeeeeeec
112. nstall the generic station description file GSDML file Before the SP EN PN can be used as device in the network configuration tool e g SIEMENS SIMATIC Manager for the first time the generic station description GSDML of the gateway must be installed into the hardware catalogue of the tool Download the GSDML file and device icon from www wieland electric com Sup port Download Center Wieland Electric BA000587 09 2009 Rev A 61 Ethernet gateways N Fig 29 Gateway in the PROFINET IO HW Config Follow the instructions in the online help or in the user manual of the PROFINET net work configuration tool for installing generic station description files Using the SIEMENS SIMATIC Manager HW Config the gateway then appears in the hardware catalogue under gt gt PROFINET IO gt Additional Field Devices gt Gateway gt Wieland STEP 2 Add the gateway to the project In order to have the samos Ppro system data available in the PLC process image the gate way must be added to the hardware configuration first The procedure associated with this depends on the hardware configuration program of the PLC being used On this topic please also read the documentation for the corresponding program The example below shows how to add the gateway to a SIEMENS SIMATIC Manager pro ject In the SIEMENS SIMATIC Hardware Manager the gateway can be found in the hardware catalogue under gt gt PROFINET IO gt Additional
113. nternal tests failed 0502 Reserved 0503 Reserved 0504 Configuration status changed to invalid 0505 Reserved 0506 Reserved 0507 Reserved 0531 0600 Modbus gateway Reserved 0601 Internal error Internal tests failed 0602 Reserved 0603 Reserved 0604 Configuration status changed to invalid 0605 Reserved 0606 Reserved 0607 Reserved 0631 0700 Ethernet IP gate Reserved 0701 way Internal error Internal tests failed 0702 Reserved 0703 Reserved 0704 Configuration status changed to invalid 0705 Reserved 0706 Reserved 0707 Reserved 0731 0800 ProfiNet gateway Reserved 0801 Internal error Internal tests failed 0802 Reserved 0803 Reserved 0804 Configuration status changed to invalid 0805 Reserved 0806 Reserved 0807 Reserved 0831 0900 Other module Reserved 68 Wieland BA000587 09 2009 Rev A Ethernet gateways eee Message Error type Error origin Error definition 0901 Internal error Internal tests failed 0902 Reserved 0903 Reserved 0904 Configuration status changed to invalid 0905 Reserved 0931 1200 Other module Reserved 1201 Internal error Internal tests failed 1202 Reserved 1203 Reserved 1204 Configuration status changed to invalid 1205 Reserved 1231 5 4 5 TCP IP configuration interface See section 5 1 1 TCP IP configuration interface on page 25 5 4 6 Ethernet TCP IP socket interface
114. o 5000 3 Within the Gateway Configuration dialog select the transfer method by checking Gateway writes to Tag File for the samos pro to Network direction and Gateway reads from register for the Network to samos pro direction Select which data shall be written to read from the PLC by checking the checkbox for the required data set For the exact description of the data sets please refer to section 3 2 Data transmitted into the network network input data sets on page 12 Define where in the PLC memory the selected data shall be written to or read from Enter addresses into the Holding register address field max 20 characters Select Write all Sets in one tag if all data sets shall be written into one address in the PLC memory In this case the tag file defined for data set 1 will be used For the samos rro to Network direction define how often the data shall be transmit ted Select Enable Update COS if the SP EN MOD is to update the data in the PLC imme diately when changes occur in the data sets Select Enable heartbeat interval to activate updating of the selected data sets with the set Heartbeat rate Both options may be selected at the same time For the Network to samos pro direction define how often the data shall be read Enter a Heartbeat rate to activate updating of the selected data sets with the set time interval Define where the data shall be read from written to in
115. ocol For detailed information about the modularisation of the data sent into the network please see Tab 63 and read the chapter on the related gateway The content of data set 1 can be freely customized with a granularity of 1 byte but is pre configured in the delivery status see section 7 2 Default settings for the operational data on page 83 and section 7 3 Customizing the operational data on page 84 The diagnostics data in data sets 2 4 depend on the network protocol used and are de scribed in the chapter on the related gateway 7 2 Default settings for the operational data In the delivery status the operational data are pre configured Depending on the gateway used these data are subdivided in several data blocks The following table gives an overview which bytes are assigned to the default configura tion and how the data are modularised for the different gateways Wieland Electric BA000587 09 2009 Rev A 83 Layout and content of the process image A Tab 63 Default configu ration for the operational data transmitted into the network 84 EtherNet IP Modbus TCP Ethernet TCP IP Profinet IO PROFIBUS DP Byte Default assignment Input data set Default assignment Input data block 0 Logic result 0 1 M
116. odule the Profinet IO gateway raises the appropriate diagnos tic alarm to the network This will trigger the fault LED on the PLC and make the specifics text and help of the diagnostic alarm available through the SIMATIC PLC interface The RALRM function block SFB54 in OB82 the diagnostic interrupt allows the user to retrie ve specifics on the alarm raised within the PLC program itself Notes e All alarms are output to module 0 e The subslot number indicates the samos pro module that has caused the alarm Num ber 0 CPU 1 1 XT module 2 2 XT module 13 1 gateway 14 2 gate way m 66 Wieland BA000587 09 2009 Rev A Ethernet gateways III EE e The reason for the alarm is being identified by an error text message from the GSDML file Up to 32 different error messages per samos Pro module type are possible e For the possible causes for an alarm please refer to Tab 50 e The same diagnostic information is available through a record read to data set 3 The following table matches the PROFINET IO error type as defined by the GSDML to the appropriate message Message Tab 50 PROFINET IO error type definitions Error type Error origin Error definition 0100 CPU Reserve
117. odule 1 input 1 1 Logic result 1 50 bytes Module 2 input 12 bytes 2 Logic result 2 Module 3 input 3 Logic result 3 Module 4 input 4 Module 1 input Module 5 input 5 Module 2 input Module 6 input 6 Module 3 input Module 7 input 7 Module 4 input Module 8 input 8 Module 5 input Module 9 input 9 Module 6 input Module 10 input 10 Module 7 input Module 11 input 11 Module 8 input Module 12 input 12 Module 9 input Module 1 output 2 13 Module 10 input Module 2 output 12 bytes 14 Module 11 input Module 3 output 15 Module 12 input Module 4 output 16 Module 1 output Module 5 output 17 Module 2 output Module 6 output 18 Module 3 output Module 7 output 19 Module 4 output Module 8 output 20 Module 5 output Module 9 output 21 Module 6 output Module 10 output 22 Module 7 output Module 11 output 23 Module 8 output Module 12 output 24 Module 9 output Logic result 0 3 25 Module 10 output Logic result 1 12 bytes 26 Module 11 output Logic result 2 27 Module 12 output Logic result 3 28 35 Not assigned Not assigned 36 47 Not assigned Not assigned 4 12 bytes 48 49 Not assigned Not assigned 5 2 bytes The default byte assignment can be freely customised as will be described in the following section 7 3 Customizing the operational data samos pro to Network This section outlines briefly how you can customize the operational data that the samos pro gateway transmits to the network You will find more detailed information in
118. ollowing samos pro gateways can be used for PROFIBUS DP e SP PROFIBUS DP 6 1 1 Interfaces and operation Controls and status indicators Address switch 1 B _ Gl LED MS red green 2 om i 1 PROFIBUS connection LED PWR red green wl 30 siehe aD 408 x LED Meaning BF O Connection to DP master established O Red No bus connection Fieldbus cable break address fault or master is not or no longer writing to the bus MS O Power up waiting for bus off O Green Executing I Green Idle M Red Green Executing but there is an error at the gateway O Red 1 Hz Configuration required or in progress f 2 Hz Critical fault on gateway O Red Critical fault on another module PWR O No power supply Green Power supply switched on no error O Red Critical fault Symbol description O LED off Green LED lights up green Red LED flashes red Fig 32 Controls and status indicators SP PROFIBUS DP Tab 52 Meaning ofthe status LEDs of the SP PROFIBUS DP Wieland Electric BA000587 09 2009 Rev A 71 Fieldbus gateways N Tab 53 Address switch Switch button Function SP PROFIBUS DP x 10 Address switch 1 10 position rotary switch for setting the module address tens x1 Address switch 2 10 position rotary switch for setting the module address ones How to set the PROFIBUS DP address
119. omponents p p Product Housing circuit boards cables connectors Electronic recycling and electrical connecting pieces Packaging Cardboard paper Paper cardboard recycling 10 Wieland BA000587 09 2009 Rev A Product description samos PRO gateways L Product description samos Pro gateways The samos pro gateways allow the samos pro System to send and receive non safety related data to and from the external fieldbus system for control and diagnostics purposes In this manual the data exchanged between the samos pro system and the respective Note network will be considered always from the network master PLC point of view Therefore data sent from the samos pro system into the network will be referred to as input data while data received from the network will be referred to as output data Do not operate a samos pro gateway on a safety fieldbus The samos pro gateway modules are not suitable for operation on a safety fieldbus They do not support any safety mechanism which would be mandatory to communicate within a safety network Configuration of the samos pro gateways is performed using the samos PLaN configura WARNING tion software on a PC or laptop connected to the SP SCON over RS 232 interface or con nected to the Ethernet gateways over Ethernet TCP IP The safety relevant logic of the samos pro system operates independently from the gate way If however the samos pro system has been
120. on Wee EID 0 0 0 0 I PLC intertace disabled Set Tag File name Heartbeat rate PLC writes Mi Pudasss t EE C Gateway reads from Tag File Vv 2 Punas z poo H Pa iea a f desired change the Device name for the samos pro gateway Enter a valid IP address for the samos pro gateway and if required a valid Subnet mask and a valid IP address for a Default gateway Click Connect to go online and download the configuration to the samos pro system 38 Wieland BA000587 09 2009 Rev A Ethernet gateways BC eee 5 2 3 Configuration of the interface to the PLC how the data are transferred Transfer methods The configuration steps in this section specify how the data to the higher level PLC are transferred In general there are two different transfer methods available for both transfer directions such as samos pro to Network and Network to samos pro e Gateway writes to Tag File and or Gateway reads from Tag File The SP EN IP gateway operates as master It writes the data into and or reads from the PLC memory e PLC requests and or PLC writes The SP EN IP gateway operates as s ave The PLC requests the data from the gateway and or writes the data to the gateway Both methods can be mixed E g it is possible to configure the gateway as master for the samos pro to Network direction option Gateway writes to Tag File activated while it operates at the same time as slave for the Network to sam
121. on zero Length of data set Data set 4 WORD O Data set not returned in data set s data field length Non zero Length of data set Data set s Array of Data set s information data bytes Write output data sets The following command message is sent by the application to the gateway to write to the output data sets Wieland Electric BA000587 09 2009 Rev A 31 Ethernet gateways I N OR Parameter Length Value data set setting command Command WORD OOF2hex Set output data set s command message Output data WORD O Output data set not included in data set s data field set 1 length Non zero Length of data set Output data WORD O Output data set not included in data set s data field set 2 length Non zero Length of data set Output data WORD O Output data set not included in data set s data field set 3 length Non zero Length of data set Output data WORD O Output data set not included in data set s data field set 4 length Non zero Length of data set Output data WORD O Output data set not included in data set s data field set 5 length Non zero Length of data set Data set s Array of Data set s information data bytes The response message is returned to the application by the gateway The response mes sage telegram is structured as shown below 12b 125 IVe ee Parameter Length Value data set setting response Command WORD 0
122. ool 4 Configuration status changed to invalid 5 Output power supply out of range 6 7 Reserved 8 Input 1 2 dual channel input evaluation error detected 9 Input 3 4 dual channel input evaluation error detected 10 Input 5 6 dual channel input evaluation error detected 11 Input 7 8 dual channel input evaluation error detected 12 Status output 1 fast shut off logic control time out 13 Status output 2 fast shut off logic control time out 14 Status output 3 fast shut off logic control time out 15 Status output 4 fast shut off logic control time out 16 Input 1 external test signal failure Check for stuck at high or cabling 17 Input 2 external test signal failure Check for stuck at high or cabling 18 Input 3 external test signal failure Check for stuck at high or cabling 19 Input 4 external test signal failure Check for stuck at high or cabling 20 Input 5 external test signal failure Check for stuck at high or cabling 21 Input 6 external test signal failure Check for stuck at high or cabling 22 Input 7 external test signal failure Check for stuck at Wieland Electric BA000587 09 2009 Rev A 79 Fieldbus gateways Module number Diagnostics bit X_Unit_Diag_ Bit Error origin Error message 23 24 25 26 27 28 29 30 w high or cabling Input 8 external test signal failure Check for stuck at high or cabling Output 1 stuck at high error
123. operly into the other samos PRO module Module connection plug is soiled or damaged Other samos PRO module has internal critical error Plug the SP EN MOD in correctly Clean the connecting socket plug Repower the system Check the other samos PRO mod ules SP EN MOD is in Critical fault mode LED PWR Green LED LINK ACT Of O Green LED MS Red 2 Hz SP EN MOD internal device error CPU firmware version does not support samos PRO gateways Switch off the power supply of the sSamos PRO system and switch it on again Check the diagnostics messages with the samos PLAN Use a CPU with the required firm ware version see section 2 2 Correct use on page 9 If the error remains replace the gateway Symbol description O LED off Green LED lights up green W Red LED flashes red 58 Wieland BA000587 09 2009 Rev A Ethernet gateways 5 4 PROFINET IO gateway The following samos pro gateway can be used for PROFINET IO SP EN PN You will find the GSDML file and device icon for PLC interfacing with PROFIBUS support e on www wieland electric com go to Support Download Center e in the samos PLAN program folder on your hard disc default installation folder is C programs Wieland samosPLAN DeviceDescriptions The SP EN PN supports e PROFINET IO conformance class A e Fast integrated switching e LLDP e Auto MDI e SNMP e Auto negotiation e MIB II
124. os pro direction option PLC writes activated Number of possible connections The number of possible connections to the PLC depends on whether the SP EN IP is oper ated as master or slave Depending on the setting up to 128 PLCs can address the SP EN IP at the same time Operating mode of the SP EN IP Maximum connections Tab 18 Number of possible connections Rx To PLC Transfer mode Gateway writes to Tag File Rx and Tx 1 Tx From PLC Transfer mode Gateway reads from Tag File Rx To PLC Transfer mode Gateway writes to Tag File Rx 1 Tx From PLC Transfer mode PLC writes Tx 127 Rx To PLC Transfer mode PLC requests Rx 127 Tx From PLC Transfer mode Gateway reads from Tag File Tx 1 Rx To PLC Transfer mode PLC requests Rx and Tx 128 Tx From PLC Transfer mode PLC writes Configuration process The following table outlines the configuration process depending on the transfer method Gateway is master Gateway writes to Tag File and or Gateway reads from Tag File Tab 19 Configuration s i m m guideline gateway as To do in the gateway configuration To do in the PLC program and or EtherNet IP master via samos PLAN tool network configuration tool Select which data shall be written to read from the PLC Define where in the PLC memory the selected Define exactly the same tag names in the PLC data shall be written to Enter tag names program Example InDataS
125. ossible remedy ware version see section 2 2 Correct use on page 9 If the error remains replace the gateway SP PROFIBUS DP SP PROFIBUS DP is not plugged Plug the SP PROFIBUS DP in cor samos PRO System is in properly into the other rectly critical fault samos PRO module Clean the connecting socket plug LED PWR Red Module connecting plug is soiled Repower the system LED BF O Off or damaged Check the other samos PRO mod LED MS Red Other samos PRO module has ules internal critical error Symbol description O LED off Green LED lights up green O Red LED flashes red 82 Wieland BA000587 09 2009 Rev A Layout and content of the process image I rE Layout and content of the process image 7 1 Routing The process image transmitted by the samos PrRo gateways into the network consists of the operational data e g logic results input and output states and the diagnostics data e g module status CRCs These data are organised in 4 data sets Data set Content Size Can be dot 0S Content Orme z data sets 1 4 customized 1 Operational data 50 bytes Yes 2 CRCs 32 bytes No 3 Status and diagnostics 60 bytes No 4 Reserved 60 bytes No The operational data in data set 1 may comprise up to maximally 50 bytes independent of the network protocol used These 50 bytes are organized into one or several data blocks dependent of the network prot
126. r e In the master transmit mode the SP EN MOD module will poll the PLC for the output data set settings Note The configuration is considered faulty if the PLC IP address is zero and either the Read Transfer mode and or the Write Transfer mode is set to Master The number of possible connections to the PLC depends on whether the SP EN MOD is operated as a master or slave Depending on the setting up to 32 PLCs can address the SP EN MOD at the same time Tab 39 Number of Operating mode of the SP EN MOD Maximum connections possible connections Rx To PLC transfer mode Master Rx and Tx 1 Tx From PLC transfer mode Master Rx To PLC transfer mode Master Rx 1 Tx From PLC transfer mode Slave Tx 31 Rx To PLC transfer mode Slave Rx 31 Tx From PLC transfer mode Master Tx 1 Rx To PLC transfer mode Slave Rx and Tx 32 Tx From PLC transfer mode Slave The following table outlines a guideline to the configuration process depending on the transfer method Gateway is master Tab 40 Configuration To do in the gateway configuration via To do in the PLC program and or Modbus TCP ae gatewayas samos PLAN tool network configuration tool Select Gateway writes to Tag File and or Gate way reads from register to configure gateway as master Select which data shall be written to read from the PLC Define where in the PLC memory the selected Ensure the addresses define
127. r supply of the samos PRO system and switch it on again Check the diagnostics messages with the samos PLAN Use a CPU with the required firm ware version see section 2 2 Correct use on page 9 If the error remains replace the gateway Symbol description O LED off Green LED lights up green Red LED flashes red Tab 37 Troubleshooting for the SP EN IP Wieland Electric BA000587 09 2009 Rev A 49 Ethernet gateways 5 3 Modbus TCP gateway The following samos pro gateway can be used for Modbus TCP SP EN MOD The samos pro Modbus TCP gateway supports Modbus TCP master and slave receive methods e Ethernet TCP IP socket interface polling and auto update function 5 3 1 Interfaces and operation The SP EN MOD is equipped with an integrated three port switch for connection with the Ethernet network Two RJ45 sockets are available for the connection The switch functio nality allows the SP EN MOD to be used for connection to another Ethernet component e g connection to a notebook without having to interrupt the Ethernet connection to the network Fig 23 Interfaces and display elements of the SP EN MOD RJ45 Ethernet socket a rm m 9 wieland LED power supply green E a LINK ACT 1 E LED network activity for Ethernet port 1 u _ or 2 green aq i 2 i au e E ieo ms reavgreen RJ45 Etherne
128. rom a samos pro gateway for safety related applications With the samos pro gateways it is possible to integrate non safe data into the logic editor WARNING such that the safety function of the samos pro system is compromised Never implement the gateway into a samos pro system without having this danger checked by a safety specialist These modules may only be used by qualified safety personnel and only on the machine where they have been installed and initialised by qualified safety personnel in accordance with the operating instructions Pay attention to the safety notes and safety measures on the samos pro gateway If the device is used for any other purposes or modified in any way also during mount ing and installation any warranty claim against Wieland Electric GmbH shall become void WARNING Wieland Electric BA000587 09 2009 Rev A 9 On safety Notes During the mounting installation and usage of the samos pro gateway observe the standards and directives applicable in your country e The national international rules and regulations apply to the installation commissioning use and periodic technical inspection of the samos pro modular safety controller in par ticular EMC directive 2004 108 EC Provision and Use of Work Equipment Directive 89 655 EC the work safety regulations safety rules e The operating instructions must be made available to the operator of the machine where a samos
129. se defined on the PLC e The variables to request the data on the PLC must be In the 40xxxx address range for Schneider Modicon type PLCs for the output data set settings an array of 16 bit words long enough to contain the entire output data set e All output data sets are transferred from the PLC in 16 bit word format and the first byte must be placed in the least significant or rightmost byte of the integer and the second byte placed in the most significant or leftmost byte of the integer Slave mode PLC reads from writes to the SP EN MOD In this operating mode the SP EN MOD sends the data as s ave upon request from the PLC If this operating mode is desired Open the samos P an and load the hardware configuration including the Modbus TCP gateway Click on the Gateway button above the main window and select the SP EN MOD to open the gateway configuration dialog Click on Gateway Configuration on the left hand menu The following dialog appears Wieland Electric BA000587 09 2009 Rev A 55 Ethernet gateways Fig 26 Gateway Shi samosPLAN 1 2 0 ipmanu n SIEHE configuration dialog Project Device Extras a amp H Z con Settings B33 connect Pi oisconnect Bay Transfer Dey upload MES Report x Diagnostics D Hardware configuration E amp 7 Logic editor g gt SP EN MOD Gateway 13 PLC requests 1 soo a Bo a C Gateway writes to Tag File WM
130. ss set tings of the PC match the network setup Note You can also connect your PC directly to one of the two Ethernet ports of the gateway In this case you can either adapt the IP address settings of your PC or the IP address settings of the gateway to match the other device s IP setup Open the samos P an configuration tool installed on the PC and load the hardware con figuration including the gateway f your project is online click on the Disconnect button to go offline Click on Com Settings The following dialog appears 26 Wieland BA000587 09 2009 Rev A Ethernet gateways SSS a a UUUUUUUUUTUTUTUTUOOUOOUOOU OUU OT O Connection settings iol xj Fig 10 Com settings 5 dialog BB ad COM Profile Bo TCP IP Profile WC Check all profiles ip samosPRO Gateway network settings I co B ON ii Click on Add TCP IP Profile The following dialog appears Fig 11 Add TCP IP Beane Profile dialog m IP Address 7 Search for devices Bd scan MAC Address IP Address Device name Click on Scan to search for samos pro gateways on your Ethernet network Gateways located will be displayed as shown in the dialog below The IP address will be displayed as well as MAC address and device name Create new profile Fig 12 Add TCP IP Entry name Profile dialog after scan es has been performed IP Address 192 168 250 250 7 Search for devices 3 fizi Scan MA
131. t Message format is as defined for each individual input data set Please refer to Tab 4 and Tab 5 in section 3 2 Data transmitted into the network net work input data sets on page 12 for further details PCCC object 67 HEX 1 instance The PCCC object provides the ability to encapsulate and then transmit and receive PCCC messages between devices on an EtherNet IP network This object is used to communic ate to SLC 5 05 and PLC 5 PLCs over EtherNet IP Class attributes Not supported Instance attributes Not supported Instances Supports instance 1 3 Will correspond to all enabled input data sets Must correspond to all enabled output data sets Example If only output data sets 1 and 2 are enabled then 10 words 20 bytes must be written If all output data sets are enabled then 25 words 50 bytes must be written Wieland Electric BA000587 09 2009 Rev A 47 Ethernet gateways N Common services es tea N Service code Implemented in Implemented in Service name class instance 4Bhex No Yes Execute_PCCC Message structure for Execute_PCCC a ee oo Name Data type Description Length USINT Length of requestor ID Vendor UINT Vendor number of requestor Serial number UDINT ASA serial number of requestor CMD USINT Command byte STS USINT 0 TNSW UINT Transport word FNC USINT Function code PCCC_params
132. t TCP IP Client server Client server Client server socket interface TCP IP configurati Available at Available at Available at on interface port 9000 port 9000 port 9000 3 2 Data transmitted into the network network input data sets Available data The samos pro gateways can provide the following data e Operational data Logic results from the samos pPro main unit SP SCON see section 3 2 1 on page 14 Input values HIGH LOW for all samos pro input extension modules in the system and EFI devices connected see section 3 2 2 on page 14 Output values HIGH LOW for all samos Pro input output extension modules connected see section 3 2 2 on page 14 Output data from another network i e data received by a second gateway in the samos PRo system see section 3 2 3 on page 14 e Diagnostics Checksums CRCs see section 3 2 4 on page 14 Error and status information for all modules except the SA OR S2 and SA OR S1 see section 3 2 5 on page 14 Data sets The physical samos pro modules are not represented as typical hardware modules in the network Instead the data available from the samos pro system has been organized into four input data sets Data set 1 max 50 bytes contains the operational data It can be compiled using the samos PLan tool Upon delivery there is a default selection for the content of data set 1 which can be freely modified For details see Tab 4
133. t socket Tab 38 Meaning of the LED Meaning LED displays PWR O No power supply O Green Power supply switched on LINK ACT 1 O No Ethernet connection LINK ACT 2 Green Ethernet connection active no data transmission O Green Ethernet connection active data transmission MS O Power up Green Executing live process data from to CPU Green 1 Hz Idle Red 1 Hz Configuring configuration required 2 Hz Critical fault on gateway O Red Critical fault on another module X Red Green Executing but Ethernet communication not established or faulty Symbol description O LED off Green LED lights up green Red LED flashes red Note Error elimination is described in section 5 3 6 Diagnostics and troubleshooting on page 57 50 Wieland BA000587 09 2009 Rev A Ethernet gateways A Power up sequence On power up the following LED test sequence is performed LED MS O Off for 6 s LED MS O Red for 0 25 s LED MS O Green for 0 25 s LED Ms O Off 5 3 2 Basic configuration assigning an IP address Configuration of the SP EN MOD is performed via the samos PLAN tool Via samos PLan tool Open the samos P an and load the hardware configuration including the Modbus TCP gateway Click on the Gateway button above the main window and select the SP EN MOD to open the gateway configuration dialog Click on Gateway Configuration on the left hand menu The following dialog appears Git samosPLAN 1 2 0
134. te routing button in the toolbar Or Call up the context menu by clicking the respective byte with the right mouse button In the context menu select the Delete routing command In the default configuration only the first logic result byte Logic Result 0 is active and available You can activate more logic result output bits in the logic editor see the Samos r PLAN operating instructions Wieland part no 8012479 U 86 Wieland BA000587 09 2009 Rev A Layout and content of the process image III rrr How to move a data byte to another place in the routing table Drag and drop the byte you want to move to the desired position If the desired position is not free you will have to clear it first by deleting or moving the byte currently as signed to it 7 3 4 Tag names area This area shows the tag names associated with each bit of the byte currently selected in the Available Data or the Gateway Data area You can enter these tag names in the logic editor and in the hardware configuration dialog e g for extension modules In the Tag Names area of the samos pro to Network configuration dialog it is not possi ble to edit the tag names 7 3 5 Tag names for incoming data Network to samos prRo In order to enable incoming data bits Click on Network to samos rro on the left hand menu The following dialog appears Bil samosPLAN 1 2 0 Neues Projekt amp C I 7 Fig 42 Network to Project D
135. ter the IP address and controller Slot number of the PLC The configuration is considered faulty if the PLC IP address is zero and either Gateway Note writes to Tag File for the samos pro to Network direction and or Gateway reads from Tag File for the Network to samos pro direction is activated The Max PLC update rate ms defines the maximum rate the minimum time interval for transferring the data sets to and from the PLC Settings occur dependent on the PLC processing speed Minimum 10 ms maximum 65535 ms The default value of 40 ms is suitable for most PLCs e f the value entered for the Max PLC update rate is greater than the Heartbeat rate set Notes for writing to or reading from the PLC the heartbeat rate will be automatically increased i e slowed down to this value e All data sets are transferred to the PLC in 16 bit integer format with the first byte placed in the most significant or leftmost byte of the integer Click Connect to go online and download the configuration to the samos pro system Open the PLC programming tool Define the PLC tag names as previously configured in the samos pro EtherNet IP gate way Fig 21 shows an example for the definition of tag names in a PLC program written with RSLogix F RSLogix 5000 Fig 21 Example of tag File Edit Yiew Search Logic Communications Tools Window Help names in a P LC pr ogram alsa S ale 2 rn
136. tes each while output data block 5 holds 2 bytes Gateway Output data block 1 size Output data block 2 size Output data block 3 size Output data block 4 size Output data block 5 size SP EN IP 10 bytes 10 bytes 10 bytes 10 bytes 10 bytes SP EN MOD 10 bytes 10 bytes 10 bytes 10 bytes 10 bytes SP EN PN 10 bytes 10 bytes 10 bytes 10 bytes 10 bytes SP 12 bytes 12 bytes 12 bytes 12 bytes 2 bytes Notes Tab 6 Output data blocks 1 5 for the different gateways PROFIBUS DP The contents of the output data blocks can be used within the samos pro CPU logic editor and can also be made available to another network via a second samos pro gateway in the samos pro system e In order to make the data from the network available in the logic editor or as input to an Notes other network you will have to define a tag name for each bit that shall be used e Bits without a specific tag name will not be available in the logic editor nor for routing via a second gateway For detailed information on how to define tag names for the data received please see the related section in the chapters on the different gateways e The status of the communication to and from the network can be monitored in the logic editor using the module input status bit for data from the network and the module out put status bit for data to the network When th
137. test signal failure 1 No error 0 Error 5 Input 6 external test signal failure 1 No error 0 Error 6 Input 7 external test signal failure 1 No error 0 Error 7 Input 8 external test signal failure 1 No error 0 Error 3 0 Output 1 stuck at high error Reserved Reserved 1 No error 0 Error 1 Output 1 stuck at low error 1 No error 0 Error 2 Output 2 stuck at high error 1 No error 0 Error 3 Output 2 stuck at low error 1 No error 0 Error 4 Output 3 stuck at high error 1 No error 0 Error 5 Output 3 stuck at low error 1 No error 0 Error 6 Output 4 stuck at high error 1 No error 0 Error 7 Output 4 stuck at low error 1 No error 0 Error 16 Wieland BA000587 09 2009 Rev A Product description samos PRO gateways e Reserved for future use static 1 no status change e If no module is present all values including the reserved values are set to logical 1 You will find an example process image in section 5 1 3 TCP IP process image example on page 35 3 3 sets Data received from the network network output data The data received from the network are organised in output data sets max 50 bytes These data have been subdivided in five data blocks holding 10 bytes each for the SP EN IP SP EN MOD and SP EN PN for the SP PROFIBUS DP output data blocks 1 4 hold 12 by
138. the Modbus TCP network Enter the PLC IP address and the Modbus Device ID of the PLC Max PLC update rate defines the maximum rate the minimum time interval for send ing the data sets to the PLC Settings occur dependent on the PLC processing speed Minimum 10 ms maximum 65535 ms The default value of 40 ms is suitable for most PLCs If this value is greater than the Heartbeat rate the heartbeat rate is slowed down to this value Click OK 54 Wieland BA000587 09 2009 Rev A Ethernet gateways Go online and download the configuration to the samos pro system Write to PLC The following restrictions apply when the gateway is master and writes the input datasets Note to the PLC e The input data set address set via samos PLAN Tool must be the same as that defined on the PLC e The variable to receive the data on the PLC must be in the 40xxxx address range for Schneider Modicon type PLCs an array of 16 bit words long enough to contain the specified input data set array e All input data sets are transferred to the PLC in 16 bit word format with the first byte placed in the least significant or rightmost byte of the integer and the second byte pla ced in the most significant or leftmost byte of the integer Read from PLC The following restrictions apply when the gateway is master and reads the output data Note sets from the PLC e The output data set addresses must be the same as tho
139. the integer and the second byte placed in the most significant or leftmost byte of the integer PLC polls input data sets The following restrictions apply to this method e The device index must be 1 e The variable to receive the data on the PLC must be in the 40xxxx address range for Modicon type PLCs an array of 16 bit words long enough to contain the data set array s e All input data sets are transferred to the PLC in 16 bit word format with the first byte placed in the least significant or rightmost byte of the integer and the second byte pla ced in the most significant or leftmost byte of the integer 56 Wieland BA000587 09 2009 Rev A Ethernet gateways A SP EN MOD as slave data addressing The following table lists the address to read out the data sets Unit ID 1 Address Base 1 Description Access Scope words 1000 Request all enabled input data sets Get 16 101 1100 Request input data set 1 data Get 25 1200 Request input data set 2 data Get 16 1300 Request input data set 3 data Get 30 1400 Request input data set 4 data Get 30 2000 Write all enabled output data sets data Set 5 25 9 2100 Write output data set 1 data Set 5 2200 Write output data set 2 data Set 5 2300 Write output data set 3 data Set 5 2400 Write output data set 4 data Set 5 2500 Write output data set 5 data Set 5 Modbus commands and error messages The SP EN MO
140. til the configuration download has been completed SP PROFIBUS DP does not supply any data LED PWR O Green LED BF O Off LED MS O Green No data set is activated Activate at least one data set SP PROFIBUS DP does not supply any data LED PWR O Green LED BF O Off O Red LED MS Green 1 Hz SP PROFIBUS DP is in Idle mode CPU application is stopped Start CPU change into Run mode SP PROFIBUS DP does not supply any data LED PWR O Green LED BF O Off LED MS O Green PROFIBUS master is in stop mode Set PROFIBUS master into Run mode SP PROFIBUS DP functioned correctly after configuration but suddenly no longer sup plies data LED PWR O Green LED BF Red LED MS Red Green SP PROFIBUS DP PROFIBUS hardware address is changed PROFIBUS cable is discon nected Check PROFIBUS address setting at hardware address Check PROFIBUS cable Check PROFIBUS master SP PROFIBUS DP is in criti cal fault LED PWR O Green LED BF Red LED MS Red 2 Hz SP PROFIBUS DP internal device error CPU firmware version does not support samos PRO gateways Switch off the power supply of the samos PRO system and switch it on again Check the diagnostics messages with samos PLAN Use a CPU with the required firm Tab 61 Troubleshooting for the SP PROFIBUS DP Wieland Electric BA000587 09 2009 Rev A 81 Fieldbus gateways Error Cause P
141. tions Attribute number Data set parameter Size Tab 28 Individual Input Data Set Transfer object 1 Overall CRC UDINT 73hex instance 2 2 System CRC SCID UDINT attribute definitions 3 Reserved UDINT 4 Reserved UDINT 5 Reserved UDINT 6 Reserved UDINT 7 Reserved UDINT 8 Reserved UDINT Instance 3 Input data set 3 attribute definitions Attribute number Data set parameter Size Tab 29 Individual Input Data Set Transfer object 1 Module status module 0 UINT 2 73hex instance 3 2 Module status module 1 UINT 2 a 15 Module status module 14 UINT 2 Instance 4 Input data set 4 attribute definitions Attribute number Data set parameter Size Tab 3 TREN al pe Data Set Transfer object 1 Reserved UINTI2 73hex instance 4 2 Reserved Ul NTI2 attribute definitions 15 Reserved UINT 2 PLC 5 SLC MicroLogix interface The PLC 5 SLC and MicroLogix PLC interfaces are supported by e The same write to PLC functionality as provided to ControlLogix PLCs provided in the Write to File receive method e PCCC based messages transferred via the PCCC object SLC Typed Read Message SLC Typed Write Message PLC 5 Typed Read Message Logical ASCII and Logical Binary address format PLC 5 Typed Write Message Logical ASCII and Logic binary address format e Normal PLC 5 SLC file naming conventions are used The primary differences between the PLC 5 SLC Mi
142. tted using one byte for each mod ule s inputs and one byte for each module s outputs where each bit represents the state of one input or output on off 3 2 3 Routing of data from a second network If your samos pro system contains two gateways it is possible to rout information re ceived by the first gateway from one network e g from a Modbus PLC into a second network via the second gateway e g to a PROFIBUS master and vice versa 3 2 4 Configuration checksums CRCs Data set 2 contains the following configuration CRCs for the samos pro system e Overall CRC same as system CRC e System CRC SCID Each checksum is four bytes long The overall CRC is the checksum displayed in the samos PLan report Data set 2 can not be customized 3 2 5 Error and status information of the modules Data set 3 contains the module status information transferred to the network Four bytes are used for each module e g SP SDIO These four bytes are being transferred in Big Endian format i e in 16 bit word format with the first byte placed in the least sig nificant or rightmost byte of the integer and the second byte placed in the most signi ficant or leftmost byte of the integer Data set 3 can not be customised ee 14 Wieland BA000587 09 2009 Rev A Product description samos PRO gateways L Byte Bit I O modules CPU modules Gateway modules e g SP SDIO SP SDI
143. ttributes numbered from 1 to N refer to each individual attribute of each individual input data set Each instance refers to a unique input data set and each input data set has a unique attribute numbering scheme The following tables reflect the attri bute definitions for each input data set Get All Data Set Attributes request All data set information will be returned in integer 16 bit word format For byte data the first byte will be placed in the least significant or rightmost byte of the integer and the second byte will be placed in the most significant or leftmost byte of the integer Example For an input data set the data will be returned as follows IntegerArray 0 AABB hex AA BYTE1 BB BYTE2 IntegerArray 1 CCDD hex CC MED1 BB MED2 IntegerArray 6 MMNN hex MM BYTE13 NN BYTE14 The typical PC tools of Rockwell Allen Bradley change this data format back to BBAA hex format for visualisation purposes Check your data for plausibility before putting your samos PROo system into operation 44 Wieland BA000587 09 2009 Rev A Ethernet gateways I EEE Instance 1 Input data set 1 attribute definitions Attribute number Data set parameter Size TaD 27 Serena Input Data Set Transfer object 1 Byte 0 SINT 73hex instance 1 2 Byte 1 SINT attribute definitions 50 Byte 49 SINT Instance 2 Input data set 2 attribute defini
144. uration 12 Module 9 mi 3 Danann 13 Module 10 Input gaang E Module 11 14 Module 11 Input 2 w BEGBE880 a 15 Module 12 Input gt oo GGG088080 Module 12 16 Module 1 SP SDIOM Cities o BOQ900080 ar a Gateway 2 input data je Da 0 aaaaaaad configuration 18 Module 3 Dur E 0 BEOEG00800 19 Module 4 Dur u Ganaan 20 Module 5 Output w GEEG8880 21 Module 6 Dur 0 Ganaan il 22 Module 7 Di E o ganang 98 Madia Mat wm ARANANAM zl 1B Module 1 SP SDI 7 E 5 a I a oe 3 SP SDION I3Res Gy Fe f far srspionmze 2 Input types le Ouput Update interval ms 4 Basically this dialog is divided into three areas Available data 1 Gateway data 2 and Tag Names 3 The upper left corner of the dialog holds the toolbar 4 7 3 1 The toolbar dB Reset to default Clear all 7 ie Qi fig A1 Toeiber Or the routing configuration The toolbar contains buttons for the following actions from left to right The Load user configuration and Save user configuration buttons allow you to load and or save a configuration in XML format If you load a configuration all previously made changes that have not been saved will be lost You can not undo this action e With the Import and Export buttons you can import and export a configuration inclu ding the tag names used as a CSV comma separated values file or in a network specific file format e g SIEMENS seq for PROFIBUS or Profinet This allows you to import and us
145. used On this topic please also read the documentation for the corresponding program The example below shows how to add the gateway to a SIEMENS SIMATIC Manager pro ject In the SIEMENS SIMATIC Hardware Manager the gateway can be found in the hardware catalogue under gt gt PROFIBUS DP gt Additional Field Devices gt Gateway gt Wieland gt samos Pro Drag amp drop the device into the PROFIBUS network Example Wieland Electric BA000587 09 2009 Rev A 77 Fieldbus gateways Fig 39 Gateway in the PROFIBUS HW Config al station Edit Insert PLC View Options Window Help aj x Deru gh g dh Bar Bi xi Eind mail Profile Standard X PROFIBUS DP PROFIBUS 1 DP master system 1 Additional Field Devices H E Drives SP PRO H Switching Devices Vo ED Gateway G asi 4 Wieland Electric 5 samosPRO g SP PROFIBUS DP Universal module Input Output Data Block 1 Input Output Data Block 2 Input Output Data Block 3 Input Output Data Block 4 Input Output Data Block 5 Q Address ieee 2 Input Output Data Block 2 a DP DP Coupler 3 193 Input Output Data Block 3 24 35 rc DP RS232C Link 4 193 input Output Data Block 4 36 47 E DP DP Coupler Release 2 5 193 Input Output Data Block 5 48 49 48 49 I m Compatible PROFIBUS DP Slaves CQ CiR Object Closed Loop Controller H
146. ust be formatted with the first byte placed in the MS byte location Example aabb ccdd eeff etc where aa byte 1 bb byte 2 cc byte 3 etc 46 Wieland BA000587 09 2009 Rev A Ethernet gateways I Eee PLC 5 and SLC Messages The following PCCC messages are supported for the PLC 5 SLC and MicroLogix PLCs Message type PCCC message Maximum message size eo a SLC Typed Read 162 CLX 242 SINTs 121 INTs SLC and MicroLogix PLCs SLC 206 SINTs 103 INTs SLC Typed Write 170 CLX 220 SINTs 110 INTs SLC 206 SINTs 103 INTs PLC 5 Typed Read 104 CLX 234 SINTs 117 INTs SLC 252 SINTs 126 INTs PLC 5 Typed Write 103 CLX 226 SINTs 113 INTs SLC 226 SINTs 113 INTs Both the PLC 5 and SLC Typed Read message can be used to retrieve all input data sets Note Address Description Access rule Data size words nn a Ha 2 N10 0 All enabled input data sets data Get 16 101 N11 0 Request input data set 1 data Get 25 N12 0 Request input data set 2 data Get 16 N13 0 Request input data set 3 data Get 30 N14 0 Request input data set 4 data Get 30 N20 0 Write all enabled output data sets Set 5 25 N21 0 Write output data set 1 data Set 5 N22 0 Write output data set 2 data Set 5 N23 0 Write output data set 3 data Set 5 N24 0 Write output data set 4 data Set 5 N25 0 Write output data set 5 data Set 5 PLC 5 SLC Receive Data Message The Receive Input Data Se
147. way button above the main window and select the SP EN IP to open the gateway configuration dialog Click on Gateway configuration on the left hand menu The following dialog appears Fig 22 Gateway Bi samosPLAN 1 2 0 new_dp configuration dialog Bree eves betas f H 2 com settings 3 connect Bipoisconnect By Hardware configuration 2 Logic editor Je seen cateway 1131 Report 2 Diagnostics 5 10 x ansfer Yes Upload ME f Euisisteitace disabled Set Tag File name Heartbeat rate a 1 Rasa soo samosPRO to Gateway yore to Tag File 5000 EthemetlP sin a 5000 4 y so a EthernetlP to samosPRO N Read IP Address 192 168 25 Pr J DHCP Slot number Device name 0 Er SP ENAP Max PLC update rate ms configuration fees o gt 40 192 168 250 250 EtherNet IP E Subnet mask 25 25 0 0 TCP IP configuration VENEN 0 0 0 0 Heartbeat rate q PLC writes Gateway sad trom Tag File 2 OutDataSet2 Within the Gateway configuration dialog select the transfer method by activating PLC requests for the samos pro to Network direction PLC writes for the Network to Samos pro direction Select which data shall be requested or written by the PLC by checking the checkboxes for the required data sets Click Connect to go online and download the configuration to the samos pro system Program the exp
148. will find the following files for download e SP EN IP EDS file for EtherNet IP e SP EN PN GSDML file for Profinet IO e SP PROFIBUS DP GSD file for PROFIBUS DP 1 5 Scope These operating instructions apply to the samos pro gateway modules SP PROFIBUS DP SP EN MOD SP EN IP and SP EN PN with the following entry in the Operating nstruc tions field of the type label BA000587 This document is part of Wieland document number BA000537 samos pro gateways operating instructions in all available languages This document is the original operating instructions 1 6 Abbreviations used Enhanced Function Interface EFI Short integer 1 Byte SINT Unsigned double integer 4 Bytes 2 Words UDINT Unsigned integer 2 Byte 1 Word UINT 1 7 Symbols used Refer to notes for special features of the device Notes Wieland Electric BA000587 09 2009 Rev A 7 About this document WARNING Warning A warning notice indicates an actual or potential risk or health hazard They are designed to help you to prevent accidents Read carefully and follow the warning notices 1 8 Trademarks Windows 98 Windows NT 4 0 Windows 2000 Windows XP and Internet Explorer are registered trademarks of Microsoft Corporation in the USA and other countries SIEMENS SIMATIC Manager is a registered trademark of SIEMENS AG DeviceNet and DeviceNet Safety are registered trademarks of the Open DeviceNet Vendor Association Inc ODV
Download Pdf Manuals
Related Search
Related Contents
Chute libre User Manual - Safe N Secure NaMobil 3.0 - weilekes.de Fantec DB-229U3 SikaTop®-Seal 107 Philips SLE3400FN USER MANUAL - Analog Way MOTLoad Firmware Package User`s Manual Copyright © All rights reserved.
Failed to retrieve file