Home

W01E-EN-01 - Products

image

Contents

1. PRT1 SCU11 nm PERIPHERAL 90 O 0000 00000 Units mm 13 Basic Operating Procedure Section 1 4 1 4 Basic Operating Procedure 1 4 1 Overview The following diagram provides an overview of the installation procedures For experienced installation engineers this may provide sufficient informa tion For others cross references are made to various sections of this manual where more explicit information is given When reading this manual online the flow chart entries provide links to the sections containing detailed informa tion Mount the PROFIBUS DP Gateway Unit ona DIN rail Select a unique Identity number 0 99 2 for the unit with the two rotary switches on the front of the unit Select a baudrate for Host Link Compo 3 way F with the DIP switches on the front of the Unit Deselect the auxilary RS 232C port with 4 the DIP switch on the front of the Unit Connect the modules to the Host Link or 5 Compoway F network connect this net work with the PROFIBUS Gateway Unit Connect the PROFIBUS DP Gateway 6 Unit to the PROFIBUS DP network Configure the PROFIBUS DP Gateway Unit using the master configuration tool Startup the PROFIBUS DP Master PROFIBUS DP Gateway Unit starts communicating confirmed by the COMM LED 14 Basic
2. 39 3 4 Host Link communication 46 SECTION 4 Troubleshooting and Maintenance 49 AL SOVELVIEW A tec SO teen tee be etd a Side edt chee 50 4 2 Troubleshooting Using LED Indicators 50 4 3 Maintenance nus is ye orbit Sard order OR add 52 4 4 _ Replacing the Writs ecssrsz ste niece AAA E ROS REN a 53 vii viii TABLE OF CONTENTS Appendices A Memory Mapping sis sseni toa ne eb sie area e e a 55 B Function Block Programming 57 APbreviations ceros aaa 65 A oN ins OAS ONO Lb chee E wee 67 Revision History dass nd sushi 71 About this Manual This manual describes the PRT1 SCU11 PROFIBUS DP Gateway to Host Link Compoway F It also describes how to install and operate the Unit Please read this manual carefully so that you understand the information provided before installing or using the PRT1 SCU11 PROFIBUS DP Gateway to Host Link Compoway F Start with the precau tions in the following section They describe the operating environment and application safety mea sures which must be observed prior to and when using the PRT1 SCU11 PROFIBUS DP Gateway to Host Link Compoway F The sections of this manual are as follows Section 1 introduces the PROFIBUS DP Gateway to Host Link Compoway F Section 2 describes the installation and setup of the PROFIBUS DP Gat
3. 2 Mele Introduction A ets Guile ed eds Cana 2 1 1 2 PROFIBUS Communication Protocol 2 15153 Device Types iie seine gcos ad ts a ser Bere ee 4 1 1 4 Bus Access Protocol 4 1 1 5 Diagnostic functions 5 1 1 6 Protection mechanisms 5 1 1 7 Network Operation Modes 6 1 2 PROFIBUS DP Network configuration 7 1 3 PROFIBUS DP Gateway Unit 9 1 3 1 PROFIBUS DP Gateway Unit Features 9 1 3 2 Specific secs sees com Vales eed ete Tae re eee eee 11 1 4 Basic Operating Procedure 14 LAS SOVERVIC Wee it iaa a Reponse 14 1 4 2 Procedures Prior to Starting Communications 15 Overview of PROFIBUS Section 1 1 1 1 Overview of PROFIBUS 1 1 1 Introduction Standard EN50170 PROFIBUS FMS PROFIBUS DP PROFIBUS PA Uniform Bus Access Protocol A Caution PROFIBUS PROcess FleldBUS is an open fieldbus standard for a wide range of applications in manufacturing processing and building automation The Standard EN 50170 the Euronorm for field communications to which PROFIBUS adheres guarantees vendor independence and transparency of operation It enables devices of various manufacturers to intercommunicate without having
4. e Assembling a Unit e Setting DIP switches or rotary switches e Connecting or wiring the cables e Connecting or disconnecting connectors e Be sure that all the mounting screws terminal screws Unit mounting screws and cable connector screws are tightened to the torque specified in the relevant manuals Incorrect tightening torque may result in malfunc tion Leave the label attached to the Unit when wiring Removing the label may result in malfunction if foreign matter enters the Unit Remove the label after the completion of wiring to ensure proper heat dis sipation Leaving the label attached may result in malfunction Always use the power supply voltage specified in this manual Double check all the wiring and connection of terminal blocks and con nectors before mounting the Units Use crimp terminals for wiring Do not connect bare stranded wires directly to terminals Observe the following precautions when wiring the communications cable Separate the communications cables from the power lines or high ten sion lines e Do not bend the communications cables e Do not pull on the communications cables e Do not place heavy objects on top of the communications cables e Be sure to wire communications cable inside ducts e Use appropriate communications cables Take appropriate measures to ensure that the specified power with the rated voltage and frequency is supplied in places where the power supply is unstable An incorrect power
5. Automatically turns OFF when processing is completed Note The function block ensures that Double Word sized data written to the Temperature Controller is cor rectly formatted 64 Abbreviation A C CPU D DP DPM1 DPM2 DTM EC EMC EMS FA FCB FDT FINS FMS G H GSD 1 0 ISO LED LSI MAC MRC Abbreviations Description Central Processor Unit in PLC system Decentralized Periphery PROFIBUS DP Master class 1 PROFIBUS DP Master class 2 Device Type Manager Electromagnetic Compatibility ElectroMagnetic Compatibility ElectroMagnetic Susceptibility Factory Automation Free Communication Block Field Device Tools Factory Intelligent Network System Fieldbus Message Specification General Slave Data Input and Output Integrated Circuit International Organization for Standardization Light Emitting Diode Large Scale Integration Medium Access Control OSI layer Main Request Code 65 Abbreviation N O OSI P R PA PC PCB PDU PLC PROFIBUS S SRC T Z TC 66 Abbreviations Description Open System Interconnection Process Automation Personal Computer Printed Circuit Board Protocol Data Unit Programmable Logic Controller PROcess FleldBUS Sub Request Code Temperature Controller Numbers 110 mH Inductor 30 220 ohm resistor 29 2 wire 23 3 3 1 Using CX Thermo 44 4 wire 23 26 A About Manual ix A line
6. C0 0300 Status C0 0001 C0 0001 CO 0101 CO 0001 C0 0101 CO 0201 C0 0301 MV1 C0 0004 C0 0004 C0 0104 CO 0004 C0 0104 C0 0204 C0 0304 MV2 C0 0005 C0 0005 C0 0105 CO 0005 C0 0105 C0 0205 C0 0305 SV C1 0003 C1 0003 C1 0103 C1 0003 C1 0103 C1 0203 C1 0303 Special See table below Operation Extended block The table below lists the command codes used by the PRT1 SCU11 to translate the Special Operation Com mands to mini FINS messages Parameter je E5 R See Note Loop 2 Loop 3 Run Stop 10 11 20 21 FO F1 AT Cancel 01 and OA Execute Refer to E5AR E5ER Digital Controller Users Manual Z182 E1 L for details Auto 00 01 10 11 20 21 30 31 Manual FO F1 lt S 3 D oa O 3 O D Q ao Note Each type of command lists two possible channel addressing methods the first row specifies commands for individual channels the second row the command for all channels 55 Appendix B Function Block Programming B 1 Introduction In order to facilitate the data transfer to and from Temperature Controllers from a CS1 CJ1W PRM21 PROFI BUS DP Master via the PRT1 SCU11 OMRON provides a number of PLC Function Blocks These function blocks can be used in the CS1 CJ1 PLC program to assemble the output data or extract the input data from the CS1 CJ1W PRM21 PROFIBUS Maste
7. Latch the top hook onto the track Push the Unit until the hook locks onto the track Push the hook back up to lock the Unit in place PON 2 Insert onto track 3 Push in on the Unit 1 Pull down 22 Wiring the RS 422 RS 485 Devices Section2 3 2 2 3 2 3 2 3 1 2 3 2 Wiring the Power Terminals e Supply power to the Unit using the 2 pin power connector provided with the Unit e When wiring the power observe the required polarity Failure to do so can damage the Unit e Use a Phillips screw driver to tighten the connector screw using a torque value between 0 25 and 0 3 N m Wiring the RS 422 RS 485 Devices Precautions when wiring e Always switch off the power to the Unit and to the RS 422 RS 854 devices before wiring e Make sure that no foreign objects enter the Unit when wiring Failure to do so may damage the Unit when power is applied e Use a Phillips screw driver to secure the network connector to the Unit after setting up the RS 422 RS 485 network Tighten the screws to a torque of 0 25 to 0 3 Nm 2 Wire and 4 Wire Connections The transmission circuits for 2 wire and 4 wire connections are different as shown in the following diagram Example of 4 Wire Example of 2 Wire Connections Connections AEI y R88A R88A E5_N E5ZN MCW151 E MCW151 E Not connected PRT1 SCU11 PRT1 SCU11 Note 1 Use a 2 wire transmission circuit to
8. 422A 1 RD inter 2 RD face 3 FG 4 SD 5 SD DIP switch SW2 RS 422A Port Pin 1 OFF Connector Pin 2 OFF Pin3 ON Note 1 If the PROFIBUS DP Gateway Unit is connected on one end of the trans mission circuit the termination resistor must be enabled on the Unit by setting Switch 2 to ON 2 The R88A MCW151 E connected at one end of the transmission circuit must also have its termination resistor enabled by setting Pin 3 of DIP switch SW2 to ON 2 4 Initial Setup Procedure After mounting the PROFIBUS DP Gateway Unit the following Initial Setup Procedure must be applied to allow the Unit to start up properly and to be con figured for operation e A unique PROFIBUS node address must be selected before the units power supply is turned on see section 2 4 1 Selecting a node address e Select the required baud rate to be used on the Host Link or Compoway F network using the DIP switches Disable the Auxiliary port using the DIP switches e Select the required physical layer either RS 422 for a Host Link network or RS 485 for a Compoway F network Switch number 1 directly over the RS 422 RS 485 connector is to be used for making the selection 26 Setting up a PROFIBUS network Section 2 5 e Setup the PROFIBUS network see section 2 5 Setting up a PROFIBUS network configure the PROFIBUS master unit using the master configu ration tool on the Personal Computer and download the configuration to the master
9. Profibus output data UINT DWORD Start Word StartWordinput DataRead Data read from TC Profibus input data UINT BOOL Unit No of TC nes Busy 7 Busy flag Variable Type ue Read Start address from TC ReadStartAddress File name PRT1_SCU11_Read_Data cxf Function description Sends a Read Data command to the CS1 CJ1W PRM21 PROFIBUS Master I O addresses allo cated to the targeted Temperature Controller specified by the Unit No The data to be read is spec ified by the Variable Type and the Read Start Address 61 Function Block Programming Appendix B Item Precautions Timechart Start Trigger Busy Flag BUSY Description f FB execution completed At normal end Sendina data has been completed EN Input condition Connect EN to an OR between an upwardly differentiated condition for the start trigger and the BUSY output from the Function Block Restrictions on Input variables Always use an upwardly differentiated condition for the EN If the Input variables are out of range the ENO flag will turn OFF and the Function Block will not be processed Restrictions on Out put variables This function block requires multiple cycles to process Always connect an OR including the BUSY output variable to the EN input variable to ensure that the function block is processed to completion see Symbol Do not turn the BUSY output variable ON or OFF outside the fu
10. 1 1 1 1 3 Device Types PROFIBUS distinguishes between master devices and slave devices Master Devices Master devices determine the data communication on the bus A Master can send messages without an external request as long as it holds the bus access right the token Masters are also referred to as active devices in the PROFIBUS standard There are two types of master devices Class 1 Master DPM1 A PROFIBUS DP Class 1 Master DPM1 device is a central controller which exchanges information with the decentralized devices i e DP slaves within a specified message cycle Class 2 Master DPM2 PROFIBUS DP class 2 Master DPM2 devices are programmers configura tion devices or operator panels They are used during commissioning for con figuration of the DP system or for operation and monitoring purposes Slave Devices Slave devices are peripheral devices Typical slave devices include input out put devices valves drives and measuring transmitters They do not have bus access rights and they can only acknowledge received messages or send messages to the master when requested to do so Slave devices are also called passive devices The PROFIBUS DP Gateway Unit is a slave device Device Profile To enable the exchange of devices from different vendors the user data has to have the same format The PROFIBUS DP protocol does not define the format of user data it is only responsible for the transmission of this data The format
11. Controllers Describes the Compoway F Communi cation Functions for the ESAN E5EN E5CN E5GN Temperature Controllers H102 E1 H130 E1 E5ZN Temperature Controller User manual E5ZN Temperature Controller Describes the Installation and Opera tion of the E5ZN Temperature Control ler H113 E1 E5AR E5ER Digital Controller Users Manual E5AR E5ER Digital Controller Describes the Installation and Opera tion of the ESAR E5ER Digital Control lers Z182 E1 R88A MCW151 E R88A MCW151 DRT E Motion Con trol Option Board Operation Manual R88A MCW151 E R88A MCW151 DRT E Motion Control Option Board Describes the Installation and Opera tion of the R88A MCW151 E R88A MCW151 DRT E Motion Control Option Board 1203 E2 IX N WARNING Failure to read and understand the information provided in this manual may result in per sonal injury or death damage to the product or product failure Please read each section in its entirety and be sure you understand the information provided in the section and related sections before attempting any of the procedures or operations given PRECAUTIONS This section provides general precautions for using the PRT 1 SCU11 PROFIBUS DP Gateway to Host Link Compoway F modules Programmable Controllers and related devices The information contained in this section is important for the safe and reliable oper
12. O addresses allo cated to the targeted Temperature Controller specified by the Unit No The data to be written and the location to write is to are specified by the DataWrite and the WordStartAddress variables Precautions Timechart Start Trigger ON ne a T Busy Flag BUSY FB execution completed At normal end Sending data has been completed EN Input condition Connect EN to an OR between an upwardly differentiated condition for the start trigger and the BUSY output from the Function Block Restrictions on Input variables e Always use an upwardly differentiated condition for the EN e Ifthe Input variables are out of range the ENO flag will turn OFF and the Function Block will not be processed 63 Function Block Programming Appendix B Restrictions on Out put variables Item This function block requires multiple cycles to process Always connect an OR including the BUSY output variable to the EN input variable to ensure that the function block is processed to completion see Symbol Do not turn the BUSY output variable ON or OFF outside the function block Description Application example sit B Start Word Profibus output data amp 3200 Start Word Profibus input data amp 3300 Unit No of TC Read Start address from TC 0104 Data to be written Response data is copied to channel 2 after Busy flag is OFF Variable Type 81 C1 a
13. Operating Procedure Section 1 4 1 4 2 Procedures Prior to Starting Communications Use the following procedure to configure the Unit using CX Profibus 1 2 3 1 Wire the network to connect the PROFIBUS DP Gateway Unit to the mod ules on Host Link or Compoway F interface Turn ON the PLC power supply and the power supply of the PROFIBUS DP Gateway Unit In CX Profibus create a network and define the parameters and I O con figurations for the PROFIBUS DP Gateway Unit settings and the allocated modules Determine the baud rate and the bus parameter setup see sec tion 2 6 Configuring the PROFIBUS DP network Download the network configuration to the PROFIBUS DP master After downloading the configuration CX Profibus will restart the PROFIBUS DP master automatically After restarting the PROFIBUS DP Gateway Unit it will automatically start communication 15 SECTION 2 Installation and Wiring This section shows the PROFIBUS device and identifies its controls and indicators It contains the procedures for installing the PROFIBUS DP Gateway Unit and setting up the PROFIBUS network 2 1 2 2 2 3 2 4 2 5 Unit Components 432 44 43 43h etant 2 1 1 Nomenclature ei nn dt anima ne etienne a 2 12 LED Indicators 2 2eme a 2 1 3 SWitchS ttings ses de ns ee Se RE A Re 2 1 4 PROFIBUS Connector 2 1 5 Host Link Compoway F Connector Insta
14. Profibus refer to the appropriate manual for more information on errors The maximum number of devices is 15 The maximum of modules is 18 This number consists of 15 fixed communica tion blocks 1 write 1 read and 1 operation free communication block 3 2 PROFIBUS communication Fixed communication blocks Free communication blocks 38 As mentioned in the previous chapter there are two ways of PROFIBUS com munication Communication with fixed communication blocks and free com munication blocks Fixed communication blocks are pre defined blocks of data to be read written from to a device Fixed communication blocks are not adjustable The most common data can be read written by using fixed communication blocks Free communication blocks are sent directly to the slave device of the Gate way The Gateway does not interfere with the data With free communication blocks it is possible to read write data which is not possible to read write with fixed communication blocks The maximum amount of PROFIBUS data the PRT1 SCU11 Gateway can handle is 200 bytes input data and 200 bytes output data If more capacity is needed an extra slave device is required The I O data words are sent in Big Endian format i e the high byte is sent first Compoway F communication Section 3 3 3 3 Compoway F communication 3 3 1 Fixed communication blocks Fixed communication blocks are pre defined blocks which define specific groups of I O
15. This section describes the troubleshooting procedures and maintenance operations needed to keep the PROFIBUS network optimally working Al OVERVIEW oo cd a een nues ten A E 4 2 Troubleshooting Using LED Indicators 4 2 1 Unit Led Indicators 4 2 2 Compoway F or Host Link LED Indicators 4 2 3 PROFIBUS LED Indicators 4 3 Maintenance 2 tac Hit A Pt ee LE Lt 4 321 Cleaning 2 cs eos A aes dons nas Sa en Pay ae ea a 4 3 2 Inspection cid see aai bare bade a bre ee Pes 4 4 Replacing the Unit 32 345 init anus dette 4 4 1 Replacement Precautions 50 50 50 50 51 52 52 52 53 53 49 Overview Section 4 1 4 1 Overview The Gateway has several useful LED indicators These indicators can be used for troubleshooting and checking the operation These LED indicators are e RUN indicates normal operation ERR fatal error e FCOM Host Link Compoway F communication FERR communication error with Host Link or Compoway F COMM communication with PROFIBUS master e BF all communication with the PROFIBUS master has lost or configura tion parameter error occurs 4 2 Troubleshooting Using LED Indicators As mentioned before the LED indicators are very useful to get a correct diag nosis of the Unit These LED s can be categorized into 3 categories 1 Unit LE
16. Writing the lower limit of the setpoint to the upper limit of the setpoint for chan nel 1 is done with the command 0102C1000300000100000005 hex The response is no error occurred 01020000 hex A write or operation command will be sent to the Temperature Controller when the command is changed from zero s to the correct data When the command data is set to zero the response data will also be cleared The read type command blocks are sent every Compoway F cycle Broadcasting can be used for operations and writes If the device address is set to OOFF hex a broadcast is sent to all TC s using XX broadcast The response code will be filled with a response to indicate that the command has been sent to the TC s It is recommended that free communication blocks are restricted to the end of the configuration Placing a free communication block in the middle of other modules is allowed it will influence the device number of other modules The device number is affected due to the fact that the slot number is a representa tion of the device number Configuring 2 x E5ZN basic modules and a free communication write block If there is no device for a device address between two existing consecutive device addresses the empty slot module must be used The slot number rep resents the device address Recommended Not recommended Slot Module Device Module Device number number number E5ZN Basic E5ZN Basic E5ZN Basic Free com munication w
17. code when execution ended in an error in the communications command level Refer to section 3 3 3 Free communica tion blocks for more information ResponseCode Data read from the TC Data read from the TC See Note DataRead Busy flag Output variables Automatically turns OFF when processing is completed BUSY Note The function block ensures that Double Word sized data read from the Temperature Controller is cor rectly formatted to match the DWORD data type as defined in the PLC B 5 Write Function Block The Write Function Block facilitates the transmission of a WRITE command to a specific temperature Control ler refer to section 3 3 3 Free communication blocks The table below lists the specifics of this function block Item Description Basic function Writes data to a Temperature Controller s variable area Symbol Start Trigger BOOL EN UINT StratWordOutput UINT StartWordInput UINT UnitNo UINT VarType UINT WriteStartAddress DWORD DataWrite BOOL ENO WORD ResponseCode BOOL Busy Busy Flag Start Word Profibus output data Start Word Profibus input data Unit No of TC Response code from TC Busy flag Variable Type Write Start address from TC Data to be written File name PRT1_SCU11_Write_Data cxf Function description Sends a Write Data command to the CS1 CJ1W PRM21 PROFIBUS Master I
18. connect E5_N E5ZN and E5_R Tem perature Controllers to the PROFIBUS DP Gateway Unit Use a 4 wire transmission circuit to connect the R88A MCW151 E Motion Control op tion Board to the PROFIBUS DP Gateway Unit Use the same transmis sion circuit 2 wire or 4 wire for all nodes 2 Do not use 4 wire connections when the 2 4 wire switch on the PROFI BUS DP Gateway Unit is set to 2 wire 3 Do not intermix Temperature Controllers and R88A MCW151 E devices on one and the same transmission circuit 4 In case the PROFIBUS DP Gateway Unit is on one of the ends of the transmission network switch on the Termination Resistor by setting Switch 2 to ON 23 Wiring the RS 422 RS 485 Devices Section2 3 2 3 3 Connection for E5_N Compoway F Communications The E5AN E5CN E5EN E5GN Temperature Controllers all use Compo way F communications over 2 wire RS 485 e The RS 485 connection can be either one to one or one to N Up to 15 E5_N units can be connected in a one to N system e The total cable length is 500 m max e Use a shielded twisted pair cable with wires of a thickness of AWG24 0 205 mm to AWG14 2 081 mm The figure below shows the connection between one PROFIBUS DP Gate way Unit and 1 to 15 E5_N Temperature Controller units Refer to the E5AN E5CN E5EN and E5GN User Manuals for more information on Wiring PRT1 SCU11 E5
19. exceed 18 modules this includes a maximum of 15 physical units Number of I O data supported by slave Unit Up to 200 bytes input and 200 bytes output maximum Number of diagnostics data supported by slave Unit Up to 7 bytes of diagnostics max per attached unit Diagnostic data is collected at the attached unit and is part of the PROFIBUS input output message Extended diagnostics supported by the slave Unit The Unit reports system errors and communication errors in a PROFI BUS extended diagnostic message this message has a length of 7 bytes After detection of a system error the data exchange is stopped 11 PROFIBUS DP Gateway Unit Section 1 3 Protocol Specifications Item Specification Host Link Compoway F interface Protocol type supported Host Link or Compoway F Host Link media type RS 422 galvanically isolated Selection for RS 422 is made with Physical layer switch 1 see2 1 3 Switch Settings OFF RS 422 for device type R88A MCW151 E Compoway F media type RS 485 galvanically isolated Selection for RS 485 is made with Physical layer switch 1 see2 1 3 Switch Settings ON RS 485 for device type E5ZN E5_R and E5_N RS 232C interface Use the CS1W CN226 connection cable for connecting the Gateway with Thermotools RS 485 or RS 422 termination resistor Internal 220 Ohm resistor between receiver lines Use of resistor can be enabled or dis
20. of user data may be defined in so called profiles Profiles can reduce engineering costs since the meaning of application related parameters is specified precisely Profiles have been defined for specific areas like drive technology encoders and for sensors actuators 1 1 4 Bus Access Protocol OSI Layer 2 Bus Access The PROFIBUS bus access protocol is implemented by OSI layer 2 This pro Protocol tocol also includes data security and the handling of the transmission proto cols and messages Medium Access Control The Medium Access Control MAC specifies the procedures which determine when a device is permitted to transmit data A token passing procedure is used to handle the bus access between master devices and a polling proce dure is used to handle the communication between a master device and its assigned slave device s Token Passing The token passing procedure guarantees that the bus access right the token is assigned to each master within a precisely defined time frame The token message a special message for passing access rights from one master to the next master must be passed around the logical token ring once to each master within a specified target rotation time Each master executes this pro cedure automatically Polling Procedure The polling or master slave procedure permits the master currently in pos session of the token to access its assigned slaves The figure below shows a possible configuration The conf
21. solution to solve the error Check Host Link or Compoway F addresses baud rate settings when baut rate settings are changed a restart must performed Check all cables and connections PROFIBUS LED Not lit Not lit Description No power connected to the Unit Solution Switch power to the Unit Not lit Lit No communication with PROFIBUS mas ter Check if the PROFIBUS master is running Check all PROFIBUS cables and connections ter mination resistor Not lit Blinks The wrong module selected in the network configuration The hardware does not correspond with the config ured network in the software Check also the PROFIBUS addresses of the Unit Blinks Host Link or Compoway F through the auxiliary port End your ThemoTools session and switch DIP switch 4 to off Switch to the old baud rate settings if these ware changed when baut rate settings are changed a restart must performed Not lit Communication in progress 51 Maintenance Section4 3 4 3 Maintenance This section describes the routine cleaning and inspection recommended as regular maintenance 4 3 1 Cleaning Clean the PROFIBUS DP Gateway Unit regularly as described below in order to keep it in an optimum operating condition e Regularly wipe the Unit with a dry soft cloth e If a spot cannot be removed with a dry cloth dampen the cloth with a neu tral cleaner wring out the cloth and wipe
22. supply may result in malfunction Install external breakers and take other safety measures against short cir cuits in external wiring Insufficient safety measures against short circuits may result in burning Double check all the wiring and switch settings before turning ON the power supply When transporting or storing the product cover the PCB s with electrically conductive materials to prevent LSI s and IC s from being damaged by static electricity and also keep the product within the specified storage temperature range Conformance to EC Directives 6 e When transporting the Unit use special packing boxes and protect it from being exposed to excessive vibration or impacts during transportation e Do not attempt to disassemble repair or modify any Units 6 Conformance to EC Directives 6 1 Applicable Directives 6 2 Concepts e EMC Directives e Low voltage directive OMRON units complying with EC Directives also conform to related product standards making them easier to incorporate in other units or machines The actual products have been checked for conformity to product standards Whether the products conform to the standards in the system used by the customer however must be checked by the customer Product related performance of OMRON units complying with EC Directives will vary depending on the configuration wiring and other conditions of the equipment or control panel in which OMRON devices are installed Th
23. the user as well as the system and device behaviour of the various PROFI BUS DP device types are specified in the user interface RS 485 transmission technology or fibre optics are available for transmission RS 485 transmission is the most frequently used transmission technology lts application area includes all areas in which high transmission speed and sim ple inexpensive installation are required PROFIBUS modules are intercon nected by single twisted pair shielded copper wires The RS 485 transmission technology is very easy to handle Installation of the twisted pair cable does not require expert knowledge The bus structure per mits addition and removal of devices or step by step commissioning of the system without influencing the other devices Later expansions have no effect on devices which are already in operation Transmission speeds between 9 6 kbit s and 12 Mbit s can be selected as shown in the table below One unique transmission speed must selected for all devices on the bus master and slave devices when the system is com missioned Baud rate kbit s Distance segment m The maximum cable length values depend on the transmission speed and are based on type A cable see Bus Cable Connector on page 30 The length can be increased by the use of repeaters However it is not recommended to use more than three repeaters in series in a PROFIBUS network Overview of PROFIBUS Section
24. to make any special interface adaptations The PROFIBUS family comprises three mutually compatible versions PROFIBUS FMS PROFIBUS DP and PROFIBUS PA FMS means Fieldbus Message Specification This version is the general pur pose solution for high level extensive and complex communication tasks Powerful services open up a wide range of applications and provide great flexibility DP means Decentralized Periphery PROFIBUS DP is optimized for high speed and low cost interfacing It is specially designed for communication between automation control systems and distributed I O at the device level PA means Process Automation It permits sensors and actuators to be con nected to one common bus even in areas where intrinsically safe products are required It also permits data and power to be supplied over the bus using 2 wire technology according the international standard IEC 1158 2 PROFIBUS DP and PROFIBUS FMS use the same transmission technology and uniform bus access protocol Consequently both versions can be oper ated simultaneously on the same bus FMS field devices however cannot be controlled by DP masters and vice versa It is not possible to exchange one of these family members by another family member This will cause faulty operation The rest of this section describes the PROFIBUS DP Protocol architecture 1 1 2 PROFIBUS Communication Protocol OSI reference model ISO 7498 In general the PROFIBUS communication pr
25. unit e Refer to the manuals of the connected devices equipped with either Host Link or Compoway F communication how to set up the network 2 4 1 Selecting a node address 1 2 3 1 Make sure that the power supply is turned OFF before setting the node ad dress 2 Set the switch to the desired node address Use a small screwdriver to make the setting taking care not to damage the rotary switch The node address is factory set to 0 Make sure that the node address is unique on the PROFIBUS DP network i e there must be no other unit with the same node address 3 Turn ON the power supply of the Unit 2 5 Setting up a PROFIBUS network 2 5 1 Network Structure Communication Medium Linear Bus Topology Repeaters Note Note The PROFIBUS standard defines the use of EIA RS 485 as the main commu nication transport medium The PROFIBUS DP Gateway Unit is designed to interface directly to this type of medium This section will discuss the setup of networks based on this medium The other communication medium specified for PROFIBUS is optical fibre The PROFIBUS DP Gateway Unit does not provide a direct interface to this type of medium However by using third party couplers an interface between EIA RS 485 and optical fibre networks can be made PROFIBUS DP defines the use of the Linear Bus Network Topology The Bus must be terminated at both ends and must not contain network branches The total cable length of the bus depe
26. 0 Not supported 111 All channels Error code 0 No error one bit Error Not supported command number Not supported channel number Command execution failed Communication with Temperature Controller fails PROFIBUS When the PROFIBUS communication fails the Temperature Controller can communication fails hold the last value or a stop command can be sent This behavior can be selected in CX Profibus see the example in the figure below i 2 PRT1 SCU11 Configuration 10 x Device PAT1 SCU11 GSD File DC_0780 gsd Vendor OMRON Corporation Ident Number 00780 Configuration Parameter Group Module JES_R Extended 2 Channel 11W1 340 y Parameters Name Value Output data on PROFIBUS Fail Hold Last Value Si Send Stop 41 Compoway F communication Section 3 3 3 3 3 Free communication blocks With free communication blocks it is possible to read data write data and send an operation instruction directly to a Temperature Controller without any interference by the Gateway With free communication blocks however the PROFIBUS Master system has to assemble the commands The Free Communications blocks can be selected as I O modules from the GSD file Three free communication blocks are defined and can be used to configure the PROFIBUS DP Gateway Unit 1 Read for reading one element of the parameter defined in the TC 2 Write for writing one element of parameter defined in th
27. 1 MV1 channel 1 MV2 channel 1 Status high word channel 1 Status low word channel 1 PV channel 2 MV1 channel 2 MV2 channel 2 Status high word channel 2 Status low word channel 2 PV channel 3 MV1 channel 3 MV2 channel 3 Status high word channel 3 Status low word channel 3 PV channel 4 MV1 channel 4 MV2 channel 4 Status high word channel 4 Status low word channel 4 Operation execute 39 Compoway F communication Section 3 3 Compoway F Device Module name Output words Input words Total Total Number type output input of words words channels E5ZN Basic 2 channels SV channel 1 PV channel 1 SV channel 2 PV channel 2 E5ZN Extended 2 chan SV channel 1 PV channel 1 nels SV channel 2 MV1 channel 1 Special operation MV2 channel 1 See Note Status high word channel Status low word channel PV channel 2 MV1 channel 2 MV2 channel 2 Status high word channel 2 Status low word channel 2 Operation execute E5_N Basic 1 channel SV channel 1 SV channel 1 E5_N Extended 1 channel SV channel 1 PV channel 1 Special operation MV1 channel 1 See Note MV2 channel 1 Status high word channel 1 Status low word channel 1 Operation execute Note The Special operation word is explained in the section below 3 3 2 Special operation Command word The Special Operation word requires a format as shown in the figure below and has the command code error code and a chan
28. 21 Auto CLEAR 6 Auxiliary RS 323 interface 44 Basic Operating Procedure 14 Baud rate 12 19 21 29 45 BF 19 45 50 51 B line 21 Broadcast 5 44 Bus Access Protocol 2 Bus fail 19 Bus Termination 29 Bus termination 29 C Cable 28 30 Cable Length 29 Cable length 3 Cable shield connection 31 Channel numbers 41 Chk_Cfg 19 Class 1 4 Class 1 Master 4 Class 2 4 Class 2 Master 4 Cleaning 52 CLEAR 5 6 COMM 19 45 50 51 Command code 41 Command word 40 Common parameters 34 Communication Broadcast 5 Index Multicast 5 Multi peer 5 Status 18 Communication fails 41 Communication format 22 Communication Medium 27 Compoway F 9 12 18 19 Address 21 Configuration 7 32 Connector 12 21 30 Bus cable connector 30 DGND 21 RTS 21 VP 21 CX Profibus 32 38 41 CX Thermo 44 46 D Data length 46 Data_Exchange 19 Declaration of Confirmity xv Device profile 4 Diagnostic 5 12 Digital Panel Meter 24 Dimensions 13 DIN rail 22 DIP switch 20 DIP switches 18 Download configuration 32 DTM Configuration 32 E ESAR 9 25 ESER 25 ESZN 9 24 Electro magnetic compatibility 31 EMC directive xv EN50170 2 21 Environment 11 ERR 19 50 Error code 41 Extensive Diagnostics 5 External Dimensions 13 E Fail safe 6 68 FCOM 19 45 50 51 FDT DTM FDT Container application 7 FDT DTM Concept 7 FERR 1
29. 24 24 25 26 26 27 27 27 29 30 31 32 32 32 34 17 UnitComponents Section 2 1 2 1 Unit Components 2 1 1 Nomenclature The illustration below shows the DIP switches physical layer switches auxil iary RS 232C port behind cover the status LED indicators the unit number selector switch and a 9 pin female sub D connector on the front side of the PROFIBUS DP Gateway Unit Each of these components is explained in the following sections DIP switches PROFIBUS address rotary switches PRT1 SCU11 ON RUN ecomM 10 ser Unit LED indicators oFCOM Peripheral port behind cover FERR RS 422A R8485 switch Termination switch Power supply input lt t RS 422A RS485 connector PROFIBUS connector 2 1 2 LED Indicators The PROFIBUS DP Gateway Unit has six colored red or green LED s to indicate the operational mode status of the Unit Compoway F communica tion status and the Host Link communication status PRT1 SCU11 BH B ON RUN ee comM 21 cor lt Unit LED indicators OFCOM FERR NODE ADDRESS PERIPHERAL Indicator Specifications Indicator Meaning Not lit Startup test failed Unit not operational Power is off Lit Initialization successful Unit is in normal operation 18 Unit Components Section 2 1 Indicator Color Status Meaning ERR Not lit The PROFIBUS DP Gateway Unit is in normal operat
30. 3 14 15 2 3 5 Connection for E5ER E5AR Compoway F Communications The E5ER E5AR Temperature Controllers all use Compoway F communica tions over 2 wire RS 485 e The RS 485 connection can be either one to one or one to N Up to 15 Temperature Controller units can be connected in a one to N system e The total cable length is 500 m max The figure below shows the connection between one PROFIBUS DP Gate way Unit and 1 to 15 E5ER E5AR Temperature Controller Units Refer to the E5ER E5AR User Manuals for more information on Wiring PRT1 SCU11i RS 485 E5ER E5AR side Shield RS 485 Pin No Description ESER E5AR 1 1 R 2 2 R E5ER E5AR side Terminator nee i 220 Q End Node Description Shield R Use a 220 1 2 W terminator 25 Initial Setup Procedure Section 2 4 2 3 6 Connection for R88A MCW151 E Host Link Communications The R88A MCW151 E uses Host link communications over 4 wire RS 422A The figure below shows the connection between one PROFIBUS DP Gate way Unit and 1 to 15 R88A MCW151 E units PRT1 SCU11 R88A MCW151 E unit z cl se Phoenix Connector a ZE Switch SW1 OFF Switch SW2 ON DIP switch SW2 RS 422A Port Pin 1 OFF Connector Pin2 OFF Pin3 OFF R88A MCW151 E unit Pin Signal RS
31. 9 45 50 51 Fixed communication block 38 39 Fixed communication blocks 38 Free communication block 38 Free Communication Blocks 10 Free communication blocks 38 42 Front case 11 G H Galvanically isolated 45 Gateway Compoway F 9 Configuration 10 Free Communication Blocks 10 T O Data 10 setup 9 Special operations 10 Troubleshooting 10 unit 9 Generic slave DTM Configuring 32 T O Configuration Appending 33 Inserting 33 Ground 31 GSD File DTM 9 GSD file 7 33 DP master 8 DP slave 8 General Section 8 Language 7 GSD File Language 7 GSD file 7 32 Host Link 9 11 12 19 46 Address 21 HostLink 18 VO configuration 32 TO Data 10 VO data 11 12 32 YO module 32 IEC 1158 2 2 Inductor 30 Inspection 52 Index Inspection Equipment 52 Inspection Procedure 52 Installation 11 14 ISO 7498 2 K K3GN Digital Panel Meter 24 L M LED 18 50 BF 19 45 50 51 COMM 19 45 50 51 ERR 19 50 FCOM 19 45 50 51 FERR 19 45 50 51 RUN 18 50 LED Indicators Specifications 18 LED indicators 18 50 Low voltage directive xv MAC 4 Maintenance 52 Cleaning 52 Inspection 52 Manual About ix Revision history 71 Master 4 Master Devices 4 Maximum amount of data 38 Maximum number of devices 38 Maximum number of modules 38 MCW151 9 21 26 Module parameters 34 Monitoring Interval 5 Master 5 Slave 6 Mounting 22 Mounting Procedure 22 MR
32. C SRC 42 Multicast 5 Multi peer 5 N Network operation modes Auto CLEAR 6 CLEAR 6 Fail safe State 6 OFF LINE 6 OPERATE 6 STOP 6 Network structure 27 Linear bus topology 27 Repeater 27 Tree topology 28 Node address 19 27 Noise 22 Not_Ready 45 O P OFF LINE 6 OMRON Copyright notice vi OPERATE 6 Operation 42 Operation mini FINS command 42 OSI ISO 7498 2 Layer 1 2 3 Layer 2 2 4 Layer 3 3 Layer 7 2 Medium Access Control 4 OSI Layer 1 2 and User Interface 3 Polling Procedure 4 Token Passing 4 OSI reference model 2 Parameters 34 Common 34 Module 34 Parity 46 Pheripheral setting 20 Polling Procedure 4 Precautions 22 Application xiii General xii Operating Environment xiii Safety xii PROFIBUS 2 PROFIBUS DP 2 PROFIBUS FMS 2 PROFIBUS PA 2 R R88A MCWISI E 9 21 26 Read 42 Read mini FINS command 42 Receiver line 21 Repeater 3 Index Replacement 53 Response word 40 Rotary switch 19 RS 232C 10 12 18 44 45 RS 422 9 12 20 21 RS 422A 26 RS 485 3 9 12 20 21 24 27 Cable Type 28 RUN 18 50 S Safety Precautions xii Sending free communication blocks 44 Services 12 Set_Prm 19 Shielding 31 shock resistance 11 Slave 4 Slave Devices 4 Special Operation 40 Special operations 10 39 Specifications 11 Status 18 Status word 46 STOP 6 Stop bit 46 Stub Lines 29 T Temperature C
33. D indicators 2 Communication with Compoway F or Host Link LED indicators 3 PROFIBUS communication LED indicators 4 2 1 Unit Led Indicators The Unit LED s indicate the status of the Gateway These are the two highest LED s In the next table there is an overview of all possible LED states of the two Unit LED s A description of the error and a possible solution to solve the error Unit LED s RUN ERR Description Solution Lit Not lit Normal operation Not lit Not lit e Initialization fails e Restart the module by switching the power off and No power connected to the Unit on if the problem remains replace the Unit e Switch power to the Unit Not lit Blinks Initialization error during startup Restart the module by switching the power off and on if the problem remains replace the Unit Not lit Lit Fatal error Restart the module by switching the power off and on if the problem remains replace the Unit 4 2 2 Compoway F or Host Link LED Indicators The Unit LED indicators show the status of the communication with compo way F or Host Link These are the two LED s in the middle In the next table there is an overview of all possible LED states of the two Compoway F or Host Link LED s A description of the error and a possible solution to solve the error 50 Troubleshooting Using LED Indicators Section 4 2 Compoway F or Host Link LED s Not lit Not lit Description No Host
34. Link or Compoway F commu nication Probably a broken wire Unit has not initialized Not all in the Gateway configured Host Link or Compoway F devices are com municating No power connected to the Unit No PROFIBUS communication Unit has not been initialized with a configu ration and cannot proceed with Compo way F Hostlink communication Solution Check all cables and connections Switch the Unit off and on make sure the network configuration has been downloaded Check Host Link or Compoway F addresses baud rate settings when baud rate settings are changed a restart must p erformed Switch power to the Unit The hardware does not correspond with the configured network in the soft ware Lit Not lit Communication with Host Link or Compo way F fails the Unit is unable to establish communication with all devices Blinks Not lit Communication by auxiliary port selected End your ThemoTools session and switch DIP switch 4 to off Switch to the old baud rate settings if these ware changed when baut rate settings are changed a restart must performed Not lit No communication with Host Link or Com poway F network 4 2 3 PROFIBUS LED Indicators The Unit LED indicators show the status of the communication with PROFI BUS These are the two lowest LED s In the next table there is an overview of all possible LED states of the two PROFIBUS LED s A description of the error and a possible
35. NT StartWordinput WORD SV_CH1 WORD 75 SV_CH2 SV Channel 3 WORD 125 SV_CH3 SV Channel 4 WORD 126 SV_CH4 Operation Command word WORD 0062 Oper_Cmmnd WORD PV_CH1 WORD MV1_CH1 WORD MV2_CH1 WORD Status_HW_CH1 WORD Status_LW_CH1 WORD PV_CH2 WORD MV1_CH2 WORD MV2_CH2 WORD Status_HW_CH2 WORD Status_LW_CH2 WORD PV_CH3 1010 WORD MV1 Channel 3 MV1_CH3 1011 WORD MV2 Channel 3 MV2_CH3 1012 WORD Status High Word Channel 3 Status_HW_CH3 1013 WORD Status Low Word Channel 3 Status_LW_CH3 1014 WORD PV Channel 4 PV_CH4 1015 WORD MV1 Channel 4 MV1_CH4 1016 WORD MV2 Channel 4 MV2_CH4 1017 WORD Status HW_CH4 ES High Word Channel 4 Status Low Word Channel 4 1019 PV Channel 1 1000 MV1 Channel 1 1001 MV2 Channel 1 1002 Status High Word Channel 1 1003 Status Low Word Channel 1 1004 PV Channel 2 1005 MV1 Channel 2 1006 MV2 Channel 2 1007 Status High Word Channel 2 1008 Status Low Word Channel 2 1009 PV Channel 3 Status_LW_CH4 Operation Exec Sprea Operation Executed Word Note Only the function block for a 4 channel E5_R is shown The other function blocks are limited versions of this one Function Block Programming Appendix B The table below lists the Input and Output variables for the basic extended function blocks Input variables Name EN Variable name EN Data type Default Range Descripti
36. PROFIBUS DP Gateway to Host Link Compoway F OPERATION MANUAL Notice OMRON products are manufactured for use by a trained operator and only for the purposes described in this manual The following conventions are used to classify and explain the precautions in this manual Always heed the information provided with them A DANGER Indicates information that if not heeded is likely to result in serious injury or loss of life N WARNING Indicates information that if not heeded could possibly result in serious injury or loss of life A Caution Indicates information that if not heeded could possibly result in minor or relatively serious injury damage to the product or faulty operation OMRON Product References All OMRON products are capitalized in this manual The first letter of the word Unit is also capitalized when it refers to an OMRON product regardless of whether it appears in the proper name of the prod uct The abbreviation Ch appears in some displays and on some OMRON products It often means word and is abbreviated as Wd in the documentation The abbreviation PLC means Programmable Logic Controller Visual Aids The following headings appear in the left column of the manual to help you locate different types of information Note Indicates information of particular interest for efficient and convenient opera tion of the product 1 2 3 Indicates various lists such as procedures checklists etc Tradema
37. SY f FB execution completed At normal end Sending data has been completed EN Input condition Connect EN to an OR between an upwardly differentiated condition for the start trigger and the BUSY output from the Function Block Restrictions on Input variables e Always use an upwardly differentiated condition for the EN e Ifthe Input variables are out of range the ENO flag will turn OFF and the Function Block will not be processed Restrictions on Out put variables This function block requires multiple cycles to process Always connect an OR including the BUSY output variable to the EN input variable to ensure that the function block is processed to completion see Symbol Do not turn the BUSY output variable ON or OFF outside the function block Application example 60 BOOL BOOL EN ENO Start Word Profibus output data UINT WORD amp 3200 StratWordOutput ResponseCode Start Word Profibus input data UINT BOOL amp 3300 StartWordinput Busy Unit No of TC UINT 81 UnitNo Response code from TC Channel 2 Busy flag Bit B Command Code 01 Related information to the operation command 10 UINT CommandCode UINT Relatedinformation Function Block Programming Appendix B The table below lists the Input and Output variables for the Operate function block EN Variable name EN Default Description 1 ON Function block started 0 OFF Funct
38. The Unit is not in Data Exchange with the PROFIBUS DP master All communication with the PROFIBUS DP master is lost The PROFI BUS DP Gateway Unit is awaiting a new Set_Prm message 2 1 3 Switch Settings Node address Two rotary switches on the front of the PROFIBUS DP Gateway Unit are marked Address x10 and x1 These rotary switches are used to set the PROFIBUS DP node address of the Unit Addresses in the range of 00 through 99 are valid Be sure the node address on the Unit is equal to the sta tion address in the master s configuration The node address is used to identify individual nodes on the PROFIBUS DP network the node address must be unique for each unit Selecting a non unique address for a unit will prevent the PROFIBUS DP network from start ing or operating correctly 1 2 3 1 Turn OFF the power supply before setting the node address 2 Set the switch to the new node address Use a small screwdriver to make the setting taking care not to damage the rotary switch The node address is factory set to 0 3 Turn ON the power again Note Always turn OFF the power to the Unit before changing the node address set ting The Unit only reads the mode address setting during the initialization fol lowing a power up i e any changes after power up will have no effect Baud rate setting In order to select the baud rate used for communication over the Host Link Compoway F interface two
39. _N side RS 485 RS 485 Pin No Description FG AN EN CN GN R 4 12 6 S R R 4 11 5 S R Shield E5_N side RS 485 Terminator End Node 2202 1 2 W Pin No Description AN EN CN GN 12 6 S R hi bot 5 S R Use a 220 Q 1 2 W Shield terminator This way of communication is the one to use for other stand alone Compo way F instruments an example of these kind of instruments is a K3GN Digital Panel Meter 2 3 4 Connection for E5ZN Compoway F Communications 24 The E5ZN Temperature Controllers use Compoway F communications over 2 wire RS 485 Multiple E5ZN units can be connected together using one RS 485 Terminal The RS 485 connection is extended through the E5ZN sockets However these units all have unique RS 485 addresses The RS 485 connection can be either one to one or one to N Up to 15 E5ZN units can be connected in a one to N system The figure below shows the connection between one PROFIBUS DP Gate way Unit and 1 to 15 E5ZN Temperature Controller units Refer to the E5ZN User Manuals for more information on Wiring Wiring the RS 422 RS 485 Devices Section 2 3 PRT1 SCU11 RS 485 EG a R Shield Terminator 220 Terminator W 1 2 W 23 R 23 R R 23 R 220 Q 1 2 W Cy R 124 R 24 R E5ZN E5ZN E5ZN No 0 1 2 No 3 4 5 No 1
40. abled using Physical layer switch 2 Host Link Compoway F connector 5 pin Phoenix connector Device address range 1 15 set through the slot number of the PROFIBUS module configu ration Number 0 zero is reserved PROFIBUS DP interface Baud rates supported selection with e 9 6 kbit s DIP switches 1 and 2 See 2 1 3 Switch e 19 2 kbit s Settings e 38 4 kbit s Applicable standards EN50170 Volume 2 Protocol type supported PROFIBUS DP PROFIBUS Unit type PROFIBUS DP slave PROFIBUS Media type RS 485 galvanically isolated PROFIBUS Connector 9 pin sub D female connector 4 40 UNC thread Termination according to EN50170 provided by the cable connector Unit device address range O 99 set through rotary switches Remote setting not supported Baud rates supported Auto detect e 9 6 kbit s e 19 2 kbit s e 45 45 kbit s e 93 75 kbit s e 187 kbit s e 500 kbit s e 1 5 Mbit s 3 Mbit s e 6 Mbit s e 12 Mbit s PROFIBUS services supported e Set_Prm e Chk_Cfg Get_Cfg e Slave_Diag Data_Exchange e RD_Inp RD_Outp e Global_Control Sync Unsync Freeze Unfreeze Clear 1 0 Data PROFIBUS services Number of I O data supported Up to 200 bytes input and 200 bytes output max Number of diagnostics data supported 6 Bytes basic and 7 bytes extended 12 PROFIBUS DP Gateway Unit Section1 3 External Dimensions
41. actually have been set If while selecting I O modules one of the maximum values is exceeded a warning message will be dis played Removing I O Modules To remove I O modules from the Configured Modules list perform one of the following procedures e Select the I O module that needs to be removed from the Configured Modules list and double click it with the left mouse button If more than one module must be added repeat this step for the other modules e Select the I O module that needs to be removed from the Configured Modules list and press the Remove button 33 Configuring the PROFIBUS DP network Section 2 6 Example Watchdog Settings Note A Caution For the PROFIBUS DP Gateway Unit the I O modules for two E5ZN devices and two E5_N devices have been selected see figure above The E5ZN devices have Compoway F addresses 1 and 2 the E5_N devices have Com poway F addresses 3 and 5 Address 4 is not used in this example Apart from the I O module selection the Configuration tab also contains the settings for two other parameters 1 Enable Watchdog Control This parameter will enable disable the monitoring of the Master Slave communication in the slave device If enabled the slave will stop I O data exchange with the Master if the Master has not sent any request message to the slave within the configured Watchdog time Furthermore the slave will e switch its outputs to a known state e signal its change of st
42. ate in a diagnostics message the next time the Master addresses the slave e request re parameterization from the Master before resuming 1 0 data exchange If disabled the slave will remain in data exchange even if the Master is not communicating thus maintaining its outputs in the latest known state based on the last I O data exchange message 2 Watchdog Interval This value is the watchdog time out related to the Master Slave communi cation time out Enabling the Watchdog Control is highly recommended for safe operation of the network In the current version of CX Profibus the watchdog value for each of the slave devices is overruled by the value determined by the Master DTM Therefore changing the value in the Generic Slave DTM has no effect 2 6 3 Setting Parameters Example 34 The parameters are sent by the Master unit to the slave device prior to estab lishing I O data exchange The slave device will reject incorrect parameters and not establish I O data exchange unless the parameters are changed In general there will be two types of parameters e Common Parameters Most of the slave devices require at least the common parameters These parameters apply to the whole slave device e Module Parameters Modular slaves often apply parameters related to a specific I O module e g the physical slave device consist of a number of hardware modules each defining an amount of I O data requiring its I O module selection an
43. ated DIP switches To connect with the unit use the second button in the menu starting from the left see figure below l5 x File F Communication C View v TrendMonitor T Option 0 Help H BFF 6d am Channel name Tag name Channel 1 CH1 Channel 1 CH2 Channel 2 Parameter Name SP CH1 Setting Range 200 1300 EL ESZN 20 H03TC FLK 7 E SA CHI Eo eam o UpdetelU B Control in progress Parameters E 3 Operation level CH1 larm Value 1 CH1 Factory default f Jarm Upper Limit Value 1 CH i larm Lower Limit Value 1 CH E Alarm Value 2 CH1 Parameter Value 0 j 8 Alarm Upper Limit Value 2 CH Reset edit B Alarm Lower Limit Value 2 CH E Alarm Value 3 CH1 Manual MY CH1 2 3 Adjustment level 3 Proportional Band CH1 Pax This parameter sets the required temperature SetPoint channel 1 S Intanral Time ofl 03 04 04 13 59 05 The setting of EXZN 2Q HO3TC FLK begins Ready OFF line When connected with CX Thermo you can configure the required TC For detailed information please use the ThermoTool online help and read the manual of the used Temperature Controller 45 Host Link communication Section 3 4 Note Make sure that the baud rate settings in CX Thermo is the same as selected on the Gateway with DIP switch 1 and 2 It is required to use the following communication format e Data length 7 bits e Stop bit length 2 bits e Parity even
44. ation of the PRT1 SCU11 PROFIBUS DP Gateway to Host Link Compoway F You must read this section and understand the information contained before attempting to set up or operate a PROFIBUS DP Gateway to Host Link Compoway F system 1 Intended Audience sex se nee BRE are Re ae aE A He Raced RS xii 2 General Precautions orres orie SES end pie ae Pe et dais xii 3 Safety PreC MONOS ga 35 kop bes Ma a a Seal E ca So aes Ai da xii 4 Operating Environment Precautions xiii 5 Application Precautions xiii 6 Conformance to EC Directives XV 6 1 Applicable Directives XV 6 2 Concept LS nt re ES LR A OE dd Med dote XV 6 3 Conformance to EC Directives XV xi Intended Audience 1 2 3 xii Intended Audience This manual is intended for the following personnel who must also have a knowledge of electrical systems an electrical engineer or the equivalent e Personnel in charge of installing FA systems e Personnel in charge of designing FA systems e Personnel in charge of managing FA systems and facilities General Precautions N WARNING The user must operate the product according to the performance specifica tions described in the operation manuals Before using the product under conditions which are not described in the manual or applying the product to nuc
45. c Special Operation Executed word Note The table lists all possible variables for the maximum size function block i e the Extended block for the E5_R For other basic extended function blocks subsets of variables apply 59 Function Block Programming Appendix B B 3 Operate Function Block The Operate Function Block facilitates the transmission of aN OPERATE command to a specific temperature Controller refer to section 3 3 3 Free communication blocks The table below lists the specifics of this func tion block Item Basic function Description Sends an Operation command to a specified Temperature Controller via PROFIBUS Symbol Start Trigger Busy Flag Start Word Profibus output data Start Word Profibus input data Unit No of TC BOOL EN UINT StratWordOutput UINT StartWordinput UINT UnitNo UINT CommandCode UINT Relatedinformation BOOL ENO WORD ResponseCode BOOL Busy Response code from TC Busy flag Command Code Related information to the operation command File name PRT1_SCU11_Operate cxf Function description Sends an operation command to the CS1 CJ1W PRM21 PROFIBUS Master I O addresses allo cated to the targeted Temperature Controller specified by the Unit No The command is specified by the command code and related information Precautions Timechart Start Trigger ON JE i Busy Flag BU
46. cautions N WARNING A Caution Observe the following precautions when using the PROFIBUS DP Gateway to Host Link Compoway F Failure to abide by the following precautions could lead to serious or possibly fatal injury Always heed these precautions e Always connect to a class 3 ground 100 Q or less when installing the Units Failure to abide by the following precautions could lead to faulty operation of the Unit or the system or could damage the Unit or Temperature Controllers and R88A MCW151 E Always heed these precautions e Install double safety mechanisms to ensure safety against incorrect sig nals that may be produced by broken signal lines or momentary power interruptions e When adding a new device to the network make sure that the baud rate is the same as other nodes xiii Application Precautions 5 Xiv e When adding a new Host Link or Compoway F node to the network make sure that the PROFIBUS DP Gateway to Host Link Compoway F is pow ered down to prevent unexpected results when starting up the new node e Use specified communications cables e Do not extend connection distances beyond the ranges given in the spec ifications e Always turn OFF the power supply to the personal computer Slaves and Communications Units before attempting any of the following e Mounting or dismounting the PROFIBUS DP Gateway to Host Link Compoway F Power Supply Units I O Units CPU Units or any other Units
47. ccess protection is provided for the inputs and outputs of the slaves operating in multi master systems Only authorized masters can access their slaves 1 1 7 Network Operation Modes PROFIBUS DP distinguishes four different network operation modes OFF LINE e Communication with all PROFIBUS DP participants masters and slaves is stopped The Master ceases to access the PROFIBUS network STOP e Communication between the master and its slaves is stopped Only com munication between the master and other masters is still possible CLEAR e The master tries to set parameters check the configuration and perform data exchange with its associated slaves Data exchange involves read ing the inputs of the PROFIBUS DP slaves and writing zeros to the out puts of the slaves OPERATE e The master exchanges data with its assigned slaves inputs are read and outputs are written Also the master cyclically sends its local status to all its assigned PROFIBUS DP slaves using a broadcast message Auto CLEAR If an error occurs during the data exchange phase of the master the Auto CLEAR function determines the subsequent actions If this function has been disabled the master remains in the OPERATE mode If the function has been enabled the master automatically changes the network to the CLEAR mode in which the outputs of the assigned PROFIBUS DP slaves are switched to zero i e the fail safe state The master continues to read the inputs
48. cial Operation Executed Operation_Exec Word Note Only the function block for a 4 channel E5_R is shown The other function blocks are limited versions of this one 57 Item File name Description PRT1_SCU11_E5_N_Basic_1CH cxf PRT1_SCU11_E5_N_Extended_1CH cxf PRT1_SCU11_E5_R_Basic_1CH cxf PRT1_SCU11_E5_R_Basic_2CH cxf PRT1_SCU11_E5_R_Basic_4CH cxf PRT1_SCU11_E5_R_Extended_1CH cxf PRT1_SCU11_E5_R_Extended_2CH cxf PRT1_SCU11_E5_R_Extended_4CH cxf PRT1_SCU11_E5ZN_Basic_2CH cxf PRT1_SCU11_E5ZN_Extended_2CH cxf Function description e Writes SV Operation command to the CS1 CJ1W PRM21 PROFIBUS Master I O addresses allocated to the targeted Temperature Controller e Reads PV MV Status Operation Executed words from the CS1 CJ1W PRM21 PROFIBUS Mas ter I O addresses allocated to the targeted Temperature Controller EN Input condition Connect EN to an OR between an upwardly differentiated condition for the start trigger and the BUSY output from the Function Block Restrictions on Input variables e Always use an upwardly differentiated condition for the EN e Ifthe Input variables are out of range the ENO flag will turn OFF and the Function Block will not be processed Application example Start Trigger BOOL 141 No Start Word Profibus output data amp 3300 Start Word Profibus input data amp 3200 SV Channel 1 amp 100 SV Channel 2 BOOL ENO UINT StratWordOutput UI
49. d code Response MRC SRC code Refer to the operation manual of the required Temperature Controller for more commands and detailed information Stopping channel 1 of the E5_R uses the command 000530050101 hex command code is 3005 hex followed by the instruction code 0101 hex The device address used in this example is 0005 hex Assuming there is no error the response is four bytes 30050000 hex This command type consists of 5 settings represented as follows Compoway F communication Section 3 3 Device Command Variable Read start Bit position Number of address code type address elements MRC SRC Note Example Write mini FINS command The response of this command for a correct executing of the command is defined as Command code Response MRC SRC code Refer to the operation manual of the E5ZN Temperature Controller for more detail regarding the read mini FINS command 1 The actual data to be written to the Temperature Controller consists of one double word Ifa CS1 CJ1 PLC is used to assemble the WRITE command de data will be swapped before sending it over PROFIBUS due to the communication formats of both Compoway F and PROFIBUS The PLC program must swap these words before the data can be transmitted 2 For CX Programmer 5 0 or higher OMRON provides function blocks to im plement the assembly of the free communication READ command When processing the response this function block will perform the w
50. d requiring its own parameters The Parameter tab of the PROFIBUS DP Gateway Unit is shown in the figure below It lists the parameters for the selected temperature controller the E5ZN Extended 2 Channel 11WI 3WO The parameter captions are listed in the left column and the options can be set in the right column In order to change settings double click the required parameter row with the left mouse button Depending on the parameter type either a drop down list will become available for selection or a value can be entered Configuring the PROFIBUS DP network Section 2 6 Example Note E Device PRT1 SCU11 GSD File OC_0780 gsd Vendor OMRON Corporation Ident Number 00780 Configuration Parameter Group Module ESZN Extended 2 Channel 11414340 y Parameters Dutput data on PROFIBUS Fail Hold Last Value Send Stop N I Decimal values In the figure above the parameter setting allowing the user to define the tar get location of the output data in the PLC memory has been selected Readable captions and or convenient selection items are not always provided with the parameters Depending on the slave device and the GSD file imple mentation setting the parameter values may require the help of the user doc umentation for that slave 35 SECTION 3 Operation This section describes how to operate the PROFIBUS DP Gateway to Host Link Compoway F Unit in a network It will discuss setting up a network c
51. data words Each device has at least one Fixed communication block for specific status and control words In the next table an overview of all devices and their communication blocks is listed In addition to the Input and Output words a number of I O modules also provide Special Operations words which can be used to change the control status of a Temperature Con troller for example from STOP to RUN Compoway F Device type Module name Empty slot No device Output words Input words Number of channels E5_R Basic 1 channel SV channel 1 PV channel 1 E5_R Basic 2 channels SV channel 1 SV channel 2 PV channel 1 PV channel 2 E5_R Basic 4 channels SV channel 1 SV channel 2 SV channel 3 SV channel 4 PV channel 1 PV channel 2 PV channel 3 PV channel 4 E5_R Extended 1 channel SV channel 1 Special operation See Note PV channel 1 MV1 channel 1 MV2 channel 1 Status high word channel 1 Status low word channel 1 Operation execute E5_R Extended 2 channel SV channel 1 SV channel 2 Special operation See Note PV channel 1 MV1 channel 1 MV2 channel 1 Status high word channel 1 Status low word channel 1 PV channel 2 MV1 channel 2 MV2 channel 2 Status high word channel 2 Status low word channel 2 Operation execute E5_R Extended 4 chan nels SV channel 1 SV channel 2 SV channel 3 SV channel 4 Special operation See Note PV channel
52. e TC 3 Operation for executing any operation defined in TC In the next table an overview is presented on how the free communication blocks are composed for several different device types Compoway F Device Module name type Free comms Read 4 WI 5 WO Output words Input words Total Total Number output input of words words channels Device address 1 word Response code 2 words Free comms Write 2 WI 7WO Command data 4 words Read data 2 words Device address 1 word Response code 2 words Command data 4 words Write data 2 words Free comms Opera tion 2 WI 3 WO Operation mini FINS command Example Read mini FINS command 42 Device address 1 word Response code 2 words Command data 2 words A free communication block always contains a device address one word with a value in the range between 0000 hex and 0063 hex and a mini FINS command The length of the mini FINS command depends on the command type operation write or read to be executed This command type consists of a command code MRC SRC followed by an instruction code the value of this instruction code is command type depen dent The operation of a mini FINS command is defined as follows Device address Command code Instruction code amp MRC SRC related information 2 bytes 2 bytes 2 bytes The response of this command for a correct executing of the command is defined as Comman
53. e cus tomer must therefore perform final checks to confirm that units and the over all system conforms to product standards A Declaration of Conformity for the PROFIBUS DP Gateway Unit can be requested at your nearest OMRON representative 6 3 Conformance to EC Directives 1 2 3 PROFIBUS units should be installed as follows for the complete configuration to meet the EC directives 1 The units are designed for installation inside control panels All units must be installed within control panels 2 Use reinforced insulation or double insulation for the DC power supplies used for the communications power supply internal circuit power supply and the I O power supplies 3 The PROFIBUS DP Gateway product meets the generic emission stan dard However as EMC performance can vary in the final installation ad ditional measures may be required to meet the standards It should therefore be verified that the overall machine or device also meets the rel evant standards You must therefore confirm that EC directives are met for the overall machine or device particularly for the radiated emission re quirement 10 m XV SECTION 1 Features and Specifications This section provides an introductory overview of PROFIBUS its functions and how to setup and configure a network It also addresses the PROFIBUS DP Gateway Units and the Configurator their features and specifications 1 1 Overview of PROFIBUS
54. e de EPS OER See aa hee de xii 3 Safety Proc at ee ee dant E A ORA ee ii xii 4 Operating Environment Precautions xiii 5 Application Precautions xiii 6 Conformance to EC Directives XV SECTION 1 Features and Specifications 1 l Overview of PROFIBUS o ei os pf Oi tee os Melek Ales eA BE Saas 2 1 2 PROFIBUS DP Network configuration 7 1 3 PROFIBUS DP Gateway Unit 2 9 1 4 Basic Operating Procedure 14 SECTION 2 Installation and Wiring 17 2 1 Unit Components s0 4 a A DS Aad eres Meee Ge A Ak A 18 2 2 Installing the PROFIBUS DP Gateway Unit 22 2 3 Wiring the RS 422 RS 485 Devices 23 2 4 Initial Setup Procedure 26 2 5 Setting up a PROFIBUS network 27 2 6 Configuring the PROFIBUS DP network 32 SECTION 3 Operations lt a ds 207 3 1 Introduction ani A ta aa 38 3 2 PROFIBUS communication 38 3 3 Compoway F communication
55. e specific software com ponents called Device Type Managers DTM The FDT DTM concept separates the device dependent functionality which is in the DTM from the application It provides separate interfaces for device configuration monitoring and maintenance solutions which before largely depended on the manufacturer of the application Because of this concept FDT DTM technology is not limited to PROFIBUS applications In concept any type of network can be configured and accessed provided the appropri ate DTM s are available CX Profibus is an example of a FDT container application It is described in detail in the following sections The older and most commonly used configuration technology is the based on GSD files General Slave Data file A GSD file is a text file containing the characteristic features and configuration options of a device The device data base file of each device is loaded in the configurator and downloaded to the master device GSD files are usually supplied with a unit or can be downloaded from the Internet either from the manufacturer s site or from the GSD library of the PROFIBUS Nutzer Organisation at http www profibus com The language used in the GSD file is indicated by the last letter of the file extension GS Default GSD English GSE German GSG Italian GSI Portuguese GSP Spanish GSS The GSD files are prepared individually by the vendor for each type of device according
56. e whole device Diagnostics e g over temperature low voltage Module Related e Messages indicating that an error is present in a specific I O range of a Diagnostics device e g an 8 bit output module Channel Related e Messages indicating an error at a given input or output e g short circuit Diagnostics on Output 5 1 1 6 Protection mechanisms Monitoring Time PROFIBUS DP provides effective protection functions against parameteriza tion errors or failure of the transmission equipment Time monitoring is pro vided both at the master and the slave devices The monitoring interval is specified when the system is configured Monitoring at the Master The PROFIBUS DP Master monitors data transmission of the slaves with the Data Control Timer A separate control timer is used for each slave This timer expires if response data is not correctly transmitted by the slave within the monitoring interval The user is informed when this happens If the auto matic error reaction Auto CLEAR has been enabled the PROFIBUS DP Overview of PROFIBUS Section 1 1 master exits its OPERATE state switches the outputs of all assigned slaves to the fail safe status and changes to the CLEAR state Monitoring at the Slave Slave devices use a watchdog to detect failures of the master or the bus If data communication with the master does not occur within the set watchdog time interval a slave automatically switches its outputs to the fail safe mode Also a
57. ent value in the units e Send special operation commands e according to the PROFIBUS configuration FCB the command data is first obtained from the PROFIBUS output data received from the Master and next the command is sent to the addressed unit The command response is returned to the Master as PROFIBUS input data The PROFIBUS DP Gateway is provided with a variety of troubleshooting functions for prompt recovery in case of errors e Extensive self diagnostic function at startup e Diagnostics information is sent to the PROFIBUS Master unit in case One or more units attached to the PROFIBUS DP Gateway Unit have a communication error e The PROFIBUS DP Gateway Unit has a system error PROFIBUS DP Gateway Unit Section 1 3 e Diagnostics flags indicating if units attached to the PROFIBUS DP Gate way Unit are functioning correctly For Host Link there is a communication active bit that indicates if the received PROFIBUS data is relevant 1 3 2 Specifications PROFIBUS DP Gateway Unit Specifications Item Specification Installation Model PRT1 SCU11 Mounting position DIN rail mounted Power supply 24 Vdc 10 15 20 4 to 26 4 Vdc Current consumption 85 mA max 75 mA typical at 24 Vdc Dimensions W x H x D 40 x 90 x 65 mm Weight 130g Environment Ambient temperatures Operating temperature 0 to 55 C Storage temperature 20 to 75 C Ambient operating humidi
58. eway to Host Link Compo way F Section 3 describes operational aspects of the PROFIBUS DP Gateway to Host Link Compoway F Section 4 provides procedures for troubleshooting the PROFIBUS DP Gateway to Host Link Compo way F The Appendices contain information supplementary to the information in the main body of the man ual They are referred to in the various sections as required Manual CS CJ Series PROFIBUS DP Master Units Operation Manual Products SYSMAC CS1 CJ1W PRM21 Contents Describes the Installation and Opera tion of the CS1 CJ1W PRM21 PROFI BUS DP Master Units and CX Profibus Configurator W409 E2 E5GN Temperature Controller User manual E5GN Temperature Controller Describes the Installation and Opera tion of the E5GN Temperature Control ler H101 E1 0 E5EN Temperature Controller User manual E5EN Temperature Controller Describes the Installation and Opera tion of the E5EN Temperature Control ler H111 E1 E5AN Temperature Controller User manual E5AN Temperature Controller Describes the Installation and Opera tion of the E5AN Temperature Control ler H112 E1 E5CN Temperature Controller User manual E5CN Temperature Controller Describes the Installation and Opera tion of the E5CN Digital Temperature Controller H129 E1 E5LIN Communication Func tions User manual E5AN E5EN E5CN E5GN Tem perature
59. iguration shows three active devices masters and six passive devices slaves The three masters form a logical token ring When an active device receives the token message it can perform its master role for a certain period of time During this time it can communicate with all assigned slave devices in a mas ter slave communication relationship and a DPM2 master can take the initia Overview of PROFIBUS Section 1 1 tive to communicate with DPM1 master devices in a master master communication relationship Token Passing Eu ed Bee ERA Passive stations Slave devices PROFIBUS Multi peer Communication In addition to logical peer to peer data transmission PROFIBUS DP provides multi peer communication broadcast and multicast Broadcast In the case of broadcast communication a master device sends an unac Communication knowledged message to all other devices masters and slaves Multicast Communication In the case of multicast communication a master device sends an un acknowledged message to a predetermined group of devices masters and slaves 1 1 5 Diagnostic functions Extensive Diagnostics Extensive diagnostic functions defined in PROFIBUS DP enable the fast loca tion of error at slave devices Diagnostic messages are transmitted over the bus and collected at the master Three levels of diagnostic messages are defined Device Related e Messages concerning the general operational status of th
60. in one message to 244 bytes PROFIBUS does not allow the sum of input and output words to exceed this limit The PROFIBUS DP Gateway limits the total number of input words to 200 words and the total number of output words to 200 words but the actual sum for one unit can not exceed the 400 words limit Easy specifying and sending of Compoway F operation commands to change the mode of the configured temperature controllers The PROFIBUS DP Gateway Unit supports Free Communication Blocks FCB data exchange with the Master Three types of FCB s are defined the types are Operate Read and Write e Operate execution of any operation command which is defined in a tem perature controller e Write execution of any one element write command of parameters defined in a temperature controller e Read execution of any one element read command of parameters defined in a temperature controller The PROFIBUS DP Gateway Unit supports cyclic Master Slave communica tions called data exchange mode In data exchange mode the Unit e retrieves all data from the attached units Compoway F or Host Link according to the PROFIBUS configuration and stores this data in the PROFIBUS input buffer All input data is obtained before the data is sent to the PROFIBUS Master as input data e writes all data from the PROFIBUS outputs to the attached units accord ing to the PROFIBUS configuration but only if the data received from the Master differs from the curr
61. ine Network A Line 110 mH close to the specified limits for maximum numbers of devices maximum bus segment length and maximum data transfer rate In addition to the bus termination additional precautions must be taken to ensure proper operation at high baud rates i e baud rates of 500 kbit s and higher Due to the capacitive load of the device and the resulting cable reflec tions bus connectors must be provided with built in series inductors of 110 MH each as shown in the figure on the left Installing the inductors applies to all devices on the network and not only to the devices at both ends of the bus cable 2 5 3 PROFIBUS Cable Connector Bus Cable Connector 30 termination To next station From previous station The plug connector to be used on the PROFIBUS DP Gateway Unit is a 9 pin male sub D type preferably encased in metal and having a facility to connect the shield of the cable to the case or to pin 1 The cable should be connected to the receive transmit lines pin 3 B line and pin 8 A line The use of special PROFIBUS DP cable connectors which are available from several manufacturers is highly recommended Various models are widely available with or without the bus termination and inductors built in If provided in the connector the Bus termination can often be enabled or disabled through a switch on the connector The special PROFIBUS DP cable connectors often pro
62. ion in case the unit error RUN LED is lit Blink The Unit was not able to initialize normally due to a fatal error during system startup Lit Fatal error during operation occurred FCOM Not lit No communication with all Host Link Compoway F devices This may Host Link Compoway F be due to a communication failure broken wire a non initialized communication PROFIBUS DP interface or the PROFIBUS DP Gateway Unit is not exchanging data with all configured R88A MCW151 E or Temperature Controllers Blink Compoway F communication is performed through the auxiliary port The PROFIBUS DP interface is bypassed Lit Host Link Compoway F communication active no errors FERR Not lit No Host Link Compoway F errors present The PROFIBUS DP Gate Host Link Compoway F way Unit is exchanging data with all configured R88A MCW151 E or error Temperature Controllers Lit A Host Link Compoway F communication failure occurred COMM Not lit The PROFIBUS DP Gateway Unit is not in Data_Exchange with the PROFIBUS communica PROFIBUS DP master tion Blink Auxiliary port ready PROFIBUS DP interface is not active Lit The PROFIBUS DP Gateway Unit is in Data_Exchange with the PROFIBUS DP master BF Not lit No PROFIBUS DP communication errors Set_Prm and Chk_Cfg mes Bus fail sages have been accepted Data_Exchange in progress Blink Either the Set_Prm or the Chk_Cfg message has been rejected by the PROFIBUS DP Gateway Unit
63. ion block not started Start Word PROFIBUS Out put data StartWordOutput Start Word of PROFIBUS Output data in PROFIBUS Master Output data area Start Word PROFIBUS Input data StartWordinput Start Word of PROFIBUS Input data in PROFI BUS Master Input data area Unit No of TC UnitNo Unit number of TC Command code CommandCode Variable type in TC Information related to the operation com mand Input variables Relatedinformation Specify the Write Start address ENO 1 ON Function block processed normally 0 OFF Function block not processed or ended in an error Result of execu tion of the com mand ResponseCode Outputs the error code when execution ended in an error in the communications command level Refer to section 3 3 3 Free communica tion blocks for more information Busy flag Output variables B 4 Read Function Block Automatically turns OFF when processing is completed The Read Function Block facilitates the transmission of a READ command to a specific temperature Controller refer to section 3 3 3 Free communication blocks The table below lists the specifics of this function block Item Description Reads data from a Temperature Controller s variable area Basic function Symbol Start Trigger A BOOL ENO Busy Fla CID yes one StratWordOutput ResponseCode Response code from TC
64. it is damaged it will effect the entire Network so always ensure repairs are undertaken immediately It is recommended to have a spare PROFIBUS DP Gateway Unit on hand so that repairs may be conducted quickly Replacement Precautions Observe the following precautions when replacing the Unit e Always turn OFF the power before replacing the Unit e Ensure that the new Unit is not faulty e If a poor connection is suspected of causing the malfunction clean the connectors using a clean soft cloth and industrial grade alcohol Remove any lint or threads left from the cloth and remount the Unit e When returning a faulty unit for repair always attach a detailed fault report to the unit and return it to the nearest OMRON dealer Note 1 In order to prevent faulty operation be sure to turn off the power to all mas ter and slave devices before replacing the Unit 2 When replacing the Unit do not reconnect it to the Network before carrying out the procedures listed below 53 Appendix A Memory Mapping The table below lists the Mapping of individual parameters in the Basic and Extended on to the applicable Temperature Controller variable areas Parameter E5_N E5ZN E5_R Loop 1 Loop 2 Loop 1 Loop 2 Loop 3 Loop 4 PV C0 0000 C0 0000 CO 0100 CO 0000 CO 0100 CO 0200 C0 0300 sv C1 0003 C1 0003 C1 0103 C1 0003 C1 0103 C1 0203 C1 0303 Basic block PV C0 0000 C0 0000 C0 0100 CO 0000 C0 0100 C0 0200
65. lear control systems railroad systems aviation systems vehicles combustion systems medical equipment amuse ment machines safety equipment and other systems machines and equip ment that may have a serious influence on lives and property if used improperly consult your OMRON representative Make sure that the ratings and performance characteristics of the product are sufficient for the systems machines and equipment and be sure to provide the systems machines and equipment with double safety mechanisms This manual provides information for programming and operating OMRON PROFIBUS DP Gateway to Host Link Compoway F Be sure to read this manual before attempting to use the Unit and keep this manual close at hand for reference during operation It is extremely important that the Unit is used for its specified purpose and under the specified conditions especially in applications that can directly or indirectly affect human life You must consult your OMRON representative before using it in a system in the above mentioned applications Safety Precautions N WARNING N WARNING N WARNING Do not attempt to take any Unit apart while the power is being supplied Doing so may result in electric shock Never touch any of the terminals while power is being supplied Doing so may result in serious electrical shock or electrocution Do not attempt to disassemble repair or modify any of the Units Any attempt to do so may re
66. lling the PROFIBUS DP Gateway Unit 2 2 1 Handling Precautions 2 2 2 Mounting the PROFIBUS DP Gateway Unit 2 2 3 Wiring the Power Terminals Wiring the RS 422 RS 485 Devices 2 3 1 Precautions when wiring 2 3 2 2 Wire and 4 Wire Connections 2 3 3 Connection for ES_N Compoway F Communications 2 3 4 Connection for ESZN Compoway F Communications 2 3 5 Connection for ESER ESAR Compoway F Communications 2 3 6 Connection for R88A MCW151 E Host Link Communications Initial Setup Procedure 2 4 1 Selecting a node address Setting up a PROFIBUS network 2 5 1 Network Structure 2 5 2 Bus Termination 2 5 3 PROFIBUS Cable Connector 2 5 4 Shielding Precautions Configuring the PROFIBUS DP network 2 6 1 Configuring the Slave Devices 2 6 2 Defining the I O configuration 2 6 3 Setting Parameters 18 18 18 19 21 21 22 22 22 23 23 23 23
67. mp 99 BOOL BOOL EN ENO UINT WORD Response code from TC StratWordOutput ResponseCode Channel 2 UINT BOOL Busy flag StartWordinput Busy Bit B UINT UnitNo UINT VarType UINT WriteStartAddress DWORD DataWrite The table below lists the Input and Output variables for the Write function block 0 a S o gt G 5 o EN Variable name EN Default Description 1 ON Function block started 0 OFF Function block not started Start Word PROFIBUS Out put data StartWordOutput Start Word of PROFIBUS Output data in PROFIBUS Master Output data area Start Word PROFIBUS Input data StartWordinput Start Word of PROFIBUS Input data in PROFIBUS Master Input data area Unit No of TC UnitNo Unit number of TC Variable Type VarType Variable type in TC Write Start address from TC WriteStartAddress Start address of variable to which the data must be written Data to be written DataWrite Specify the data to be written Output variables ENO ENO 1 ON Function block processed normally 0 OFF Function block not processed or ended in an error Result of execu tion of the com mand ResponseCode Outputs the error code when execution ended in an error in the communications command level Refer to section 3 3 3 Free communica tion blocks for more information Busy flag
68. nction block Application example Start Word Profibus output data amp 3200 Start Word Profibus input data amp 3300 Unit No of TC 81 Variable Type C0 Read Start address from TC 0100 BOOL ENO WORD ResponseCode DWORD DataRead BOOL Busy Response code from TC Channel 2 Data read from TC Channel 2 Busy flag Bit B StratWordOutput UINT StartWordInput UINT UnitNo UINT VarType UINT ReadStartAddress The table below lists the Input and Output variables for the Read function block EN Variable name EN Default Description 1 ON Function block started 0 OFF Function block not started Start Word PROFIBUS Out put data StartWordOutput Start Word of PROFIBUS Output data in PROFIBUS Master Output data area Start Word PROFIBUS Input data StartWordinput Start Word of PROFIBUS Input data in PROFIBUS Master Input data area Unit No of TC UnitNo Unit number of TC Variable Type VarType Variable type in TC Read Start address from TC Input variables 62 ReadStartAddress Specify the Read Start address Function Block Programming Appendix B Name Data _ Default type Variable name Range Description 1 ON Function block processed normally 0 OFF Function block not processed or ended in an error Result of execu tion of the com mand Outputs the error
69. nds on the cable and the selected baud rate Also RS 485 specifies a maximum of up to 32 devices master and slave devices per line segment If more than 32 devices are to be con nected or if the total length of the segment must be extended beyond its max imum repeaters must be used to link the separate segments Repeaters are devices which connect two segments They do not have a device address of their own but they do count in the total number of devices in a segment A maximum of up to three repeaters between two devices in a network can be used i e a network can consist of up to 4 segments The maximum number 27 Setting up a PROFIBUS network Section 2 5 Tree Topology Cable Type 28 of PROFIBUS devices in such a network is then 122 The figure below shows an example of a two segment network i Termination a Repeater Termination ES E O Termination N ion Terminati Station 33 Station 32 The use of repeaters allows the extension of three or more Linear Bus seg ments into a Tree topology In a tree topology more than three repeaters are allowed provided that there are no more than three repeaters between any two devices in the network The following figure presents an example of a net work with more than three segments and repeaters Segment 1 Segment 2 Max 31 stations Max 31 stations Segment 3 Max 28 stations Segment 4 Max 31 station
70. nel number in it s format The Command Code in the word allows selection of the action to be per formed the channel to which the action will apply is set with the Channel Number Command Word 15 14 131211109 8 7 6 5 4 3 2 1 O Command Code Channel Number Response word The command is sent immediately when any bit in the command word changes Once the command has been sent the response is placed in the PROFIBUS input operation Execute word The format of the response is dis played in the figure below If the execute word has the error bit bit 4 set an error occurred in communicating with the attached device Response Word 15 14 1312111098 765 43 2 1 O Command Code Error Channel Number 40 Compoway F communication Section 3 3 Note Wait until the execute word is the same as the command word before sending a new command except for the error bit An overview of all the commands channel numbers and error codes and their numerical values is given in the next table Bit group Value description name Command 0000 Clear command code 0001 Run 0010 Stop 0011 AT Cancel 0100 AT Execute 0101 Auto 0110 Manual 0111 1111 Reserved Channel 000 Channel 1 numbers 001 Channel 2 010 Channel 3 011 Channel 4 100 11
71. nfiguration Identifier a Empty Slot No Device 0w1 0w0 0x00 A ESZN Basic 2 Channel 214240 OxF1 ES2ZN Extended 2 Channel 111 3W0 OxE2 0xDA Insert Append Configured Modules su T stot Module Name Module Configuration Identifier a E5_N Basic 1 Channel 1W1 14 0 OxFO ES2N Basic 2 Channel Zw1 2w0 OxF1 F5 N Fytended 1 Channel Al AN NFT NS ES2N Extended 2 Channel 11 OxE2 0xD4 E5_N Basic 1 Channel 11 10 OxFO Empty Slot No Device OWil 0 0x00 FR N F vtended 1 Channel Fraile NE 1 ANS Anea NI Remove OK Cancel Apply Help Note 1 When pressing the Insert button the selected I O module will be inserted above the selected module in the Configured Modules list 2 The selected I O modules are sent to the slave device in the same se quence as selected in the user interface The sequence determines the target Temperature Controller R88A MCW151 E for the I O data For ex ample the I O data of the first selected Fixed Communication Block will be sent to the first temperature Controller 3 Amandatory I O module sequence is sometimes indicated in the GSD file by using non PROFIBUS standard GSD file keywords i e only interpreted by a specific configurator The Generic Slave DTM does not check such keywords In this case refer to the manual of the specific device for details 4 Also in this window are the maximum values which can be set and the to tals of I O data that
72. of the slaves Fail safe State PROFIBUS DP Network configuration Section 1 2 1 2 PROFIBUS DP Network configuration Configuration Technology FDT DTM Concept GSD file Technology GSD File Language In order to operate a PROFIBUS network each master in the network needs to be configured This process of PROFIBUS master configuration involves e setting up the network topology i e assigning the slave devices with which the master will be exchanging data e defining the parameterization data which the master will send to each of the slave devices before process data exchange can commence e defining the configuration data i e defining the process data which will be exchanged e setting up the bus parameters which define the baud rate and the bus timing parameters e downloading the configuration setup to the master device The configuration process is usually facilitated by a special Computer based program often referred to as a Configurator The Configurator requires spe cial configuration files defining the configuration options for each device which is to participate in data exchange The files must be provided by the manufacturer of the device Two types of configuration technology exist Configuration technology based on FDT DTM technology e Configuration technology based on GSD files The FDT DTM concept specifies the interfaces between the engineering sys tems called Field Device Tools FDT and the devic
73. ommunication bus system based on RS 485 to communicate with a range of Temperature Controllers including the E5ZN range of temperature controllers Host Link Host Link is the OMRON proprietary serial communication bus system based on RS 422 to communicate with the R88A MCW151 E for W series drives PROFIBUS DP Gateway Unit Section 1 3 IBM compatible Personal Computer 1 0 Data Special operations Free Communication Blocks Troubleshooting Functions 10 An IBM compatible Personal Computer is connected to the PROFIBUS DP Gateway Unit via a RS 232C serial communication to the auxiliary port Appli cation programs running on the Personal Computer can through the auxiliary port communicate with Compoway F components bypassing the PROFIBUS DP interface The data exchanged over PROFIBUS DP are words and represent either fixed length communication blocks or free communication blocks Fixed blocks are predefined data blocks of data status data is read from and control data is written to each temperature controller or R88A MCW151 E unit These fixed blocks are defined in the Unit and cannot be changed by the user the most commonly used way to exchange data between a Master and the Unit On the other hand there are Free Communications Blocks which allow the user to send any Compoway F read write or operate instruction to a attached device without unit interference PROFIBUS limits the total number of input and output words
74. on 1 ON Function block started 0 OFF Function block not started Start Word PROFIBUS Out put data StartWordOutput Start Word of PROFIBUS Output data in PROFIBUS Master Output data area Start Word PROFIBUS Input data StartWordinput Start Word of PROFIBUS Input data in PROFI BUS Master Input data area SV values SV_CH1 SV Channel 1 SV_CH2 SV Channel 2 SV_CH3 SV Channel 3 SV_CH4 SV Channel 4 Operation Com mand Oper_Cmmnd Special Operation Executed word Output variables ENO ENO 1 ON Function block processed normally 0 OFF Function block not processed or ended in an error Process variables PV_CH1 PV Channel 1 MV1_CH1 MV1 Channel 1 MV2_CH1 MV2 Channel 1 Status_HW_CH1 Status High Word Channel 1 Status_LW_CH1 Status Low Word Channel 1 PV_CH2 PV Channel 2 MV1_CH2 MV1 Channel 2 MV2_CH2 MV2 Channel 2 Status_HW_CH2 Status High Word Channel 2 Status_LW_CH2 Status Low Word Channel 2 PV_CH3 PV Channel 3 MV1_CH3 MV1 Channel 3 MV2_CH3 MV2 Channel 3 Status_HW_CH3 Status High Word Channel 3 Status_LW_CH3 Status Low Word Channel 3 PV_CH4 PV Channel 4 MV1_CH4 MV1 Channel 4 MV2_CH4 MV2 Channel 4 Status_HW_CH4 Status High Word Channel 4 Status_LW_CH4 Status Low Word Channel 4 Operation_Exe
75. onfiguring all the connected devices and starting the network Furthermore it provides information the I O data exchange performance and it also provides information on how to monitor a network using the unit and monitoring the status of the TC by using CX Thermo not shipped by the PROFIBUS DP Gateway Unit Sel Introd etion sex bocce he hese aS Oe EE RG NG FA eS AG ROS RES 38 3 2 PROFIBUS communication 38 3 3 Compoway F communication 39 3 3 1 Fixed communication blocks 39 3 3 2 Special operation 40 3 3 3 Free communication blocks 42 3 3 4 Auxiliary RS 232C interface 44 3 4 Host Link communication 46 37 Introduction Section 3 1 3 1 Introduction Note This section discusses the operational aspects of using the PROFIBUS DP Gateway to Host Link Compoway F Unit and the configuration software The section has been setup to follow the general process flow of setting up and configuring a network downloading the configuration and operating the PROFIBUS network the Compoway F network or the Host Link network The PROFIBUS master can communicate with the Gateway with fixed com munication block and with free communication blocks In case Error messages are displayed while using CX
76. ontroller 25 Temperature Controllers 24 Termination resister 12 Termination Resistor 29 Token Passing 4 Trademarks vi Transmission Speed 3 Transmission speed 3 Troubleshooting 10 U Unit replacement 53 Precautions 53 Using CX Thermo 44 vibration resistance 11 Watchdog 34 69 70 Wire A 30 Wire B 30 Wiring 31 Write 42 43 Write mini FINS command 43 Index Revision History A manual revision code appears as a suffix to the catalog number on the front cover of the manual Cat No WO1E EN 01 Revision code The following table outlines the changes made to the manual during each revision Revision Code Dae Revised Content November 22 2004 Initial version 71
77. or similar device The cable shield should con tinue in the cabinet right up to the PROFIBUS device Ensure that the Unit and the control cabinet in which it is mounted have the same ground potential by providing a large area metallic contact to ground e g galvanized steel to ensure a good electrical connection Grounding rails should not be attached to painted surfaces For further information regarding PROFIBUS network installation please refer to Installation Guideline for PROFIBUS DP FMS PNO Order No 2 112 which is available at every regional PROFIBUS Organization The information covers e Commissioning of PROFIBUS equipment e Testing the PROFIBUS cable and bus connectors e Determining loop resistance e Testing for correct bus termination e Determining the segment length and cable route e Other test methods Example of an equipment report in the PROFIBUS guideline 31 Configuring the PROFIBUS DP network Section 2 6 2 6 Configuring the PROFIBUS DP network Defining the Configuration After making the physical connections of the network the configuration then has to be defined in the software using the PROFIBUS Master s configuration tool OMRON provides a Personal Computer based configuration program called CX Profibus only required for OMRON masters as well as the required DTM s for this purpose It must be used to e Install new GSD file e Define the master s e Assign slaves to their respec
78. ord swap ping automatically Refer to Appendix B Function Block Programming for more details Reading the internal setpoint of channel 1 start address 2 1 element to read is done with the command 0101C10002000001 hex The response is no error occurred 010100000000000000000000 hex This command type consists of 6 settings represented as follows Device Command Variable Write Bit NAmber address code type start position MRC SRC address sirens The response of this command for a correct executing of the command is defined as Command code Response MRC SRC code 1 Refer to the operation manual of the E5ZN Temperature Controller for more detail regarding the read mini FINS command The actual data read from the Temperature Controller consists of one dou ble word Due to the communication formats of both Compoway F and PROFIBUS de data will end up as two swapped words in a CS1 CJ1 PLC when the CS1 CJ1W PRM21PROFIBUS Master is used The PLC pro gram must swap these words before the data can be sued 2 For CX Programmer 5 0 or higher OMRON provides function blocks to im plement the assembly of the free communication WRITE command When 43 Compoway F communication Section 3 3 Example Sending free communication blocks Broadcast Example Note processing the response this function block will perform the word swap ping automatically Refer to Appendix B Function Block Programming for more details
79. otocol is based on the Open System Interconnection OSI reference model in accordance with the inter national standard ISO 7498 see the following illustration The model defines 7 layers of communication functions three of which layers 1 2 and 7 are used in PROFIBUS e Layer 1 the Physical Layer of this model defines the physical transmis sion characteristics e Layer 2 the Data Link Layer of this model defines the bus access proto col This protocol also includes data security and the handling of trans mission protocols and telegrams e Layer 7 the Application Layer of this model defines the application func tions This Layer is only applicable to PROFIBUS FMS Overview of PROFIBUS Section 1 1 OSI Layer 1 2 and User Interface OSI Layer 1 Transmission Medium RS 485 Technology RS 485 Transmission Speed Cable length DP Profiles User Interface Layer DP Basic Functions 7 Application Layer 6 Presentation Layer 5 Session Layer NOT DEFINED 4 Transport Layer 3 Network Layer 2 Data Link Layer 1 Physical Layer PROFIBUS DP uses layers 1 and 2 and the user interface Layers 3 to 7 are not defined for PROFIBUS DP The user interface Layer defines the interface functions for specific application areas i e the PROFIBUS DP basic functions and communication profiles This streamlined architecture ensures fast and efficient data transmission The application functions which are available to
80. ough 15 The address set on the TC R88A MCW151 E must match the slot number of the selected PROFIBUS 1 0 module Free Commu nication Blocks carry their own address as part of the message itself 21 Installing the PROFIBUS DP Gateway Unit Section 2 2 For Host Link Compoway F the standard default communication format is used This format of Host Link Compoway F communication is fixed and cannot be changed the format is e Data length 7 bits e Stop bit length 2 bits e Error detection 1 parity bit even parity 2 2 Installing the PROFIBUS DP Gateway Unit 2 2 1 Handling Precautions When installing the PROFIBUS DP Gateway Unit observe the following han dling precautions e Always turn OFF the power supply to the Unit before mounting or dis mounting the Unit or connecting or disconnecting cables e Provide separate conduits or ducts for the I O lines to prevent noise from high tension lines or power lines e Prevent foreign matters to enter the Unit when wiring Failure to do so may result in malfunction if foreign matter enters the Unit 2 2 2 Mounting the PROFIBUS DP Gateway Unit The PROFIBUS DP Gateway Unit can be mounted directly on a DIN rail Mounting Procedure Mount the PROFIBUS DP Gateway Unit to the DIN rail using the following procedure A Caution Always turn OFF the power supply to the Unit before mounting or dismounting the Unit or connecting or disconnecting cables 1 2 3 Pull the hook down on the bottom
81. physical interface OFF is RS 422 or ON is RS 485 e Switch 2 lower switch Enable ON or Disable OFF termination resistor on the RS 422 RS 485 Receiver lines NODE ADDRESS PERIPHERAL gt ON The two switches are independent of the selected protocol They can be changed during operation and take effect immediately it is recommended to switch the power off before changing switches This means however that if the wrong combination is selected for this Gateway i e Host Link and RS 485 or Compoway F and RS 422 the communication between the PROFIBUS DP Gateway Unit and the connected devices may not work The Unit has no direct way of detecting this apart from a possible time out RS 422A RS485 switch Termination switch Unit Components Section 2 1 2 1 4 PROFIBUS Connector Note The PROFIBUS connector on the font of the Unit is a 9 pin female sub D con nector as recommended by the PROFIBUS standard EN50170 Description Shield Shield protective ground B line Receive Transmit data plus B wire RTS Control signal for repeaters direction control TTL DGND Data ground reference potential for VP Supply voltage of the terminator resistance 5 Vdc Receive Transmit data minus A wire OI A wo mM The signal RTS TTL signal is for the direction control of repeaters which do not have a self controlling capability The signals DGND and VP are used
82. pt at end devices with ter mination it is recommended to always use plug connectors that permit two data cables to be connected directly to the plug This method allows the bus connector to be plugged and unplugged at all times without interrupting data communication between other devices 2 5 2 Bus Termination Termination Resistors vP B Line A Line DGND Network In order to minimize cable reflections and ensure a defined signal level on the data lines the data transfer cable must be terminated at both ends with a ter minating resistor combination The bus termination diagram is shown on the left The bus terminator connects the two data lines via a 220 ohm resistor which in turn is connected to VP 5Vdc and DGND via two 390 ohm resistors Pow ering the terminator resistor via VP 5V and DGND ensures a defined idle state potential on the data lines To ensure the correct functioning up to the highest baud rate the bus cable must be terminated at both its ends A missing bus termination can cause errors during data transfer Problems can also arise if too many bus terminators are fitted since each bus termina tor represents an electrical load and reduces the signal levels and thus the signal to noise ratio Too many or missing bus terminators can also cause intermittent data transfer errors particularly if the bus segment is operated 29 Setting up a PROFIBUS network Section 2 5 Inductors 110 mH B L
83. r I O data areas This appendix describes these function blocks Note Function Blocks are only supported by CX Programmer version 5 0 and higher B 2 Basic Extended Function Blocks A total of 10 function blocks are provided for the basic and extended I O configuration blocks for the E5_N E5ZN and E5_R Temperature controllers The table below lists the specifics of these function blocks Item Description Basic function Writes the SV Operation command and reads the PV MV Status Operation Executed word Symbol Start Trigger AI BOOL BOOL t r EN ENO Start Word UINT WORD Profibus output data StratWordOutput PV_CH1 Start Word UINT WORD Profibus input data StartWordinput MV1_CH1 Les APRI MV2 Channel 1 ME TR CH1 Status High Word Channel 1 SV Channel 3 VORRN VERM CH1 Status Low Word Channel 1 WORD WORD SV Channel Sv CHa PV cH WORD WORD Operation Command word ae eee Le ae MV1 Channel 2 WORD MV2_CH2 Non CH2 Status High Word Channel 2 WORD Status_LW_CH2 WORD PV_CH3 VICIO MV1 Channel 3 ple MV2 Channel 3 he Status High Word Channel 3 WORD Status _LW_CH3 WORD PV_CH4 WORD MV1_CH4 WORD MV2_CH4 WORD Status_HW_CH4 PV Channel 1 MV1 Channel 1 SV Channel 1 SV Channel 2 PV Channel 2 MV2 Channel 2 Status Low Word Channel 2 PV Channel 3 Status Low Word Channel 3 PV Channel 4 MV1 Channel 4 MV2 Channel 4 Status High Word Channel 4 Status Low Word Channel 4 Status_LW_CH4 Spe
84. rite block Free com E5ZN Basic munication write block Note The PROFIBUS Configuration for this slave is limited to 200 bytes input and 200 bytes output 3 3 4 Auxiliary RS 232C interface Using CX Thermo 44 The Gateway has an implemented RS 232C interface With this interface it is possible to connect to an IBM compatible computer with a serial port and send and receive data to a TC using the software package CX Thermo The RS 232C auxiliary interface can only communicate with Compoway F bus Before using CX Thermo DIP switch 4 must be set on a group of four DIP switches is located on the front of the Gateway Unit Note CX Thermo is not shipped with the Gateway Unit Compoway F communication Section 3 3 N WARNING When DIP switch 4 is switched on the Gateway Unit will stop the data Note exchange with the PROFIBUS master The PROFIBUS DP interface will stay inactive until switch 4 is switch off When DIP switch 4 is set on e The diagnostics indicates Slave Not_Ready FERR LED is switched off COMM LED starts flashing e FCOM start flashing BF LED is switched off To connect with the Gateway use an auxiliary RS 232C compatible interface on an IBM compatible computer and a standard Omron RS 232C PLC cable e g CS1W CN226 The interface connection is not galvanically isolated The baud rate settings are the same as used for the Compoway F interface as set through the associ
85. rks and Copyrights PROFIBUS PROFIBUS FMS PROFIBUS DP and PROFIBUS PA are trademarks of PROFIBUS International Microsoft Windows Windows NT Windows 2000 Windows XP Windows Explorer and ActiveX are trademarks of Microsoft Corporation Other product names and company names in this manual are trademarks or registered trademarks of their respective companies The copyright of the PROFIBUS DP Gateway to Host Link Compoway F belongs to OMRON Corpora tion OMRON 2004 All rights reserved No part of this publication may be reproduced stored in a retrieval system or transmitted in any form or by any means mechanical electronic photocopying recording or otherwise without the prior written permission of OMRON No patent liability is assumed with respect to the use of the information contained herein Moreover because OMRON is con stantly striving to improve its high quality products the information contained in this manual is subject to change without notice Every precaution has been taken in the preparation of this manual Nevertheless OMRON assumes no responsibility for errors or omissions Neither is any liability assumed for damages resulting from the use of the information contained in this publication TABLE OF CONTENTS About this Manual ic X PRECAUTIONS s amis aesslamessondessian sus Xl 1 Intended Audienc s o cio dent eee ee dan data Pi aR ed ee xii 2 General PrecautiOns ess stones sack oe AN bee een whe
86. s Segment 5 Max 30 stations M S Master or slave station R Repeater Termination Segment 6 Max 31 stations Max total number of stations 126 The PROFIBUS standard EN 50170 specifies Type A shielded twisted pair cable as the recommended cable type for use in an RS 485 based PROFI BUS network This cable type has the following characteristics Setting up a PROFIBUS network Section 2 5 Note Maximum PROFIBUS Cable Length Stub Lines Note Characteristic Value Impedance 135 165 ohms Capacitance per unit length lt 30 pF m Loop resistance 110 ohms km Core diameter 0 64 mm Core cross section 0 34 mm2 The PROFIBUS standard EN 50170 also specifies a Type B cable with slightly different cable characteristics This Type B cable is no longer recom mended for use The transmission speed defines the maximum advised cable distance or cable segment in metres before the use of a repeater is recommended The cable lengths specified in the following table are based on PROFIBUS type A cable Baud rate Distance segment Baud rate Distance segment kbit s m kbit s m If the network must be extended beyond the range of the advised cable length the use of a fibre optic segment to cross the larger distance should be considered Passive Stub lines branches from the main line should be avoided for data transmission speeds of more than 500 kbit s Exce
87. sult in malfunction fire or electric shock Operating Environment Precautions 4 4 Operating Environment Precautions A Caution Z Caution Do not operate the Unit in the following places e Locations subject to direct sunlight e Locations subject to temperatures or humidities outside the range speci fied in the specifications e Locations subject to condensation as the result of severe changes in tem perature e Locations subject to corrosive or flammable gases e Locations subject to dust especially iron dust or salt e Locations subject to exposure to water oil or chemicals e Locations subject to shock or vibration Provide proper shielding when installing in the following locations e Locations subject to static electricity or other sources of noise e Locations subject to strong electromagnetic fields e Locations subject to possible exposure to radiation e Locations near to power supply lines The operating environment of the PROFIBUS DP Gateway to Host Link Com poway F can have a large effect on the longevity and reliability of the system Unsuitable operating environments can lead to malfunction failure and other unforeseeable problems with the system Ensure that the operating environ ment is within the specified conditions at installation time and remains that way during the life of the system Follow all installation instructions and pre cautions provided in the operation manuals 5 Application Pre
88. switches are available Baud rate switches are 19 Unit Components Auxiliary Port Selection Pheripheral setting 20 Section 2 1 part of the DIP switch bank of 4 Two out of the four DIP switches are used to select the baud rate to be used for communication over the Host Link Compo way F interface All the possible combinations are summarized in the next table DIP switches Switch 1 Switch 2 Baud rate bits sec 9600 default 19200 PRT1 SCU11 38400 Reserved for future use The two DIP switches for the baud rate are only read during power up restart of the PROFIBUS DP Gateway Unit Changing them during operation has no effect Switch 4 allows the user to enable or disable the use of the RS 232C Port behind the cover next to the DIP switches PROFIBUS to Compoway F and Host Link is active The RS 232C Auxiliary Port is inactive Communication from PROFIBUS is rerouted to the RS 485 RS 422 communication port PROFIBUS to Compoway F and Host Link is inactive The RS 232C Auxiliary Port is active Communication from the Auxiliary Port is rerouted to the RS 485 RS 422 communication port Switch 4 can be changed during operation The selected mode is reflected through the LED Indicators Two switches determine the setting for the physical layer these two switches are located close to the connector for Host Link Compoway F communica tion e Switch 1 upper switch Select
89. t and nterface download an l O configuration The figure below shows the DTM User Interface for the PRT1 SCU11 PROFIBUS DP slave device The DTM Configuration User Interface displays two lists e The Available Modules list which contains the I O modules the user can select e The Configured Modules list which contains all the I O modules selected by the user Adding Inserting I O To select the I O modules perform one of the following procedures Modules 32 Configuring the PROFIBUS DP network Section 2 6 e Select the I O module that needs to be added in the Available Modules list and double click it with the left mouse button If more than one mod ule must be added repeat this step for the other modules e Select the I O module that needs to be added in the Available Modules list and press either the Insert or Append button 2 pRTI SCUI1 Configuration ES E Device PRT1 SCU11 GSD File OC_0780 gsd Vendor OMRON Corporation Ident Number O 0780 IS Configuration Parameter Group r Device Settings Station Address 2 E IV Enable watchdog control Watchdog Interval 200 ms Module Configuration Max length of input output data 400 Byte Length of input output data 226 Byte Max length of input data 200 Byte Length of input data 146 Byte Max lenath of output data 200 Byte Length of output data 80 Byte Max number of modules 18 Number of modules 14 Available Modules Module Name Module Co
90. the Unit Z Caution Never use volatile solvents such as paint thinner benzine or chemical wipes These substances could damage the surface of the Unit 4 3 2 Inspection Be sure to inspect the system periodically to keep it in optimum operating con dition In general inspect the system once or twice a year but more fre quently if the system is used in high temperature or high humidity environments or dirty dusty conditions Inspection Equipment Prepare the following equipment before inspecting the system Required Equipment Phillips type screwdriver multimeter alcohol and a clean cloth Optional Test Equipment Depending on system conditions a synchroscope oscilloscope thermometer or hygrometer to measure humidity might be needed Inspection Procedure Check the items in the following table and correct any that are below stan dard Standard Equipment Environmental Ambient temperature 0 C to 55 C Thermometer conditions Ambient humidity 10 to 90 Hygrometer Dust dirt accumulation None Installation Are the units installed securely No looseness Are the communications connec No looseness tors fully inserted Are the external wiring screws No looseness tight Are the connecting cables undam No damage aged 52 Replacing the Unit Section 4 4 4 4 Replacing the Unit 4 4 1 Replacement Precautions The PROFIBUS DP Gateway Unit is a network device If the Un
91. tive master s e Assign slaves to groups for broadcast multicast messages e Enter bus parameters e g baud rate target rotation time etc e Enable Disable watchdog e Adjust watchdog settings Downloading the The system must be downloaded to the Master unit after configuring it at the Configuration Personal Computer This is made possible by either connecting the serial COM port of the Personal Computer to the CS1 CJ1 PLC with a serial inter face cable or use an Ethernet connection between the Personal Computer and the CS1 CJ1 PLC via an Ethernet unit 2 6 1 Configuring the Slave Devices After adding each of the slave DTM s to the network configurations have to be selected for each of them Setting up a configuration involves e Selecting the proper I O modules which define the I O data to be exchanged when operational e Setting up the device parameters which will be sent to the device to make or verify its settings e Selecting the group assignment which defines the group of slave devices each slave belongs to and to allow sending Global Control commands to this particular group All these settings will be downloaded to the Master unit which will send the data to the individual slave devices over the PROFIBUS network 2 6 2 Defining the I O configuration Opening the DTM In order to define the I O configuration the DTM Configuration User Interface araon User must be opened The next example uses CX Profibus to define edi
92. to a fixed format Some parameters are mandatory some have a PROFIBUS DP Network configuration Section 1 2 General Section DP master Section DP slave Section default value and some are optional The device data base file is divided into three parts e General specifications This section contains the vendor name the device name hardware and soft ware release versions device type and identification number protocol specifi cation and supported baud rates e DP master related specifications This section contains all parameters which only apply to DP master devices e g maximum memory size for the master parameter set maximum number of entries in the list of active devices or the maximum number of slaves the master can handle e DP slave related specifications This section contains all specification related to slaves e g minimum time between two slave poll cycles specification of the inputs and outputs and consistency of the I O data PROFIBUS DP Gateway Unit Section1 3 1 3 PROFIBUS DP Gateway Unit 1 3 1 PROFIBUS DP Gateway Unit Features PROFIBUS DP Gateway The PROFIBUS DP Gateway Unit is a standalone product providing an inter Unit face between a PROFIBUS DP Master device and these units E5AN E5CN OMRON single channel Temperature controllers E5EN E5GN E5ZN OMRON 2 channel Temperature controllers E5AR E5ER OMRON 4 channel Temperature controllers E5__ K3__ H8GN_ OMRON instrumen
93. to power the bus terminator located in the cable connector 1 The orientation of the sub D connector allows the use of PROFIBUS con nectors with a 90 angle cable outlet e g ERNI Delconec and Phoenix 2 The 9 pin sub D connector uses 4 40 UNC thread for mechanical fixation of the cable connector Make sure that if non standard PROFIBUS con nectors are used the same thread is used on the cable connector 3 PROFIBUS DP Baud rate setting is accomplished through automatic de tection all the defined PROFIBUS DP baud rate values are supported 2 1 5 Host Link Compoway F Connector OISSSSSC Address setting R FG S The Host Link Compoway F interface is a dedicated RS 422 RS 485 compli ant interface and this interface is galvanically isolated The PROFIBUS DP Gateway Unit has a switch on the front case allowing the user to select either the RS 422 or the RS 485 physical layer The Unit also provides a switch to turn a 220 Ohm termination resistor ON or OFF The termination resistor is placed inside the Unit and between the two receiver lines of either RS 422 or RS 485 Pin No Description RS485 A line RS422 RD RS485 B line RS422 RD Frame Ground RS422 SD RS422 SD The Host Link Compoway F interface does not require a separate address setting feature All connected devices must have addresses selected in the range of 1 thr
94. ts supporting OMRON s RS 485 based Compoway F protocol R88A MCW151 E Used for W series servo drives supporting OMRON s RS 422 based Host Link protocol In addition to this functionality an auxiliary RS 232C interface is present on the front of the Unit to provide a direct connection to a Personal Computer This direct connection links the Personal Computer directly to Compoway F thus by passing the PROFIBUS DP connection Typical application setup A typical application setup for the PROFIBUS DP Gateway Unit is shown in the figure below The Gateway Unit interfaces between PROFIBUS DP and either Host Link or Compoway F The Gateway Unit is present on the PROFIBUS DP network as a slave unit The interface of the Gateway Unit is controlled by a Master unit on the net work This Master unit can be any PROFIBUS DP class 1 or class 2 master PROFIBUS DP PROFIBUS DP network master PRT1 SCU11 i S te PROFIBUS DP to DP Slave m Host Link i Compoway F Gateway O 0 i IBM PS 2 e T ee A eee l Compoway F network PRT1 SCU11 PROFIBUS DP to Host Link Compoway F e g E5ZN e g E5_N e g ESER i Gateway Host Link network R88A R88A R88A MCW151 MCW151 MCW151 Compoway F Compoway F is the OMRON proprietary serial c
95. ty 10 to 90 with no condensation Vibration resistance Conforms to IEC60068 2 6 test Fc 10 to 55Hz 0 25 mm amplitude 55 to 300Hz acceleration 29 4 m s in X Y and Z directions for 120 minutes each Total time 12 linear sweeps x 10 minutes sweep 120 minutes Shock resistance Conforms to IEC60068 2 27 test Ea 196 m s three times each in X Y and Z directions Dielectric strength 600 VAC between isolated circuits Conformance to EMC and Electrical safety standards EN61000 6 2 2001 EN61000 6 4 2001 CISPR11 EN61131 2 2003 IDT Front case Settings rotary switches 2 Slave address rotary switches range 0 99 Decimal Settings DIP switches 4 DIP switches on the front of the Unit e Switch 1 Switch 2 Baud rate setting Host Link and Compoway F interface e Switch 3 not used e Switch 4 auxiliary RS 232C interface function selector Indicators 6 LED s indicating Unit status and PROFIBUS status Unit status RUN Green LED ERR Red LED Host Link Compoway F FCOM Green LED FERR Red LED COMM Green LED BF Red LED PROFIBUS status PROFIBUS Connector 9 pin sub D female connector 4 40 UNC thread I O units data Number of GSD I O module definitions 15 Number of GSD I O modules 18 maximum number of modules represent 15 units and 1 read 1 write and 1 operation Free Communication Block Total sum of all modules must not
96. vide a convenient way of connecting the cables The figure on the left provides an example of such a bus cable connector A standard 9 pin sub D plug can only be used if the PROFIBUS DP Gateway Unit is not at the start or the end of a bus segment or on a stub line at a baud rate of 500 kbit s or less The two PROFIBUS data lines are designated A and B There are no regula tions on which cable core color should be connected to which of the two data terminals on each PROFIBUS device the sole requirement is to ensure that the same core color is connected to the same terminal A or B for all devices throughout the entire system across all devices and bus segments The PROFIBUS Organization recommends the following rule for data line color codes PROFIBUS cables in general will use the colors red and green for the data lines with the following assignment Data cable wire A green Data cable wire B red This rule applies to both the incoming and the outgoing data lines Setting up a PROFIBUS network Section 2 5 2 5 4 Shielding Precautions Cable Shield Connection Inside cabinet Ground Rail Outside cabinet To ensure electro magnetic compatibility EMC the shield of the cable should be connected to the metal case of the plug connector When entering the control cabinet in which the PRT1 SCU11 Unit is installed the bus cable shield should be brought into physical contact with a grounding rail using a grounding clamp
97. xl Serial Port COM3 Baud rate y Data length 7 gt i Stop bit 2 y ea leva Unit number 1 E Restore Default Cancel 3 4 Host Link communication In the following table the fixed communication blocks for Host Link communi cation are listed Host Link Device type Module name Output words Input words Total Total Empty slot No device R88A MCW151 E MCW151 Host Link 5 IW 5 OW 5 Status word VR 10 1a Status word 1 VR 20 Status word VR 30 MCW151 Host Link 10 IW 10 OW UE VR 6 VR VR 1 MCW151 Host Link 15 IW 15 OW VR VR 15 16 The required data on VR memory address can be programmed in the R88A MCW151 E For more detailed information refer to the R88A MCW151 E Operation Manual The status of the PROFIBUS communication can be checked by the R88A MCW151 E through the R88A MCW151 E status word see figure below This word is sent by the PRT1 SCU11 to the R88A MCW151 E In case PROFIBUS communication fails the first bit of the status word will be set to OFF If the PROFIBUS communication is active the same bit will be set to 46 Host Link communication Section 3 4 ON regardless the number of I O communication words R88A MCW151 E Status Word 15 14 131211109 8 7 6 5 4 3 2 1 O PROFIBUS Communication Active 47 SECTION 4 Troubleshooting and Maintenance

Download Pdf Manuals

image

Related Search

Related Contents

techo suelo  PDF Version  MIDI data reduction cookbook  Fisher-Price B8776 Instruction Sheet  Toshiba Satellite 2455  La défibrillation automatisée externe (DAE) - Croix  ダウンロード  Empire Comfort Systems DVP42FP3 User's Manual  Haut et court  

Copyright © All rights reserved.
Failed to retrieve file