Home

Model AJ71DN91/A1SJ71DN91 DeviceNet Master

image

Contents

1. MELSEC A 5 3 Nomenclature This section describes the AJ71DN91 and A1SJ71DN91 parts AJ71DN91 _ Au71DN91 DeviceNet connector O fi fo a 1 1 c t i ie D H RS 232C connector I A1SJ71DN91 LI DeviceNet connector Aisin E l Epa k je O a CO 0 Mi a Ea o Me E O v ye Bl O An tf a J fe o RS 232 C i l o RS 232C connector d 5 SETTINGS AND PROCEDURES BEFORE OPERATION MELSEC A 5 4 LED Displays and Indicator Descriptions This section describes the names of the LEDs at the top of the AJ71DN91 and A1SJ71DN91 front panel and provides indicator descriptions Color Description LED Display Status Normal opera i Normal operation tion display Unit error detected AJ71DN91 No power supply Parameters being loaded Flashing Unit error detected Parameters being loaded Communication Lit Communicating BUN status display Not lit Communication stopped Flashing periodic Preparing for communication CNS Flashing random Communication parameter error Module status Lit DeviceNet interface unit operating display normally Flashing Parameter error Module status Not used A1SJ71DN91 display ERN Network status Lit Communication enabled with on MS display
2. _ Handshake of the process data Byte addresses Bus synchronous device controlled Word addresses Buffered device controlled No consistence uncontrolled Storage format word module Big Endian Buffered host controlled Little Endian Bus synchronous host controlled m Hardware parameter 2kB dual port memory 8 kB dual port memory 16 kB dual port memory Set the items as follows 1 Startup behavior after system initialization Select Controlled release of the communication by the application program 2 User program monitoring This is the time to monitor whether the DN91 is operating normally units 1 msec Set a value of 30 msec or higher 3 Addressing mode Select byte addressing or word addressing as the addressing mode 4 Storage format Designate the data format of the word data Select Little Endian 5 Handshake of the process data Select buffered or device controlled 6 Hardware parameter Select 8 kB dual port memory 6 PARAMETER SETTINGS MELSEC A 6 4 3 Setting bus parameters Set the bus parameters on the screen below Bus Parameter Baudrate 500 Kbit s x i MAC ID Master fi Heartbeat Timeout 2400 msec 7 Auto clear mode on Set the items as follows 1 Baudrate Select one of the following baud rate settings e 125 Kbit s 125 kbaud e 250 Kbit s 250 kbaud e 500 Kbit s 500 kbaud 2 M
3. Max current A 6 PARAMETER SETTINGS MELSEC A 6 PARAMETER SETTINGS This section describes the parameter settings required for DN91 operation The following two methods are available to set the parameters Parameters that have been set are stored in separate areas on EPROM within DNQ1 Once the parameters are set no subsequent parameter setting is required as long as no change in the parameters is necessary Setting with a sequence program see Section 6 3 e Setting with the configuration software see Section 6 4 6 1 Settings Parameter The parameters may be set by the following two methods e Use TO command of the sequence program to set the parameters e Use the configuration software to set the parameters The following discusses the parameter setting methods 1 Parameter setting by the sequence program The sequence program based parameter setting includes the following contents 1 Host station number MAC ID of the host station 2 Baud rate 3 Station number of the n th unit 4 Connection type of the n th slave station 5 Number of byte modules for the n th slave station 6 Number of word modules for the n th slave station 7 Number of double word modules for the n th slave station 8 Expected packet rate for the n th slave station 9 Watchdog timeout action for the n th slave station 10 Production inhibit time for the n th slave station The setting of above shown items 3 to 10 may be done
4. a OPERATE b Lower Byte Indicates the communication status of the network The bits turn ON OFF according to the communication status as shown in the diagram below Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Always OFF The bit turns ON when the corresponding problem occurs i i i Severe network problems Communication cannot i continue Abnormal communication with a station Since communication with a slave station failed output to all slave stations has been turned OFF Parameter error 3 SPECIFICATIONS 7 Error Information Address 01B1H 433 Stores the detected communication error code a The error information is stored in the error information area when an error occurs The error set signal Xn3 turns ON MELSEC A b The data in the Error information area is cleared by turning ON the error reset request Y n 1 3 through the sequence program c The error information is stored as the error code in the upper byte and the station number in the lower byte as described below 1 Upper Byte This byte stores the error codes See 8 3 1 Communication Error Codes for details 2 Lower Byte This byte stores the station number MAC ID of the station where the error occurred FEn FFH 254 255 Host station DN91 OH to 3FH 0 to 63 Station number MAC ID of the slave station where t
5. Master station aon oO ooooo OO ooooo 00 4 2 DA 3 No Slave stations 4 FUNCTIONS MELSEC A 3 Change of state As shown below change of state communication is a communication system where the following communications 1 and 2 with slave stations are made with changes in I O data and a connection to make this communication is a change of state connection Data is not sent if there is no change in I O data 1 If the output data of the master station changes the master station sends that data to the slave station 2 If the input data of the slave station changes the slave station sends that data to the master station Change of state communication does not have the concept of network scans To specify change of state communication the production disable time and expected packet rate must be set to Oms Master station ooooo OO ooooo OO ooooo OO Slave stations 4 FUNCTIONS MELSEC A 4 Cyclic As shown below cyclic communication is a communication system where the following communications 1 and 2 with slave stations are repeated periodically and a connection to make this communication is a cyclic connection 1 The master station sends its data to the slave station 2 The slave station sends its data to the master station The cycle of cyclic communication can be specified for each slave station Specify
6. Total power supply distance 200 m Total current capacity 0 1 A 0 15 A 0 05 A 0 25 A 0 1 A 0 65 A Max current capacity of 200 m of thick cable from Table 5 1 1 53 A Therefore this configuration allows power supply to all stations 2 Network power supply unit connected to the center of the network The current capacity is calculated as shown below when the network power supply unit is connected at the center of a thick cable network In this case the network power supply unit can supply twice the current compared to when it is connected to the end of the network Network power supply unit Termination Termination resistance resistance Slave station Slave station Master station Slave station Slave station Slave station 0 1A 0 25A 0 2A 0 15A 0 25A 0 15A i 120m t 120m Power supply distance left of the network power supply unit power supply distance right of the network power supply unit 120 m Total current capacity to the left 0 1 A 0 25 A 0 2 A 0 55 A Total current capacity to the right 0 15 A 0 25 A 0 15 A 0 55 A Max current capacity of 120 m of thick cable from Table 5 1 approx 2 56 A Linearly interpolated between 100 m and 150 m Therefore this configuration allows power supply to all stations 5 8 5 SETTINGS AND PROCEDURES BEFORE OPERATION MELSEC A 3 Remedy for Insufficient Network Power Supply Current Capacity If the n
7. permitted limit total drop line length correctly connected power supply Increase the network power Is the network power supply supply capacity capacity sufficient Change the position of the network power supply Is the production inhibit time set too short in the parameters Is the expected packet rate set too short in the parameters Incorrect slave I O data length in the parameters Lit O notlit Flashing r Flashing random Undetermined Turn ON the slave station power Correct the parameters 8 TROUBLESHOOTING MELSEC A 8 3 Troubleshooting Using Error Codes Determine the problem and the appropriate remedy from the error codes Error codes include communication error codes and execution error codes for message communication 1 Check the details of the communication error codes by turning on the error reset signal Xn to read the error codes 2 Check the details of the message communication execution error codes by turning ON the message communication complete signal Xn2 to read the error codes 8 3 1 Communication error codes Error information is stored at address 01B1H in buffer memory It is separated into an upper byte and a lower byte Upper byte Error code Lower byte Station number where error was detected Buffer memory 01B1 Upper byte Lower byte Station number where error was detected Error code In case t
8. 7 PROGRAMMING 7 4 V O Communication with Slave Stations MELSEC A This section describes a sample sequence program to conduct I O communication i Refresh command X0 XOF A a KSA A s Tor 0 H80 K4Y100 K1 Y vit 1 XOF x1 FROM HO HiBC K4MO K4 M4 eT gre ean Ae RT UES Pay rie es ay re AAN aie ors merous hm ne oe Woy tse gees H Station number 4 error processing program i XOF xX l FROM HO H1 K4X100 Kt Y i M4 XIOS E RGA RE A A PRR oe R A T AR OG TER S O a A EAA E 3 m X101 Station number 4 input data processing program A Pg ga faa TO aE rn L M3 RS EA A S a S A E TERE S A A ASA TE COCO CPT OER ere H Station number 3 fault processing program MS aa EE E S E A NE SE A a TAE N GA ee a eg Ne TE CA TA DA H HH Cy100 gt 102 Station number 3 output data processing program Y103 D Yio v107 Y XOF X1 M3 H k k RJ T0 0 H81 K4Y100 K1 Parameter setting program see Section 7 3 Output data initial value setting Refresh request Read communication status Read input data Write output data 7 PROGRAMMING 7 5 Message Communication MELSEC A This section describes a sample sequence program to conduct message communication For the broken line area where the class ID instance ID and attribute ID change with the actually accessed area and slave station refer to the slave station manual 7 5 1 Message communication rea
9. 7 PROGRAMMING MELSEC A 7 2 System Configuration The program described in this section is based on the system described below 1 DN91 is set to station number 1 the first remote I O is set to station number 4 and the second remote O is set to station number 3 2 Bit strobe communication is made between the DN91 and the remote I O of station number 4 and polling communication is made between the DN91 and the remote I O of station number 3 3 Input data is assigned from X100 to X10F and output data is assigned from Y100 to Y10F Remote I O _ Inputs X100 to X10F Remote I O Outputs Y100 to Y10F 4 The communication status of each station is stored in M4 and M3 5 If an error occurs the error information is read to D500 the station number where the error occurred to D501 and the error code to D502 6 Message communication write attribute data is set in D30 to D39 7 DN91 is mounted in slot 0 of the main base unit A 1S J71DN91 station number 1 X100 to X10F Input data 26 Y100 to Y10F Output data M4 M3 Communication status of each station I D500 Error information I D501 Station number where error occurred To D502 Error code i ioe D30 Write attribute data Bit strobe Station number 4 Station number 3 Rockwell Automation Japan Rockwell Automation Japan Flex I O DeviceNet adapter 16 point input Flex I O DeviceNet adapter 16 point output 17
10. Attribute Attribute Instance Class MELSEC A Instance Instance 1 OUTLINE d Reset PLC CPU Device Message communication command area Message communication result area MELSEC A Slave station Class Instance lt i Instance Class Instance Instance 1 OUTLINE MELSEC A MEMO 2 SYSTEM CONFIGURATION MELSEC A 2 SYSTEM CONFIGURATION This section describes the system configuration on DeviceNet 2 1 Overall Configuration A master station can communicate with up to 63 slave stations Each station is connected via a tap on the trunk line or is directly connected to the trunk line The system configuration using AJ71DN91 A1SJ71DN91 as the master station is described below 2 1 1 A typical system configuration that connects with a trunk line Slave stations max 63 stations Power ly 24 resistance Trunk line gt Master station DeviceNet master unit AJ71DN91 A1SJ71DN91 2 1 2 A typical system configuration that connects with a drop line Trunk line Slave stations max 63 stations Power i supply 24 Termination Slave station Slave station Aa resistance E oN i Drop line gt Master station DeviceNet master unit AJ71DN91 A1SJ71DN91 2 SYSTEM CONFIGURATION MELSEC A 2 1 3
11. use power taps Power tap near the center of the network Power tap V CAN_H FG V Power supply unit Power supply unit Power supply unit Shield drain wire CAN_L V o o V FG V V FG V V 5 SETTINGS AND PROCEDURES BEFORE OPERATION MELSEC A 5 6 Instructions for Connecting the Network Power Supply This sections describes the instructions for connecting the network power supply 5 6 1 Network power supply unit installation position Follow the procedure below to determine the position to install the network power supply unit 1 Calculate the current consumption of the stations required on the network 2 Measure the total length of the network 3 Refer to Tables 5 1 and 5 2 to determine the maximum current capacity corresponding to the network length and type of cable used 4 If the current value calculated at step 1 is less than the current value calculated at step 3 any of the network power supply unit installation positions described in Section 5 6 2 can be used 5 If the current value calculated at step 1 exceeds the current value calculated at step 3 refer to Section 5 6 2 to determine whether the network power supply unit can be installed near the center of the network to supply power to all stations 6 If the results from step 5 indicate that power cannot be supplied to all stations increase the number of network power supply un
12. Communication Error Information Normal completion 0000 Error Execution error code Execution error code Table 3 12 Reset Setting Data Buffer Memory Address Contents Hexadecimal Command number 0120H Reset Normal completion 0000 Execution error code Error Execution error code Slave station number slave MAC ID class ID Instance ID Object instance ID Lower byte slave station number MAC ID Upper byte object class ID 5 Message Communication Data Addresses 0130H to 01A7H 304 to 423 The message communication data area is used for the following applications a Get Attribute Data The attribute data read through the message communication is stored as a byte string 01304 Second byte First byte Fourth byte Third byte Sixth byte Fifth byte e Read attribute data O1A7H 3 SPECIFICATIONS b Set Attribute Data Attribute data to be written via message communication is written as a byte string MELSEC A 01301 Second byte Fourth byte Third byte Sixth byte Fifth byte O1A7H 4 i a4 First byte 7 Write attribute data c Read Communication Error Information Stores read communication error information The data set at each address is shown in Table 3 13 Table 3 13 Set Data for Read Communication Error Information Buffer Memory Address Contents Hexadecimal 01304 Slave status Indicates whet
13. Is the power supply connected to that station Turn ON the slave station power supply Replace with a power supply of larger capacity Add a power supply Reduce the network load Is the network power supply capacity sufficient Is the position where the network power supply is connected OK Determine whether the network power supply is connected to a suitable position referring to 5 6 Instructions for Connecting the Network Power Supply Is the communication cable correctly connected to that slave Correctly connect the cable unit no discontinuity Set the slave stations in the parameters No Communication With If a station is set as a reserved station Are the slave stations set in the parameters Slave Stations After A change the parameter setting to actively Certain Station communicating station Check if termination resistances are connected and if they are connected correctly Mak hat th i Is the same baud rate set for each station Ae sured lat same Baud tales ee for each station Does the cable length exceed the permitted limit Reduce the cable length Check the cable length restrictions appropriate for the cable Reduce the baud rate thickness and baud rate referring to 3 2 Performance If thin cable is used in the trunk line Parameter Settings Check the error codes See 8 3 Troubleshooting using Error Codes code Is the power supply connected to that station Turn ON the slave station
14. MOVP H209 D3 Send data byte length 2 Attribute ID 9 ToP Ho H110 DO K4 JWrite request data to buffer memory SET writing Y SET Y12 Set message communication request Writing X2 Y12 k kH F_ FROM HO H120 D10 K6 Read result from buffer memory lt gt KO D1 H Error processing program 4 1 1 J STV Reset message communication request F RST writing J attributes 7 PROGRAMMING MELSEC A 7 6 Acquiring Error Information This section describes a sample sequence program to acquire error information FROMP Ho H1B1 D500 Ki Read error information WANDP HOFF D500 D501 Station number generating error MOvP D500 D502 Error information ________________________________________fsFRP 502 k8 Error code Error reset SET 13 Set error reset request Y13 X3 7 H LRST Y13 Reset error reset request POINT The error code and the station number which detected the error code are stored into buffer memory 01B1H as shown below Upper byte Lower byte Station number where error was detected Error code For details refer to Section 8 3 1 7 PROGRAMMING MELSEC A MEMO 8 TROUBLESHOOTING MELSEC A 8 TROUBLESHOOTING This section describes errors which may occur when using a DN91 master unit and the troubleshooting procedures This section is divided into the following sub sections Section 8 1 Troubleshooting Tables Determine the appropriate remedy from
15. Mount DN91 on the base unit and power ON the unit Set the CPU key switch to STOP and do not connect the DeviceNet cable Write the parameter setting sequence program Modify the parameter setting Set the CPU key switch to RUN Parameter setting completes sequence program Parameter setting successfully completed Set the CPU key switch to STOP and turn OFF the power Connect the DeviceNet cable ee Power ON the DeviceNet network and slave stations Power ON the unit Set the CPU key switch to STOP Set the CPU key switch to RUN Z ate Communication Modify the error code R area 0 parameter setting Monitor the buffer memory sequence program e to check it Set the CPU key switch to STOP Develop a control sequence program Write the control sequence program onto the PLC CPU Modify the control sequence program Set the CPU key switch to RUN NO Operates normally YES Operation gel 5 SETTINGS AND PROCEDURES BEFORE OPERATION MELSEC A 5 1 2 DN91 start up when setting parameters with the configuration software Start Obtain EDS file for the slave station used from the manufacturer of the station Copy the EDS file onto the EDS storage folder of the configuration software If for example the software is installed in the folder Program Files of d
16. error that is not Read the communication error information and take i station defined remedial actions thereupon Slave The slave station responded with an error when e Read the communication error information and take station eslablsting a connection remedial actions thereupon oo size of the actual slave station set a proper input data size e Refer to the operation manual of the slave station and size of the actual slave station set a proper output data size e Refer to the operation manual of the slave station and f avoid sending from the slave station any function that Received response data for the function that is not j 26H DN91 is not supported by DN91 supported by DN91 e Inspect the state of the network and slave stations closely as for any missing terminal resistance Slave CERN Inspect the state of the network and slave stations 27H The connection is already in the designated mode pay station closely as for any missing terminal resistance 28 DN91 Unexpected illegal data has been received when Inspect the state of the network and slave stations H establishing a connection closely as for any missing terminal resistance 29 Slave Connection is already established with the slave e Wait and observe for a while and if the connection is i station station not established reset the slave station Polling response data length differs from the length 2A H DN91 of data that has been read from the slave
17. example below lt Example gt Consider the case where the Customized I O data O Addr item is set as follows 1 If the addressing mode is byte addressing The setting screen appears as and the relationship between the buffer memory address and O Addr is shown in the diagram below 00804 1 0081H 2 00824 3 0083H 4 2 If the addressing mode is word addressing The setting screen appears as m Addressing mode Byte addresses Word addresses and the relationship between the buffer memory address and O Addr is a 1 1 correspondence as shown in the diagram below 0080 6 1 00811 00821 2 0083 3 00841 00851 4 3 SPECIFICATIONS MELSEC A 3 Message Communication Commands Addresses 0110H to 011FH 272 to 287 TO command is used to write the message communication command a Reading Attribute Data from a Slave Station 1 Set the command data in the message communication command area using the TO instruction 2 Turn ON message communication request Y n 1 2 with a sequence program 3 Message communication complete Xn2 automatically turns ON when the message communication completes 4 Check the message communication error signal Xn5 to see if the message communication has been normally completed 5 The read attribute data is saved in the message communication data area Table 3 5 shows the data that should be set by a sequence program Buffer Memor
18. handling the module always touch grounded metal etc to discharge static electricity from the human body Failure to do so can cause the module to fail or malfunction Disposal Precautions A CAUTION e To dispose of this product treat it as an industrial waste REVISIONS The manual number is given on the bottom left of the back cover Print Date_ Manual Number Oct 1998 SH NA 4004 A First edition Oct 1999 SH NA 4004 B Correction Section 1 2 1 2 1 3 2 2 1 2 2 2 2 2 3 3 1 3 2 3 4 2 5 6 1 7 2 7 3 7 4 7 5 1 7 6 8 2 2 8 3 1 APPENDICES APP2 APP3 Jul 2001 SH NA 4004 C Correction Section 1 2 1 2 1 3 3 4 2 5 3 5 5 APPENDICES1 1 APP1 2 Jul 2004 SH NA 4004 D Correction Safty Precautions Section 1 2 3 2 2 2 3 3 1 3 2 3 3 2 4 2 Chapter 7 2 d 4 2 4 4 2 5 Japanese Manual Version SH 3312 D This manual confers no industrial property rights or any rights of any other kind nor does it confer any patent licenses Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual 1998 MITSUBISHI ELECTRIC CORPORATION INTRODUCTION Thank you for purchasing the Mitsubishi MELSEC A series Before using the equipment please read the manual carefully to develop full familiarity wi
19. ms pa 10 ms Izumi Electric 9 g H K1001 K11 Co Ltd Pollin 1000 ms ae 10 ms g H K1001 K11 APP 4 WARRANTY Please confirm the following product warranty details before using this product 1 Gratis Warranty Term and Gratis Warranty Range If any faults or defects hereinafter Failure found to be the responsibility of Mitsubishi occurs during use of the product within the gratis warranty term the product shall be repaired at no cost via the sales representative or Mitsubishi Service Company However if repairs are required onsite at domestic or overseas location expenses to send an engineer will be solely at the customer s discretion Mitsubishi shall not be held responsible for any re commissioning maintenance or testing on site that involves replacement of the failed module Gratis Warranty Term The gratis warranty term of the product shall be for one year after the date of purchase or delivery to a designated place Note that after manufacture and shipment from Mitsubishi the maximum distribution period shall be six 6 months and the longest gratis warranty term after manufacturing shall be eighteen 18 months The gratis warranty term of repair parts shall not exceed the gratis warranty term before repairs Gratis Warranty Range 1 The range shall be limited to normal use within the usage state usage methods and usage environment etc which follow the conditions and precautions etc given in the i
20. of state DeviceNet network RS i X p Bit strobe ee Cydic 05 Slave station 1 Slave station 2 Slave station 3 Slave station 4 5 O communication permits communication of 256 bytes of inputs 2048 points and 256 bytes of outputs 2048 points in the edit mode 6 Each message communication can communicate 240 byte message data 7 Any of the following two methods may be used to set the DN91 parameters e Use TO command of the sequence program to set the parameters e Use the configuration software to set the parameters Refer to the Section 2 2 3 for the configuration software 1 OUTLINE MELSEC A When a network analyzer is connected to monitor the DeviceNet network DN91 is recognized as a product of the Hilscher company 1 OUTLINE MELSEC A 1 2 Communication Outline 1 2 1 Network configuration The DN91 based DeviceNet network is configured as shown below Master station Drop line 20 Termination aie as resistance apie tie Trunk line 1212 1 4W 24 VDC Slave station Tap Drop line branch Slave station Termination resistance 1212 1 4W Power tap Slave station Slave station Slave station 1 Up to 64 units can be connected including the master station DN91 and slave stations 2 The positions of the master station and slave stations are not fixed They can be arrang
21. power supply is connected Station number in the parameters differs from the station number of the actual slave station 8 TROUBLESHOOTING MELSEC A Check Item Is the correct I O data area referred to in buffer memory Check that the I O data area is correct referring to 3 4 2 Set the correct reference area Details of the Buffer Memory f Make the baud rate setting match the Is the correct baud rate set for the slave station baud rate setting at the slave station ao Check if termination resistances are Is a termination resistance correctly connected to each end of i connected and if they are connected the network No Communication With A correctly Certain Station Does the cable length exceed the permitted limit Reduce the cable length Check the cable length restrictions appropriate for the cable Reduce the baud rate thickness and baud rate referring to 3 2 Performance If thin cable is used in the trunk line Specifications replace it with thick cable i See 8 1 2 Problems Due to Incorrect Check the parameter settings Parameter Settings Check the error codes Take the remedy described for the error See 8 3 Troubleshooting using Error Codes code Is Get Attribute 01011 stored in the message communication command area of buffer memory Also are the correct station number of the slave station class ID instance ID and attribute ID stored in the message communication command area of buffer memory
22. read program is these are executed at different times executed A Communication Error Occurs when DeviceNet is Started Up Are parameters set by the configuration software and Disable one set of parameters referring parameters set by the sequence program both valid to 6 2 Setting with a Sequence Program 8 TROUBLESHOOTING MELSEC A 8 1 2 Problems due to incorrect parameter settings Refer to the following tables to determine the appropriate remedy for problems arising due to incorrect parameters or an incorrect sequence program Check Item Parameters Cannot be Set b Ensure refresh request Y n 1 1 does y Is refresh request Y n 1 1 ON before parameter set q Oe Sequence Program not turn ON between parameter set request Y n 1 7 turns ON Also is refresh request Parameter set complete Xn7 request Y n 1 7 turning ON and Y n 1 1 ON before parameter set complete Xn7 does not turn ON after parameter turns ON parameter set complete Xn7 turning set request Y n 1 7 turns ON i ON Store a station number from 0 to 63 in the host station number storage area of buffer memory Parameter settings made by the Is FFFFu stored in the host station number storage area sequence program are ignored of buffer memory Set FFFFu as the host station number in buffer memory with the sequence program Have the parameter settings made by the configuration Change the parameter settings referring software been dis
23. slave station Same as with the first slave station 03784 to 037FH Setting for the 53rd slave station Same as with the first slave station 0380H to 0387H 0388H to 038FH Setting for the 54th slave station Setting for the 55th slave station Same as with the first slave station Same as with the first slave station 0390H to 0397H Setting for the 56th slave station Same as with the first slave station 0398H to 039FH O3A0n to 03A7H Setting for the 57th slave station Setting for the 58th slave station Same as with the first slave station Same as with the first slave station O3A8H to OSAFH Setting for the 59th slave station Same as with the first slave station 03B0n to 03B7H Setting for the 60th slave station Same as with the first slave station 03B8x to O3BFH Setting for the 61st slave station Same as with the first slave station 03C0x to 038C7H Setting for the 62nd slave station Same as with the first slave station 03C8 to O3CFH Setting for the 63rd slave station Same as with the first slave station POINTS 1 Parameter data flows as shown below TO Parameter instruction Buffer Y n 1 7 ON E PROM CPU reset Buffer data memory memory Since EPROM has a restriction on the number of write times execute the parameter set request Y n 1 7 only when parameters are created newly or changed 2 When creating parameters write 0 to the
24. the cycle of cyclic communication in the following parameter items Cycle of transmission from master station Production disable time Cycle of transmission from slave station Expected packet rate Cyclic communication does not have the concept of network scans Master station oooo0 OO ooooo OO ooooo 0O Slave stations 4 FUNCTIONS MELSEC A 4 2 Message Communication Functions The message communication functions read write attribute data from to the specified slave station read communication error information from that slave station and reset its class instance 4 2 1 Get attribute PLC CPU DN91 Slave station MAC ID 01104 Message Class Tto H communication 011Fu command area 2 Message Attribute SET Y n 1 2 H gt COMMUNICAtION request Instance Attribute Instance Attribute 01201 Message HH H FROM communication Xn2 Xn5 012F x result area Class 0130s Message Instance communication O1A7H data area Message communication Instance complete I A FROM Attribute Xn2 Xn5 Message communication Attribute complete Attribute 1 Set Get Attribute in the buffer memory message communication command area using the sequence program TO instruction 2 Turn ON message communication request Y n 1 2 with a sequence program to send the data set in the buffer memory message com
25. the slave station to 240 bytes 21 The service supplied more data than expected station maximum 29 Slave The designated object does not exist in the slave station station DN91 Incorrect response data format e Check if the designated station number class ID instance ID and attribute ID are correct Refer to the slave station manual to determine the conditions for the slave station to notify this error and take the appropriate remedy e Investigate overall status of network and slave station Is the termination resistance disconnected for example Designated slave station number is outside the 55 DN91 isis Designate from 0 to 63 range 0 to 63 DN91 Incorrect sequence during packet receipt e Investigate overall status of network and slave station Is the termination resistance disconnected for example DN91 No parameters set for the designated slave station Designate a slave station with set parameters DN91 Data length set in buffer memory exceeds 241 e Set the data length 240 or less Incorrect value was set in command number of 258 DN91 buffer memory message communication command area e Set the command number at one of 0001H 01011 and 0102n APPENDICES MELSEC A APPENDICES APPENDIX 1 External View 1 1 AJ71DN91 Au71DN91 sd ft al i oy i Be No A y 4 2 106 37 5 0 17 4 17 1 48 gt Uni
26. the symptom of the problem Section 8 2 Troubleshooting using LED Indications Determine the appropriate remedy from the LED indicator status Section 8 3 Troubleshooting using Error Codes Determine the appropriate remedy from the error codes The timing to check the error codes and the reference buffer memory are shown below Timing to Check Error Codes Error Codes to Check When the error set signal Xn3 Communication error code Take remedial actions in accordance with Section turns ON 01B1h upper byte 8 3 1 Communication error codes When the message communication Error code 0121 after conducting See 8 3 2 Execution Error Codes for Message complete signal Xn2 turns ON message communication Communication 8 TROUBLESHOOTING MELSEC A 8 1 Troubleshooting Tables Determine the appropriate remedy from the symptom of the problem 8 1 1 Troubleshooting by symptom type Refer to the following tables to determine the appropriate remedy for the symptom Check Item No Communication With Any Slave Station Is communication cable connected to the DN91 DeviceNet interface connector Are cable locking screws fully tightened Check that the communication cable is correctly connected referring to 5 5 Connecting Communication Cable to DN91 Is the network power supply connected Is the power turned ON p PRY P Turn ON the network power supply Replace with a power supply of larger capacity Is the network power s
27. to 16 Double word input module numeric data represented by bits 17 to 32 Byte input module numeric data represented by ON OFF data or bits 1 to 8 3 SPECIFICATIONS MELSEC A b Parameters set by configuration software The buffer memory address at which the input data for each station is stored is shown in the diagram below The address is displayed for the Customized I O data Addr item on the screen Configuration MAC ID EJ Filename 64EDS ie ma Cancal Description Discrete I O pR AAE E E e 3 ABSAIO Ef Actual chosen IO connection Gi Pall aeoe men aane eE I UCMM check Group 3 w Fragmented Timeout 1600 msec r Connection Object Instance Attributes gt Expected packet rate 0 Production inhibit time 10 Watchdog timeout action Timeout ha Produced connection size 4 Consumed connection size 4 Available predefined connection data types Data type Description Data lenath a BIT Input Bit 1 BIT Output Bit 1 BYTE Input Byte 8 EIE Sutput Byte pa z Add to configured I O data m Configured I O connection data and its offset address 7 Data type Description Data count Type I Len I Addr 0 Type O Len O Addr a BYTE Input Byte 1 IB 8 2 BYTE Output Byte 1 QB 8 2 BYTE Input Byte 1 IB 8 3 BYTE Output Byte 1 a 8 3 z _Delete configured I O data The memory address is determined by the value of the Customized I O data I Addr item i
28. 1 A 1 25 A 2 35 A Total current capacity to the right 0 5 A 0 25 A 0 25 A 0 85 A 1 85 A Max current capacity of 100 m of thick cable from Table 5 1 approx 2 93 A Max current capacity of 140 m of thick cable from Table 5 1 approx 2 19 A Linearly interpolated between 100 m and 150 m As a result of shifting the network power supply unit in the direction of insufficient current capacity it is able to supply power to all stations 5 SETTINGS AND PROCEDURES BEFORE OPERATION MELSEC A 4 Mixed Trunk Line and Drop Line The current capacity is calculated as shown below when the network power supply unit is connected to a network with 200 m of thick cable trunk line and 6 m of thin cable drop line Network power supply unit Termination resistance Termination resistance Master station Slave station Slave station Slave station 1 0A 0 15A 0 05A 0 25A Slave station 0 1A son Thick cable power supply distance 200 m Drop line power supply distance 6 m Total current capacity 0 5A 0 15A 0 05A 0 25A 0 1A 1 05A Max current capacity of 200 m of thick cable from Table 5 1 1 53 A Max current capacity of 6 m of drop line from Table 5 3 0 75 A Total current of devices connected to drop line 0 1 A Therefore this configuration allows power supply to all stations Table 5 3 Maximum Current Capacity Corresponding to the Drop Line Length Drop line length m
29. 94ADN IB16 1794ADN OB16 The Flex I O DeviceNet adaptor of Rockwell Automation Japan has 2 byte input data as a status Both IB16 and OB16 have 2 byte input data and 2 byte output data 7 PROGRAMMING MELSEC A The relationship between the PLC CPU master station buffer memory first slave station remote I O and second slave station remote I O is shown below PLC CPU DN91 master station Remote I O station number 4 16 point input 00024 Station number 3 status ___ 00034 Station number 3 input _ 00804 Station number 4 output Dummy input Output data Y10F to Y100 TO 00811 Station number 3 output 015 to O00 Output 15 to output 00 7 PROGRAMMING MELSEC A 7 3 Setting Parameters with a Sequence Program This section describes a sample sequence program to set parameters Parameter set command X0 XOF X1 X7 Y17 aaaea love HG DO F Set host station to 1 MOVP K1 D1 Set baud rate to 500 kbaud L ToP Hio D4 7 Set first slave station to station number 4 and message group to 1 Connection to sensor Set connection type to bit strobe po mo H2 D5 MOVP H204 D6 J Input byte module 4 Output byte module 2 MOVP HO D7 Input word module 0 Output word module 0 vov Ho D8 Input double word module 0 Output double word module 0 F oP KI D9 Expected packet ra
30. AC ID Master Set the DN91 station number as a value from 0 to 63 3 Heartbeat Timeout Set the interval for checking any existence of slave stations 4 Auto clear mode on Set to turn OFF or not output to all stations in case an error occurs with any single station 6 PARAMETER SETTINGS MELSEC A 6 4 4 Set the device slave station parameters Set the slave station parameters on the screen below Device Configuration MAC ID E Filename 64 EDS 4 Cancel Description Discrete I O VV Activate device in actual configuration SE ABSA YO z r Actual chosen IO connection a oean enaa eiai M UCMM check Group 3 v Fragmented Timeout 1600 msec Connection Object Instance Attributes Expected packet rate 0 Production inhibit time 10 Watchdog timeout action Timeout z Produced connection size 4 Consumed connection size 4 J Available predefined connection data types Data type Description Data lenath a BIT Input Bit 1 BIT Output Bit 1 BYTE Input Byte 8 prie Output Byte A z __ Add to configured I O data Configured I O connection data and its offset address Datatype Description Data count I Type I Len I Addr O Type Len O Addr a BYTE Input Byte 1 IB 8 2 BYTE Output Byte 1 OB 8 2 BYTE Input Byte 1 IB 8 3 BYTE Output Byte 1 a 8 3 z _Delete configured I O data Set the items as follows 1 MAC ID Set the slave station number as a value from 0 t
31. C CPU by the FROM instruction in the sequence program 5 When the Message communication error signal Xn5 turns ON the contents of the Message communication result area are read by the FROM instruction to identify the error cause 4 FUNCTIONS MELSEC A 4 2 4 Reset Slave station MAC ID PLC CPU DN91 01104 Message Class To communication netice 011F4 command area 2 Message Attribute SET Y n 1 2 H a COMMUNICAtION Attribute request Instance Attribute 01201 Message communication result area 012FH Class Instance Message communication complete 4H4E FRom Xn2 Xn5 Instance Attribute Attribute Attribute 1 Reset is set in the buffer memory Message communication command area by the TO instruction in the sequence program 2 When Message communication request Y n 1 2 is turned ON in the sequence program the slave station is requested to reset the class instance specified in the buffer memory Message communication command area 3 When the slave station finishes reset processing the message communication result is stored into the buffer memory Message communication result area 4 When the processing result is stored into the buffer memory Message communication result area message communication is completed and Message communication complete Xn2 turns ON automatically 5 When the Message communication er
32. E eee te 2 3 2 2 1 Mountable CPUs and number of units ceceeeeeeeeeeeseeeeceeeeeeeaesaeceeseeeeaesaeseeseaesaesaeseeeeaeeanseeateaes 2 3 2 2 2 Important points about the system configuration eee eee eeeeeeteeeeeeeaeeeeeeeaeeeaeeeaeeeaeeeaeenateeaeeeateas 2 4 2 2 3 Operating environment of the configuration software parameter setting tOol eeeeee 2 5 2 3 Products Connectable to a Slave Station cccceccesescecceceeseeeeceeceeeeaecaeceeeeeeeaesaeseeseaesaesaeseeeeaeeeseeeeaeeaes 2 6 3 SPECIFICATIONS 3 1 to 3 28 3 1 General Specifications sis esena anana aaa aaa a aE aeaa a aaa liv aa aaraa teens aa aaia aaa 3 1 3 2 Performance Specifications cccccecceceesesseeeeceeceseeaecseceeeeeesaecaeceeeaeeaecaesaeeaesaeseeseaesaesaesesaaeeaesaeeeeeeaeeats 3 2 3 2 1 Maximum transfer distance of a trunk line that contains both thick and thin cables 3 2 3S PLCCRUTOSigNA S r oss cet e ea wes hee ee ele eed Wena eer lt aa T AAA 3 3 3 3 1 Table of O signals iei Liev sis ren lilies havens AEAN TE nani andy A R a 3 3 3 3 2 I O Signal details cceccecceececceeeeseeeeseceeeeeeeaecaecaeeaecaecaecaeseaesaesaeseeeeaesaesaeseeeaesaecaeseeeeaesaesaeseeeeaseats 3 5 3 4 Buffer MOMONYii2e 8 20 tector cdl ee i aii a a aiioa 3 9 3 451 Burfer memory tables sene r eet tiene ieee aed iinet eet 3 9 3 4 2 Details of the buffer MOMOTY cecceecceecceeeceeseneecteeeeeectecenseensnenseensaenseensaeneacsaeneeetea
33. Expected packet rate for Oth slave station n 7 Upper double word Number of Number of output double word double word module moar es 01DCH 0 1 x8 Units Double words for both points in Lower double word L th slave Number of input station double word modules APP 3 APPENDICES MELSEC A APPENDIX 3 List of Communication Parameter with Each Maker s Slave Station Examples of parameter setting for communicating with each maker s slave station are listed below Contact each maker for inquires about the details of parameter setting Set Value in brackets set value when parameters are set with a sequence program is indicated Remark Number of Number of onneaioa Number of Word Double Word Expected Watchdog Production Message onnection Byte Modules Packet Timeout Inhibit UCMM g Type Modules Modules Group re Ne A500 series inverter Polling 1000 ms Mea 10 ms ER OND DevicaNat H1 Oi al a oe K1001 K11 option Polling 1000 ms 10 ms H1 K1001 K11 Bit strobe 1000 ms Flex VO lia K1001 a K11 1794ADN DeviceNet ne ms a ms adapter F ms el K26 modules j E oa i T E 1000 ms pa K1001 K11 1000 ms Timeou 10 ms K1001 K11 1000 ms Timeou K1001 1000 ms K1001 ing 1000 ms Timeou 10 ms DRT1 AD04 1000 ms Gn 10 ms Pollin 1000 ms ee 10 ms olingH K1001 K11 ot at o o 3 3 D D e 3 D i Pollin 1000
34. Lit O notlit Flashing r Flashing random Undetermined 8 TROUBLESHOOTING MELSEC A RUN L RUN MS NS heck i R Is a station number used for s Duplicate station number error Correct the station numbers more than one station Is the same baud rate set for all Set the same baud rate for all stations stations Is a termination resistance pis F Connect a termination resistance connected Green Is the communication cable Correctly connect the correctly connected communication cable Bus off error Reduce the baud rate Does the total cable length ls th iwoik i a s the network power su exceed the permitted limit j P ppYy capacity sufficient Increase the network power supply capacity Reduce the total cable length pry capacity m Change the position of the network power supply Wrong connection type for a 3 yR Correct the parameters slave station Is the slave station power turned ON Is the same baud rate set for all Set the same baud rate for all stations stations Is a termination resistance ae A Connect a termination resistance connected Is the communication cable Correctly connect the correctly connected communication cable Does the total cable length Reduce the baud rate exceed the permitted limit Reduce the total cable length Does the drop line length or total Reduce the baud rate Green Green Online communication not drop iine engthexcced the e established i a
35. MITSUBISHI Model AJ71DN91 A1SJ71DN91 DeviceNet Master Module User s Manual Mellel Mitsubishi Programmable Controller e SAFETY PRECAUTIONS e Read these precautions before using Before using this product read this manual and the relevant manuals introduced in this manual carefully and handle the product correctly with full attention to safety Note that these precautions apply only to this product Refer to the user s manual of the CPU module for the PLC system safety precautions In this manual the safety instructions are ranked as DANGER and CAUTION f N Indicates that incorrect handling may cause hazardous conditions D DANGER resulting in death or severe injury a CAUTION Indicates that incorrect handling may cause hazardous conditions resulting in medium or slight personal injury or physical damage Note that failure to observe the CAUTION level instructions may lead to serious results depending on the circumstances Be sure to observe the instructions of both levels to ensure personal safety Please keep this manual in an accessible place and be sure to forward it to the end user Design Precautions lt DANGER e If a communication error occurs in the network of the DeviceNet the communication error station enters the state shown below 1 The master station AJ71DN91 A1SJ71DN91 holds the data that was input from a slave station before t
36. Modify the sequence program to store the correct values Cannot Read Message Communication es Is message communication write processing or message communication error read processing conducted at the same Modify the sequence program so that time as the message communication read program is these are executed at different times executed Is Set Attribute 0102H stored in the message communication command area of buffer memory Also are the correct station number of the slave station class ID instance ID and attribute ID stored in the message communication command area of buffer memory Modify the sequence program to store the correct values Cannot Write Message Communication Is message communication read processing or message communication error read processing conducted at the same Modify the sequence program so that time as the message communication write program is these are executed at different times executed Is Read Communication Error Information 00011 stored in the message communication command area of buffer memory Also is the correct station number of the slave station stored in the message communication command area Modify the sequence program to store the correct values Cannot Read Message Communication Errors a Is message communication read processing or message communication write processing conducted at the same time Modify the sequence program so that as the message communication error
37. OOCFH 42 to 207 Reserved Reserved by DeviceNet O0DO0x to OOFFH 208 to 255 Reserved for Object Class and service errors Error codes in this range are used to represent errors unique to object classes The codes of the range are used only when any of the error codes shown in this table do not correctly explain the error that has occurred DeviceNet general error code area 0133n may be explained in further detail using the Additional error code area 0134 3 SPECIFICATIONS MELSEC A 6 Master Communication Status Address 01BO0H 432 The master communication status is shown by the upper and lower bytes as shown below a Upper Byte This byte shows the DN91 I O communication status It contains a value indicating the communication status as shown in Table 3 15 OFFLINE Table 3 15 I O Communication Statuses Initializing Operation STOP I O communication stopped CLEAR Resetting output data for all slave stations after 0 data was sent OPERATE Conducting I O communication When powering ON after normal completion of self diagnosis and parameter check the state automatically advances from OFFLINE to OPERATE When Refreshing Xn1 is ON 0 data is sent to reset the output data of slave stations While setting parameters the state advances from OPERATE CLEAR STOP and to OFFLINE OFFLINE A STOP CLEAR
38. Setting for the 37th slave station Same as with the first slave station 0300H to 03071 Setting for the 38th slave station Same as with the first slave station 0308H to 030FH Setting for the 39th slave station Same as with the first slave station 03104 to 0317H Setting for the 40th slave station Same as with the first slave station 0318 to 031FH Setting for the 41st slave station Same as with the first slave station 03204 to 0327H Setting for the 42nd slave station Same as with the first slave station 0328H to 032FH Setting for the 43rd slave station Same as with the first slave station 0330H to 0337H 0338H to 033FH Setting for the 44th slave station Setting for the 45th slave station Same as with the first slave station Same as with the first slave station 03401 to 0347H Setting for the 46th slave station Same as with the first slave station 0348H to 034FH Setting for the 47th slave station Same as with the first slave station 0350H to 0357H Setting for the 48th slave station Same as with the first slave station 0358H to 035FH Setting for the 49th slave station Same as with the first slave station 0360H to 03671 Setting for the 50th slave station Same as with the first slave station 0368H to O36FH Setting for the 51st slave station Same as with the first slave station 03704 to 0377H Setting for the 52nd
39. System configuration with a DeviceNet master unit Trunk line or drop line Api x2 PLC CPU T S EE eee ee i Lt al Bo00009 e a a n a a n Main base DeviceNet master unit AJ71DN91 A1SJ71DN91 i l l l X l a f l D S i i i RS 232C cross cable Extension Cable i i l l t l I pannoniai Extension base Configuration unit 1 1 PC AT compatible computer configuration software Yagi casei yen ag eR ans yen Sp ig py Pig NE E ict Sy nD ag MU hone nes 4 x2 Use the area enclosed by the broken line only when making parameter setting on the configuration software 2 SYSTEM CONFIGURATION MELSEC A 2 2 Applicable Systems This section describes important points regarding which PLC CPUs can be used and the system configuration 2 2 1 Mountable CPUs and number of units Table 2 1 shows which PLC CPUs can be mounted and the number of units Table 2 1 Mountable CPUs and Number of Units Numbe
40. The message communication functions read write attribute data from to the specified slave station read communication error information from that slave station and reset its class instance An outline of message communication is shown below See 4 2 Message Communication Functions for details a Reading attributes PLC CPU Slave station Device Class Message Instance communication gt command area Attribute Attribute Instance Attribute Message communication result area Message Instance communication data area Up to 240 byte Instance 1 OUTLINE b Writing attributes PLC CPU Device gt communication Q communication DN91 Message command area Message gt communication data area Up to 240 byte Message result area MELSEC A Slave station Class Instance Attribute Attribute Class Instance Instance Instance Instance 1 OUTLINE c Reading communication error information PLC CPU Device Device Message communication command area Slave information storage area Message communication result area Message communication data area Up to 240 byte 1 0 Communi cation lt Stores the status of each slave station during I O communication Slave station Class 1 Instance
41. abled using the configuration software to 6 3 Setting Parameters with the settings Configuration Software Have parameter settings made by the sequence Parameter settings made by the program been disabled configuration software are ignored 8 2 Troubleshooting Using LED Indications Determine the cause of the error from the LED indicator status and take the appropriate remedy 8 2 1 Errors caused by the master unit RUN L RUN MS NS heck R ee pa PC power supply is not turned s p ppy Is PC power supply turned ON Turn ON the power supply enomai ower nit free mounted in base unit Correctly mount in base unit Abnormal DN91 unit A 7 Is DN91 unit defective Repair or replace the DN91 unit Is another unit including the Error is caused Eror is caused by another unit another unit g Repair or replace the unit base unit defective Parameters being loaded Wait and see continues Repair or replace the DN91 unit Lit O notlit Flashing r Flashing random Undetermined Abnormal DN91 unit Is DN91 unit defective Repair or replace the DN91 unit DN91 unit is defective if flashing 8 TROUBLESHOOTING MELSEC A 8 2 2 Errors caused by incorrect parameter settings or abnormal network RUN L RUN MS NS heck i R Green Green Normal e e ee coe e eed Communication stopped Are parameters set Set parameters Doon _ i Continuation of the flickering status indicates a paramet
42. and uses the message group 3 02H Station that supports UCMM and uses the message group 2 03H Station that supports UCMM and uses the message group 1 04H Station that does not support UCMM Dedicated server of group 2 80H Reserved station Connection type for the first slave station Select the connection type for I O communication 0001 polling 00024 bit strobe 0004 change of state 00084 cyclic Number of byte modules for the first slave station Lower byte Number of input byte modules Upper byte Number of output byte modules 8 points of bit modules are calculated as one byte module Set in hexadecimal Example Set OAQAH when there are 10 bytes of input byte modules and 10 bytes of output byte modules Number of word modules for the first slave station Lower byte Number of input word modules Upper byte Number of output word modules Set in hexadecimal Number of double word modules for the first slave station Lower byte Number of input double word modules Upper byte Number of output double word modules Set in hexadecimal Expected packet rate for the first slave station EXPECTED PACKET RATE Sets the expected packet rate at the slave station Setting 00004 default 500 ms Setting 0000H The value setting 1 is the communication watchdog timer setting ms The setting will vary depending on the connection type Refer to Table 3 21 for
43. controller has been designed and manufactured for applications in general industries etc Thus applications in which the public could be affected such as in nuclear power plants and other power plants operated by respective power companies and applications in which a special quality assurance system is required such as for Railway companies or Public service purposes shall be excluded from the programmable logic controller applications In addition applications in which human life or property that could be greatly affected such as in aircraft medical applications incineration and fuel devices manned transportation equipment for recreation and amusement and safety devices shall also be excluded from the programmable logic controller range of applications However in certain cases some applications may be possible providing the user consults their local Mitsubishi representative outlining the special requirements of the project and providing that all parties concerned agree to the special circumstances solely at the users discretion Microsoft Windows Windows NT are registered trademarks of Microsoft Corporation in the United States and other countries Adobe and Acrobat are registered trademarks of Adobe Systems Incorporation Pentium and Celeron are trademarks of Intel Corporation in the United States and other countries Ethernet is a trademark of Xerox Co Ltd in the United States Other company names and product names used in thi
44. cted packet rate is less than Set the expected packet rate value greater than that of s that of the production inhibit time the production inhibit time 8 TROUBLESHOOTING MELSEC A 8 3 2 Execution error codes for message communication The execution error codes are stored at address 0121H in buffer memory Normal completion 0000 Faulty Execution error code Buffer memory 0121H Normal completion 0000x Faulty Execution error code 1 Reading communication error information Error Error Details Remedy Code Detected Designated slave station number is outside the 161 DN91 9 e Designate from 0 to 63 range 0 to 63 2 Reading writing attributes Error Error Details Remedy Code Detected e Refer to the slave station manual to determine the Slave The required resources could not be used for the 7 A j f 2 conditions for the slave station to notify this error and station object to execute a requested service 7 take the appropriate remedy e Check if the designated station number class ID instance ID and attribute ID are correct Refer to the slave station manual to determine the conditions for the slave station to notify this error and take the appropriate remedy e Check if the designated station number class ID Slave instance ID and attribute ID are correct Invalid attribute data was detected e Refer to the slave station manual to determine the Station conditions for the slave station t
45. d Description Reserved by DeviceNet 00024 Resource unavailable The requested service could not be run as the required resource was not free 00034 to 0007H Reserved Reserved by DeviceNet 0008H Service not supported The requested service is not supported Or the requested service is undefined in the designated object class or instance 00094 Invalid attribute value Abnormal attribute data in the requested service O000AH Reserved Reserved by DeviceNet 000BH Already in requested mode state The designated object is already transferred to the requested mode or status 000CH Object state conflict The designated object was not in a status to execute the requested service 000DH Reserved Reserved by DeviceNet 000E Attribute not settable An unchangeable attribute was designated for the requested setting service OOOFH Privilege violation The service request destination has no access rights 0010H Device state conflict The designated device was not in a status to execute the requested service 0011H Reply data too large The response data length exceeded the processable data length 00121 Reserved Reserved by DeviceNet 0013H Not enough data The requested service did not supply sufficient data for processing 0014H Attribute not supported The requested service designated an undefined attribu
46. ding The following sample program represents a case of reading attributes of expected packet rate for the polling connection from the station number 3 Read attributes Writing X0 XOF X2 Y12 MOVP H101 MOVP H0503 MovP K2 MOVP K9 TOP HO H110 DO SET SET Reading X2 Y12 FROMP HO H120 D10 so ae Error processing program z KO D11 DECP iP D14 K2 INCP MOVP D14 FROMP HO H130 D20 RST RST RST DO D1 D2 D3 K4 Reading Y12 D14 D14 KOZ Y12 Reading Read attributes Set attribute read command Station number 3 slave station Class ID 5 Instance ID 2 Attribute ID 9 Write request data to buffer memory Set message communication request Read result from buffer memory Calculate read length of received data Read received data Reset message communication request 7 PROGRAMMING MELSEC A 7 5 2 Message communication writing The following sample program represents a case of writing attributes of expected packet rate for the polling connection from the station number 3 Write attributes Reading MOV 1000 D30 Set onto D30 the data to be written i TOP HO H130 D30 K1 Write send data to Write buffer memory attributes Reading XO XOF X2 Y12 an t t MOVP H102 DO Set attribute write command wove H0503 D1 Station number 3 slave station Class ID 5 MmovP K2 D2 Instance ID 2
47. e length of attribute data to be written 1 to 240 1H to FOx 3 SPECIFICATIONS MELSEC A c Reading error information from a slave station 1 Set the command data in the message communication command area using the TO instruction 2 Turn ON message communication request Y n 1 2 with a sequence program 3 Once reading action completes the message communication complete Xn2 automatically turns ON 4 The read attribute data is saved in the message communication data area Table 3 7 shows the set data to read communication error information Table 3 7 Set Data To Read Communication Error Information Buffer Memory Address Contents Hexadecimal Command number 00014 Read Communication Error Information Lower byte Slave station number to read error information MAC ID Upper byte Always set to 0 Slave station number slave MAC ID d When resetting Table 3 8 Reset Setting Data Buffer Memory Address Contents Hexadecimal Command number 0120H Reset Slave station number Lower byte slave station number MAC ID slave MAC ID class y ID Upper byte object class ID Instance ID Object instance ID 4 Message Communication Results Addresses 0120H to 012FH 288 to 303 When the message communication commands are used the process result is set in the DN91 message communication result area and message communication complete Xn2 turns ON The process results can be read
48. e station e If a bit is ON I O communication If a bit is OFF I O communication interrupted The buffer memory addresses and the station number corresponding to each bit are shown in Table 3 17 Table 3 17 Station Number Corresponding to Each Bit in the Station Communication Status Station Number Corresponding to Each Bit Buffer Memory Address Hexadecimal Bit 15 Station 15 Bit 14 Station 14 Bit 1 Station 1 Bit 0 Station 0 Station 31 Station 47 Station 30 Station 46 Station 17 Station 33 Station 16 Station 32 Station 63 Station 62 Station 49 12 Station Problem Status Address 01C4H to 01C7H 452 to 455 Stores whether or not a communication error has occurred for each slave station e If a bit is ON problem information exists e If a bit is OFF no problem information exists Follow the procedure below to turn OFF a bit a Read the communication error information for the station using the buffer memory message communication area For information on reading Station 48 communication error information see 3 4 2 3 Message Communication Commands 4 Message Communication Results and 5 Message Communication Data b When Read Communication Error Information is executed the corresponding bit automatically turns OFF The buffer memory addresses and the station number corresponding to each bit are shown in Table 3 18 Table 3 18 Station Number Correspond
49. ed 3 SPECIFICATIONS 3 4 Buffer Memory Buffer data is used for data communication between DN91 and the PLC CPU MELSEC A It is used for reading and writing of DN91 buffer memory data and for the PLC CPU FROM TO instructions The buffer memory returns to zero 0 when powered OFF or when the PLC CPU reset If the parameters are set by the sequence program however the Parameter area is initialized with the parameters that are already set 3 4 1 Buffer memory table The buffer memory table is shown in Table 3 4 Table 3 4 Buffer Memory Table Address Contents Wynt Enan edi See Page Hexadecimal Decimal Disabled by CPU 0000 to 007FH Oto 127 Input data Stores input data from each slave station Disabled 0080 to OOFFH 128 to 255 Output data Stores output data for each slave station Enabled 0100 to 010FH 256 to 271 Not used 01101 to O11Fu 272 to 287 Message communication Stores request data for message Enabled 3 4 2 3 command communication 0120H to 012Fu 288 to 303 Message communication Stores result data from message Disabled 3 4 2 4 result communication 01301 to O1A74 304 to 423 Message communication Stores communication data for message Enabled 3 4 2 5 data communication 01A8xH to 01A9H 424 to 425 Model display Setting is DN91 in ASCII code Disabled 01AAun to O1AFH 426 to 431 Not used Z lt 01B0H 432 a com
50. ed station MELSEC A Error Error Details Remed Detected tis amet O Slave bt 15 The enabled privilege check failed station 16 Slave The requested service cannot be executed in the station current device status e Check if the designated station number class ID instance ID and attribute ID are correct Refer to the slave station manual to determine the conditions for the slave station to notify this error and take the appropriate remedy e Check if the designated station number class ID instance ID and attribute ID are correct Refer to the slave station manual to determine the conditions for the slave station to notify this error and take the appropriate remedy e Investigate overall status of network and slave station Is the slave station down or the termination resistance disconnected for example e Check if the designated station number class ID instance ID and attribute ID are correct e For Set Attribute check if the designated data is insufficient and the data length is correct Refer to the slave station manual to determine the conditions for the slave station to notify this error and take the appropriate remedy e Check if the designated station number class ID instance ID and attribute ID are correct Refer to the slave station manual to determine the conditions for the slave station to notify this error and take the appropriate remedy Slave f Set the data returned by
51. ed ON c Parameter set complete Xn7 automatically turns ON when the parameter write operation is complete Communication with other slave stations is disabled while parameters are being set Parameter set complete Xn7 automatically turns OFF when parameter set request Y n 1 7 turns OFF Refresh request Y n 1 1 Refreshing Xn1 Parameter set request Y n 1 7 Parameter being set Xn6 Parameter set complete Xn7 n A Write parameter TO instruction P data 3 SPECIFICATIONS MELSEC A POINTS 1 If refreshing Xn1 is ON when parameter set request Y n 1 7 turns ON parameter set complete Xn7 does not turn ON First turn OFF refresh request Y n 1 1 and confirm that refreshing Xn1 is OFF before turning parameter set request Y n 1 7 OFF and back ON 2 If parameter set request Y n 1 7 is ON when refresh request Y n 1 1 turns ON refreshing Xn1 does not turn ON First turn OFF parameter set request Y n 1 7 then reset refresh request Y n 1 1 and turn it back ON 3 Parameter data flows as shown below TO Parameter _ instruction Buffer Y n 1 7 ON 3 CPU reset Buffer EPROM data memory memory Since EPROM has a restriction on the number of write times execute the parameter set request Y n 1 7 only when parameters are created newly or changed 7 Unit ready XnF This signal indicates whether the unit is able to operate It turns ON automatically when unit operation is enabl
52. ed at any position on the network 3 The network comprises trunk lines and drop lines A termination resistance must be connected to each end of a trunk line 4 A network power supply must be connected to supply power to the network communication circuits in each station 5 Prepare the termination resistances on the user side 1 OUTLINE MELSEC A 1 Network Specifications This section describes the network specifications of a DeviceNet using DN91 a Communication Speed The communication speed can be selected as 125 250 or 500 kbaud using a sequence program or a configuration software The maximum cable length depends on the communication speed See 3 2 Performance Specifications for details b Network Power Supply Methods The following methods are available to supply network power to each station 1 Connect a dedicated power tap to the trunk line cable and connect a network power supply unit to it 2 Supply power from the network power supply unit through network cables to each station Contact ODVA or the ODVA Japan office for inquiries about the following devices required for the DeviceNet network configuration e Network power supply unit e Power tap e Tap e Termination resistance Cable Contact Details for ODVA Open DeviceNet Vender Association Inc Address 20423 State Road 7 Suite 499 Boca Raton FL 33498 U S A TEL 1 954 340 5412 FAX 1 954 340 5413 or 1 561 477 6621 ODVA Japan Of
53. eeataeseeseteaees 6 4 6 4 3 Setting DUS parameters 20 ceceeeeeccecceceeeeeceeeeeeesecaeceeesecaeceeeeaeeaecaecaeeeaeseesaeseeseaeeaeseeseaseaesaesaeeeaeeaees 6 5 6 4 4 Set the device slave station parameters cccceccecceeeeeeeeeceeeeaeeeeceeeeeeeaesaeseeseeesaesaeseeseaeeaeeeeneeaees 6 6 7 PROGRAMMING 7 1to 7 10 7 1 Important Points about Programming 0 0 eee sees eeeeeeeeeeeeeeeeeeeeeeeeeeeeseaeeeaeseaeeeaeesaeeeaeeeaeesaeeeaeeeaeeaeeeatenas 7 1 7 2 System COnfiQguration ccccceccecceseseeceeceeeesececeeceeesaecaeceeseaeeaecaeceeeaeeaecaesaeeaesaeseseeesaesaeeeeseaesaeseseeeeaeeats 7 2 7 3 Setting Parameters with a Sequence Program cccceccecceseeseceeceeeesesaeceeeeeeeaesaeeaeeeaesaesaeseeeeaesaeeeseaeeaees 7 4 7 4 VO Communication with Slave Stations ccccecccseseceeceeeeeeeceeeeeeeaeceeceesaesaesaeseaesaesaeseeseaesaesaeeneseaseaees 7 6 7 5 Message Communication ceccecceeeecceeeeseeeeceeceeeeaeeaecaeceeeeaecaecaeeseeeaecaecaeseeeeaesaeseeseaesaesaeseesesaeseeseaeeaees 7 7 7 5 1 Message COMMUNICATION FEACING ceeceeceeeceeeeeeeeeeeeeeeeeteeeeeeeeeceeeeeseeeseeeseesaeeseeeeeeseaeseeeseeeeeeeaaes 7 7 7 5 2 Message COMMUNICATION writing 2 eeeeeeeeeeeeteeeeeeeteeeeeeeeeeeteeeeeeeeaeesaeeseeesaeeseeeseeeteeteeeseaeteeteeetaaes 7 8 7 6 Acquiring Error Information eroaan arie a di i aii 7 9 8 TROUBLESHOOTING 8 1 to 8 12 8 1 Troubleshooting Talose errira E E E E ENET O aw iee
54. emory using the sequence program TO instruction 6 The ON OFF information stored in the output data area of the buffer memory is automatically output to the slave stations 4 FUNCTIONS MELSEC A 4 1 1 Overview of each connection type This section provides the overview of the connection types for I O communications 1 Polling As shown below polling communication is a communication system where the following communications 1 to 6 with slave stations are repeated and a connection to make this communication is a polling connection 1 The master station sends output data 2 1 triggers the slave station to send input data 3 The master station sends output data 4 3 triggers the slave station to send input data 5 The master station sends output data 6 5 triggers the slave station to send input data Master station V Slave stations 4 FUNCTIONS MELSEC A 2 Bit strobe As shown below bit strobe communication is a communication system where the following communications 1 to 4 with slave stations are repeated and a connection to make this communication is a bit strobe connection 1 The master station sends a maximum of 1 bit output information to each slave station simultaneously 2 Transmission in 1 triggers the slave station to send input data 3 Transmission in 1 triggers the slave station to send input data 4 Transmission in 1 triggers the slave station to send input data
55. eneeeteeeneeateaetes 3 10 4 FUNCTIONS 4 1to 4 12 AT VO Communication FUNCTIONS sitisha been ier reana taisaas aae aeania aaaea nee aavan ibane cutee ey 4 1 4 1 1 Overview of each connection type sesssesessesissssnssssnsrssrstsrutnstnsnststustntstntunanuntanunnnnntunnnutnnnnnannnn 4 3 4 2 Message Communication Functions cccccecceeeseeeeceeeeeeeaeeeecaeeeecaecaecaeseaeeaesaeseeseaesaesaeseeeeaesaseeeeateaes 4 7 4 2 t GOtattribUte ie nAn a an aA aeaaea ASAD anaa Ega aAA aee herpes borane ees 4 7 4 2 2 Set atthibutes seni a i e ae ae ive ee ven N 4 8 4 2 3 Read communication error information ecceceeeeeeeeeeeeeeeeeeeeeeeeeeeeeaeseaeseaeeeaeeeaeeeaeeeaeeeaeeeaeeeateateeas 4 9 4 2 4 Resets A a A iam nant he agent 4 10 4 2 5 Compatibility with common service codes of DeviceNet specification Release 2 0 008 4 11 5 1 settings and Procedures 2 hs 2cfatiga ania E T 5 1 5 1 1 DN91 start up procedure when setting parameters with a Sequence program cceeeeeeeeees 5 1 5 1 2 DN91 start up when setting parameters with the configuration Software cccceceeeteeeteees 5 2 5 2 Mounting and Installation cn0 a encan Aled i ait eh ei aie eee 5 3 S2 Handing instuctons ee ce Sass ceed seas ah Sure ci ceca fue ce ced aca aL cea mg ceed th sad hastened eh st ee 5 3 5 2 2 Installation CNVIPONMEN eeceeeceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeesaeesaeeseeesaeesaeeseeeseeeseeeseeseeeseseeeseeeee
56. er error or a connection fault of the termination resistor Correct the corresponding parameter value or check the connection of the termination resistor Wait and see or Parametererror Check the parameters Correct the parameters Check the parameters Correct the parameters Wrong connection type for a 9 yP Correct the parameters slave station Is the slave station power turned p Turn ON the slave station power ON Is the same baud rate set for all Set the same baud rate for all slave stations slave stations Green Green Red Timeout occurred at a e connection Is a termination resistance Sit Connect a termination resistance connected Is the communication cable Correctly connect the correctly connected communication cable Does the total cable length Reduce the baud rate exceed the permitted limit Reduce the total cable length Does the drop line length or total Reduce the baud rate drop line length exceed the permitted limit total drop line length Correctly connect the network correctly connected power supply Increase the network power supply capacity Change the position of the network power supply Is the production inhibit time set too short in the parameters Is the expected packet rate set Correct the parameters too short in the parameters Incorrect slave I O data length in the parameters Is the network power supply capacity sufficient
57. er with Each Maker s Slave Station cceeee APP 4 MEMO 8 1 OUTLINE MELSEC A 1 OUTLINE This manual gives information including the specifications and descriptions of parts of the AJ71DN91 A1SJ71DN91 DeviceNet Master Unit hereafter AJ71DN91 A1SJ71DN91 or DN91 which is used in combination with the MELSEC A QnA Series PLC CPU DN91 is the DeviceNet master station which controls the DeviceNet devices See the DeviceNet Specifications Release 2 0 Volume 1 and Volume 2 for details about the DeviceNet Specifications DeviceNet is a registered trademark of the Open DeviceNet Vendor Association Inc While it is considered connectable with most commercially available Device Net products we cannot guarantee the connectivity with products of other manufacturers 1 1 Features This section describes the features of DN91 1 Conforms to the DeviceNet specifications Release 2 0 2 DN91 operates as the DeviceNet master station to permit I O and message communications with the DeviceNet slave stations 3 Each master unit can communicate with up to 63 slave stations 4 The communication method for I O communication can be selected independently for each slave station from the following four methods prescribed for DeviceNet polling bit strobe change of state and cyclic However only one communication method can be selected for each slave station DN91 Polling Ea KA N N Change
58. erlap among all 06H DN91 having the same station number as with the host tati stations station DN91 No slave station is set e Set at least one slave station DN91 Total length of all input data for all slave stations is Keep the total length of 256 bytes or less for all slave too large stations DN91 Total length of all output data for all slave stations is Keep the total length of 256 bytes or less for all slave too large stations Watch h a dog timeout action value in the parameters is Set one of 0000H 00011 0002s and 0003n one ono Erected packet rate in the buffer memory is e Set the value of Expected packet rate gt Production smaller than the production inhibit time inhibit time e Rewrite the parameters E PROM check sum error Avoid powering OFF or resetting in the midst of writing the parameters 8 TROUBLESHOOTING MELSEC A 3 In case the error detected station number lower byte of the error information is any value other than FFH and FEu Error Error Details Remedy Code Detected A fault has been detected with the network after 01H DN91 ne e Check if cables are properly connected communication being started e Inspect the state of the network and slave stations i closely Are MAC IDs and baud rate properly set 1EH DN91 The slave station did not respond ee Any faulty slave stations Any missing terminal resistance etc 20 Slave The slave station responded with an
59. etwork power supply unit is connected to a thick cable network as shown below Network power supply unit Termination resistance Termination resistance Master station Slave station Slave station Slave station Slave station Slave station 1 1A 1 25A 0 5A 0 25A 0 25A 0 85A 120m 120m i Power supply distance left of the network power supply unit power supply distance right of the network power supply unit 120 m Total current capacity to the left 1 1 A 1 25 A 0 5 A 2 85 A Total current capacity to the right 0 25 A 0 25 A 0 85 A 1 35 A Max current capacity of 120 m of thick cable from Table 5 1 approx 2 56 A Linearly interpolated between 100 m and 150 m In this configuration the current capacity to the left of the network power supply unit is insufficient If this type of situation occurs move the network power supply unit in the direction of insufficient current capacity to the left in the diagram above Network power supply unit Termination resistance Termination resistance NEN NTN Slave station Slave station Slave station Slave station 1 1A 1 25A 0 5A 0 25A 0 25A 0 85A Slave station Master station i 100m 140m Total power supply distance left of the network power supply unit 100 m Total power supply distance right of the network power supply unit 140 m Total current capacity to the left 1
60. fice Address The Japan Chapter of ODVA Kyoto Research Park 17 Chudoji Minami Machi Shimogyo Kyoto 600 8813 Japan TEL 075 315 9175 FAX 075 315 2898 1 OUTLINE MELSEC A 1 2 2 Outline of parameter settings Parameter setting is required in advance to communicate with slave stations The parameters include DeviceNet communication speed station number MAC ID of DN91 the number of I O points of slave stations etc They are set in any of the following methods and stored in separate areas of E PROM inside DN91 e Use the sequence program e Use the configuration software 1 2 3 Outline of DN91 slave station communication Communication between the DN91 and slave stations is outlined below 1 Outline of I O Communication I O communication is a function to communicate I O data with slave stations An outline of I O communication is shown below See 4 1 1 0 Communication Functions for details PLC CPU DN91 Slave station Buffer memory Device FROM Input data area Up to 2048 points Input Output data area gt Up to 2048 points X Y M D R Output The following four I O communication methods are available 1 Bit strobe 2 Polling 3 Change of state 4 Cyclic One of these four communication methods can be chosen to match the specification of each slave station 1 OUTLINE MELSEC A 2 Outline of Message Communication
61. for 63 units To construct a network of DeviceNet that contains DN91 as the master setting station numbers MAC IDs is required for DN91 and slave stations Station numbers available for them are 0 to 63 and any numbers may be used for DN91 and slave stations as long as they do not mutually overlap Refer to the operation manual of the slave station for the procedure of setting station numbers MAC IDs of the slave stations For the procedure and details of setting parameters through the sequence program refer to Section 7 3 Setting Parameters with a Sequence Program and 3 4 2 14 Buffer Memory 2 Parameter setting by the configuration software The Configuration software based parameter setting includes the following contents 1 Setting configuration 2 Master parameter setting 3 Bus parameter setting 4 Device slave parameter setting For the procedure and details of setting parameters with the configuration software refer to Section 6 4 Setting Parameters with the Configuration Software 6 1 6 PARAMETER SETTINGS MELSEC A 6 2 Important Points about the Parameter Settings Setting the address mode to the byte address using the configuration software may result in the division of a word data into upper and lower bytes and may be stored in separate addresses of the buffer memory For that reason data processing by the sequence program may be required See the slave station manual for details about the slave s
62. further details of the setting 3 SPECIFICATIONS MELSEC A Buffer Memory Contents Address 16 hex Slave station watchdog timeout action Set value 0000n default value Equal to TIMEOUT below Set value 0001 TIMEOUT Connection enters timeout status Can only be reset by the operator Watchdog timeout action for the f che stopping and restarting communication 01DEx first slave station WATCHDOG TIMEOUT ACTION Set value 0002 AUTO DELETE o Connection is automatically deleted Communication stops and automatically restarts Outputs are cleared to 0 Set value 0003H AUTO RESET Communication is continued with the connection maintained Outputs are not cleared to 0 Sets the production inhibit time Setting 00004 default 10 ms O1DFx First Slave Station Production Setting 0000H The value setting 1 is the minimum transmission interval Inhibit Time ms The setting will vary depending on the connection type Refer to Table 3 21 for further details of the setting 01E0n to 01E7xH Setting forithe s cond slave Same as with the first slave station station 01E8 to 01EF Setting for the third slave station Same as with the first slave station 01F0H to 01F7H Setting for the 4th slave station Same as with the first slave station 01F8H to O1FFH Setting for the 5th slave station Same as with the first slave station 02004 to 0207H Setting for the 6th slave station Same as with the fi
63. he error occurred REMARK If an error occurs in multiple stations the error for the station with the lowest station number MAC ID is stored 8 Bus Error Counter Address 01B2H 434 Stores the number of times the invalid frame count of CAN chip DeviceNet communication chip exceeded 96 Any increase in the value indicates the instability of communication 9 Bus off Counter Address 01B3H 435 Stores the number of times DN91moved into the state of Bus off Any increase in the value indicates the instability of communication 10 Station Configuration Status Address 01B4H to 01B7H 436 to 439 Stores the parameter setting status for each slave station e If a bit is ON the parameters are set If a bit is OFF the parameters are not set The buffer memory addresses and the station number corresponding to each bit are shown in Table 3 16 Table 3 16 Station Number Corresponding to Each Bit in the Station Configuration Status Buffer Memory Address Station Number Corresponding to Each Bit Hexadecimal Bit 15 Bit 14 Bit 1 01B4H Station 15 Station 14 Station 1 Station 0 01B5x Station 31 Station 30 Station 17 Station 16 01B6H Station 47 Station 46 Station 33 Station 32 01B7H Station 63 Station 62 Station 49 Station 48 3 21 3 SPECIFICATIONS MELSEC A 11 Station Communication Status Address 01BCH to 01BFH 444 to 447 Stores whether or not I O communication is normal for each slav
64. he error detected station number lower byte of the error data is FFH Error Error Details Remedy Code Detected DN91 Baud rate setting is out of range e Properly set the baud rate DN91 Host station number MAC ID is out of range e Set the host station number in a range of 0 to 63 There are two or more stations in the network that sac 39 H DN91 e Set station numbers to avoid duplication have the same station number MAC ID e Set the parameters with the configuration software No configuration software based parameters are D2u DN91 When the parameters are set with the sequence program the error code has no significance 8 TROUBLESHOOTING MELSEC A 2 In case the error detected station number lower byte of the error data is FEH Error Error Details Remedy Code Detected DN91 Host station number MAC ID in the buffer memory Set the host station number within 00004 to 0003H or is out of range FFFFu Baud rate in the buffer memory setting is out of range Lower byte of the slave station in the buffer memor 03H DN91 S Y Set within 0 to 63 setting is out of range U b f the sl tati the buffer memor DN91 pper byte of the slave station in the y eou eon setting is out of range Connection type in the buffer memory setting is out DN91 yp cone Set one of 0001H 0002 0004H and 0008n of range There is a slave station set in the buffer memory i e Set the station numbers to avoid any ov
65. he occurrence of a communication error 2 Whether the output signal of the slave station goes OFF or is retained depends on the slave station specifications or the parameter setting at the master station Create the interlock circuit on a Sequence program which uses the communication state of the slave stations so that the system operation is secured At the same time a safety system must be provided outside the slave station A CAUTION e Do not bundle the control wires and communication cables with the main circuit or power wires or install them close to each other They should be installed at least 100 mm 3 94 in away from each other Failure to do so may generate noise that may cause malfunctions Installation Precautions A CAUTION e Use the PLC in the operating environment that meets the general specifications given in the manual Using the PLC in any other operating environment may cause an electric shock fire or malfunction or may damage or degrade the product e Insert the module fixing tab into the fixing hole in the base unit until it stops Then securely mount the module with the fixing hole as a supporting point If the module is not installed properly it may cause the module to malfunction fail or fall off Secure the module with screws especially when it is used in an environment where constant vibrations or strong impact may be expected Be sure to tighten the screws using the specified torque If the scre
66. her the slave station has parameters set and whether it responded See 1 01311 Unusable 01321 Communication error codes Stores the same error code as the upper byte of buffer memory address 01B1n See 8 3 1 Communication Error Codes for details about the error codes 0133H General error codes Stores the DeviceNet general error code that has been sent from a slave station Valid only when the communication error code is 35 00234 Refer to 2 x1 01341 Additional error codes Number of heartbeat timeouts Stores the additional error codes sent by the slave stations 2 Stores the number of times the DN91 detected a slave station down 1 See the slave station manual for details about the actual problems and remedies 2 See the slave station manual for a description of each error code 3 SPECIFICATIONS MELSEC A 1 Slave status The problem at a slave station is notified by turning bits ON and OFF as shown in the diagram below 0130H Slave station refused written attribute data I O data size set in parameters differs from the actual size These problems have occurred if the response bit is ON 3 SPECIFICATIONS Error Code Hexadecimal 0000 to 00011 Decimal MELSEC A 2 Table 3 14 shows the DeviceNet general error codes Table 3 14 Table of DeviceNet General Error Codes Error Name Reserve
67. ied with Mitsubishi Technical Bulletins etc 2 Product supply including repair parts is not available after production is discontinued 3 Overseas service Overseas repairs shall be accepted by Mitsubishi s local overseas FA Center Note that the repair conditions at each FA Center may differ 4 Exclusion of loss in opportunity and secondary loss from warranty liability Regardless of the gratis warranty term Mitsubishi shall not be liable for compensation of damages caused by any cause found not to be the responsibility of Mitsubishi loss in opportunity lost profits incurred to the user by Failures of Mitsubishi products special damages and secondary damages whether foreseeable or not compensation for accidents and compensation for damages to products other than Mitsubishi products replacement by the user maintenance of on site equipment start up test run and other tasks 5 Changes in product specifications The specifications given in the catalogs manuals or technical documents are subject to change without prior notice 6 Product application 1 In using the Mitsubishi MELSEC programmable logic controller the usage conditions shall be that the application will not lead to a major accident even if any problem or fault should occur in the programmable logic controller device and that backup and fail safe functions are systematically provided outside of the device for any problem or fault 2 The Mitsubishi programmable logic
68. inal block are made of plastic Do not drop the unit or apply strong shocks to it 2 Do not remove the printed circuit board from the unit casing This can cause faults 3 During wiring operations take care that no wiring offcuts or other foreign matter gets inside the unit Clean out any foreign matter that does get inside the unit 4 Tighten the unit mounting screws and terminal screws in the torque ranges specified below Type of Screw Tightening Torque Range A1SJ71DN91 Module mounting screw 78 to 118N cm DeviceNet Connector screw 35 3 to 48 0 N cm DeviceNet Connector wire screw 60 8 to 82 3 N cm 5 2 2 Installation environment Do not mount an A Series PLC under in the following environments 1 Locations where the ambient temperature is outside the range 0 to 55 C 2 Locations where the ambient humidity is outside the range 10 to 90 3 Locations where condensation occurs due to sudden temperature fluctuations 4 Locations where corrosive or flammable gases exist 5 Locations with a high level of conductive dust or iron filings oil mist salt or organic solvent 6 Locations exposed to direct sunlight 7 Locations subject to strong electric or magnetic fields 8 Locations where vibrations or shocks are directly transmitted to the unit 5 3 5 SETTINGS AND PROCEDURES BEFORE OPERATION
69. ing for the 22nd slave station Same as with the first slave station 02881 to 0O28FH Setting for the 23rd slave station Same as with the first slave station 0290 to 0297 Setting for the 24th slave station Same as with the first slave station 02981 to 0O29FH Setting for the 25th slave station Same as with the first slave station 02A0n to 02A7H Setting for the 26th slave station Same as with the first slave station 02A8x to O2AFH Setting for the 27th slave station Same as with the first slave station 02B0n to 02B7H Setting for the 28th slave station Same as with the first slave station 02B8 to O2BFH Setting for the 29th slave station Same as with the first slave station 02C0n to 02C7H Setting for the 30th slave station Same as with the first slave station 02C8x to O2CFH Setting for the 31st slave station Same as with the first slave station 02D0 to 02D7H Setting for the 32nd slave station Same as with the first slave station 3 SPECIFICATIONS Buffer Memory Address 16 hex 02D8 to O2DFH Item Setting for the 33rd slave station Same as with the first slave station Contents MELSEC A 02E0n to 02E7H Setting for the 34th slave station Same as with the first slave station 02E8n to O2EFH Setting for the 35th slave station Same as with the first slave station 02F0n to O2F7H Setting for the 36th slave station Same as with the first slave station 02F 8 to O2FFH
70. ing to Each Bit in the Station Problem Status Buffer Memory Address Station Number Corresponding to Each Bit Hexadecimal Bit 15 Station 15 Bit 14 Station 14 Bit 1 Station 1 Station 0 Station 31 Station 30 Station 17 Station 16 Station 47 Station 46 Station 33 Station 32 Station 63 Station 62 Station 49 Station 48 3 SPECIFICATIONS MELSEC A 13 Down station Detection Disabled Setting Address 01CCH to 01CFH 460 to 463 This setting determines whether the down status of a slave station shown in the Station Communication Status Address 01BCH to 01BFH 444 to 447 is reflected in the slave down signals Xn4 e If a bit is ON the corresponding slave down signal Xn4 does not turn ON when a slave station is down e If a bit is OFF the corresponding slave down signal Xn4 does turn ON when a slave station is down The buffer memory addresses and the station number corresponding to each bit are shown in Table 3 19 Table 3 19 Station Number Corresponding to Each Bit for the Down station Detection Disabled Settings Buffer Memory Address Station Number Corresponding to Each Bit Hexadecimal Bit 15 Bit 14 sua Bit 1 Station 15 Station 14 ae Station 1 Station 0 Station 31 Station 30 one Station 17 Station 16 Station 47 Station 46 ee Station 33 Station 32 Station 63 Station 62 wee Station 49 Station 48 Turn ON the relevant bit f
71. its Table 5 1 Maximum Current Capacity That May Be Supplied to the Master Slave Stations According to the Network Length of Thick Cable Network length m o 25 5o 100 150 200 250 300 350 400 450 500 Maximum current A _ 8 00 8 00 5 42 2 93 2 01 153 1 23 1 03 0 89 0 78 0 69 0 63 Table 5 2 Maximum Current Capacity That May Be Supplied to the Master Slave Stations According to the Network Length of Thin Cable Network length m Maximum current A Use a network power supply unit with a current capacity exceeding the required total current consumption If the current capacity is insufficient multiple power supplies may be used When using multiple power supplies however use power supply taps 5 SETTINGS AND PROCEDURES BEFORE OPERATION MELSEC A 5 6 2 Calculating network power supply unit installation position and current capacity This section describes the calculating network power supply unit installation position and current capacity 1 Network power supply unit connected to an end of the network The current capacity is calculated as shown below when the network power supply unit is connected to the end of a thick cable network with a total length of 200 m Network power supply unit Termination Termination resistance resistance Master station Slave station Slave station Slave station Slave station 0 1A 0 15A 0 05A 0 25A 0 1A zen
72. line slave stations iS Flashing Communication not enabled with on line slave stations Network status Lit Duplicate MAC ID error display Bus off error occurred Flashing There is a connection that has timed out 5 SETTINGS AND PROCEDURES BEFORE OPERATION MELSEC A 5 5 Connecting Communication Cable to DN91 1 Connecting communication cables This section describes how to connect the communication cable to the DN91 V Red z gt CAN_H White ae Ld ht Ea AN Shield drain wire 5 _ WAAL a Sale CAN_L blue Atl gel mi a LI V black 1 2 The DN91 DeviceNet connector is shown in the diagram above The upper of the connector is color coded with the corresponding cable lead colors Connect the communication cable ensuring that each cable lead color matches the marking on the connector 2 Grounding the network Power tap DeviceNet network is to be grounded at a single point And select a point for grounding in the vicinity of the center of the network Connect a cable shield drain wire to the ground of the power supply unit for Class D Class 3 grounding If the network contains multiple power supply units ground a unit that is positioned near the center of the network and do not ground at any other positions When using multiple power supply units
73. m example introduced in this chapter to the actual system fully check that there are no problems in the controllability of the system 7 1 Important Points about Programming Follow the points below when creating a program 1 Creating a Slave Station I O Communication Program e Place the I O communication reading program at the beginning of the sequence program e Place the I O communication writing program at the end of the sequence program Refresh processing request I O communication read program I O communication write program 2 Read received data and write send data when no unit error has occurred and the unit is in ready status Unit error Unit ready X0 XOF i i Communication program 3 Create a program to detect the communication status of each station and apply an interlock Also create processing programs to handle faults Uniterror_ Unitready Slave communication status FROM HO HiBC K4MO K4 PIEN EE E S ce a Secale ET E E E AA E E E EE ate E EE S E AE eee a cetera es E E PEETELI AE re EAE DET eaten EN E ea ea R E PELEN RAEE E E E A AA E L A AE ELENE AT OEN een alata 4 In case parameter setting has been done previously with the sequence program the settings are stored in the buffer memory when powered ON To set the parameters from the scratch clear the Parameter area of the buffer memory to zero 0
74. munication Stores the DN91 status Disabled 3 4 2 6 Upper byte Error code 01B1H 433 Error information Lower byte Stores station number where the Disabled 3 4 2 7 error occurred 01B2H 434 Bus error counter stores me number orerar detectiansTor Disabled 3 4 2 8 communication data 01B3H 435 Bus off counter Stores the number of communication errors Disabled 3 4 2 9 01B4u to 01B7 436 to 439 Configuration status of Indicates whether parameters are set for each Disabled 3 4 2 10 each station slave station 01B8x to 01BBx 440 to 443 Not used 01BCu to 01BFu 444 to 447 Communication status of Indicates whether each station is conducting Disabled 3 4 2 11 each station 1 O communication 01C0H to 01C3x 448 to 451 Not used 01C4u to 01C7H 452 to 455 Error status of each Indicates whether an error has occurred for Disabled 3 4 2 12 station each station 01C8H to 01CBx 456 to 459 Not used 01CCu to 01CFu 460 to 463 Down station detection Sets whether a down slave station is reflected Enabled 3 4 2 13 disabled setting in the slave down signal Xn4 01D0n to 01D3x 464 to 467 Not used 01D4 to O3CFH 468 to 975 Parameter Saat Parameters win sequences Enabled 3 4 2 14 3 SPECIFICATIONS MELSEC A 3 4 2 Details of the buffer memory This section describes details about the items listed in Table 3 4 1 Input Data Addresses 0000H to 007FH 0 t
75. munication command area to the slave stations and start message communication 3 DN91 receives data from the slave stations and processes it as follows e The slave station special data set in the message communication command area is stored in the message communication data area of the buffer memory e The result of processing the message communication is stored in the message communication results area of buffer memory 4 When the process result is stored in the message communication results area of buffer memory message communication ends and the message communication complete Xn2 signal automatically turns ON 5 When the slave station data ends normally in the buffer memory message communication area it is read to the PC CPU using the sequence program FROM instruction 6 When the Message communication error signal Xn5 turns ON the contents of the Message communication result area are read by the FROM instruction to identify the error cause 4 7 4 FUNCTIONS 4 2 2 Set attribute PLC CPU _ Tto _ 10 3 _ SET Y n 1 2 DN91 Slave station MAC ID 01104 Message communication 011Fu command area 01301 Message communication O1A7H data area Message communication request Class Attribute Attribute Class MELSEC A 01201 Message Instance DANa Attribute result area 012Fu Message communication 4 Following complete Attribute proces
76. n 012Fu result area 01301 Message communication 01A74 data area Message 1 H FROM Xn2 Xn5 Message communication complete communication complete MELSEC A Slave station MAC ID Communi cation lt 2 Stores the status of each slave station during I O communication Class 1 Instance Attribute Attribute Instance Attribute Attribute Attribute Class Instance Attribute Attribute Attribute Instance 1 Read Communication Error Information is set in the buffer memory Message communication command area by the TO instruction in the sequence program 2 When Message communication request Y n 1 2 is turned ON in the sequence program the error information of the relevant slave station accumulated in the DN91 is read and processed as described below e The error information of the slave station set in the Message communication commana area is stored into the buffer memory Message communication data area The message communication processing result is stored into the buffer memory Message communication result area 3 When the processing result is stored into the buffer memory Message communication result area Message communication complete Xn2 turns ON automatically 4 The slave station communication error information stored in the buffer memory Message communication data area is read to the PL
77. n Lower word L th slave Number of input station word modules Number of byte module points in Oth slave station 01DAn O 1 x 8 Units Bytes for both Set the communication watchdog timer value for the slave station Sets the slave station communication watchdog timer If the Communication communication between the master station and the first slave watchdog timer station ceases during this set time the first slave station takes the value for slave action designated in buffer memory address 01DEu station ms If set value 0000 default value setting 500 ms If set value 0000 communication watchdog timer setting set value 1 ms Oth Slave Slave station watchdog timeout action Station Set value 0000n default value Watchdog ae PN 01DEH G 1 x8 Set value 00011 TIMEOUT Timeout RTS Set value 0002 AUTO DELETE Actions Set value 0003 AUTO RESET H 1 x8 The slave station minimum send interval sets the minimum time Oth Slave that the slave station can prepare the data to send The master f Slave station s Station nee station sends polling requests and bit strobe requests to the slave minimum send 01DFu 5 S Production interval ms station during this interval Inhibit Time If set value 0000 default value setting 10 ms If set value 0000x minimum send interval set value 1 ms Notes 1 D 1 to 63 2 Copy this sheet for use when setting the parameters
78. n ineeesly ives aesaweent inion 8 2 8 1 1 Troubleshooting by Symptom tyPe ee eee eeee tees tee eeeeeeeeeeeeeeaeseaeeeaeeeaeeeaeeeaeeeaeseaeeeaeeeaeeeaeeeeeeeateeas 8 2 8 1 2 Problems due to incorrect parameter settings eeceeceeeeeeeeeeeeeeeeeeeeseeeseeeseeseeseeeseeeseeeeeeeeeneeaes 8 5 8 2 Troubleshooting Using LED Indications 0 00 eceeeeeeeeeeeeeeeeeeeeeeeeeeeeaeeeaeeeaeeeaeeeaeeeaeeeaeenaeeeateeaeeeaeeeaeenas 8 5 8 2 1 Errors caused by the master Unita eee eeceeeeeeseeeeeeeeeeeeeseeseeeseeeseeesaeseeesaeeseeeseeseeseeeseeeseeeseeeeeaes 8 5 8 2 2 Errors caused by incorrect parameter settings or abnormal network eceeeeeeeeeeeteteeeeteeeteeeeeees 8 6 8 3 Troubleshooting Using Error Codes e cceceeeeceeeeeceeeeeeeseeaecaeseeeeaecaecaeseaeeaesaesaeseaesaesaeseeseaeeeseeseaeeaees 8 8 8 3 1 COMMUNICATION error CODES vscczsectccsecsccsizetacsctaetsaccieytacazenseaaecizetacssersivconscizutacuacestasecacs taesscegiaastia tenes 8 8 8 3 2 Execution error codes for MESSAGE COMMUNICATION eeceeeceeseeeneeeeeeeeeeeaeeeaeeeaeeeaeeeaeeeaeeeaeeeaeesas 8 11 APPENDIX T External VOW ararnir r A nE EAEE REETA EE TEE APP 1 Mis te NGA ae i e a E E E e A E E APP 1 WO AT SIT WDNG Tick ative a aa i a A E O a cates lat etek e a a a eed APP 2 APPENDIX 2 Parameter Setting SNeet ccccecceseseeeeeceeeeseeeeceeeeeeeaecaeseesaesaecaeseeseaesaesaeseseaesaeeeseneeateas APP 3 APPENDIX 3 List of Communication Paramet
79. n specification Four connection types are available polling bit strobe change of state and cyclic The connection type can be set using parameters PLC CPU DN91 Slave station SET Y n 1 7 H Parameter set Xn7 Parameter set complete HSET Y n 1 1 Refresh request Refresh command Refreshing L FRom Xn1 Refreshing ir y Refreshing area Output data Output Parameter Set 1 Write parameters onto the Parameter area of the buffer memory and turn ON the parameter setting request Y n 1 1 via the sequence program to set the parameters When the parameters are successfully written the Parameter Setting Complete Xn7 automatically turns ON Once the parameters are set no subsequent parameter setting is required as long as no change in the parameters is necessary When setting the parameters via the configuration software do not use the sequence program to set the parameters 4 FUNCTIONS MELSEC A Refresh 2 Communication with the slave stations starts when the refresh request signal Y n 1 1 turns ON Input Data 3 The input status of each slave station is automatically stored in the input data area of the DN91 buffer memory 4 The input statuses stored in the input data area of the buffer memory are read to the PLC CPU using sequence program FROM instruction Output Data 5 The ON OFF information output to the slave stations is written to the output data area of the buffer m
80. n the diagram above and the addressing mode set from the configuration software Master Setting screen See the example below lt Example gt Consider the case where the Customized I O data Addr item is set as follows N wo rere S a P 1 If the addressing mode is byte addressing The setting screen appears as Addressing mode Word addresses and the relationship between the buffer memory address and I Addr is shown in the diagram below 0000x 1 00014 2 00024 3 00034 4 3 SPECIFICATIONS MELSEC A 2 If the addressing mode is word addressing The setting screen appears as Addressing mode _ Byte addresses Word addresses and the relationship between the buffer memory address and I Addr is a 1 1 correspondence as shown in the diagram below 0000 00014 00024 0003H 00044 0005H See the Configuration Software Manual for details about the configuration software 2 Output Data Addresses 00804 to OOFFH 128 to 255 Data sent to each slave station is written with the TO instruction As in the case of the input data the data order differs according to whether the parameters were set by a sequence program or by the configuration software a Parameters set by a sequence program If the parameters were set by a sequence program the data is saved as a series of words of a slave stati
81. neeaaes 5 3 5 3 NOM NCIAtUIG a tas nae nina rede Mia hae ala ee rete ela ee ee tee Selatee Peete E ee eel eee 5 4 5 4 LED Displays and Indicator Descriptions 00 eee eeeeseeeeeeeeeeeeeeeeeeeeeeeaeeeaeeeaeeeaeeeaeseaeeeaeeeaeeeaeeeaeeaeeeatenas 5 5 5 5 Connecting Communication Cable to DNQ1 0 cceecceceeeeeceeceeeeeeaeceeeeeeeeesaesaesaeseeesaesaeseeeeaesaesaeeeeeates 5 6 5 6 Instructions for Connecting the Network Power Supply c cceceeseseeeeeeeseeeeeeeceeeeaeeaesaeseeeeaesaeeaeeeeeeats 5 7 5 6 1 Network power supply unit installation POSITION ce eeceeeceeeeeeeeeeeeeeeeeteeeseeeseeteeeteeeeetenteeeteneeeaes 5 7 5 6 2 Calculating network power supply unit installation position and current Capacity ceeee 5 8 6 PARAMETER SETTINGS 6 1to6 8 6 1 Setting Paramete ra ancl eee a ied a heh dhe aris aan nee 6 1 6 2 Important Points about the Parameter Settings cccceccesseeceeeeeeeeceeceeseeeeaecaeeeeeeesaesaeseeeeaeeaneaeeaeeaees 6 2 6 3 Setting with a Sequence Program cecceeceecceceeeeeeeceeeeeeeaeceecseesaeeaecaeseaseaesaecaessasaecaeeeaseaeeaeeseseeneaeeats 6 2 6 4 Setting Parameters with the Configuration Software Parameter Setting Tool eceeeeeeeeeeees 6 3 6 4 1 Setting Configuration cic ac secccteinesteviidcdels eee ntel ind ave cet ence eee aan 6 3 6 4 2 Setting master Parameters cecceccecceceeseceeceeeeeeeeeceeceeeeeecaecaeseeeaesaeseeeaesaeseeseeeeaesaeseesee
82. nstruction manual user s manual and caution labels on the product 2 Even within the gratis warranty term repairs shall be charged for in the following cases 1 Failure occurring from inappropriate storage or handling carelessness or negligence by the user Failure caused by the user s hardware or software design 2 Failure caused by unapproved modifications etc to the product by the user 3 When the Mitsubishi product is assembled into a user s device Failure that could have been avoided if functions or structures judged as necessary in the legal safety measures the user s device is subject to or as necessary by industry standards had been provided 4 Failure that could have been avoided if consumable parts battery backlight fuse etc designated in the instruction manual had been correctly serviced or replaced 5 Failure caused by external irresistible forces such as fires or abnormal voltages and Failure caused by force majeure such as earthquakes lightning wind and water damage 6 Failure caused by reasons unpredictable by scientific technology standards at time of shipment from Mitsubishi 7 Any other failure found not to be the responsibility of Mitsubishi or that admitted not to be so by the user 2 Onerous repair term after discontinuation of production 1 Mitsubishi shall accept onerous product repairs for seven 7 years after production of the product is discontinued Discontinuation of production shall be notif
83. nt 2000 m max In control box Operating altitude Installation position Over voltage category 1 Il max Degree of contamination 2 2 max 1 Indicates the position of the distribution board to which the device is assumed to be connected between the public power network and the position of the machine in the factory Category II is applicable to devices supplied by power from fixed plant For devices rated up to 300 V surge voltage resistance is 2500 V 2 Indicator showing the degree of generation of conducting material in the device operating environment A degree of contamination of 2 indicates that only non conducting contamination occurs However temporary conductivity may arise in this environment due to accidental condensation 3 JIS Japanese Industrial Standard 3 SPECIFICATIONS MELSEC A 3 2 Performance Specifications Table 3 2 shows the general specifications of the DN91 Table 3 2 Performance Specifications Item Specification communicate with By node type Group 2 dedicated client Settable station numbers 0 to 63 Maximum number of slave stations to 63 E VO Send 2048 points 256 bytes 2 Sg ee 2048 points 256 bytes 2 5 T S cation ceive E 5 S Message Send 240 bytes 5 communi Re A 5 n D 240 bytes 5 Communication speed Select 125 kbaud 250 kbaud or 500 kbaud S Communi Trunk Line Max Transfer Distance Drop Line 3 ca
84. o 127 Data received from each slave station is saved The order of the data differs according to whether the parameters were set by a sequence program or by the configuration software a Parameters set by a sequence program If the parameters were set by a sequence program the data is saved as a series of words of a slave station In the case of double word data the data is saved as the lower word followed by the upper word If an odd number of byte input modules is available one byte of free area must be inserted in order to arrange the data as a series of words A bit input module and a byte input module are handled equally See the example below lt Example gt Station 1 Byte input modules 3 Word input modules 2 Double word input modules 2 Station 2 Byte input modules 1 Station 3 Byte input modules 1 Buffer memory address 00004 With an odd number of byte input modules insert one byte of free area Byte module No 2 Byte module No 1 Byte module 00011 Free No 3 00024 Word module No 1 00031 Word module No 2 Double word module No Station 1 input data lower word 0005x Double word module No 1 upper word Double word module No 2 lower word Double word module No 2 upper word 00044 00064 00074 00081 gt Station 2 input data Byte module No 1 0009 gt Station 3 input data Word input module numeric data represented by bits 9
85. o 63 2 Description Enter a name for the slave station 3 Activate device in actual configuration Set whether the station is an actively communicating station or a reserved station e Checked _ Actively communicating station e Not checked Reserved station 4 Actual chosen IO connection Select the I O data communication type Polling bit strobe change of state or cyclic 5 UCMM check Set if a slave station has the UCMM functionality or not If it does also set the message group that is used for message communication 6 Fragmented Timeout Set the time for waiting for the acknowledgement of receipt from a slave station for the case of divided message transmission and receipt 7 Expected packet rate Set the expected packet rate See 3 4 2 14 Parameters for details about the settings 8 Production inhibit time Set the production inhibit time See 3 4 2 14 Parameters for details about the settings 6 6 6 PARAMETER SETTINGS MELSEC A 9 Watchdog timeout action Set the action on a watchdog timeout See 3 4 2 14 Parameters for details about the settings 10 Configured I O connection data and its offset address Set the I O module configuration Also set Addr and O Addr to the DN91 buffer memory address allocated to the I O module I O data 6 PARAMETER SETTINGS MELSEC A MEMO 7 PROGRAMMING MELSEC A 7 PROGRAMMING This section describes how to create programs When diverting the progra
86. o notify this error and take the appropriate remedy Slave The requested service was not mounted or was not station defined for this object class or instance e Check if the designated station number class ID instance ID and attribute ID are correct Slave The object cannot execute the requested service in Use Get Attribute to confirm the current status station the current mode or status Refer to the slave station manual to determine the conditions for the slave station to notify this error and take the appropriate remedy e Check if the designated station number class ID instance ID and attribute ID are correct 1 Slave The object is already in the mode or status e Use Get Attribute to confirm the current status station requested by the service e Refer to the slave station manual to determine the conditions for the slave station to notify this error and take the appropriate remedy e Check if the designated station number class ID instance ID and attribute ID are correct Slave A request was received to change a protected e Refer to the slave station manual to determine the station attribute ce conditions for the slave station to notify this error and take the appropriate remedy 8 TROUBLESHOOTING DN91 The slave station did not respond 19 Slave Insufficient data supplied after the designated station operations were conducted Slave 20 The designated attribute is not support
87. odules of first slave station lt Stores input output word modules of first slave station lt Stores input output double word modules of first slave station lt Set expected packet rate of first slave station to default value lt Stores watchdog timeout action type of first slave station TIMEOUT lt Set production inhibited time of first slave station to default value D12 m gt 01E0n H103 lt Stores station number of second slave station 3 lt Stores connection type of second slave station polling D14 o1 E2u H204 lt Stores input output byte modules of second slave station lt Stores input output word modules of second slave station lt Stores input output double word modules of second slave station lt Stores expected packet rate of second slave station 500 ms lt Stores watchdog timeout action type of second slave station AUTO DELETE lt Stores production inhibited time of second slave station 20 ms 1 Parameter data flows as shown below TO Parameter instruction Buffer Y n 1 7 ON E2PROM CPU reset data memory memory Since EPROM has a restriction on the number of write times execute the parameter set request Y n 1 7 only when parameters are created newly or changed 2 When creating parameters write 0 to the unnecessary parameter area The previous data remaining there may cause an error
88. on In the case of double word data the data is saved as the lower word followed by the upper word If an odd number of byte input modules is available one byte of free area must be inserted in order to arrange the data as a series of words See the example below lt Example gt Station 1 Byte output modules 3 Word output modules 2 Double word output modules 2 Station 2 Byte output modules 1 Station 3 Byte output modules 1 Buffer memory With an odd number of address A byte input modules insert oogou Byte module Byte module one byte of free area No 2 No 1 Byte module 00811 Free No 3 00824 Word module No 1 0083H Word module No 2 Double word module No 1 Station 1 output data 0084n lower word 00854 Double word module No 1 upper word 00864 Double word module No 2 lower word 00871 Double word module No 2 upper word 2 B 0088H gra e z Station 2 output data lt 0089H ar gt Station 3 output data 2 A 3 SPECIFICATIONS MELSEC A b Parameters set by configuration software The buffer memory address at which the output data for each station is stored is displayed for the Customized O data O Addr item on the configuration software screen The memory address is determined by the value of the Customized I O data O Addr item on the configuration software screen and the addressing mode set from the configuration software Master Setting screen See the
89. or defective cable contact caused by looseness or movement of the cables or accidental pulling on the cables e When disconnecting a communication cable and power cable from the unit do not pull on the cable itself If the cable has a connector pull on the connector to disconnect it from the unit If the cable has no connector loosen the screw where the cable attaches to the unit before disconnecting the cable Pulling on a cable while it is connected to the unit can damage the unit or cable or cause malfunctions due to defective cable contact Always turn off all external power supply phases before touching any terminals Failure to do this may result in malfunction Setup and Maintenance Precautions A CAUTION e Do not touch the terminals while the power is on Doing so may cause malfunctions e Always turn off all external power supply phases before cleaning or tightening the terminal Screws Failure to do this may result in malfunction If the screws are loose it may cause the module to short circuit malfunction or fall off If the screws are tightened excessively it may damage the screws and cause the module to short circuit malfunction or fall off e Do not disassemble or modify any module This will cause failure malfunction injuries or fire e Always turn off all external power supply phases before mounting or dismounting the unit Failure to do this may result in malfunction or damage to the unit e Before
90. or prohibition of faulty station detection with stations designated as reserved in parameter settings If the bit is left OFF any reserved station will be recognized faulty 3 SPECIFICATIONS Buffer Memory Address 16 hex 01D4x MELSEC A 14 Parameters Address 01D4H to O3CFH 468 to 975 Used to set parameters via the sequence program The parameters set by a sequence program are written to E PROM Once parameters have been set they do not require setting again until changes are made to the parameters After DN91 is turned ON if the E PROM contains valid parameters the parameters from E PROM are stored in the parameter area Follow the procedure below to write new parameters a Set parameters in the parameter area as shown in Table 3 20 b Turn ON the parameter set request Y n 1 7 with a Sequence program c The set parameters are written Table 3 20 Parameter Set Data Item Host station MAC ID Contents Stores the station number MAC ID of DN91 in a range from 0000H to 0003n Setting parameters with this value set at FFFFx invalidates the parameters that have been set by the sequence program 01D5xH Baud rate Select the baud rate 1 500 kbaud 2 250 kbaud 3 125 kbaud 01D6x 01D7H Not used Station number and message group of the first slave station Lower byte Station number MAC ID of first slave station 0 to 63 Upper byte 01H Station that supports UCMM
91. ory 2 Turn ON message communication request Y n 1 2 with a sequence program Set the interval of turning ON the message communication request at 100 ms or over b The message communication completes with the results written onto the Message communication results area and the message communication complete Xn2 turns ON c Check the results of the message communication through the message communication error signal Xn5 d After reading the communication data with FROM command the sequence program is used to turn OFF the message communication request Y n 1 2 The message communication complete Xn2 and message communication error signal Xn5 automatically turns OFF Message communication request Y n 1 2 Message communication Compete Xn2 y Error involved Message communication y_ No error Seo See eee Wel SE ee eee ee error signal Xn5 Write message Write message Read message Read message communication communication communication communication command TO data TO results FROM data FROM instruction instruction instruction instruction For data send only For data receive only FROM TO 4 Error set signal Xn3 Error reset request Y n 1 3 These signals are used to notify an error and reset error codes a If an error occurs error information is stored in the error information area in buffer memory and the error set signal Xn3 turns ON The error set signal automatically t
92. perating Environment of the Configuration Software The operating environment is shown below Table 2 2 Operating Environment Item Environment Personal computer PC AT compatible personal computer CPU Intel 486 processor or above Microsoft Windows 95 Operating System Os Microsoft Windows NT Workstation Operating System Version 3 51 Microsoft Windows NT Workstation Operating System Version 4 0 Free disk space 10 Mbyte min RAM 16 Mbyte min Display resolution 800 x 600 dot min External storage CD ROM drive for installation only 3 RS 232C Cross cable The wiring connections of the RS 232C cross cable which links the PC AT compatible personal computer and DN91 are shown below PC AT compatible A 1S D53DN15D aati Pe Peuh etal 9 pin connectors 9 pin Signal Name Pin Number Pin Number Signal Name y 1 k P 1 DCD RD 2 2 RxD SD 3 3 TxD DTR 4 4 DTR SG 5 5 GND 6 6 DSR RS 7 7 RTS CS 8 8 CTS Se a O 9 RI e Shielded cable is recommended iin a indicates that no connection is needed but it is recommended to make a connection to eliminate specific orientation 2 SYSTEM CONFIGURATION Configurator suppliers are listed below e USA Hilscher North America Inc HQ Cantera Center 4320 Winfield Road Warrenville USA 60565 Illinois TEL 1 630 836 8677 FAX 1 630 836 8010 e Germany Hilsche
93. power supply Replace with a power supply of larger capacity Is the network power suppl ity sufficient p PE SapEcIy orn Add a power supply Reduce the network load Change the position where the network power supply is connected Is a termination resistance correctly connected to each end of the network Is the position where the network power supply is connected OK Determine whether the network power supply is connected to a suitable position referring to 5 6 Instructions for Connecting the Network Power Supply Is the communication cable correctly connected to that slave unit Correctly connect the cable No Communication With A ished fal ath 7 Sel the ai aaah Certain Station s the slave station set in the parameters et the slave station in the parameters P ee Change the slave station from a reserved Is the slave station set as a reserved station in the P a station to an actively communicating arameters f i station Does any slave station have the same station number as Set the station numbers to avoid another slaves station duplication Set the station number in the parameters to match the station number of the actual slave station Set the I O data length and I O Do the I O data length and I O communication connection communication connection type in the type in the parameters match those of the actual station parameters to match those of the actual station Change the position where the network
94. r Gesellschaft fur Systemautomation mbH Rheinstrasse 15 D 65795 Hattersheim Germany TEL 49 6190 9907 0 FAX 49 6190 9907 50 e Japan Representative Office Euro Far East Co Ltd Lilas Nogizaka Bldg 901 Minami Aoyama 1 15 18 Minato ku Tokyo 107 0062 Japan TEL 81 3 3470 8769 FAX 81 3 3478 8648 2 3 Products Connectable to a Slave Station MELSEC A While it is considered connectable with most commercially available DeviceNet products we cannot guarantee the connectivity with products of other manufacturers 3 SPECIFICATIONS MELSEC A 3 SPECIFICATIONS 3 1 General Specifications Table 3 1 shows the general specifications of the DN91 Table 3 1 General Specifications Item Specification Operating ambient temperature 0 to 55 C Operating ambient humidity 10 to 90 RH no condensation Storage ambient temperature 20 to 75 C Storage ambient humidity 10 to 90 RH no condensation N f i Frequency Acceleration Amplitude umber g Conforming Intermittent Sweeps are to JIS vibrations 10 to 57 Hz 0 075 mm vibr a B3502 5710 150Hz 9 8 m s Hee Y resistance IEC61131 2 Frequency Acceleration Amplitude ar Continuous directions 3 10 to 57 Hz 0 035 mm i vibrations 5 80 minutes 57 to 150 Hz 4 9 m s Shock resistance Conforming to JIS B 3502 IEC 61131 2 147 m s 3 times in 3 directions Operating No corrosive gas environme
95. r of Mountable Units Mounting Position A1SJ71DN91 AJ71DN91 AOQJ2CPU Cannot be used AOJ2HCPU A1SCPU S1 A1SHCPU A1SJCPU S3 A1SJHCPU S8 A1SCPUC24 R2 A2SCPU S1 A2SHCPU S1 A2USCPU S1 A2USHCPU S1 A2ASCPU S1 S30 Q2ASCPU S1 Q2ASHCPU S1 A1CPU PLC CPU A2CPU S1 No restriction A3CPU A1NCPU A2NCPU S1 A3NCPU A3MCPU A3HCPU A2ACPU S1 Cannot be used A3ACPU A2UCPU S1 A3UCPU A4UCPU Q2ACPU S1 Q3ACPU Q4ACPU Q4ARCPU MELSECNET remote I O station No restriction MELSECNET B remote I O station AJ72LP25 Data link and AJ72BR15 network MELSECNET 10 A1SJ72QLP25 remote I O station AJ72QLP25 A1SJ72QBR15 AJ72QBR15 Cannot be used Cannot be used 2 SYSTEM CONFIGURATION MELSEC A 2 2 2 Important points about the system configuration This section gives some important points about configuration of a DeviceNet network system 1 Maximum Number of Units Units up to the number of CPU I Os may be installed The DN91 uses 32 I O points and one slot 2 Applicable Base Units The DN91 can be mounted in any main base unit or extension base unit slot with the following exceptions a Avoid mounting the DN91 in an extension base unit with no power supply A5L_IB A1S5 _IB extension base unit as the power supply capacity may be insufficient If the DN91 is mounted in this type of unit select
96. rive C copy the file onto C Program Files Hilscher GmbH SyCon Fieldbus DEVNet EDS Prepare parameters with the configuration software Refer to Section 6 4 Mount DN91 on the base unit and power ON the unit Set the CPU key switch to STOP and do not connect the DeviceNet cable yY Write the parameters onto DN91 Power OFF the unit Vv Connect the DeviceNet network cab e y Power ON the DeviceNet network and slave stations Power ON the unit Set the CPU key switch to STOP Write the parameters x onto DN91 j Communication NO error code Modify the parameters area 0 with the configuration Monitor the buffer memory software to check it YES y Develop a control sequence program Write the control sequence program onto the PLC CPU Modify the control sequence program Set the CPU key switch to RUN NO Operates normally Operation 5 2 5 SETTINGS AND PROCEDURES BEFORE OPERATION MELSEC A 5 2 Mounting and Installation This section describes handling instructions of the DN91 unit between unpacking and installation and the unit installation environment For details about the DN91 unit mounting and installation see the users manual for the PLC CPU being used 5 2 1 Handling instructions This section describes handling instructions related to the DN91 1 The unit casing and term
97. rmined by the position installed and the unit installed before DN91 If the DN91 head I O number is X Y30 Xn0 to X n 1 F gt X30 to X4F Yn0 to Y n 1 F Y30 to Y4F lt Exampl e gt DN91 gt PLC CPU Table 3 3 Table of I O Signals PLC CPU gt DN91 Input Number Signal Name Output Number Signal Name Xn0 Watchdog timer error Yno Xn1 Refreshing Yni Xn2 Message communication Yn2 complete Xn3 Error set signal Yn3 Xn4 Slave down signal Yn4 Xn5 Message communication error Yn5 signal Xn6 Parameter being set Yn6 Xn7 Parameter setting complete Yn7 Unusable Unusable XnF Unit ready YnF Y n 1 0 Unusable Y n 1 1 Refresh request X n 1 2 Y n 1 2 ee communication Y n 1 3 Error reset request Y n 1 4 Y n 1 5 Unusable Y n 1 6 Unusable Y n 1 7 Parameter set request Unusable MELSEC A 3 SPECIFICATIONS MELSEC A The output signals designated as unusable in Table 3 3 are reserved for system use and are not available to the user Normal operation cannot be guaranteed if the user operates one of these output signals that is turns the signal ON or OFF 3 SPECIFICATIONS MELSEC A 3 3 2 I O signal details This section explains the I O signal ON OFF timing and conditions 1 Watchdog timer error XnO Turns ON if an error occu
98. ror signal Xn5 turns ON the contents of the Message communication result area are read by the FROM instruction to identify the error cause 4 FUNCTIONS MELSEC A 4 2 5 Compatibility with common service codes of DeviceNet specification Release 2 0 The following table indicates the compatibility between the commands that can be sent by the DN91 through message communication and the common service codes of the DeviceNet specification Release 2 0 Any other common service codes of the DeviceNet specification Release 2 0 and the slave specific service codes cannot be sent Message communication command of DN91 Common service code of DeviceNet Description specification Release 2 0 Get Attribute Single Read attribute 0101H Set Attribute Single Write attribute 0102H Read Communication Error Information 0001H Reset Reset 0201H 05H Being a DN91 specific command Read Communication Error Information is incompatible with the common service codes of the DeviceNet specification Release 2 0 4 FUNCTIONS MELSEC A MEMO 5 SETTINGS AND PROCEDURES BEFORE OPERATION MELSEC A 5 SETTINGS AND PROCEDURES BEFORE OPERATION This section describes the procedure before start up of a system using DN91 5 1 Settings and Procedures 5 1 1 DN91 start up procedure when setting parameters with a sequence program Develop a parameter setting sequence program Refer to Section 6 3 and Section 7
99. rs in DN91 OFF Unit normal ON Unit abnormal Watchdog timer error Xn0 Unit ready XnF 2 Refreshing Xn1 Refresh request Y n 1 1 These signals determine whether the data in the input data area and output data area of the buffer memory is used to refresh the network Refresh is conducted if the status of the master communication status area in buffer memory is operation in progress a To start the data refresh turn ON refresh request Y n 1 1 with a sequence program b When refresh request Y n 1 1 is turned ON the refresh operation starts and refreshing Xn1 turns ON automatically c To stop the data refresh turn OFF refresh request Y n 1 1 with a sequence program d The data refreshing is interrupted with Refreshing signal Xn1 turned OFF automatically and OFF or 0 data transmitted to all slave stations Refreshing the input data area still continues Refresh request Y n 1 1 Refreshing Xn1 3 SPECIFICATIONS MELSEC A 3 Message communication complete Xn2 Message communication error signal Xn5 Message communication request Y n 1 2 These signals are used for message communication Message communication is conducted if the status of the master communication status area in buffer memory is operation in progress a Follow the procedure below to conduct message communication 1 Write the message communication data to the message communication command area in buffer mem
100. rst slave station 0208H to 020FH Setting for the 7th slave station Same as with the first slave station 02104 to 02171 Setting for the 8th slave station Same as with the first slave station 02184 to 021FH Setting for the 9th slave station Same as with the first slave station 0220H to 0227 Setting for the 10th slave station Same as with the first slave station 02281 to 022FH Setting for the 11th slave station Same as with the first slave station 0230 to 0237 Setting for the 12th slave station Same as with the first slave station 0238 to 023FH Setting for the 13th slave station Same as with the first slave station 0240H to 0247 Setting for the 14th slave station Same as with the first slave station 02484 to 024FH Setting for the 15th slave station Same as with the first slave station 02504 to 0257 Setting for the 16th slave station Same as with the first slave station 0258H to 025F Setting for the 17th slave station Same as with the first slave station 0260 to 0267 Setting for the 18th slave station Same as with the first slave station 0268H to O26FH Setting for the 19th slave station Same as with the first slave station 0270H to 0277 Setting for the 20th slave station Same as with the first slave station 02784 to 027FH Setting for the 21st slave station Same as with the first slave station 0280H to 0287 Sett
101. s document are trademarks or registered trademarks of respective owners Model AJ71DN91 A1SJ71DN91 DeviceNet Master Module User s Manual MODEL AJ71DN91 U S E MODEL 13JL69 SH NA 4004 D 0407 MEE a MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE 1 8 12 OFFICE TOWER Z 14F HARUMI CHUO KU 104 6212 JAPAN NAGOYA WORKS 1 14 YADA MINAMI 5 CHOME HIGASHI KU NAGOYA JAPAN When exported from Japan this manual does not require application to the Ministry of Economy Trade and Industry for service transaction permission Specifications subject to change without notice
102. ses Xn2 Xn5 Message communication complete Instance Class Instance Attribute Attribute Instance Attribute 1 Set Set Attribute in the buffer memory message communication command area using the sequence program TO instruction 2 Set the data to be written in the buffer memory message communication data area using the sequence program TO instruction 3 Turn ON message communication request Y n 1 2 to write the data stored in the buffer memory message communication data area to the special area of the slave station set by the message communication command area 4 When the write operation is complete the message communication result is stored in the message communication results area of buffer memory 5 When the process result is stored in the message communication results area of buffer memory message communication ends and the message communication complete Xn2 signal automatically turns ON 6 When the Message communication error signal Xn5 turns ON the contents of the Message communication result area are read by the FROM instruction to identify the error cause 4 8 4 FUNCTIONS 4 2 3 Read communication error information PLC CPU To SET Y n 1 2 1 1 From Xn2 Xn5 DN91 1O 01104 Message communication 011FH command area Message communication request Slave information storage area k 0120 Message communicatio
103. st information The following four steps are required to set the DN91 parameters 1 Set configuration 2 Set master parameters 3 Set bus parameters 4 Set device slave parameters 6 4 1 Setting configuration Set the DeviceNet network configuration on the screen below S CONfigurator Unnamed W File Edit View Insert Online Settings Tools Window Help osla e a ARAN oo ama i aaa MAC ID DeviceNet isao DNM Discrete I O MAC ID 2 Node AB321 0 Discrete I O MAC ID 3 Node AB641 0 zi Config Mode For Help press F1 To set the master on the above screen choose COM DNM as shown below Insert Master Available masters Selected masters CIFI04 DNM CIF30 DNM a Cancel i CIF30 DNM CIF5S0 DNM Add All gt gt CIF60 DNM __ amp Remove Remove _ lt Remove All Remove All Wendor name Hilscher GmbH MAC ID Catalog listing COM DNM Description D Master File name HICOM EDS 6 PARAMETER SETTINGS MELSEC A 6 4 2 Setting master parameters Set the master parameters on the screen below gt Parameter to user interface Startup behaviour after system initialisation Automatic release of the communication by the device Controlled release of the communication by the application programm m User program monitoring Watchdog time 1000 m Parameter to process data interface Addressing mode
104. station when establishing a connection 2B DN91 The first division data has been received twice Inspect the state of the network and slave stations H during divided receipt of polling response closely as for any missing terminal resistance Division data number that has been received is not aa 3 e Inspect the state of the network and slave stations 2CH DN91 what is expected during divided receipt of polling om closely as for any missing terminal resistance response Intermediate or the last data has been received ae f ee e Inspect the state of the network and slave stations 2Du DN91 before receiving the first division data during divided ae closely as for any missing terminal resistance receipt of polling response e Inspect the state of the network and slave stations closely as for any missing terminal resistance e The parameters contain two or more slave stations having the same station number Correct the station Two or more station numbers of the same MAC ID g 3B H DN91 numbers have been detected in the parameters F e The parameters contain slave station s of the same station number as the host station number DN91 O address in the parameters exceeds 255 Set the O address at 255 or less DN91 l address in the parameters exceeds 255 e Set the I address at 255 or less DN91 Illegal connection type is designated e Check if the connection type value is correct 49 DN91 The value of the expe
105. t mm inch APP 1 APPENDICES MELSEC A 1 2 A1SJ71DN91 A1SJ71DN91 RUN 130 5 12 oO o RS 232 C o O 0 93 6 34 5 3 69 1 36 6 5 0 26 0 26 Unit mm inch APP 2 APPENDICES MELSEC A APPENDIX 2 Parameter Setting Sheet Buffer Memory Set Host station number 0000 to 003FH host station 0 to 63 MAC ID 1 500kbaud Baud rate 1to3 01D5xH 2 250kbaud 3 125kbaud 01H Station that supports UCMM and uses the message group 3 Station 024 Station that supports UCMM and uses the message group 2 numiberand Upper byte 03x Station that supports UCMM and uses the message group 1 01H to 04H or 80H 04 Station that does not support UCMM Server dedicated to message 01D8x group 2 group of O 80x Reserved station th station Lower byte 00H to 3Fu 0 to 63 Station number of nth slave station Connection type for I O communication 00014 Polling 0002u Bit strobe 0004 Change of state 0008 Cyclic Station numer of DN91 Connection type of th 00011 0002n slave 00044 0008H station Upper byte Number of output byte modules Lower byte Number of input byte modules Number of Upper word word Number of output mogul wore modulos 01DBu Units Words for both points i
106. t rate gt the Production inhibit time 3 When the setting value 1 or when the Expected 3 This value must be the same for all bit strobe packet rate 0 ms the Watchdog timer monitoring is connections disabled 1 Always set the value 1 or in other word set the 1 Always set the value 1 or set the production inhibit expected packet rate 0 ms time 0 ms 1 Designate the data transmission interval from a slave 1 Designate the data transmission interval from the station to the master station master station to slave stations 2 When the expected packet rate setting 1 or the expected packet rate 0 ms it must be the Expected packet rate gt the Production inhibit time 3 The setting value 1 or the Expected packet rate 3 The setting value 1 or the Production inhibit time 0 ms is prohibited 0 ms is prohibited Change of state 3 SPECIFICATIONS MELSEC A MEMO 4 FUNCTIONS MELSEC A 4 FUNCTIONS This section describes the functions The DN91 offers the following two types of functions Proper parameter setting is required in advance e O communication functions see Section 4 1 message communication functions see Section 4 2 4 1 1 0 Communication Functions The I O communication functions conduct I O data communication with the slave stations The I O communication functions allow the communication type to be set to match the slave statio
107. tation data transfer specifications 6 3 Setting with a Sequence Program See the following sections for the methods of setting parameters with a sequence program 3 3 2 6 I O Signal Details 3 4 2 14 Parameters 7 3 Setting Parameters with a Sequence Program POINTS Avoid any setting that validates both parameter setting procedures of using the sequence program and of using configuration software 1 Setting parameters with the sequence program erases the parameter settings that have been set with the configuration software 2 When using the configuration software to set the parameters follow the setting procedure as shown below e Set the parameters referring to 6 4 Setting Parameters with the Configuration Software e To invalidate the settings that have been set with the sequence program use the sequence program to write FFFFH onto the host station number 01D4n of the buffer memory and turn ON the parameter setting request Y n 1 7 6 PARAMETER SETTINGS MELSEC A 6 4 Setting Parameters with the Configuration Software Parameter Setting Tool This system gives an outline of the setting method using the configuration software While the following explanations are based on screens of SyCon Ver 2 0 6 2 the screen hierarchy and items of the setting are subject to change due to potential changes in the specifications of the configuration software Refer to the operation manual of the configuration software for the late
108. te 0015H Too much data The requested service included invalid data 00161 00171 23 Object does not exist Reserved The requested service designated an unmounted object Reserved by DeviceNet 0018H 24 No stored attribute data The object attribute data was not saved before the service was requested 0019H 25 Store operation failure The object attribute data was not saved due a problem during the save processing 001Ax to 001E 26 to 30 Reserved Reserved by DeviceNet Vendor specific error An error specific to a vendor occurred The Additional error code area 01341 of the error response shows the specific error The error code is used only when any of the error codes shown in this table or within the object class definition does not correspond to the relevant error 0020H 32 Invalid parameter A parameter problem occurred with the requested service This code is used if the parameter does not meet the requirements in this specification of DeviceNet or the important conditions defined in the application object specifications 00214 to 0027H 33 to 39 Future extensions Reserved by DeviceNet 0028H 40 Invalid Member ID The member ID of the requested service designated an unmounted class instance or attribute 0029H 41 Member not settable An unchangeable member was designated for the requested setting service 002Ax to
109. te J Default 500 ms mov Ho Dio Watchdog timeout action default TIMEOUT MOVP KO D11 Production inhibit time Parameter set Default 10 ms command X0 XOF X1 X7 Y17 hH 4 Move H103 D12 F Set second slave station remote I O to 3 oP HI D13 F Set to polling the connection type for the second slave station MOVP H204 D14 F Input byte module 4 Output byte module 2 MOVP HO D15 Input word module 0 Output word module 0 vo Ho De Input double word module 0 Output double word module 0 F Expected packet rate H vov k501 D17 500ms MOVP H2 D18 F Watchdog timeout action Auto erase MOVP K21 D19 F Production inhibit time 20 ms TOP HO H1D8 KO K504 Clear slave station parameter area TOP HO H1D4 DO K20 Write parameter data to the buffer memory parameter area SET Y17 J Set parameter set request X7 Y17 RST Y17 F Reset parameter set request RST Parameter set command 7 PROGRAMMIN ae MELSEC A The relationship between PLC CPU and master station buffer memory and the meaning of buffer memory data is shown below PLC CPU Buffer memory lt Stores host station number 1 lt Stores baud rate 500 kbaud lt Unused lt Unused lt Stores station number of first slave station 4 lt Stores connection type of first slave station bit strobe lt Stores input output byte m
110. th the functions and performance of MELSEC A series you have purchased so as to ensure correct use Please forward a copy of this manual to the end user CONTENTS SARETYsPREGAU TIONS oiim a a et ode choco cae ot a a a ease at A 1 REVISIONS tiy tereteecnessi eect dete anc decree den Seed ed dee bee ee A 4 1 OUTLINE 1 1to 1 10 tI Pease sop she eck be vdtg Se a a Steed a beats dated oeneeg dusted Band esha eed geo Stems 1 1 12 Gommunication Outline 4 1 cccetwa ata ine Wie ania wi ei een ead 1 3 12T Network COMMOUPALON sairin rarna ERER Rr ARTIA I A RRE RNA AAEE Shacesstancdeet dharentaneaess 1 3 1 2 2 Outline of parameter SettiNGS ccecececceseeeececeeeeseeaecaeeeeeeaeeaecaeseeeeaesaecaeseeeeaeeaesaeseeeeaeeaeseeseaeeateas 1 5 1 2 3 Outline of DN91 slave station communication eee cececceceeeeeeeeeeteceeaeeaeceeeeeeeaecaesaeseeeeaetaeeeeeaeaes 1 5 2 SYSTEM CONFIGURATION 2 1to2 6 2 1 Overall Configu ATO i see ics beseech raa eed ga tetas bes ea a a a aana adnan eaten aa a EEES aAa 2 1 2 1 1 Atypical system configuration that connects with a trunk line sssssseessssessissrssrsersrsssnsrsrnsrnsnsns 2 1 2 1 2 Atypical system configuration that connects with a drop line sssssssssessssessresrsersrsrsrsrsrnsrnsrnsnsns 2 1 2 1 3 System configuration with a DeviceNet master unit cccecceeeceeseeeeeeeceeeeeeseecaeeeeesaeeaeeaeseeeeaeeaes 2 2 2 2 Applicable SYStems norianins ana a i ations nade dedi ieee A E
111. the power supply unit and extension cable with due consideration to the current capacity of the power supply unit and the voltage drop in the extension cable See the user s manual of your PLC CPU for details b The DN91 cannot be mounted in the final slot of the ASCPU P21 R21 expansion 7th stage 3 Cannot Be Mounted in MELSECNET II MELSECNET B or MELSECNET 10 Remote I O Station The DN91 cannot be mounted in a MELSECNET II MELSECNET B or MELSECNET 10 remote I O station 4 Cautions When Connecting Wiring To avoid noise interference separate DeviceNet communication cables power cables and I O unit signal cables 5 No Remote Operation from Another Node It is not enabled to read write or monitor the sequence program of the PLC CPU which contains the DN91 and the data of slave stations via nodes on the DeviceNet 2 SYSTEM CONFIGURATION MELSEC A 2 2 3 Operating environment of the configuration software parameter setting tool This section describes the operating environment when setting DN91 parameters with the configuration software The configuration software is a peripheral device which installs the following configuration software in a personal computer to allocate communication data for each slave station to the DeviceNet master station 1 Configuration Software SyCon Ver 2 0 6 2 or later Include DLL file Ver 2 5 0 1 or later Connect the DN91 and personal computer with the RS 232C cross cable 2 O
112. tion Thick Thin Thick Cable Thin Max Total Speed Cable Cable Cable Combination Max cable length 1 125 kbaud 500 m 156 m 250 kbaud 250m 100 m See 3 2 1 6m 78m 500 kbaud 100m 39m Amperage consumption mA required on the network 26 5 Number of E7PROM write times Max 100 thousand times Number of occupied I Os Internal current consumption at 5 VDC A Special 32 points 0 24 weight kg A1SJ71DN91 0 23 AJ71DN91 0 43 1 See the DeviceNet Specifications Release 2 0 Volume 1 and Volume 2 for details about the maximum cable lengths 2 Up to 255 bytes can be transferred per slave station 3 2 1 Maximum transfer distance of a trunk line that contains both thick and thin cables This section shows the maximum transfer distances for thick cable thin cable combinations Communication Speed 125 kbaud Trunk Line Max Transfer Distance with a Thick Cable Thin Cable Combination Thick cable length 5 x thin cable length lt 500 m 250 kbaud Thick cable length 2 5 x thin cable length lt 250 m 500 kbaud Thick cable length x thin cable length lt 100 m 3 SPECIFICATIONS 3 3 PLC CPU I O Signals This section describes the I O signals for the DN91 PLC CPU 3 3 1 Table of I O signals Table 3 3 shows the table of DN91 I O signals The lette ren in the table represents the leading I O number of DN91 It is dete
113. unnecessary parameter area The previous data remaining there may cause an error 3 SPECIFICATIONS MELSEC A Table 3 21 Details of Expected Packet Rate and Production Inhibit Time i ee Expected Packet Rate Production Inhibit Time 1 Set the communication watchdog timer value for a 1 Set the minimum transmission interval or the slave station Any interruption of communication minimum time a slave can get the transmission data between the master and slave stations for the time ready setting the slave station executes the action The master station sends the polling request at this designated by the Watchdog Timeout Action interval Polling 2 When the expected packet rate setting 1 or the expected packet rate 0 ms it must be the Expected packet rate gt the Production inhibit time 3 When the setting value 1 or when the Expected packet rate 0 ms the Watchdog timer monitoring is disabled 1 Set the communication watchdog timer value for a 1 Set the minimum transmission interval or the slave station Any interruption of communication minimum time a slave can get the transmission data between the master and slave stations for the time ready setting the slave station executes the action The master station sends the polling request at this designated by the Watchdog Timeout Action interval Bit strobe 2 When the expected packet rate setting 1 or the expected packet rate 0 ms it must be the Expected packe
114. upply capacity sufficient i ae aa Add a power supply Reduce the network load Correctly connect the cable Is the position where the network power supply is connected OK Determine whether the network power supply is connected to a suitable position referring to 5 6 Instructions for Connecting No Communication With the Network Power Supply Any Slave Station Does any slave station have the same station number as the Set the station numbers to avoid DN91 duplication Turn ON refresh request Y n 1 1 with a sequence program Check if termination resistances are connected and if they are connected correctly Make sure that the same baud rate is set Is the same baud rate set for each station i for each station Does the cable length exceed the permitted limit Reduce the cable length Check the cable length restrictions appropriate for the cable Reduce the baud rate thickness and baud rate referring to 3 2 Performance If thin cable is used in the trunk line Specifications replace it with thick cable See 8 1 2 Problems Due to Incorrect Parameter Settings Check the error codes Remedy for error code See 8 3 Troubleshooting using Error Codes Change the position where the network power supply is connected Is refresh request Y n 1 1 ON Is a termination resistance correctly connected to each end of the network Check the parameter settings TROUBLESHOOT 8 OU SHOOTING MELSEC A Check Item
115. urns OFF when the cause of the error is removed b Once the cause of error is removed turning ON the error resetting request Y n 1 3 with the sequence program clears the error code set on the error information area Error reset request Y n 1 3 Error set signal Xn3 Read error FROM TO information FROM instruction 3 SPECIFICATIONS MELSEC A 5 Slave down signal Xn4 This signal indicates whether any slave station has stopped communication a This signal turns ON if any slave station for which parameters are set stops communication OFF All stations communicating normally ON Abnormal communication at a station Which station has stopped communication can be confirmed from the station communication status area at addresses 01BCH to 01BFu of the buffer memory b This signal automatically turns OFF when the slave station communication restarts 6 Parameter being set Xn6 Parameter set complete Xn7 Parameter set request Y n 1 7 These signals are used to set parameters with a sequence program Set the parameters when the refreshing Xn1 signal is OFF a Follow the procedure below to write parameters 1 Write the parameters to the parameter set area in buffer memory 2 Turn on parameter set request Y n 1 7 with a sequence program b Once the write request is received and the parameter analysis completes normally parameter writing action gets executed with the parameter being set Xn6 turn
116. with a FROM instruction in a sequence program The process results are stored as shown in the table below See 8 3 2 Message Communication Execution Error Codes for details about the buffer memory address 0121H execution error code Table 3 9 Get Attribute Result Data Buffer Memory Address Contents Hexadecimal Command number 01014 Get Attribute Normal completion 0000 Error Execution error code Execution error code Slave station number slave MAC ID class ID Instance ID Object instance ID Lower byte Object attribute ID Upper byte Number of bytes 1 to 240 1h to FOH of read attribute data Lower byte Slave station number MAC ID Upper byte Object class ID Attribute ID data length 3 SPECIFICATIONS MELSEC A Table 3 10 Set Attribute Result Data Buffer Memory Address Contents Hexadecimal 01201 Command number 01024 Set Attribute Normal completion 0000 0121H Execution error code p i Error Execution error code Slave Station number Lower byte Slave station number MAC ID MAC ID cl i oran E SID class Upper byte Object class ID 01231 Instance ID Instance ID L byte Object attribute ID to write attribute data 01241 Attribute ID ch ee ees Upper byte Number of bytes of attribute data 1 to 240 Table 3 11 Result Data for Reading Communication Error Information Buffer Memory Address Contents Hexadecimal Command number 00014 Read
117. ws are loose it may cause the module to malfunction or fall off If the screws are tightened excessively it may damage the screws and or the module and cause the module to malfunction or fall off e Before mounting or dismounting the module make sure to shut off all phases of the external power supply Failure to do so may damage the product e Do not directly touch the conducting parts and electronic parts of the module This may cause the module to malfunction or fail Wiring Precautions lt b DANGER e Switch off all phases of the power supply outside the PC before starting installing or wiring work If all phases are not switched off there will be a danger of electric shock or damage to the product A CAUTION e Always earth the FG terminal to the protective earth conductor Failure to do so may cause a malfunction e Tighten the terminal screws with the specified torque If the terminal screws are loose it could result in short circuits or erroneous operation Tightening the terminal screws too far may cause damages to the screws or the module resulting in fallout short circuits or malfunction e Make sure that no foreign matter such as chips or wire offcuts gets inside the module It will cause fire failure or malfunction e The communication cables and power cables connected to the unit must be enclosed in a duct or fixed with clamps Failure to do this can result in malfunction due to damage to the unit or cables
118. y Address Hexadecimal Table 3 5 Set Data for Get Attribute Command number Contents 0101H Get Attribute Slave station number slave MAC ID class ID Instance ID Lower byte Slave station number to read attribute data MAC ID Upper byte Object class ID to read attribute data Object instance ID to read attribute data Attribute ID Lower byte Object attribute ID to read attribute data Upper byte Always set to 0 b Writing Attribute Data to a Slave Station 1 Set the command data in the message communication command area using the TO instruction 2 Set the attribute data to be written in the message communication data area using the TO instruction 3 Turn ON message communication request Y n 1 2 with a sequence program 4 Message communication complete Xn2 automatically turns ON when the message communication completes 5 Check the message communication error signal Xn5 to see if the message communication has been normally completed Table 3 6 shows the data that should be set by a sequence program Buffer Memory Address Hexadecimal Table 3 6 Set Data for Set Attribute Command number Contents 01024 Set Attribute Slave station number slave MAC ID class ID Lower byte Slave station number MAC ID Upper byte Object class ID Instance ID Object instance ID Attribute ID data length Lower byte Object attribute ID Upper byte Byt

Download Pdf Manuals

image

Related Search

Related Contents

manual lareira _2  intext:Bedienungsanleitung filetype:pdf  Video Pole Camera - Research Electronics International  1446685 Spectra Plus Seat Riser UG GB 0605.PMD  Gigaset S450 IP  HP JetDirect- Druckserver  Nutrición Parenteral    Válvulas retención API  curso taller motivación: servicio y atención al usuario  

Copyright © All rights reserved.
Failed to retrieve file