Allen-Bradley ControlLogix Ethernet Driver Help © 2012 Kepware Technologies 2 Allen-BradleyControlLogixEthernetDriverHelp Table of Contents TableofContents 2 Allen-BradleyControlLogixEthernetDriverHelp 7 Overview 7 DeviceSetup 9 CableDiagrams 10 CommunicationsRouting 11 ConnectionPathSpecification 11 RoutingExamples 12 LogixDeviceIDs 15 CompactLogix5300EthernetDeviceID 15 LogixCommunicationsParameters 16 LogixOptions 17 LogixDatabaseSettings 19 LogixDatabaseOptions 20 LogixDatabaseFiltering 20 1761-NET-ENISetup 21 DataHighwayPlus(TM)GatewaySetup 22 ControlNet(TM)GatewaySetup 22 EtherNet/IPGatewaySetup 23 SerialGatewaySetup 24 MicroLogix1100Setup 25 ENIDF1/DH+/ControlNetGatewayCommunicationsParameters 25 SLC500SlotConfiguration 26 SLC500ModularI/OSelectionGuide 27 PerformanceOptimizations 30 OptimizingYourCommunications 30 OptimizingYourApplication 32 PerformanceStatisticsandTuning 33 PerformanceTuningExample 34 DataTypesDescription 45 AddressDescriptions 46 LogixAddressing 46 MicroLogixAddressing 47 SLC500FixedI/OAddressing 49 SLC500ModularI/OAddressing 49 PLC-5SeriesAddressing 50 LogixTag-BasedAddressing 51 AddressFormats 52 TagScope 53 www.kepware.com Allen-BradleyControlLogixEthernetDriverHelp 3 PredefinedTermTags 53 AddressingAtomicDataTypes 54 AddressingStructureDataTypes 55 AddressingSTRINGDataType 55 OrderingofLogixArrayData 56 LogixAdvancedAddressing 57 AdvancedAddressing:BOOL 57 AdvancedAddressing:SINT 58 AdvancedAddressing:INT 59 AdvancedAddressing:DINT 61 AdvancedAddressing:LINT 63 AdvancedAddressing:REAL 64 FileListing 66 OutputFiles 66 InputFiles 69 StatusFiles 72 BinaryFiles 72 TimerFiles 73 CounterFiles 73 ControlFiles 74 IntegerFiles 75 FloatFiles 75 ASCIIFiles 76 StringFiles 76 BCDFiles 77 LongFiles 77 MicroLogixPIDFiles 77 PIDFiles 78 MicroLogixMessageFiles 80 MessageFiles 80 BlockTransferFiles 81 FunctionFileListing 82 HighSpeedCounterFile(HSC) 82 Real-TimeClockFile(RTC) 83 Channel0CommunicationStatusFile(CS0) 84 Channel1CommunicationStatusFile(CS1) 84 I/OModuleStatusFile(IOS) 84 AutomaticTagDatabaseGeneration 86 TagHierarchy 86 www.kepware.com 4 Allen-BradleyControlLogixEthernetDriverHelp Controller-to-ServerNameConversions 88 PreparingforAutomaticTagDatabaseGeneration 88 ErrorCodes 90 EncapsulationErrorCodes 90 CIPErrorCodes 90 0x0001ExtendedErrorCodes 91 0x001FExtendedErrorCodes 91 0x00FFExtendedErrorCodes 91 ErrorDescriptions 93 AddressValidationErrors 93 Address'<address>'isoutofrangeforthespecifieddeviceorregister 93 Arraysizeisoutofrangeforaddress'<address>' 93 Arraysupportisnotavailableforthespecifiedaddress:'<address>' 93 DataType'<type>'isnotvalidfordeviceaddress'<address>' 94 Deviceaddress'<address>'containsasyntaxerror 94 Deviceaddress'<address>'isnotsupportedbymodel'<modelname>' 94 Deviceaddress'<address>'isReadOnly 94 Memorycouldnotbeallocatedfortagwithaddress'<address>'ondevice'<devicename>' 95 Missingaddress 95 CommunicationErrors 95 Unabletobindtoadapter:'<adapter>'.Connectfailed 95 Winsockinitializationfailed(OSError=n) 95 WinsockV1.1orhighermustbeinstalledtousetheAllen-BradleyControlLogixEthernetdevicedriver 96 DeviceSpecificErrorMessages 96 Device'<devicename>'isnotresponding 96 Encapsulationerroroccurredduringarequesttodevice'<devicename>'.[Encap.Error=<code>] 96 Erroroccurredduringarequesttodevice'<devicename>'.[CIPError=<code>,Ext.Error=<code>] 97 Framereceivedfromdevice'<devicename>'containserrors 97 ControlLogixSpecificErrorMessages 97 ReadErrors(Non-Blocking) 97 Readrequestfortag'<tagaddress>'ondevice'<devicename>'failedduetoaframingerror.Tagdeactivated 97 Unabletoread'<tagaddress>'ondevice'<devicename>'.Tagdeactivated 98 Unabletoreadtag'<tagaddress>'ondevice'<devicename>'.[CIPError=<code>,Ext.Error=<code>] 98 Unabletoreadtag'<tagaddress>'ondevice'<devicename>'.ControllerTagdatatype'<type>'unknown.Tagdeac- tivated 98 Unabletoreadtag'<tagaddress>'ondevice'<devicename>'.Datatype'<type>'isillegalforthistag.Tagdeac- tivated 98 Unabletoreadtag'<tagaddress>'ondevice'<devicename>'.Datatype'<type>'notsupported.Tagdeactivated 99 Unabletoreadtag'<tagaddress>'ondevice'<devicename>'.Tagdoesnotsupportmulti-elementarrays.Tagdeac- tivated 99 www.kepware.com Allen-BradleyControlLogixEthernetDriverHelp 5 ReadErrors(Blocking) 99 Readrequestfor'<count>'element(s)startingat'<tagaddress>'ondevice'<devicename>'failedduetoaframing error.BlockDeactivated 100 Unabletoread'<count>'element(s)startingat'<tagaddress>'ondevice'<devicename>'.BlockDeactivated 100 Unabletoread'<count>'element(s)startingat'<tagaddress>'ondevice'<devicename>'.[CIPError=<code>,Ext. Error=<code>] 100 Unabletoread'<count>'element(s)startingat'<address>'ondevice'<device>'.ControllerTagdatatype'<type>' unknown.Blockdeactivated 100 Unabletoread'<count>'element(s)startingat'<address>'ondevice'<device>'.Datatype'<type>'isillegalforthis block 101 Unabletoread'<count>'element(s)startingat'<address>'ondevice'<device>'.Datatype'<type>'notsupported 101 Unabletoread'<count>'element(s)startingat'<tagaddress>'ondevice'<devicename>'.Blockdoesnotsupport multi-elementarrays.BlockDeactivated 101 WriteErrors 101 Unabletowriteto'<tagaddress>'ondevice'<devicename>' 102 Unabletowritetotag'<tagaddress>'ondevice'<devicename>'.[CIPError=<code>,Ext.Status=<code>] 102 Unabletowritetotag'<tagaddress>'ondevice'<devicename>'.ControllerTagdatatype'<type>'unknown 102 Unabletowritetotag'<tagaddress>'ondevice'<devicename>'.Datatype'<type>'isillegalforthistag 102 Unabletowritetotag'<tagaddress>'ondevice'<devicename>'.Datatype'<type>'notsupported 103 Unabletowritetotag'<tagaddress>'ondevice'<devicename>'.Tagdoesnotsupportmulti-elementarrays 103 Writerequestfortag'<tagaddress>'ondevice'<devicename>'failedduetoaframingerror 103 ProjectUploadErrors 103 Encapsulationerroroccurredwhileuploadingprojectinformation.[Encap.Error=<code>] 104 Erroroccurredwhileuploadingprojectinformation.[CIPError=<code>,Ext.Error=<code>] 104 Framingerroroccurredwhileuploadingprojectinformation 104 Invalidorcorruptcontrollerproject 104 Lowmemoryresources 105 ENI/DH+/ControlNetGatewaySpecificErrorMessages 105 Device'<devicename>'isnotresponding.Localnoderespondedwitherror'[DF1STS=<value>]' 105 Unabletoread'<blocksize>'element(s)startingat'<address>'ondevice'<devicename>'.[DF1 STS=<value>,EXTSTS=<value>].Tag(s)deactivated 105 Unabletoread'<blocksize>'element(s)startingat'<address>'ondevice'<devicename>'.Frame receivedcontainserrors 106 Unabletowritetoaddress<address>ondevice'<devicename>'.'[DF1STS=<value>,EXT STS=<value>]' 106 Unabletowritetoaddress<address>ondevice'<devicename>'.Framereceivedcontainserrors 107 Unabletowritetoaddress<address>ondevice'<devicename>'.Localnoderespondedwitherror '[DF1STS=<value>]' 107 Unabletowritetofunctionfile<address>ondevice'<devicename>'.Localnoderespondedwitherror '[DF1STS=<value>]' 107 AutomaticTagDatabaseGenerationErrors 107 DatabaseError:Arraytags'<orig.tagname><dimensions>'exceed31characters.Tagsrenamedto '<newtagname><dimensions>' 108 www.kepware.com 6 Allen-BradleyControlLogixEthernetDriverHelp DatabaseError:Datatype'<type>'fortag'<tagname>'notfoundinTagImportfile.Tagnotadded 108 DatabaseError:DatatypeforRef.Tag'<tagname>'unknown.SettingAliasTag'<tagname>'data typetoDefault('<type>') 108 DatabaseError:ErroroccurredprocessingAliasTag'<tagname>'.Tagnotadded 108 DatabaseError:Memberdatatype'<type>'forUDT'<UDTname>'notfoundinTagImportfile.Setting toDefaultType'<type>' 109 DatabaseError:Programgroup'<orig.programname>'exceeds31characters.Programgroup renamedto'<newprogramname>' 109 DatabaseError:Tag'<orig.tagname>'exceeds31characters.Tagrenamedto'<newtagname>' 109 DatabaseError:UnabletoresolveCIPdatatype'<hexvalue>'fortag'<tagname>'.SettingtoDefault Type'<logixdatatype>' 109 Unabletogenerateatagdatabasefordevice<devicename>.Reason:Importfilenotfound 110 Unabletogenerateatagdatabasefordevice<devicename>.Reason:L5KFileisinvalidorcorrupt 110 Unabletogenerateatagdatabasefordevice<devicename>.Reason:Lowmemoryresources 110 ReferenceMaterial 111 ChoosingaProtocol Mode 112 RSLogix5000ProjectEditWarning 113 SoftLogix5800ConnectionNotes 114 Glossary 115 Index 117 www.kepware.com 7 Allen-BradleyControlLogixEthernetDriverHelp Allen-Bradley ControlLogix Ethernet Driver Help Helpversion1.079 CONTENTS Overview WhatistheAllen-BradleyControlLogixEthernetDriver? DeviceSetup HowdoIconfigureadeviceforusewiththisdriver? CommunicationsRouting HowdoIcommunicatewitharemoteControlLogix5000processoror1756-DHRIO/1756-CNBInterfaceModule? PerformanceOptimizations HowdoIgetthebestperformancefromtheAllen-BradleyControlLogixEthernetDriver? DataTypesDescription Whatdatatypesdoesthisdriversupport? AddressDescriptions HowdoIaddressatagonaAllen-BradleyControlLogixEthernetdevice? AutomaticTagDatabaseGeneration HowcanIeasilyconfiguretagsfortheAllen-BradleyControlLogixEthernetDriver? ErrorDescriptions WhaterrormessagesdoestheAllen-BradleyControlLogixEthernetDriverproduce? ErrorCodes WhataretheAllen-BradleyControlLogixEtherneterrorcodes? ReferenceMaterial WherecanIfindadditionalinformationrelatingtotheAllen-BradleyControlLogixEthernetDriver? Overview TheAllen-BradleyControlLogixEthernetDriverprovidesaneasyandreliablewaytoconnectAllen-BradleyCon- trolLogixEthernetcontrollerstoOPCclientapplications,includingHMI,SCADA,Historian,MES,ERP,andcount- lesscustomapplications. SupportedAllen-Bradley Controllers ControlLogix5500 Series CommunicationswithControlLogixcanbeaccomplishedthroughanEtherNet/IPcommunicationmoduleforEth- ernetcommunicationsorthrougha1761-NET-ENImoduleforEthernet-to-serialcommunicationsusingthecon- troller'sserialport. CompactLogix5300 Series EthernetcommunicationswithCompactLogixrequiresaprocessorwithabuilt-inEtherNet/IPportsuchasthe 1769-L35E.CommunicationswithCompactLogixotherwiserequiresa1761-NET-ENImoduleforEthernet-to- serialcommunicationsusingthecontroller'sserialport. FlexLogix5400 Series CommunicationswithFlexLogixcanbeaccomplishedthrougha1788-ENBTdaughtercardforEthernetcom- municationsorthrougha1761-NET-ENImoduleforEthernet-to-serialcommunicationsusingthecontroller's serialport. SoftLogix5800 ThedriversupportstheAllen-BradleySoftLogix5800SeriesControlleruptofirmwareversion12andrequiresan EthernetcardintheSoftLogixPC. DataHighwayPlusGateway ThedriversupportsthePLC-5SeriesandSLC500SerieswithaDataHighwayPlusinterface.Thisisaccom- plishedthroughaDH+gatewayandrequiresoneoftheaforementionedPLCs,anEtherNet/IPcommunication module,anda1756-DHRIO-interfacemodule(bothresidingintheControlLogixrack). www.kepware.com Allen-BradleyControlLogixEthernetDriverHelp 8 ControlNetGateway ThedriversupportsthePLC-5CSeries.ThisisaccomplishedthroughaControlNetgatewayandrequiresthe aforementionedPLC,anEtherNet/IPcommunicationmodule,anda1756-CNB/CNBRinterfacemodule(bothresid- ingintheControlLogixrack). 1761-NET-ENI Thedriversupportscommunicationswiththe1761-NET-ENIdevice.TheENIdeviceaddsextraflexibilityin devicenetworkingandcommunicationsbyprovidinganEthernet-to-serialinterfaceforbothFullDuplexDF1con- trollersandLogixcontrollers.InconjunctionwiththeENIdevice,thisdriversupportsthefollowing: l ControlLogix5500Series* l CompactLogix5300Series* l FlexLogix5400Series* l MicrologixSeries l SLC500FixedI/OProcessor l SLC500ModularI/OSeries l PLC-5Series *Thesemodelsrequire1761-NET-ENISeriesBorhigher. MicroLogix1100 ThedriversupportscommunicationswiththeMicroLogix1100(CH1Ethernet)usingEtherNet/IP. www.kepware.com 9 Allen-BradleyControlLogixEthernetDriverHelp Device Setup SupportedDevices Device Communications ControlLogix5550/5553/5555/5561/5562/ Via1756-ENBT/ENET/EN2F/EN2T/EN2TR/EN3TR/EWEB/ 5563/5564/5565/5571/5572/5573/5574/ EN2TXTEthernetmodule. 5575processors ViaSerialGateway. Via1761-NET-ENISeriesBorhigherusingChannel0(Serial). CompactLogix5316/5318/5320/5323/5324/ Built-inEtherNet/IPportonprocessorswithEsuffix.* 5327/5330/5331/5332/5335/5336/5343/ 5345 ViaSerialGateway. Via1761-NET-ENISeriesBorhigherusingChannel0(Serial). FlexLogix5433/5434processors Via1788-ENBTEthernetDaughtercard. ViaSerialGateway. Via1761-NET-ENISeriesBorhigherusingChannel0(Serial). SoftLogix5810/5830/5860processors ViaSoftLogixEtherNet/IPMessagingmodule. ViaSerialGateway. MicroLogix1000/1200/1500 Via1761-NET-ENI. ViaEtherNet/IPGateway. MicroLogix1100/1400 ViaMicroLogix1100/1400Channel1(Ethernet). Via1761-NET-ENI. ViaEtherNet/IPGateway. SLC500FixedI/OProcessor Via1761-NET-ENI. ViaEtherNet/IPGateway. SLC500ModularI/OProcessors(SLC5/01, ViaDH+Gateway.** SLC5/02,SLC5/03,SLC5/04,SLC5/05) Via1761-NET-ENI. ViaEtherNet/IPGateway. PLC-5series(excludingthePLC5/250series) ViaDH+Gateway. Via1761-NET-ENI. ViaEtherNet/IPGateway PLC-5/20C,PLC-5/40C,PLC-5/80C ViaControlNetGateway. Via1761-NET-ENI. ViaEtherNet/IPGateway. *Forexample,1769-L35E. **ThisdriversupportsanySLC500seriesPLCthatsupportsDH+orthatcanbeinterfacedtoaDH+network (suchastheKF2interfacemodule). Firmware Versions Device Version ControlLogix5550(1756-L1) 11.35-13.34 ControlLogix5553(1756-L53) 11.28 ControlLogix5555(1756-L55) 11.32-16.04 ControlLogix5561(1756-L61) 12.31-20.11 ControlLogix5562(1756-L62) 12.31-20.11 www.kepware.com Allen-BradleyControlLogixEthernetDriverHelp 10 ControlLogix5563(1756-L63) 11.26-20.11 ControlLogix5564(1756-L64) 16.03-20.11 ControlLogix5565(1756-L65) 16.03-20.11 ControlLogix5571(1756-L71) 20.11 ControlLogix5572(1756-L72) 19.11-20.11 ControlLogix5573(1756-L73) 18.12-20.11 ControlLogix5574(1756-L74) 19.11-20.11 ControlLogix5575(1756-L75) 18.12-20.11 CompactLogix5320(1769-L20) 11.27-13.18 CompactLogix5323(1769-L23) 17.05-20.11 CompactLogix5330(1769-L30) 11.27-13.18 CompactLogix5331(1769-L31) 16.22-20.11 CompactLogix5332(1769-L32) 16.22-20.11 CompactLogix5335(1769-L35) 16.22-20.11 CompactLogix5343(1768-L43) 15.07-20.11 CompactLogix5345(1768-L45) 16.24-20.11 FlexLogix5433(1794-L33) 11.25-13.33 FlexLogix5434(1794-L34) 11.25-16.02 SoftLogix5800 11.11-19.00 ControlLogix,CompactLogix,andFlexLogix 1761-NET-ENISeriesBorhigheror SerialCommunications SerialGateway MicroLogix1100(1763-L16AWA/BWA/BBB) 1.1 Communication Protocol TheCommunicationsProtocolisEtherNet/IP(CIPoverEthernet)usingTCP/IP. LogixandGateway Models LogixandGatewaymodelssupportthefollowing: l ConnectedMessaging l SymbolicAddressingReads l PhysicalAddressingReads l SymbolicWrites l LogicalWrites ENI Models ENI modelssupportunconnectedmessaging. Cable Diagrams www.kepware.com
Description: