background image

A1SJ71DN91,

AJ71DN91

User’s manual

_______________________________________________________________________________________________________

SHNA 4004A

Summary of Contents for A1SJ71DN91

Page 1: ...A1SJ71DN91 AJ71DN91 User s manual _______________________________________________________________________________________________________ SHNA 4004A ...

Page 2: ...n 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 ...

Page 3: ...w the directions for usage Store this manual in a safe place so that you can take it out and read it whenever necessary Always forward it to the end user System Design Precautions DANGER 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 stat...

Page 4: ...rminal to a dedicated PC ground connection with class 3 grounding or higher Failure to do this may result in malfunction Tighten terminal screws to the prescribed torque Loose terminal screws can cause shorting and malfunctions Make sure that no foreign matter such as chips or wire offcuts gets inside the module It will cause fire failure or malfunction The communication cables and power cables co...

Page 5: ...s before cleaning or tightening the terminal screws Failure to do this may result in malfunction Do not disassemble or modify any module This will cause failure malfunction injuries or fire 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 Cautions on Disposal CAUTION Dispose of this product a...

Page 6: ...e system configuration connected with a trunk line 2 1 2 1 2 Sample system configuration connected with a drop line 2 1 2 1 3 System configuration with a DeviceNet master unit 2 2 2 2 Applicable Systems 2 3 2 2 1 Mountable CPUs and number of units 2 3 2 2 2 Important points about the system configuration 2 4 2 2 3 Operating environment of the configuration software parameter setting tool 2 5 2 3 P...

Page 7: ...power supply unit installation position 5 7 5 6 2 Calculating network power supply unit installation position and current capacity 5 8 6 PARAMETER SETTINGS 6 1 6 7 6 1 Setting Parameter 6 1 6 2 Important Points about the Parameter Settings 6 2 6 3 Setting with a Sequence Program 6 2 6 4 Setting Parameters with the Configuration Software Parameter Setting Tool 6 3 6 4 1 Setting configuration 6 3 6 ...

Page 8: ...r unit 8 5 8 2 2 Errors caused by incorrect parameter settings or abnormal network 8 6 8 3 Troubleshooting Using Error Codes 8 8 8 3 1 Communication error codes 8 8 8 3 2 Execution error codes for message communication 8 11 APPENDICES APP 1 APP 4 APPENDIX 1 External View APP 1 1 1 AJ71DN91 APP 1 1 2 A1SJ71DN91 APP 2 APPENDIX 2 Parameter Setting Sheet APP 3 APPENDIX 3 List of Communication Paramete...

Page 9: ...rates 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 indepen dently for each slave station from the following four methods prescribed for DeviceNet polling bit strobe change of state and cyclic However only one ...

Page 10: ...1 OUTLINE 1 2 MELSEC A REMARK When a network analyzer is connected to monitor the DeviceNet network DN91 is recognized as a product of the Hilscher company ...

Page 11: ...ey can be arranged 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 com munication circuits in each station Termination resistance Trunk line Drop line Network power supply unit 24 VDC Slave station Drop line branch Tap Po...

Page 12: ...ated 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 REMARK Contact ODVA or the ODVA Japan office for inquiries about the following devices required for the DeviceNet network configuration Network power supply unit Power tap Tap Termination resistance Cable Contact Details for O...

Page 13: ...ation 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 I O Communication Functions for details The following four I O communication methods are available One of these four communication methods can be chos...

Page 14: ... shown below See 4 2 Message Communication Functions for details a Reading attributes Slave station DN91 PLC CPU D R TO Attribute Attribute Message communication command area Message communication result area Message communication data area Up to 240 byte D R FROM Device Class Instance Instance Class Instance Attribute Instance Attribute Attribute Attribute Attribute FROM Device ...

Page 15: ...R Message communication data area Up to 240 byte D R Message communication command area Message communication result area FROM TO TO Class Instance Attribute Attribute Class Instance Attribute Attribute Attribute Instance Attribute Attribute Class Instance Instance Attribute Device ...

Page 16: ...communi cation DN91 PLC CPU Class 1 Attribute Attribute Class Attribute Attribute Attribute Attribute Message communication data area Up to 240 byte Message communication command area Message communication result area D R TO FROM Slave information storage area D R Instance Instance Instance Attribute Attribute Attribute Instance FROM Device Device ...

Page 17: ...A1SJ71DN91 as the master station is described below 2 1 1 A typical system configuration that connects with a trunk line 2 1 2 A typical system configuration that connects with a drop line Trunk line DeviceNet master unit AJ71DN91 A1SJ71DN91 Slave stations max 63 stations Power supply 24 VDC Tap Termination resistance Slave station Slave station Master station DeviceNet master unit AJ71DN91 A1SJ71...

Page 18: ...le computer configuration software DeviceNet network Extension Cable Extension base PLC CPU Main base PULL CPU STOP RUN ERROR L CLR RESET RESET RUN A CPU S 1 DeviceNet master unit AJ71DN91 A1SJ71DN91 RS 232C cross cable Configuration unit Trunk line or drop line RS 232 C A1SJ71DN91 RUN L RUN MS NS DeviceNet ...

Page 19: ...1SJ71DN91 AJ71DN91 A0J2CPU A0J2HCPU Cannot be used A1SCPU S1 A1SHCPU A1SJCPU S3 A1SJHCPU S8 A1SCPUC24 R2 A2SCPU S1 A2SHCPU S1 A2ASCPU S1 S30 Q2ASCPU S1 Q2ASHCPU S1 No restriction A1CPU A2CPU S1 A3CPU A1NCPU A2NCPU S1 A3NCPU A3MCPU A3HCPU A2ACPU S1 A3ACPU A2UCPU S1 A3UCPU A4UCPU Q2ACPU S1 Q3ACPU Q4ACPU PLC CPU Q4ARCPU Cannot be used No restriction MELSECNET remote I O station MELSECNET B remote I O...

Page 20: ...ed in this type of unit select 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 A3CPU P21 R21 expansion 7th stage 3 Not Mountable in MELSECNET II MELSECNET B Remote I O Station DN91 canno...

Page 21: ...ble 2 2 Operating Environment Item Environment Personal computer PC AT compatible personal computer CPU Intel 486 processor or above OS Windows95 WindowsNT3 51 WindowsNT4 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 Registered trademark of Microsoft Corporation 3 RS 232C Cross cable The wiring connections o...

Page 22: ... Systemautomation GmbH Rheinstrasse 78 D 65795 Hattersheim Germany TEL 49 6190 9907 0 FAX 49 6190 9907 50 Japanese Agent NPS Ltd 4F Shinjuku No 7 Hayama Building 1 36 2 Shinjuku Shinjuku ku Tokyo TEL 03 3226 8110 FAX 03 3226 8113 2 3 Products Connectable to a Slave Station While it is considered connectable with most commercially available DeviceNet products we cannot guarantee the connectivity wi...

Page 23: ...hock resistance Conforming to JIS B 3501 IEC 1131 2 147 m s 2 15G 3 times in 3 directions Operating environment No corrosive gas Operating altitude 2000 m max Installation position In control box Over voltage category 1 II 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 po...

Page 24: ...500 m 156 m 250 kbaud 250 m 78 m Max cable length 500 kbaud 100 m 100 m See 3 2 1 6 m 39 m Communication specification Amperage consumption mA required on the network 26 5 Number of occupied I Os Special 32 points Internal current consumption at 5 VDC A 0 24 Product weight kg A1SJ71DN91 0 23 AJ71DN91 0 43 See the DeviceNet Specifications Release 2 0 Volume 1 and Volume 2 for details about the maxi...

Page 25: ...Signal Name Xn0 Watchdog timer error Yn0 Xn1 Refreshing Yn1 Xn2 Message communication complete Yn2 Xn3 Error set signal Yn3 Xn4 Slave down signal Yn4 Xn5 Message communication error signal Yn5 Xn6 Parameter being set Yn6 Xn7 Parameter setting complete Yn7 Xn8 Yn8 Xn9 Yn9 XnA YnA XnB YnB XnC YnC XnD YnD XnE Unusable YnE XnF Unit ready YnF Unusable X n 1 0 Y n 1 0 Unusable X n 1 1 Y n 1 1 Refresh re...

Page 26: ...t 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 ...

Page 27: ...f 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 sequen ce 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 sequen ce program d The data refreshing is interrupt...

Page 28: ...quence 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 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 th...

Page 29: ... 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 turned 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 a...

Page 30: ...304 to 423 Message communication data Stores communication data for message communication Enabled 3 4 2 5 01A8H to 01A9H 424 to 425 Model display Setting is DN91 in ASCII code Disabled 01AAH to 01AFH 426 to 431 Not used 01B0H 432 Master communication status Stores the DN91 status Disabled 3 4 2 6 01B1H 433 Error information Upper byte Error code Lower byte Stores station number where the error occ...

Page 31: ...ries of words A bit input module and a byte input module are handled equally See the example below Example 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 0000H Byte module No 2 Byte module No 1 0001H Free Byte module No 3 0002H Word module No 1 0003H Word module No 2 0004H Double wo...

Page 32: ...he Customized I O data I Addr item in the diagram above and the addressing mode set from the configuration software Master Setting screen See the example below Example Consider the case where the Customized I O data I Addr item is set as follows Data Type I Addr BYTE 0 1 BYTE 2 2 WORD 3 3 WORD 5 4 1 If the addressing mode is byte addressing The setting screen appears as and the relationship betwee...

Page 33: ... 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 See the example below Example Station 1 Byte output modules 3 Word output modules 2 Double word output modules 2 Station 2 Byte ...

Page 34: ...tting screen See the example below Example Consider the case where the Customized I O data O Addr item is set as follows Data Type O Addr BYTE 0 1 BYTE 2 2 WORD 3 3 WORD 5 4 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 0080H 1 0081H 2 0082H 3 0083H 4 2 If the addressing mode...

Page 35: ...D to read attribute data 0112H Instance ID Object instance ID to read attribute data 0113H 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 usi...

Page 36: ... MAC ID class ID Lower byte slave station number MAC ID Upper byte object class ID 0112H 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 communica tion complete Xn2 turns ON The process results can be read with a FRO...

Page 37: ... 0001H Read Communication Error Information 0121H Execution error code Normal completion 0000H Error Execution error code Table 3 12 Reset Setting Data Buffer Memory Address Hexadecimal Item Contents 0120H Command number 0120H Reset 0121H Execution error code Normal completion 0000H Error Execution error code 0122H Slave station number slave MAC ID class ID Lower byte slave station number MAC ID U...

Page 38: ... responded See 1 0131H Unusable 0132H Communication error codes Stores the same error code as the upper byte of buffer memory address 01B1H 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 0023H Refer to 2 1 0134H Addition...

Page 39: ...iagram below Bit 15 to bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 No response from slave station Slave station refused written attribute data I O data size set in parameters differs from the actual size Set as reserved station in the parameters These problems have occurred if the response bit is ON 0130H Used by the system ...

Page 40: ...ata The requested service included invalid data 0016H 22 Object does not exist The requested service designated an unmounted object 0017H 23 Reserved 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 001AH t...

Page 41: ...al 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 b Lower Byte This byte shows the device network communication status The bits turn ON OFF according to the communication sta...

Page 42: ... 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 communicat...

Page 43: ...rror has occurred for each slave station If a bit is ON problem information exists 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 com munication error information see 3 4 2 3 Message Communication Com mands 4 Message Co...

Page 44: ...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 Bit 1 Bit 0 01CCH Station 15 Station 14 Station 1 Station 0 01CDH Station 31 Station 30 Station 17 Station 16 01C...

Page 45: ...t slave station 0 to 63 Upper byte 01H Station that supports UCMM 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 01D9H Connection type for the first slave station Select the connection type for I O communicatio...

Page 46: ... to 022FH Setting for the 11th slave station Same as with the first slave station 0230H to 0237H Setting for the 12th slave station Same as with the first slave station 0238H to 023FH Setting for the 13th slave station Same as with the first slave station 0240H to 0247H Setting for the 14th slave station Same as with the first slave station 0248H to 024FH Setting for the 15th slave station Same as...

Page 47: ...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 0367H Setting for the 50th slave station Same as with the first slave station 0368H to 036FH Setting for the 51st slave st...

Page 48: ...ve station executes the action designated by the Watchdog Timeout Action 1 Set the minimum transmission interval or the minimum time a slave can get the transmission data ready The master station sends the polling request at this interval 2 When the expected packet rate setting 1 or the expected packet rate 0 ms it must be the Expected packet rate the Production inhibit time Bit strobe 3 When the ...

Page 49: ...arameters 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 para...

Page 50: ...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 memory 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 ...

Page 51: ...mory 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 communi...

Page 52: ...age 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 Slave station MAC ID Class Iinstance DN91 PC CPU Message communi cation request Attribute Attribute Xn2 Message...

Page 53: ... 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 The slave station communication error information stored in the buffer memory message communication data area is read to the PC CPU using the sequence program FROM instruction 3 Stores the status of each slave sta...

Page 54: ...g completes Set the CPU key switch to STOP and turn OFF the power Parameter setting successfully completed Write the parameter setting sequence program YES NO Refer to Section 6 3 and Section 7 Start Modify the para meter setting se quence program Power ON the unit Set the CPU key switch to STOP Power ON the DeviceNet network and slave stations Set the CPU key switch to RUN Modify the para meter s...

Page 55: ...ple the software is installed in the folder Program Files of drive C copy the file onto C Program Files Hilscher GmbH SyCon Fieldbus DEVNet EDS Write the parameters onto DN91 Start Power ON the DeviceNet network and slave stations Connect the DeviceNet network cable Write the parame ters onto DN91 Modify the para meters with the configuration soft ware Yes No Communication error code area 0 Monito...

Page 56: ...4 Tighten the unit mounting screws and terminal screws in the torque ranges specified below Type of Screw Tightening Torque Range N cm kg cm lb inch A1SJ71DN91 Module mounting screw 78 to 118 8 to 12 6 93 to 10 48 DeviceNet Connector screw 35 3 to 48 0 3 6 to 4 9 3 13 to 4 26 DeviceNet Connector wire screw 60 8 to 82 3 6 2 to 8 3 5 40 to 7 31 5 2 2 Installation environment Do not mount an A Series...

Page 57: ... 3 Nomenclature This section describes the AJ71DN91 and A1SJ71DN91 parts AJ71DN91 A1SJ71DN91 RS 232 C A1SJ71DN91 RUN L RUN MS NS DeviceNet AJ71DN91 RUN L RUN NS MS RS 232 C DeviceNet DeviceNet connector RS 232C connector DeviceNet connector RS 232C connector ...

Page 58: ...Normal opera tion display Flashing Parameters being loaded Lit Communicating Not lit Communication stopped Flashing periodic Preparing for communication L RUN Red Communication status display Flashing random Communication parameter error Lit DeviceNet interface unit operating normally Green Module status display Flashing Parameter error MS Red Module status display Not used Lit Communication enabl...

Page 59: ...ork 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...

Page 60: ...bed 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 s...

Page 61: ...n 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 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...

Page 62: ...gram above 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 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 ...

Page 63: ...05 A 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 0 30 0 90 1 50 2 25 3 00 4 50 6 00 Max current A 3 00 ...

Page 64: ... 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 for 63 units To construct a network of DeviceNet that contains DN91 as the master setting station numbers MAC IDs is required for ...

Page 65: ...nal Details 3 4 2 14 Parameters 7 3 Setting Parameters with a Sequence Program POINT 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 par...

Page 66: ... 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 latest 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 Setti...

Page 67: ...pplication 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 Hardwar...

Page 68: ...he following baud rate settings 125 Kbit s 125 kbaud 250 Kbit s 250 kbaud 500 Kbit s 500 kbaud 2 MAC 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 ...

Page 69: ...ved 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 m...

Page 70: ...ction 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 I Addr and O Addr to the DN91 buffer memory address allocated to the I O module I O data ...

Page 71: ...ication status of each station and apply an interlock Also create processing programs to handle faults 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 X0 X0F Communication program Unit error Unit ready X0 X0F Unit...

Page 72: ...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 The Flex I O DeviceNet adapter by Rockwell Automation Japan has 2 byte input data Both IB16 and OB16 have 2 byte input data and 2 byte output data Station...

Page 73: ...ation remote I O is shown below Y10F to Y100 X10F to X100 DN91 master station FROM PLC CPU Input data Output 15 to output 00 Output data Remote I O station number 3 16 point output 0001H 0003H 0002H 0000H 0080H 0081H Status Input 15 to input 00 Remote I O station number 4 16 point input Dummy output I15 to 00 Status O15 to O00 Dummy output TO ...

Page 74: ...3 Set to polling the connec tion type for the second slave station Input byte module 4 Output byte module 2 Input word module 0 Output word module 0 Input double word module 0 Output double word module 0 Expected packet rate 500ms Watchdog timeout action Auto erase Production inhibit time 20 ms Write parameter data to the buffer memory parameter area Set parameter set request Reset parameter set r...

Page 75: ...T Set production inhibited time of first slave station to default value Stores station number of second slave station 3 Stores connection type of second slave station polling Stores input output byte modules of second slave station Stores input output word modules of second slave station Stores input output double word modules of second slave station Stores expected packet rate of second slave sta...

Page 76: ... setting Refresh request Read communication status Read input data Parameter setting program M3 X0F X1 Parameter setting program see Section 7 3 Refresh request program see Section 7 4 1 Write output data Parameter setting program Refresh request program Y100 K4Y100 H81 H0 TO K1 Station number 3 output data processing program Y102 Y103 Y105 Y107 M3 X0 X0F Refresh command Station number 4 error pro...

Page 77: ...e 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 Error processing program X0F X2 Y12 X2 Y12 Reading Reading H101 MOVP D0 D0 H110 H0 TOP K4 H0503 MOVP D1 K2 MOVP D2 K9 M...

Page 78: ...ss ID 5 Instance ID 2 Send data byte length 2 Attribute ID 9 Write request data to buffer memory Set message communication request Read result from buffer memory Reset message communication request Error processing program X0F X2 Y12 X2 Y12 Writing Writing H102 MOVP D0 D0 H110 H0 TOP K4 H0503 MOVP D1 K2 MOVP D2 H209 MOVP D3 D10 H120 H0 FROMP K6 SET Writing K0 D11 RST Y12 RST RST Write attributes D...

Page 79: ...e sequence program to acquire error information Read error information Station number generating error Error information Error code Set error reset request Reset error reset request X3 Error reset D500 MOVP D502 D502 SFRP K8 D500 H1B1 H0 FROMP K1 D500 H0FF WANDP D501 RST Y13 X3 SET Y13 Y13 ...

Page 80: ...om 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 Remedy When the error set signal Xn3 turns ON Communication error code 01B1H upper byte Take remedial actions in accordance with Section 8 ...

Page 81: ...ted to a suitable position referring to 5 6 Instructions for Connecting the Network Power Supply Change the position where the network power supply is connected Does any slave station have the same station number as the DN91 Set the station numbers to avoid duplication Is refresh request Y n 1 1 ON Turn ON refresh request Y n 1 1 with a sequence program Is a termination resistance correctly connec...

Page 82: ...gs See 8 1 2 Problems Due to Incorrect Parameter Settings No Communication With Slave Stations After A Certain Station Check the error codes See 8 3 Troubleshooting using Error Codes Take the remedy described for the error code 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 Is the network power ...

Page 83: ...tion write processing or message communication error read processing conducted at the same time as the message communication read program is executed Modify the sequence program so that these are executed at different times 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 attri...

Page 84: ...station number in buffer memory with the sequence program Parameter settings made by the configuration software are ignored Have the parameter settings made by the configuration software been disabled using the configuration software settings Change the parameter settings referring to 6 3 Setting Parameters with the Configuration Software 8 2 Troubleshooting Using LED Indications Determine the cau...

Page 85: ...e connected Connect a termination resistance Is the communication cable correctly connected Correctly connect the communication cable Reduce the baud rate Does the total cable length exceed the permitted limit Reduce the total cable length Reduce the baud rate Does the drop line length or total drop line length exceed the permitted limit Reduce the drop line length or total drop line length Is the...

Page 86: ...ion power Is the same baud rate set for all stations Set the same baud rate for all stations Is a termination resistance connected Connect a termination resistance Is the communication cable correctly connected Correctly connect the communication cable Reduce the baud rate Does the total cable length exceed the permitted limit Reduce the total cable length Reduce the baud rate Does the drop line l...

Page 87: ... upper byte and a lower byte Upper byte Error code Lower byte Station number where error was detected 1 In case the error detected station number lower byte of the error data is FFH Error Code Error Detected Details Remedy 35 H DN91 Baud rate setting is out of range Properly set the baud rate 36 H DN91 Host station number MAC ID is out of range Set the host station number in a range of 0 to 63 39 ...

Page 88: ...re is a slave station set in the buffer memory having the same station number as with the host station Set the station numbers to avoid any overlap among all stations 07 H DN91 No slave station is set Set at least one slave station 08 H DN91 Total length of all input data for all slave stations is too large Keep the total length of 256 bytes or less for all slave stations 09 H DN91 Total length of...

Page 89: ...when establishing a connection Inspect the state of the network and slave stations closely as for any missing terminal resistance 29 H Slave station Connection is already established with the slave station Wait and observe for a while and if the connection is not established reset the slave station 2A H DN91 Polling response data length differs from the length of data that has been read from the s...

Page 90: ...ed 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 11 Slave station The object is already in the mode or status requested by the service Check if the designated station number class ID instance ID and attribute ID are correct Use Get Attribute to...

Page 91: ...Slave station The designated attribute is not supported 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 21 Slave station The service supplied more data than expected Set the data returned by the slave station to 240 bytes ...

Page 92: ...APPENDICES APP 1 MELSEC A APPENDICES APPENDIX 1 External View 1 1 AJ71DN91 Unit mm inch AJ71DN91 RUN L RUN NS MS RS 232 C DeviceNet 250 9 84 106 4 17 4 2 0 17 37 5 1 48 ...

Page 93: ...APPENDICES APP 2 MELSEC A 1 2 A1SJ71DN91 Unit mm inch RS 232 C A1SJ71DN91 RUN L RUN MS NS DeviceNet 130 5 12 93 6 3 69 6 5 0 26 34 5 1 36 ...

Page 94: ...nput double word modules 01DCH 1 x 8 Units Double words for both Expected packet rate for th slave station Communication watchdog timer value for slave station ms 01DDH 1 x 8 Set the communication watchdog timer value for the slave station Sets the slave station communication watchdog timer If the communication between the master station and the first slave station ceases during this set time the ...

Page 95: ...4H 00H 00H 00H 00H 1000 ms K1001 Timeout H1 10 ms K11 Yes 3 Polling H1 1000 ms K1001 10 ms K11 Bit strobe H2 1000 ms K1001 10 ms K11 Change of state H4 0 ms H0 0 ms H0 1794ADN Flex I O communicati on adapter Cyclic H8 00H 02H 00H 00H 00H 00H 30 ms K31 Timeout H1 25 ms K26 Yes 3 1794 IB16 Flex I O input modules 02H 02H 00H 00H 00H 00H Rockwell Automation Japan 1794 OB16 Flex I O output modules 02H ...

Reviews: