background image

95

Allocated CIO Area Words

Section 4-2

4-2-6

Slave Status (Word n+7)

The Slave Status word collects all the information on the slave stations allo-
cated to the Unit Master. It summarizes the slave information of the Slave
Data_Exchange Active flags, see 

4-2-8 Slave Data_Exchange Active Flags

(Word n+9 to Word n+16)

) and the Slave New-Diagnostics flags, see 

4-2-9

Slave New Diagnostics Flags (Word n+17 to Word n+24)

.

Word n+7 [n = CIO 1,500 + (25 x unit number)] 

4-2-7

Actual Bus Cycle Time (Word n+8)

The actual bus cycle time word indicates the current bus cycle time expressed
in BCD in 0.1 ms units. The maximum value is, therefore, 999.9 ms. Values
larger than 999.9 ms are set at 9999.

15 14 13 12 11 10 9

8

7

6

5

4

3

2

1

0

Word n+7

Slaves in data exchange

Slave diagnostics received

Bit

Name

Status

Controlled 

by

Unit operation

00

All slaves in 
Data_Exchange 
mode

ON

Unit

All slave stations, which are allocated to the PROFIBUS-DP Master 
Unit are in Data_Exchange with the PROFIBUS-DP Master Unit. All 

slaves which are in Data exchange are indicated in CIO Word n+9 to 
n+16, see 

4-2-8 Slave Data_Exchange Active Flags (Word n+9 to Word 

n+16).

OFF

Unit

When turned OFF, this bit indicates that at least one slave station is not 
in Data_Exchange with the PROFIBUS-DP Master Unit.

01 
to 
03

Reserved by sys-
tem

---

---

These bits are reserved for future use and are always set to OFF by the 
Unit.

04

New slave diagnos-
tics received

ON

Unit

At least one of the slave stations, allocated to the PROFIBUS-DP Mas-

ter Unit indicates that new Diagnostics data is available. The slaves 

which indicates this data are indicated in CIO Word n+17 to n+19, see 
4-2-9 Slave New Diagnostics Flags (Word n+17 to Word n+24).

OFF

Unit

When turned OFF, this bit indicates that none of the slave station has 
returned new diagnostics messages, since the last time the flags were 
cleared.

05

to 
15

Reserved by sys-
tem

---

---

These bits are reserved for future use and are always set to OFF by the 
Unit.

Содержание SYSMAC CJ1W-PRM21

Страница 1: ...SYSMAC CS CJ series CS1W PRM21 CJ1W PRM21 PROFIBUS DP Master Units Operation Manual Draft Produced November 17 2003...

Страница 2: ...iv...

Страница 3: ...njury 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 OM...

Страница 4: ...n OMRON 2003 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 o...

Страница 5: ...fibus Configurator 16 1 5 Basic Operating Procedure 20 SECTION 2 Installation and Wiring 23 2 1 Unit Components 24 2 2 Installing the PROFIBUS DP Master Unit 28 2 3 Initial Setup Procedure 31 2 4 Sett...

Страница 6: ...8 7 2 Troubleshooting Using LED Indicators 129 7 3 Troubleshooting I O Communication 135 7 4 Troubleshooting Using Error Status 138 7 5 Troubleshooting using the Error Log 141 7 6 Troubleshooting FINS...

Страница 7: ...eshooting the PROFIBUS DP network and the Units 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 requ...

Страница 8: ...OFIBUS Vision Sensor Z143 E1 CS CJ series Ethernet Units Operation Manual SYSMAC CS CJ series CS1W ETN01 ETN11 CJ1W ETN11 Ethernet Units Describes the installation and opera tion of the CS1W ETN01 10B...

Страница 9: ...e PROFIBUS DP Master Units You must read this section and understand the information contained before attempting to set up or operate a PROFIBUS DP Master Unit and PLC system 1 Intended Audience xii 2...

Страница 10: ...hanisms This manual provides information for programming and operating OMRON PROFIBUS Master Units Be sure to read this manual before attempting to use the Unit and keep this manual close at hand for...

Страница 11: ...strong electromagnetic fields Locations subject to possible exposure to radiation Locations near to power supply lines Caution The operating environment of the PLC system can have a large effect on th...

Страница 12: ...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 he...

Страница 13: ...n or impacts during transportation Do not attempt to disassemble repair or modify any Units 6 Conformance to EC Directives 6 1 Applicable Directives EMC Directives Low voltage directive EN 61131 2 199...

Страница 14: ...the common emission standard EN50081 2 The measures necessary to ensure that the standard is met will vary with the overall configuration You must therefore confirm that EC direc tives are met for the...

Страница 15: ...l 4 1 1 5 Diagnostic functions 5 1 1 6 Protection Mechanisms 6 1 1 7 Network States 6 1 2 Setting up a PROFIBUS DP Network 7 1 2 1 Configuring the PROFIBUS DP Master 7 1 2 2 FDT DTM Technology 7 1 2 3...

Страница 16: ...ation 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...

Страница 17: ...er wires RS 485 technology 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 re...

Страница 18: ...le for the transmission of this data The format of user data may be defined in so called profiles Profiles can reduce engineering costs since the meaning of application related parameters is specified...

Страница 19: ...Multicast communication In the case of multicast communication a master station sends an unacknow ledged message to a predetermined group of stations masters and slaves 1 1 5 Diagnostic functions Exte...

Страница 20: ...s of the slaves operating in multi master systems Only authorized masters can access their slaves 1 1 7 Network States PROFIBUS DP distinguishes four different network states OFF LINE Communication wi...

Страница 21: ...cifies the interfaces between the engineering sys tems called Field Device Tools FDT and the device specific software com ponents called Device Type Managers DTM The FDT DTM concept separates the devi...

Страница 22: ...tion DTM In general a device configuration DTM is accompanied by a communication DTM This specific DTM facilitates device specific communication e g for downloading a configuration to a PROFIBUS DP Ma...

Страница 23: ...ept all these device related functions are included in the DTM The DTM can be executed from any program which provides FDT interfaces 1 3 PROFIBUS DP Master Unit 1 3 1 PROFIBUS DP Master Unit Features...

Страница 24: ...Unit collects all Slave Diagnostics messages which it can be transferred to the PLC memory using FINS commands From every allocated Slave station it can receive up to 244 bytes of diagnostics data Co...

Страница 25: ...gs Unit Number rotary switch range 0 F Hex Indicators 7 LEDs indicating Unit status and PROFIBUS status Unit status RUN Green LED ERC Red LED Host PLC status ERH Red LED Configuration status PRM Green...

Страница 26: ...ecification PROFIBUS interface Applicable standards EN50170 Volume 2 Protocol type supported PROFIBUS DP PROFIBUS Unit types PROFIBUS DP Class 1 Master PROFIBUS Media type RS 485 galvanically isolated...

Страница 27: ...rds Number of diagnostics data supported by Master Up to 244 bytes of diagnostics max per Slave station Diagnostic data is collected at the Unit and can be obtained from the Unit using FINS messaging...

Страница 28: ...eas I O size per area up to 200 words Mapping area size set in DM words CIO CIO 0000 to CIO 0235 CIO CIO 0300 to CIO 0511 CIO CIO 1000 to CIO 1063 HR HR000 to HR099 DM D00000 to D05999 Default mapping...

Страница 29: ...Configurator Calculated by Configurator Master Class 1 Slave cyclic services Set_Prm Chk_Cfg Data_Exchange Slave_Diag Global_Control CLEAR Set_Prm Chk_Cfg Data_Exchange Slave_Diag Global_Control CLEA...

Страница 30: ...itional functions like print ing error logging FDT Communication logging and help files CS1W PRM21 CJ1 PRM21 DTM The CS1W PRM21 CJ1W PRM21 DTM consists of three parts The Settings DTM which handles th...

Страница 31: ...ction to use for downloading depends on the Unit CS1W PRM21 CJ1W PRM21 Connection to the Unit is achieved through the serial port of the PLC CPU using CX Server Cox Server also allows routing the down...

Страница 32: ...Functionality of CX Profibus can be limited as defined by several password protected access levels CX Profibus supports separate password definitions and login for Administrator Planning engineer Mai...

Страница 33: ...ng functions Master status read out Slave status and slave diagnostics read out Read out of the Unit s error log Support functions Context sensitive help functions Generic Slave DTM General functions...

Страница 34: ...sections containing detailed information 1 2 3 Select a unique Identity number 0 F for the Unit with the rotary switch on the front of the Unit Connect the PROFIBUS DP Master Unit to the PROFIBUS netw...

Страница 35: ...ications Use the following procedure to configure the Unit using CX Profibus 1 2 3 1 Wire the network to connect the PROFIBUS DP Master unit to the slave stations 2 Turn ON the PLC power supply and th...

Страница 36: ...22 Basic Operating Procedure Section 1 5...

Страница 37: ...Indicators 25 2 1 3 Switch Settings 26 2 1 4 PROFIBUS Connector 27 2 2 Installing the PROFIBUS DP Master Unit 28 2 2 1 Handling Precautions 28 2 2 2 Mounting the CS1W PRM21 28 2 2 3 Mounting the CJ1W...

Страница 38: ...9 Pin Sub D female connector 4 40 UNC thread Connect the PROFIBUS DP network cable to this connector Termination must be provided with the cable connector CS1W PRM21 CJ1W PRM21 ERC RUN BF PRM21 COMM...

Страница 39: ...PLC Error Red Not lit PLC CPU in normal operation Lit One of the following errors occurred PLC CPU Bus error Cyclic Refresh Monitor Time out PRM Parameter database Green Not lit PROFIBUS Parameter con...

Страница 40: ...rds are automatically allocated in the CIO Area and the DM Area The PROFIBUS DP Master Unit uses these words for receiving control data from the CPU Unit and for notifying the CPU Unit of PROFIBUS DP...

Страница 41: ...ctor Make sure that if non standard PROFIBUS connectors are used the corresponding thread is used on the cable connector Unit No decimal Allocated words Unit No decimal Allocated words 0 0 D30000 to D...

Страница 42: ...in addition to the CPU rack The number of slots to which PROFIBUS DP Master Unit can be mounted depends on the Backplane Up to 16 PROFIBUS DP Master Units can be mounted to a single PLC system If it...

Страница 43: ...g cables 1 2 3 1 Hook the claw on the top of the Unit onto the Backplane 2 Insert the Unit into Backplane connectors and securely tighten the screw at the bottom of the Unit Tighten the screws to a to...

Страница 44: ...ted in combination with other CPU Bus Units e g Ethernet Units the maximum total number of CPU Bus Units that can be mounted is 16 Note The CJ1W PRM21 PROFIBUS DP Master Unit s maximum current consump...

Страница 45: ...Initial Setup Procedure must be applied to allow the Unit to start up prop erly and to be configured for operation A unique unit number must be selected before the PLC s power supply is turned on An I...

Страница 46: ...rogrammer to the PLC Applicable Programming Devices The following Programming Devices can be used with CS CJ series PLCs Programming Console CX Programmer and CX Net Model number WS02 CXP EV2 The oper...

Страница 47: ...ecified for PROFIBUS is optical fibre The PROFIBUS DP Master Units does not provide a direct interface to this type of medium However by using third party couplers an interface between EIA RS 485 and...

Страница 48: ...ar Bus seg ments in to 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 stations in the network The followi...

Страница 49: ...e extended beyond the range of the advised cable length the use of a fibre optic segment to cross the larger distance should be considered Stub Lines Passive Stub lines branches from the main line sho...

Страница 50: ...10 mH each as shown in the figure on the left Installing the inductors applies to all stations on the network and not only to the stations at both ends of the bus cable 2 4 3 PROFIBUS Cable Connector...

Страница 51: ...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 Commissioning of PROFIBUS...

Страница 52: ...38 Defining PROFIBUS DP in the Software Section 2 5...

Страница 53: ...CX Profibus 47 3 2 2 CX Profibus Main Window 48 3 2 3 Device Catalogue 51 3 2 4 Updating the Device Catalogue 53 3 2 5 Saving and Opening Projects 53 3 2 6 Adding Devices to the Network 54 3 2 7 Expor...

Страница 54: ...CX Profibus CD ROM CX Profibus is provided on a CD ROM which contains the following compo nents Microsoft NET Framework CX Profibus FDT Container application CS1W PRM21 CJ1W PRM21 Configuration DTM C...

Страница 55: ...window is dis played indicating progress of the setup as the program is loaded 4 During the preparation the InstallShield wizard will determine if the Mi crosoft NET framework needs to be installed Th...

Страница 56: ...ying the message window below 7 After installing the Microsoft NET framework CX Profibus and its compo nents will be installed The installation welcome window as shown below will be displayed Click th...

Страница 57: ...ncorrect 16 digit License code is entered the program will display an error message after which it allows you to re enter the number again b If no License code is entered the program will still be ins...

Страница 58: ...windows shown below will be displayed offering the choice of available languages Select the desired language package and press the Next button 12 You are now required to specify the destination direc...

Страница 59: ...lection select the Next button The in stallation will now be performed the files will be copied to the destination folder and the necessary registry entries will be made 14 A window is displayed showi...

Страница 60: ...program components 17 Click the Finish Button to finalize installation and exit the setup program This completes installation of the CX Profibus 18 In order to be ensured of OMRON support for the pro...

Страница 61: ...password entry line and select OK Caution If access limitation to CX Profibus is required by the application the password should be changed as soon as possible Changing passwords is only possible on t...

Страница 62: ...ng a network and the Device Catalogue window opened The main components in this window are The Network Window The DTM Catalogue Window The Error Log Window The FDT Monitoring Window not shown in the f...

Страница 63: ...g CX Profibus FDT Monitoring Window The FDT Monitoring window at the bottom of the CX Profibus application win dow displays the FDT DTM communication function calls between CX Profi bus and the DTMs A...

Страница 64: ...nloads the parameters from DTM to its associated device Export to HTML Exports the properties and parameters of the selected DTM or the net work to a HTML file and opens the default browser Properties...

Страница 65: ...he View Device Catalogue menu option Both options have toggle function selecting one of them again will close the Device Catalogue DTM window layout The left window pane allows selection of specific g...

Страница 66: ...g provided by this variable is the name displayed in the list Version The version number defines the revision number of the DTM or the GSD If the device is defined by a GSD file the Generic Slave Devi...

Страница 67: ...Install GSD Files button displays the standard Windows File selection win dow After selecting the GSD file and selecting the Open button in the File selection window the GSD file will be copied to th...

Страница 68: ...also be opened from Windows Explorer Double clicking a file with the extension CPR will invoke CX Profibus and open the selected file 3 2 6 Adding Devices to the Network Setting up a network in CX Pro...

Страница 69: ...Device Catalogue which can not be add ed to the current location in the network the Add Device button will be disabled which is shown as a grayed out button 3 2 7 Exporting to HTML CX Profibus provid...

Страница 70: ...g as well as trouble shooting The contents of the window can be copied to the clipboard to allow it to be pasted in to another document or in to an E mail The errors them selves as well as the sequenc...

Страница 71: ...equence This example sequence is generated when opening a CJ1W PRM21 PROFIBUS DP Master Unit DTM By right clicking the mouse cursor in the FDT Monitoring window a context menu is displayed This contex...

Страница 72: ...ed Not allowed Allowed Allowed PROFIBUS DP Master DTM Open Allowed Allowed Allowed Allowed Allowed Master settings View only View only Edit Edit Edit Communication settings View only View only Edit Ed...

Страница 73: ...le in the window below the Observer and Maintenance levels are unchecked The next time CX Profibus is started the Observer and Maintenance access levels are not available in the login window as shown...

Страница 74: ...different names CS1W PRM21 PROFIBUS Master CJ1W PRM21 PROFIBUS Master The PROFIBUS DP Master DTM has two main user Interface components DTM Configuration User Interface This User Interface facilitate...

Страница 75: ...hanges are not permanently saved in the Project yet This is indicated by the asterisk next to the DTM in the Network View window The next time in the same session the GUI is opened the changes will st...

Страница 76: ...details on how to configure CX Server Test Button The purpose of the Test button is to test the communication setup after CX Server has been configured If the PC and the PLC are connected selecting t...

Страница 77: ...r in case the PLC changes to PROGRAM mode Auto CLEAR Box Auto CLEAR defines the Unit s behavior in case an error occurs in one of the allocated slave stations which causes it to stop data exchange wit...

Страница 78: ...e application requires this Caution Changing the calculated Bus Parameters manually is not recommended and should only be performed if this is really necessary Changing the Bus Param eters to an inval...

Страница 79: ...e a response to a request message tBIT Yes Quiet Time The time a transmitting station must wait after the end of a message frame before enabling its receiver tBIT No Setup Time The time between an eve...

Страница 80: ...amount of updates of the active stations i e Master stations list times during one token rotation cycle To update the list the Master station will transmit FDL_Status_request messages to ascending sta...

Страница 81: ...ex Index number of the I O module Device Device name obtained from DTM Module System generated name Size Module data size unit of type mentioned in next column Type Module data type e g Byte Word etc...

Страница 82: ...must be mapped to a desired Area in the collective list and select it 2 Left click the module and drag it while holding the Left mouse button to the desired Area This can be the end of the list or an...

Страница 83: ...CX Server The name of the DTM in the Network View window will turn to Italic font to indicate that the Unit is on line 3 Select the Device Diagnosis option from the main menu or from the DTM context...

Страница 84: ...Clear function has been enabled in the downloaded configuration Valid Configuration The Master Unit contains a valid configuration Master Status 2 Disturbed Bus error When turned ON the Disturbed Bus...

Страница 85: ...age Error An error has occurred when storing the configuration to non volatile memory Local Parameter Load Error An error has occurred when loading the configuration from non volatile memory File Read...

Страница 86: ...s User Interface of the Generic Slave DTM Refer to section 3 4 2 Diagnostics User Interface for an explanation of the LED indicators Error History Tab The Error History tab lists the contents of the E...

Страница 87: ...nal modes Select one or more groups and Global_Control Commands and transmit Global_Control message over the PROFIBUS network The Online Operations tab is shown below PROFIBUS Communication Group Thes...

Страница 88: ...roup select and the transmit command are transferred to the Unit though its CIO words see section 4 2 1 Software Switches 1 Word n and section 4 2 2 Global_Control Message Word n 2 Caution When transm...

Страница 89: ...sical configuration of the PLC system When done press the OK button 4 Select the Network Type to be used as connection between the PC and the Unit The available options may include other PLC systems o...

Страница 90: ...e Since CX Server is the common driver software for connection between PC based CX programs e g CX Programmer CX Supervisor etc and the CS1 CJ1 series PLC all these programs can communicate simultaneo...

Страница 91: ...ding the GSD based slave device to the network an instance of the Generic Slave Device DTM will be made in the PC memory which will read the GSD file contents The instance of the Generic Slave Device...

Страница 92: ...ion defines the I O Data which the slave will be exchanging with the Master Unit when it is in data exchange mode The upper window in the Configuration tab contains all possible modules which are in t...

Страница 93: ...ice does not support module parameters so the parameters shown are the only ones The Parameter list consist of a left column containing the name of the Param eter and a right column containing the set...

Страница 94: ...us and error flags The flags are defined by the PROFIBUS standard refer to Appendix B Slave Diagnostics Message for a detailed overview of diagnostics The basic diagnostics information is displayed in...

Страница 95: ...cs message returned by the slave station contains extended diagnostics i e it contains more than the mandatory 6 bytes Configuration fault The last received configuration data from the Master Unit hav...

Страница 96: ...is makes troubleshooting the device easier If the strings are not supported the user must determine the event from the raw data bytes Static diagnostics When set the slave station reports static diagn...

Страница 97: ...CIO Area Word Allocations 85 4 1 2 DM Area Word Allocations 85 4 2 Allocated CIO Area Words 86 4 2 1 Software Switches 1 Word n 87 4 2 2 Global_Control Message Word n 2 88 4 2 3 Unit Status Word n 4 9...

Страница 98: ...used by the PROFIBUS DP Master Unit However exchange of data to the allocated DM words is reserved for future use and it is therefore not recommended to use the allocated DM words for other purposes...

Страница 99: ...rea for user data is not recommended Unit number Allocated words Unit number Allocated words 0 CIO 1500 to CIO 1524 8 CIO 1700 to CIO 1724 1 CIO 1525 to CIO 1549 9 CIO 1725 to CIO 1749 2 CIO 1550 to C...

Страница 100: ...d n 3 is reserved for future extension of data to be transferred to the Unit These words are reserved for future use and it is therefore not recommended to use them for temporary data storage by a Use...

Страница 101: ...entered the OPERATE mode the Unit will set this bit to OFF again 01 Switch Master to STOP mode OFF ON User Switches the Unit to the STOP mode If the Unit is already in this mode no action will be tak...

Страница 102: ...ommand flags are specified in the bit 10 through bit 13 Transmitting the message is done by setting the Transmit Global Control message switch bit 04 in CIO Word n see 4 2 1 Software Switches 1 Word n...

Страница 103: ...s are reserved by the system and will ignored by the Unit 10 Unfreeze ON User If the Unfreeze bit is set the Unfreeze command will be send to the tar geted slave stations The Unfreeze command releases...

Страница 104: ...he output data received before the Sync command If the slave station is already in the Sync mode a new Sync command will force the slave to update its outputs only once with the most recent output dat...

Страница 105: ...the Unit s internal volatile memory or from the Unit s internal volatile memory to non volatile memory or from the flash card to the Unit s internal volatile memory During this transfer no other trans...

Страница 106: ...ode Unit in STOP mode Unit in CLEAR mode Unit in OFFLINE mode Unit in Data Exchange Bit Name Status Controlled by Unit operation 00 Unit in OPERATE mode ON Unit Indicates that the Unit is in OPERATE m...

Страница 107: ...an allocated slave station the PROFIBUS DP Master Unit will continue Data_Exchange with the remaining slave sta tions 06 Reserved by sys tem This bit will be set to OFF by the Unit 07 Unit contains a...

Страница 108: ...LINE mode OFF Unit Indicates that no Hardware error has occurred 04 to 11 Reserved by sys tem These bits will be set to OFF by the Unit 12 Mode command error ON Unit This bit will be turned ON if more...

Страница 109: ...e stations which are allocated to the PROFIBUS DP Master Unit are in Data_Exchange with the PROFIBUS DP Master Unit All slaves which are in Data exchange are indicated in CIO Word n 9 to n 16 see 4 2...

Страница 110: ...90 89 88 87 86 85 84 83 82 81 80 Word n 14 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 Word n 15 125 124 123 122 121 120 119 118 117 116 115 114 113 112 Word n 16 Slave station 00 15...

Страница 111: ...00 15 Slave station 16 31 Slave station 32 47 Slave station 48 63 Slave station 64 79 Slave station 80 95 Slave station 96 111 Slave station 112 125 Bit Name Status Controlled by Unit operation Slave...

Страница 112: ...98 Allocated CIO Area Words Section 4 2...

Страница 113: ...units 5 1 FINS Commands and Responses 100 5 1 1 FINS Message Service Communications 100 5 1 2 Command Code List 100 5 1 3 Response Code List 100 5 1 4 Sending FINS using CMND 101 5 2 Command Response...

Страница 114: ...ands always begin with a 2 byte command code any parameters required follow the command code Response Codes The response code consists of a 2 byte hexadecimal code indicating the results of command ex...

Страница 115: ...beginning receive word C Source node first control data word Source node Destination node N S 1 n 2 D D 1 m 2 Command Response Analysis Execution Destination node N 00 to 20 Hex 0 to 32 The same data...

Страница 116: ...lts storage blocks are given with the commands in graphic form as shown in the following dia gram If the data is fixed it is included in the blocks If the data is variable it is described following th...

Страница 117: ...he Unit The configured slave stations are by default enabled but can temporarily be disabled i e removed from the active station list see 5 2 3 STOP 0402 The targeted slave station is defined by the s...

Страница 118: ...mmand Format Response Format Parameters Station code command Defines the slave station to be enabled state as follows High byte Always set to 81 Hex Low byte 00 7D Hex Defines the slave station networ...

Страница 119: ...00 Response Codes 5 2 5 ERROR LOG READ 2102 Reads a specified number of error records from the error log Command Block Response Block 1001 Command too large 1002 Command too short 110C Invalid station...

Страница 120: ...m the starting record number is returned sequentially The total number of bytes in the error log is calculated as the number of records x 10 bytes record Each error log record thus consist of 10 bytes...

Страница 121: ...ored in the PROFIBUS DP Master Unit error log Command Block Response Block Response Codes 03 21 Command code 03 21 Command code Response code Response code Description 0000 Normal 250F Memory writing...

Страница 122: ...108 Command Response Reference Section 5 2...

Страница 123: ...ion 110 6 2 Setting up a network 110 6 2 1 Adding Devices to the Network 112 6 2 2 Changing Station Addresses 114 6 3 Configuring the Slave Stations 115 6 3 1 Defining the I O Configuration 115 6 3 2...

Страница 124: ...Slave Unit address 2 A CPM1A PRT21 PROFIBUS DP Slave Unit address 3 A F 150 PRT PROFIBUS DP Vision System address 10 Example Sections referring to the Example configuration are marked with Example of...

Страница 125: ...e g from Windows Explorer Note 1 In case of DTM installations outside CX Profibus always initiate an update of the Device Catalogue before adding assembling a network Without this update the newly in...

Страница 126: ...he Network If the Device Catalogue is up to date it can be used to setup the network Set ting up a network in CX Profibus starts with adding single device DTMs to the Network View window First the Mas...

Страница 127: ...rk 4 Select the Add Device button at the bottom of the Device Catalogue win dow The device DTM is added to the network Note If a DTM is selected in the Device Catalogue which can not be added to the c...

Страница 128: ...For the example it is assumed that the F150 PRT Vision system has an actual network address of 10 instead of 4 which was automatically assigned In order to change the network address of the F150 PRT...

Страница 129: ...Selecting the group assignment which defines the group of slave devices each slave belongs to and to allow sending Global_Control messages to this particular group All these settings will be download...

Страница 130: ...ule that needs to be added in the Available Modules list and press either the Insert or Append button This method allows selection of more than one module by pressing either the Shift or the Ctrl key...

Страница 131: ...of the network 2 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 Unit Therefore changing the value in the Gene...

Страница 132: ...ection items are not always provided with the parameters Depending on the slave and the GSD file implementa tion setting the parameter values may require the help of the user documen tation for that s...

Страница 133: ...les When opening the DTM this module has already been configured Also the CPM1A PRT21 has five additional parameter byte which all have to be set to 0 For the example the group assignment for this sla...

Страница 134: ...other devices in the network which have the same address the station address of the Master DTM may need to be changed Example For the purpose of the example the unit number has been set to 2 After ma...

Страница 135: ...to exchange I O data with the other slaves while attempting to bring the faulty slave back to I O data exchange Auto Addressing is ON With this option ON mapping of the I O data is done automatically...

Страница 136: ...er of the User Interface to accept the changes Next select the Slave Area tab to display the I O Mapping 6 4 3 Defining and Changing I O Mapping The I O data of all slaves can be mapped on to the PLC...

Страница 137: ...om the collective list on top to Area 2 6 4 4 Configuring CX Server Configuring communication The PROFIBUS DP Master DTM uses CX Server to connect to the Unit for both downloading a configuration as w...

Страница 138: ...C settings window see figure below is displayed 3 In this window make the proper adjustments if necessary The selections made must match the physical configuration of the PLC system When done press th...

Страница 139: ...on and Firmware Version fields If the com munication is not setup correctly the two fields will contain three dashes i e and an Error message will be displayed in the Error Log window of CX Profibus T...

Страница 140: ...witched to PROGRAM mode If the user confirms this the download will continue 4 The downloading process is handled by the Master DTM After successful download the configuration will automatically be st...

Страница 141: ...iguration Errors 132 7 2 5 Network Errors 133 7 3 Troubleshooting I O Communication 135 7 4 Troubleshooting Using Error Status 138 7 4 1 Unit Status Word 138 7 4 2 Master Status 2 Word 139 7 5 Trouble...

Страница 142: ...Note n CIO 1500 25 x unit number This section provides a number of procedures for troubleshooting based on the error indicators listed above Troubleshooting the Configuration Software The Configurati...

Страница 143: ...uration after startup Use ERC and PRM indica tors to troubleshoot the errors I O data communication errors These include errors in the PROFIBUS interface or on the network Use BST COMM and BF indicato...

Страница 144: ...ect the unit number Make sure that all unit numbers used in the system are unique The PLC CPU Unit is faulty Restart the CPU Unit If the problem per sists replace the CPU Unit Lit Not a valid combinat...

Страница 145: ...J Series A fatal error has occurred in the Unit pre venting it from running any program Restart the CPU Unit If the problem per sists replace the PROFIBUS DP Master Unit Lit A fatal error has occurred...

Страница 146: ...dicators remain OFF ERC PRM Probable cause Correction Not Lit Not Lit Not a valid combination Lit No errors The PROFIBUS DP Parameter set is ready for use Flashing No errors A new configuration is bei...

Страница 147: ...tion Address The Unit has switched to OFFLINE This indicates faulty wiring broken mes sage short circuits or faulty bus timings Check the network wiring and make sure it is correct not too long long s...

Страница 148: ...a_Exchange with the Master Unit This may indicate a loose network connec tor on the Master or a broken cable Switch the Unit to OFFLINE mode Check the network wiring Check if any other faulty devices...

Страница 149: ...s parameter sets are cor rect Re download the configuration If the problem persists replace the Unit The PROFIBUS DP Master Unit is in either OFFLINE or STOP mode The BST LED indicator is OFF The Unit...

Страница 150: ...Masters on the network are set to the same baud rate Verify that the total Target Rotation Time for all Masters on the network is set to the sum of all individual Masters Specific slave stations are c...

Страница 151: ...fer to 4 2 2 Global_Control Mes sage Word n 2 The specified slave station may have its watchdog disabled and is disconnected from the network due to a cabling problem BF LED indicator is Flashing CIO...

Страница 152: ...bit is set one of the error flags in the Master Status 2 Word is set Refer to these bits for error determination 03 Error Log contains new errors There are new errors available in the Error Log since...

Страница 153: ...FIBUS DP Master unit 13 Error Log storage error An error has occurred when writing the error log to the non volatile memory or when reading the error log from non volatile memory during start up Most...

Страница 154: ...de again 03 Hardware error A hardware error has occurred in the PROFIBUS interface of the Unit The PROFI BUS DP Master Unit has switched to OFFLINE Most likely causes Faulty wiring Broken messages Sho...

Страница 155: ...and the error log is full the latest error will replace the oldest error in the log At power up reset the non vola tile error log will first be copied to the volatile error log The contents of the non...

Страница 156: ...ecessary 020C Protocol error 00 00 7D Fail ing Master Address Check the Master stations on the network and make sure they are all working correctly Check the HSA setting in CX Profibus and make sure i...

Страница 157: ...is sible length Check the command format of the command and set it correctly 11 Parameter error 03 The first word is in an inaccessible area or the bit number is not 00 Set a first word that is in an...

Страница 158: ...r twice a year but more frequently if the system is used in high temperature or high humidity environments or dirty dusty conditions Inspection Equipment Prepare the following equipment before inspect...

Страница 159: ...he unit number to the same unit number as the previous Unit After re applying the power the configuration settings present in the previous Unit must also be transferred to the new Unit There are two m...

Страница 160: ...146 Replacing the Unit Section 7 8...

Страница 161: ...and a slave station The other part of the Bus Parameters must be calculated These parameters implement the overall cyclic timing as well as the watchdog timing s to monitor the communication The calcu...

Страница 162: ...L The maximum time a Master Unit must wait for a response to a request message tBIT Yes Min Station Delay of Responders min TSDR The minimum allowed time for a slave station before it will generate a...

Страница 163: ...t times during one token rotation cycle To update the list the Master station will transmit FDL_Status_request messages to ascending station addresses until it finds a next Master station or until it...

Страница 164: ...Units are on the PROFIBUS network at the same time Furthermore the Unit will require additional time to process the PROFIBUS I O data and exchange this with the PLC CPU Based on this the following em...

Страница 165: ...r Unit The last received diagnostics message for each slave station allocated to the PROFIBUS DP Master Unit can at any time be retrieved from the Unit though the MEMORY AREA READ FINS command B 2 MEM...

Страница 166: ...tic message or the initial value The slave station sets this bit to zero in case of a correct response 01 Diag Station_No_Ready This bit indicates that the slave station is not yet ready for data tran...

Страница 167: ...successfully 01 Diag Stat_Diag This bit indicates static diagnostics at the slave station The Master unit will repeatedly request diagnostics data As long as this bit is set Data_Exchange with the Mas...

Страница 168: ...ve occurred in the slave device Normally they will not be added to the stan dard diagnostics message i e the first 6 mandatory bytes if no event occurred There are three types of extended diagnostics...

Страница 169: ...header byte and one module diagnostics byte Depending on the number of I O modules configured there may be more bytes Bit Name Description 00 05 Block length These bits contain the length of the Devi...

Страница 170: ...nd 7 indicate the type of diagnostics i e 01 indicates Module related diagnostics data Bit Name Description 00 Module 0 Diagnostics When set this bit indicates that there is Diagnostics information pe...

Страница 171: ...10 indicates Channel related diagnostics data Bit Name Description 00 05 Channel number These bits contain the number of the channel which reports the diagnostics The channel number ranges from 0 to 6...

Страница 172: ...meaning 0 Reserved 1 Short circuit 2 Under voltage 3 Over voltage 4 Overload 5 Over temperature 6 Line break 7 Upper limit value exceeded 8 Lower limit value exceeded 9 Error 10 15 Reserved 16 31 Manu...

Страница 173: ...indicates pending diagnostics in module14 Channel related diagnostics Two channel related diagnostics entries are shown One for module 1 and one for module 14 In module 1 Input channel 4 has detected...

Страница 174: ...160 Appendix...

Страница 175: ...DP Master Unit to the Memory Card the parameter sets are stored in the file BACKUPnn PRM where nn is the Unit number in 2 digit hexadecimal Note This function is not supported by CS series CS1 CPU Un...

Страница 176: ...Unit Status Word CIO Word n 4 will turn ON 5 Restart the PLC Note 1 Data will not be read from the Memory Card to the CPU Unit if pin 1 of the DIP switch is ON write protecting program memory 2 A CS1...

Страница 177: ...US DP Master Units provides an interface between a PROFIBUS network and the CS1 CJ1 series PLC the Unit will provide the necessary conversions to ensure that the I O data on the PROFIBUS network is tr...

Страница 178: ...sure that a double word transmitted or received over PROFIBUS is mapped on to CS1 CJ1 series double word format in the PLC Memory Area The figure below shows the conversion in graphic format D 3 Float...

Страница 179: ...to the next lowest integer If the number of text characters is even all bytes will fit in the words but one additional word will be set to 0000 If the number of bytes is odd the last byte of the seque...

Страница 180: ...166 I O Data Conversions Appendix D...

Страница 181: ...s in PROGRAM mode After completing the download 03 PROFIBUS I O Data area over lapping and or exceeding mem ory range Save anyway One or more of the I O Data mappings is incor rect Either the I O data...

Страница 182: ...ssing check box on the Master Setup tab Number Message Description Correction 00 PROFIBUS I O Data exceeds maximum The I O configuration exceeds the maximum limit of 7168 or 7k words Change configurat...

Страница 183: ...ad 12 Connected unit is busy Download aborted Unit is busy with parameter storage Retry download when parameter storage has finished Number Message Description Correction 50 Communication Failure with...

Страница 184: ...he correct version of CX Server is installed on the Per sonal Computer Refer to the Master Manual for installation details 54 DTM cannot configure the con nected unit DTM needs to be upgraded This may...

Страница 185: ...ned control type An internal error has occurred Reinstall CX PROFIBUS if problem persists contact supplier 106 Communication failure with the DTM An internal error has occurred Reinstall CX PROFIBUS i...

Страница 186: ...172 Configurator Error and Warning Messages Appendix E...

Страница 187: ...173 Index...

Страница 188: ...174 Index...

Страница 189: ...s as a suffix to the catalog number on the front cover of the manual The following table outlines the changes made to the manual during each revision Revision Code Date Revised Content E2 00 November...

Страница 190: ...176 Revision History...

Отзывы: