L5355 Modbus Plus Commuicatios Iterface Techical Maual HA470897 Issue 2 Copyright SSD Drives Ic 2005 All rights strictly reserved. No part of this documet may be stored i a retrieval system, or trasmitted i ay form or by ay meas to persos ot employed by a SSD group compay without writte permissio from SSD Drives Ic. Although every effort has bee take to esure the accuracy of this documet it may be ecessary, without otice, to make amedmets or correct omissios. SSD Drives caot accept resposibility for damage, ijury, or expeses resultig therefrom. HA470897 Modbus Plus LikCard Issue2.doc
HA470897 Modbus Plus LikCard Issue2.doc
Safety Iformatio! Please read this iformatio BEFORE istallig the equipmet. Iteded Users This maual is to be made available to all persos who are required to istall, cofigure or service equipmet described herei, or ay other associated operatio. The iformatio give is iteded to highlight safety issues, ad to eable the user to obtai maximum beefit from the equipmet. Applicatio Area The equipmet described is iteded for idustrial motor speed cotrol usig DC or AC motor cotrollers, with DC motors AC iductio or AC sychroous machies. Persoel Qualified persoel should carry out istallatio, operatio ad maiteace of the equipmet. A qualified perso is someoe who is techically competet ad familiar with all safety iformatio ad established safety practices; with the istallatio process, operatio ad maiteace of this equipmet; ad with all the hazards ivolved. REFER TO YOUR MAIN PRODUCT MANUAL FOR SPECIFIC SAFETY INFORMATION ABOUT THE DEVICE YOU ARE CONTROLLING IMPORTANT It is required that the users have DSD, ProWorx or other iterface programs istalled o a computer ad have a workig kowledge of these software packages. ACKNOWLEDGEMENTS Drive System Desiger, DSD is a registered trademark of SSD Drives Ic. Modbus ad ProWorx are registered trademarks of Modico, Divisio of Scheider Electric Ic. HA470897 Modbus Plus LikCard Issue2.doc
HA470897 Modbus Plus LikCard Issue2.doc
1 Table of Cotets Table of Cotets...1 Chapter 1 System Overview...2 Product Features...2 Product Code...2 DSD Requiremets...2 Wirig the System...2 Chapter 2 Hardware Istallatio...3 Istallig ad Coectig the Modbus Plus LikCard...3 Istallig the Modbus Plus LikCard...3 Chapter 3 Cofigurig the LikRack...4 Chapter 4 Cofigurig the PLC Supervisor...5 Modico Mometum...5 Appedix A Troubleshootig...7 L5355 Module Status LED...7 L5355 Network Status LED...7 Appedix B Error Codes...8 Techical Specificatios...11 HA470897 Modbus Plus LikCard Issue2.doc
2 Chapter 1 System Overview Product Features Suitable for use with Lik modules: L5392 LikStatio L5300 LikRack Coectio usig D-SUB coectors ad twisted shielded pair cable LED s to idicate board ad commuicatios status Cofigured usig Fuctio Block iputs ad outputs Diagostics usig Fuctio Block outputs 1 MBaud Software-selectable Slave Address The Modbus Plus LikCard is provided as a plug-i LikCard MODBUS PLUS protocol supported 256 words i ad 256 words out Product Code Part Number: L5355 Modbus Plus LikCard DSD Requiremets Software versio: 1.15 or higher. Database level: 1159 or higher. Wirig the System WARNING! Before istallig, esure that the LikRack wirig is electrically isolated ad caot be made live uitetioally by other persoel. Wait 5 miutes after discoectig power before workig o ay part of the system or removig the covers from the drives. HA470897 Modbus Plus LikCard Issue2.doc
NETWORK STATUS MODULE STATUS Chapter 2 Hardware Istallatio 3 -L5355- NETWORK STATUS MODULE STATUS -L5355- Modbus Plus Modbus Plus Istallig ad Coectig the Modbus Plus LikCard HA470897 Modbus Plus LikCard Issue2.doc Figure 1 L5392 LikStatio with L5355 Modbus Plus LikCard WARNING! Prior to startig work o the LikRack or LikStatio esure all sources of power are isolated. Istallig the Modbus Plus LikCard The Modbus Plus LikCard plugs ito a LikRack or a LikStatio. It ca be istalled ito ay site (J1,J2, J3, ad J4) of the LikRack. Remove the back cover of the LikRack. Isert the Modbus Plus card ito a slot i the LikRack. Re-fit the back cover to the LikRack. Make all user-wirig coectios. Refer to Wirig Diagram, Figure 2. PIN NAME 1 Cable Shield 2 MBP Lie B 3 MBP Lie A Housig PE Figure 2 9 pi D-SUB Coector
4 Chapter 3 Cofigurig the LikRack This chapter cotais examples for cofigurig the L5355 LikCard usig DSD. 1. Create the LINK cofiguratio with Modbus Plus reader ad Modbus Plus writer blocks that are required for the project. Isert the Modbus Plus reader blocks ito the hadler before isertig the Modbus Plus writer blocks. The LikCard receives ad trasmits the data i the order the blocks are iserted ito the hadler block. Refer to Figure 3. 2. Double-click o the Modbus Plus hadler block to eter the L5355 site address, ode address ad the Modbus Plus registers. The Modbus Plus reader ad Modbus Plus writer registers are listed i the order i which the PLC/PC will commuicate to the LikRack. Refer Figure 4. 3. Load the LINK cofiguratio first. The PLC or PC will coect oce its cofiguratio is istalled. The cofiguratio i the LINK module will equal the PLC or PC cofiguratio size. Figure 3 Basic LINK Setup Note: The above LINK cofiguratio is sedig a value sigal (16 bit) to the PLC. 1% = 328-1% = 65209 10% = 3277-10% = 62259 100% = 32767 - -100% = 32769 Figure 4 Modbus Hadler Fuctio Block HA470897 Modbus Plus LikCard Issue2.doc
Chapter 4 Cofigurig the PLC Supervisor 5 This chapter cotais examples for cofigurig a Modico. The Etheret LikCard supports the ModBus Plus protocol. Each example cofigures eight registers i each directio. Refer to Figures 4, 5, ad 6. Modico Mometum 1. Start a ew program ad select the PLC processor ad chassis type that is used i your project. Our example uses a M1 980-20 Mometum PLC. Remai Offlie util you are ready to dowload the program. 2. Place MSTR block i the ladder logic. MSTR blocks move data from the PLC data table to the LikCard or from the LikCard to the PLC data table. Two MSTR blocks will be ecessary for a Figure 5 Istructio Edit Figure 6 PLC Ladder Logic Showig MSTR Blocks Read ad Write operatio. 3. Double click o the MSTR blocks to idetify the register locatios i the PLC. The cotrol data will appear i the top register. The middle register is the locatio of the usable data beig trasferred betwee the L5355 ad the Modbus Plus Master. The bottom value is the total words beig trasferred. 4. Right click over the MSTR block; this will allow access to select the Register Editor. Use the Register Editor to cofigure the block. The MSTR block has four possible commuicatio protocols. The protocol beig used with the L5355 LikCard is Modbus Plus. The lower right had corer has two buttos; use the NEXT or PREV buttos to select to Modbus Plus (page 1 of 4). 5. There are two types of operatios Read or Write. The MSTR Operatio Code register defies the type of operatio. A value of 1 i the data colum defies a write operatio, ad a value of 2 i the data colum defies a read operatio. HA470897 Modbus Plus LikCard Issue2.doc
6 6. The Error Status register cotais error codes. Refer to Appedix B for a list of the error codes. The PLC software also has help files that cotai a list of error codes. 7. The # of Registers register defies the quatity of words to be trasfered. The value i the data colum depeds o the umber of registers i the Lik cofiguratio. This value ca be smaller tha or equal to the selected parameter set. 8. The Fuc. Depedet Ifo registers defie the read ad write locatios of the data i the PLC. A value of 1 is used for the read fuctio, ad a value of 1025 is used for the write fuctio. 9. The Modbus + Routig A1 register idetifys the Slave ode o the Modbus Plus etwork. Figure 8 Register Editor Figure 9 Read Registers HA470897 Modbus Plus LikCard Issue2.doc
7 Appedix A Troubleshootig L5355 Module Status LED Table 1 LED State Status This bi-color (gree - red) LED provides device status. It idicates whether or ot the device is powered ad operatig properly. Table 1 defies the differet states of the Module Status LED. Reaso Off Disabled No power applied to the device Host LINK2 module is ot ruig its cofiguratio Hardware Fault Not Programmed i Lik Cofiguratio Red Hardware fault After cofiguratio attempt the module faults Flashig Red Cofiguratio Error Wrog Commuicatio Optio Selected Cofiguratio ot completed Blik Red Alive Aoucemet Iitiatig Commuicatios with the etwork Device i stadby or Card Flashig Gree Device eeds commissioig due to missig, icomplete or icorrect cofiguratio Iitializig Gree Device operatioal The device is operatig i a ormal coditio L5355 Network Status LED Table 2 LED State Status This bi-color (gree - red) LED idicates the status of the commuicatios lik. Table 2 defies the differet states of the Network Status LED. Reaso Off Power off No power applied to the device Host LINK2 module is ot ruig its cofiguratio Hardware Fault Flashig Red Iitializig Card is iitializig Red Moitor_Lik Liste oly mode Flashig Orage No_Toke No commuicatios from the Master device, with the etwork complete Solid Orage Oly_Statio Oly device o the etwork Ope cable Flashig Dup_Statio Duplicate ode o the Modbus Plus etwork Gree Gree Normal_Lik The device is operatig i a ormal coditio HA470897 Modbus Plus LikCard Issue2.doc
8 Appedix B Error Codes Error Codes (Modbus Plus & SY/MAX Etheret) Error Status Register: 4xxxx + 1 (HEX) Error Codig: Mmss where M = major code, m = mior code, ss = sub code 16#1001: User iitiated abort. 16#20ss: Ivalid commad errors. 16#30ss: Modbus slave exceptio respose. 16#4001: Icosistet Modbus slave respose. 16#5001: Icosistet etwork respose. 16#6mss: Routig failure. 16#F001: Selected S985 optio is ot preset. Ivalid Commad Errors Error Status Register: 4xxxx+1 (HEX) Error Codig: Mmss where M = major code, m = mior code, ss = sub code 2001: Ivalid operatio type. 2002: User parameter chaged. 2003: Ivalid legth. 2004: Ivalid offset. 2005: Ivalid legth + offset. 2006: Ivalid SDDA (Slave Device Data Area). 2007: Ivalid SDNA (Slave Device Network Address). 2008: Ivalid SDNR (Slave Device Network Routig). 2009: Ivalid route ( = ow address). 200A: Global read request > available. 200B: Peer Cop coflict o write/read global data. 200C: Bad patter for chage address request. 200D: Bad address for chage address request. HA470897 Modbus Plus LikCard Issue2.doc
Modbus Slave Exceptio Respose Error Status Register: 4xxxx+1 (HEX) Error Codig: Mmss where M = major code, m = mior code, ss = sub code 9 3001: Illegal fuctio request (ot available i slave). 3002: Illegal data address (ot cofigured i slave). 3003: Illegal data value (Read/Write data ot valid). 3004: Not used (ukow error). 3005: Slave accepted log duratio program commad. 3006: Requested fuctio caot be performed due to log commad i progress. 3007: Slave rejected log program commad. Routig Failures Error Status Register: 4xxxx + 1 (HEX) Error Codig: Mmss where M = major code, m = mior code, ss = sub code Routig failure error code: 6mjj 6m01: No respose. 6m02: Program access deied. 6m03: Node is offlie ad uable to commuicate. 6m04: Exceptio respose received. 6m05: Route ode data paths busy. 6m06: Slave device dow. 6m07: Bad destiatio address. 6m08: Ivalid ode type i routig. 6m10: Slave rejected the Modbus commad. 6m20: Slave forgot iitiated traslatio. 6m40: Uexpected master output path received. 6m80: Uexpected respose received. Note: m = idex to locatio i the routig iformatio where routig problem was discovered. 0 = local etwork statio 1 = first device i route 2 = secod device i route, etc. HA470897 Modbus Plus LikCard Issue2.doc
10 Modbus Slave Exceptio Respose Error Status Register: 4xxxx+1 (HEX) Error Codig: Mmss where M = major code, m = mior code, ss = sub code 3001: Illegal fuctio request (ot available i slave). 3002: Illegal data address (ot cofigured i slave). 3003: Illegal data value (Read/Write data ot valid). 3004: Not used (ukow error). 3005: Slave accepted log duratio program commad. 3006: Requested fuctio caot be performed due to log commad i progress. 3007: Slave rejected log program commad. HA470897 Modbus Plus LikCard Issue2.doc
Techical Specificatios 11 Evirometal Operatig temperature 0º C to 50º C (32º to 122º F) Storage temperature -10º C to +70º C (14º to 158º F) Humidity Eclosure Ratig 85% RAH. i a dry, o-codesig eviromet Touchsafe IP20. To be mouted iside a SSD L5300, or L5392 series eclosure Supply Voltage Supply Voltage Curret Cosumptio Power Dissipatio 5VDC, supplied by backplae 310 ma @ 5VDC 1.6 W Modbus Plus Coectio Types Baud Rate Data Types Idicators supported Cofigurability Coector type MODBUS TCP protocol supported. 1 Mbaud Usiged Itegers (LINK Ordials) Network status bi-color LED, Module status bi-color LED LikCard cofiguratio performed usig DSD. Modbus Plus etwork ad PLC programmed idepedetly 9 pi D-SUB Coector with Twisted Pair Cable Physical Dimesios Height Width Depth Weight 120mm (4.72 i) 32mm (1.25 i) 90mm (3.54i) 0.16 kg (0.35 lbs) HA470897 Modbus Plus LikCard Issue2.doc
HA470897 Modbus Plus LikCard Issue2.doc
HA470897 Modbus Plus LikCard Issue2.doc