Home
Allen-Bradley DF1 Driver Help
Contents
1. 40 Real Time Clock Ele RTS l y sarta IEN Dee ARENS d dE derrita 41 Channel Communication Status File CS0 42 Channel 1 Communication Status File CS1 42 I O Module Status File IOS 42 Error Descriptions ics os ec as tcs 44 Address Validation c ENNEN E AEN SEENEN NEE d AER 44 Address lt address gt is out of range for the specified device or register 44 Array size is out of range for address lt address gt 44 Array support is not available for the specified address caddress 44 Data Type lt type gt is not valid for device address lt address gt 44 Device address lt address gt contains a syntax error 45 Device address lt address gt is not supported by model lt model name gt 45 Device address lt address gt is read only 45 MISSING address ee cael cette sides ip dr a ia es 45 Serial Communications 2 45 Communica
2. Device replied with a NAK 53 Unable to read function file lt fun file element gt on device lt device name gt Device replied with an unexpected NAK Check device link protocol 54 Unable to read function file lt fun file element gt on device lt device name gt Framing error 51 Unable to read function file lt fun file element gt on device lt device name gt Memory map error 53 Unable to read function file lt fun file element gt on device lt device name gt Slave sink source full 52 Unable to read function file lt fun file element gt on device lt device name gt Slave source empty 52 Unable to set comm parameters on COMn 46 Unable to write to lt address gt on device lt device name gt 47 W Word 21 www kepware com
3. The default data types are shown in bold TE Access PD lt file gt lt element gt lt field gt Depends on field Depends on field The following fields are allowed for each element For the meaning of each field refer to the PLC s documentation Element Field Data Type Access SPS Read Write Read Write Read Write Read Write Read Write Read Write Read Write Read Write Read Write Read Write Read Write Read Write Read Write Read Write Read Write Read Write Read Write Read Write Read Write Read Write Read Write Read Write Read Write Read Write Read Write Read Write Read Write PLC Modei AE Number Ma Element For more information refer to PLC5 PID Files Examples Example Description e PD14 0 KC Proportional gain of PD O file 14 PD18 6 EN PID enable bit of PD 6 file 18 www kepware com Allen Bradley DF1 Driver Help PLC5 PID Files PID files are a structured type whose data is accessed by specifying a file number an element and a field The default data types are shown in bold TO Access CS PD lt file gt lt element gt lt field gt Depends on field Depends on field The following fields are allowed for each element For the meaning of each field refer to the PLC s documentation Element Field Data Type SP Real Read Write Real Read Write Real Read Write Real Read Write Real Read Write Real Read Write Real Read Write Real Read Write Real Read Write Real Read Write
4. 4 Input 100 120 VAC _ 1 1746 1 8 Input 100 120VAC_ gt pt 1746 1816 16 Input Sink 24V0c 1 1746 1832 32 Input Sink 24V0c6 _ 2 11746 188 8 Input Sink 24V06 0078012112 o 11746 1C16 16 Input Sink 48VDC 8 1 1746 1616 16 Input TTL Source 5VDC 0 4 l 11746 1H16 16 Input Trans Sink 125V06 0 J t 1 11746 1M16 16 Input 200 240 VAC 1 11746 1M4 4 Input 200 240V46 0 0x00000717 71 11746 1M8 8 Input 200 240 0 4 11746 1N16 16 Input 24 VAC VDC 11746 INHH1 Analog 4Ch Isol CurrentInput 8 O 11746 INHVI Analog 4 Ch Isol Volt Current Input 8 11746 1NO41 Analog 4 Ch Isol CurrentInput 8 O 1746 INO4VI Analog 4 Ch Isol Volt Current Input 8 1746 1 4 4 Ch Isolated ThermocoupleInput_ 8 O 1746 1012 6 In 100 120 VAC 6 Out Rly VAC VDC J t 1 11746 1012DC 6 Input 12 VDC 6 Output Ry t 1 1746 104 2 In 100 120 VAC 2 Out Rly VAC VDC3 J t 1 1746 108 4 In 100 120 VAC 4 Out Rly VA VDC40L1011417181 1746 11816 16 Input Fast Sink 24 VDC TH 11746 11V16 16 Input Fast Source 24 VDC _ J t 1 0 www kepware com Allen Bradley DF1 Driver Help 16 Module Type Imput Words Output Words 1746 1V32 32 Input Source 24 VDC EAN A 1746 1V8 8 Input Source 2492 1 1746 NI4 4ChAnaloginpt Ja 1746 NI8 8 Ch Analog Input Cass O 8 1746 NI8 8 Ch Analog Input Class
5. Add Tekin were www kepvvare com Allen Bradley DF1 Driver Help is 2 Next map the tags to the different data files as shown in the image below PLC 3 5 SLC Mapping PLC 3 5 7 SLC Mapping 3 File Humher Tag Mame AREALARRAY AINTARRAY INT INT AAS TRING INT S0 ADINT ARRAY 001 AINTARRAY 00 AREALARRAY REAL 100 PLC 2 Mapping Array NI 2 INTE TagName Array 51 SINT 0 3 Ensure that the Allen Bradley DF1 Driver and controller have matching settings for the Serial Port and System Protocol such as the baud rate data bits and parity parameters shown in the images below Note The System Protocol tab s Protocol option should be set to DF1 Point to Point www kepware com 19 Allen Bradley DEI Driver Help fe Controller Properties Walt Mount Minor Faults Date Time Advanced SFC Execution File Memory General Serial Port System Protocol User Protocol Major Faults Mode System y Show Offline Values Baud Rate 19200 y Data Bits Parity Stop Bits Control Line Continuous Carrier General RTS Send Delay O 420 ms 5 Pee type RTS Off Delay x20 ms Serial Port Settings COM ID Baud rate Data bits Parity Stop bits Flow control El Operational Behavior Serial Port Settings Hardware configuration of the physical port Ay Lp 4 Next create the desired tags
6. Number Arbitrary unique address on the network for the local PC The range for DH 485 is 1 to 63 Otherwise the range is to 255 DH DH 485 Converter Configuration Station Number Converter s node address e g KF2 KF3 node address Link Protocol The Allen Bradley DEI Driver implements the following link protocols Standard Serial Configuration Full Duplex a k a Allen Bradley DF1 Half Duplex Master a k a Polled Mode KF2 KF3 Half Duplex Master Radio Modem DH DH 485 Converter Configuration Full Duplex a k a Allen Bradley DF1 KF2 KF3 Half Duplex Master Slave Re Poll Delay ms For more information refer to Slave Re Poll Delay Only accept responses for Station Num For more information refer to Full Duplex Full Duplex Full duplex protocol is used over a point to point link allowing for high performance two way communications between peers Only accept responses for Station Num When checked this parameter limits the acceptance of responses to those that are destined for the station as indicated by the Station Num field Half Duplex Master Half Duplex Protocol is a multi drop protocol with one master and one or more slaves Generally Half Duplex provides lower data throughput than Full Duplex but it adds the flexibility of being able to communicate with multiple devices from a single COM port Half Duplex is a master slave protocol In Half Duplex Master mode the driver is the master and all devices on t
7. a multi drop protocol with one master and one or more slaves Generally Half Duplex provides lower data throughput than Full Duplex but it adds the flexibility of being able to communicate with multiple KF2 KF3 modules from a single COM port Half Duplex is a master slave protocol In Half Duplex Master mode the driver is the master and all KF2 KF3 modules on the network are slaves It is necessary that all the devices on the network be configured as Half Duplex Slave since only one master is allowed on the network For more information on configuring the KF2 KF3 module for Half Duplex slave operation refer to the Rockwell documentation Master Responsibilities and Update Rates The driver master is responsible for polling the slaves for data In general slaves would be polled in a round robin manner Due to the nature of OPC how often a slave gets polled depends on the update rate of the slave s tags In this manner slaves are only polled when a Read Write operation is requested from them This reduces the traffic on the network and prevents unnecessary requests from taking place In essence the design of the client project specifically update rates assigned determines the traffic on the network The faster the update rate the more often a slave will be polled Messages Sink and Source There are three messages exchanged between master and slave in a Read Write operation The first is the master message requesting the slave to perform a R
8. array or a different starting point Array support is not available for the specified address lt address gt Error Type Warning Possible Cause A tag address that has been specified statically contains an array reference for an address type that doesn t support arrays Solution Re enter the address in the client application to remove the array reference or correct the address type Data Type lt type gt is not valid for device address lt address gt Error Type Warning Possible Cause A tag address that has been specified statically has been assigned an invalid data type www kepware Com as Allen Bradley DF1 Driver Help Solution Modify the requested data type in the client application Device address lt address gt contains a syntax error Error Type Warning Possible Cause A tag address that has been specified statically contains one or more invalid characters Solution Re enter the address in the client application Device address lt address gt is not supported by model lt model name gt Error Type Warning Possible Cause A tag address that has been specified statically references a location that is valid for the communications protocol but not supported by the target device Solution 1 Verify that the address is correct if itis not re enter it in the client application 2 Verify the selected model name for the device is correct Device address lt address gt is read only
9. device name gt Slave sink source full 52 Unable to read data starting at lt start address gt on device lt device name gt Slave source empty 52 Unable to read function file lt fun file element on device lt device name gt Slave source empty 52 Unable to read data starting at lt start address gt on device lt device name gt Device replied with a NAK 53 Unable to read function file lt fun file element gt on device lt device name gt Device replied with a NAK 53 Unable to read data starting at lt start address gt on device lt device name gt Memory map error 53 Unable to read function file lt fun file element gt on device lt device name gt Memory map error 53 Unable to read data starting at lt start address gt on device lt device name gt Device replied with an unexpected NAK Check device link protocol 53 Unable to read function file lt fun file element gt on device lt device name gt Device replied with an unexpected NAK Check device link protocol 54 Index EE 55 www kepware com 5 Allen Bradley DF1 Driver Help Allen Bradley DF1 Driver Help Help version 1 035 CONTENTS Overview What is the Allen Bradley DF1 Driver Channel Setup How do I configure a channel for use with this driver Device Setup How do I configure a d
10. documentation Element Field Data Type LS Word Short Read Write Read Write Read Only Read Only Read Only Read Only Read Only Read Only Ranges PLE Model Ae Number Ma Element O Examples CAI Resna Control Files Control files are a structured type whose data is accessed by specifying a file number an element and a field The default data types are shown in bold sar ya Access R lt file gt lt element gt lt field gt Depends on field Depends on field The following fields are allowed for each element For the meaning of each field refer to the PLC s documentation Element Field Data Type LS Word Short Read Write Read Write Read Only Read Only Read Only Read Only Read Only Read Only Read Only Read Only Ranges PLC Model Fils Number Max Element 3 255 www kepware com 33 Allen Bradley DF1 Driver Help PLC Modal File Number L Element DES 3 255 PLC 5 3 999 1999 Examples example Integer Files To access Integer files specify a file number a word and an optional bit in the word The default data types are shovvn in bold Synex T seTyse O s SUS Array types The number of array elements in bytes cannot exceed the block request size specified This means that array size cannot exceed 16 words given a block request size of 32 bytes Ranges PLC Mode Ae Number a Word The maximum word location i
11. of unexpected size If this error occurs frequently contact Technical Support Unable to read function file lt fun file element gt on device lt device name gt Framing error Error Type Serious Possible Cause 1 Unexpected frame received 2 Frame size mismatch Solution The device is returning an invalid function file read response or one of unexpected size If this error occurs frequently contact Technical Support Unable to read data starting at lt start address gt on device lt device name gt checksum error Error Type Serious Possible Cause There is bad cabling connecting the devices causing noise and checksum errors Solution Inspect cabling between the Host PC and the device Unable to read function file lt fun file element gt on device lt device name gt Checksum error Error Type Serious Possible Cause www kepware com Allen Bradley DF1 Driver Help 52 There is bad cabling connecting the devices causing noise and checksum errors Solution Inspect cabling between the Host PC and the device Unable to read data starting at lt start address gt on device lt device name gt Slave sink source full Error Type Serious Possible Cause The slave device cannot accept anymore requests from the master The client may be requesting data too fast Solution The driver will automatically poll and re poll the slave to empty its source and in turn make room for responses from re
12. response It is at this time in which the driver introduces a delay and re polls the slave Such a delay allows the slave time to process the request before the next poll This delay is configured in Channel Properties under the Protocol tab and is called Slave Re Poll Delay The slave will be re polled cnAttempts times Sink and Source Full Both sink and source are essentially buffers and buffers have limitations More importantly it is possible for the sink to fill up with requests If this occurs the slave will not acknowledge any master messages it receives If after cnAttempts the slave does not ACK the master it is most likely the case that the slave sink is full The driver will then poll the slave emptying any responses the slave may have making room for responses of the requests that were in the full sink This polling action will take place until the slave source is empty after cnAttempts On the next slave request it is likely that the sink will be empty If it is not it may mean the driver is polling the slave too quickly If this is the case increase the Slave Re Poll Delay Likewise the slave source may also become full and the driver will again poll the slave until the source is empty after cnAttempts Accepted and Discarded Slave Responses In the above sections it has been mentioned that the slave is polled until the emptied This is possible if the slave source is full of queued up responses On any given poll only the respon
13. to process the request before the next poll This delay is set with the Slave Re Poll Delay field The slave will be re polled cnAttempts times Sink and Source Full Both sink and source are essentially buffers and buffers have limitations More importantly it is possible for the sink to fill up with requests If this occurs the slave will not acknowledge any master messages it receives If after cnAttempts the slave does not ACK the master it is most likely the case that the slave sink is full The driver will then poll the slave emptying any responses the slave may have making room for responses of the requests that were in the full sink This polling action will take place until the slave source is empty after cnAttempts On the next slave request it is likely that the sink will be empty If it is not it may mean the driver is polling the slave too quickly If this is the case increase the Slave Re Poll Delay Likewise the slave source may also become full and the driver will again poll the slave until the source is empty after cnAttempts Accepted and Discarded Slave Responses In the above sections it has been mentioned that the slave is polled until the emptied This is possible if the slave source is full of queued up responses On any given poll only the response to the last master message is accepted all others are discarded Note Slave to slave communication is not supported KF2 KF3 Half Duplex Master Half Duplex Protocol is
14. 3 16 1746 NIO4I Analog Comb 2 in amp 2 Current Out 1746 NIO4V Analog Comb 2 in amp 2 Voltage Out 1746 NO4I 4 Ch Analog Current Output 1746 NO4V 4 Ch Analog Voltage Output 1746 NR4 4 Ch Rtd Resistance Input Module 1746 NT4 4 Ch Thermocouple Input Module 1746 NT8 Analog 8 Ch Thermocouple Input 1746 0 16 Any 16 pt Discrete Output Module 1746 0 32 Any 32 pt Discrete Output Module 1746 0 8 Any 8 pt Discrete Output Module 1746 OA16 16 Output Triac 100 240 VAC 1746 OA8 8 Output Triac 100 240 VAC 1746 OAP12 12 Output Triac 120 240 VDC 1746 0B16 16 Output Trans Source 10 50 VDC 1746 OB16E 16 Output Trans Source Protected 1746 0B32 32 Output Trans Source 10 50 VDC 1746 0B32E 32 Output Trans Source 10 50 VDC 1746 OB6EI 6 Output Trans Source 24 VDC 1746 OB8 8 Output Trans Source 10 50 VDC 1746 OBP16 16 Output Trans 1 amp SRC 24 VDC 1746 OBP8 8 Output Trans 2 amp Source 24 VDC 1746 0G16 16 Output TLL SINK 5 VDC 1746 OV16 16 Output Trans Sink 10 50 VDC 1746 OV32 32 Output Trans Sink 10 50 VDC 1746 OV8 8 Output Trans Sink 10 50 VDC 1746 OVP16 16 Output Trans 1 amp Sink 24VDC3 1746 OW16 16 Output Relay VAC VDC 1746 OW4 4 Output Relay VAC VDC 1746 OW8 8 Output Relay VAC VDC 1746 OX8 8 Output Isolated Relay VAC VDC 1747 DCM Direct Communication Module 1 2 Rack 1747 DCM Direct Communication Module 1 4 Rack 1747 DCM Direct Communication Module 3 4 Rack 1747 DCM Direct Communicatio
15. 42 Channel 1 Communication Status File 42 Channel Setup 6 Char 21 Checksum 10 Checksum error occurred writing to address lt address gt on device lt device name gt 48 Communicating with RSLogix5000 Family Controllers 17 Communication Parameters 6 Communications error on lt channel name gt lt error mask gt 46 COMn does not exist 46 COMn is in use by another application 46 Control Files 32 Counter Files 32 D Data Type lt type gt is not valid for device address lt address gt 44 Data Types Description 21 Device lt device name gt is not responding 47 Device lt device name gt timed out writing to address lt address gt 48 Device address lt address gt contains a syntax error 45 www kepvvare com Allen Bradley DF1 Driver Help ss Device address lt address gt is not supported by model lt model name gt 45 Device address lt address gt is read only 45 Device ID 10 Device Setup 10 Device Specific Messages 47 Device Status Messages 47 DWord 21 Error Checking 10 Error Descriptions 44 Error opening COMn 46 Error writing to address lt address gt on device lt device name gt Status lt STS gt Ext Status lt EXT STS gt 49 Error writing to address lt address gt on device lt device name gt Framing error 49 Error writing to address lt address gt on device lt device name gt Slave sink source full 48 Error writing to address lt address gt on device lt device name gt
16. 852 OR ELN EU ER EXI VIS ln CAN ECC 6 EAN ECT CON EVA ECC CIN EVA ECO CIN EAN ECN CA PA 1769 SM1 12 12 res FUN b rezin 6 ok iz www kepware com Allen Bradley DF1 Driver Help 26 Modules F output Words O AAA A AS meae h oOo CAN EUITIO CON EUA 7622088 O 76066 o NN D Sau 6 H76c0N6 l6 h mem Hs 766846 6 7629 RT ETC CI CE Calculation Output Word Offset for Slot x Output Words in Slot O through Slot x 1 Notes 1 The Embedded I O needs to be taken into account when offsetting to Expansion I O 2 Thenumber of Input words does not factor into the calculation for Output Word Offset I O Example Let Slot O Micrologix 1500 LRP Series C 4 Output Words Slot 1 1769 OF2 2 Output Words Slot 2 1769 OW8 1 Output Word Slot 3 1769 IA16 O Output Word Slot 4 1769 OF8V 9 Output Word Bit 5 of Slot 4 4 2 1 7 words 0 7 5 SLC500 Syntax The default data type is shown in bold Syex ass Ranges PLC Mod L L R The number of input or output words available for each I O module be found in the Modular I O Selection Guide For slot configuration help refer to Device Setup Octal Examples Microlgix Yes e www kepware com Allen Bradley DF1 Driver Help CN 0 075 C Hs Bit O word T same as 0 18 ERR w Addr
17. A AA E E ESAS PAN ee Micrologix Expansion I O Word Sizes Modules CT Output Words E ik msme 0 hi CON D Sam o kk D Sam o 85 kr D Sam hi D Same r 1 D Sam fik r D Sam p p o o D Sam 5 CNN A AA AAA EITC CI EVA ESC kh 1 769 088 k 76 66 kk kk 769 0852 ki re cose lr 5 recosv hn 5 76 06 6 1769 OW8 0 1 ESOO CON EAN ESOO CON EAN H CI PA ETA CON FUN b rezin 6 ANN Ezel AAA r EUITIO UN A A A 767088 O 76606 EVEN www kepware com z Allen Bradley DF1 Driver Help Modules TS Input Troutputoes Fe ETICO E 5 kk 176218 CI CI 1762 0F4 h 1762 0XS1 E 1 Calculation Input Word Offset for Slot x Input Words in Slot 0 through Slot x 1 Notes 1 The Embedded I O needs to be taken into account when offsetting to Expansion I O 2 The number of Output words does not factor into the calculation for Input Word Offset I O Example Let Slot 0 Micrologix 1500 LRP Series C 4 Input Words Slot 1 1769 OF2 2 Input Words Slot 2 1769 OW8 0 Input Word Slot 3 1769 IA16 1 Input Word Slot 4 1769 OF8V 11 Input Word Bit 5 of Slot 3 4 2 6 words 1 6 5 SLC500 Syntax The default data type is shown in bold TE Access 7 Short Word BCD Read On
18. Allen Bradley DF1 Driver Help 2015 Kepware Inc 2 Allen Bradley DF1 Driver Help Table of Contents Table of Contents nes 2 Allen Bradley DF 1 Driver Help 5 OVERVIEW s ed E EE EE des dads aime its 5 Channel Setup ee et e Et ea aaa 6 Bink Settings EE 6 NS EE ER 7 Half DuplexcMast ty o E Se ed E 7 KF2 KF3 Half Duplex Master 8 Radio Moden ii a a e SE a o DA aa ele 9 10 Modem 10 Protocolsettin ice A M 10 Cable Connections auc A AA et Ve d Natok EE 11 SLC500 Connection 12 15 Pin Mod le Connection oth ca eee A Ge ood ed EE VE 12 25 PiniModule Connection ease 12 orcas y E A ee soaked 13 Function File Block Writes 02002 ad aa aaa NEEN Ee 13 SLC500 Slot Configurationy a n aa A NNN seule A b scan one 14 Modular I O Sel ction Guide tense e ole des RA side wb ee ed s n y 15 Communicating with RSLogix5000 Family Controllers 17 Data Types Description 21 Address D
19. Error Type Warning Possible Cause A tag address that has been specified statically has a requested access mode that is not compatible with what the device supports for that address Solution Change the access mode in the client application Missing address Error Type Warning Possible Cause A tag address that has been specified statically has no length Solution Re enter the address in the client application Serial Communications The following messages may be generated Click on the link for a description of the message Communications error on lt channel name gt lt error mask gt COMn does not exist COMn is in use by another application Error opening COMn Unable to set comm parameters on COMn www kepware com Allen Bradley DF1 Driver Help as Communications error on lt channel name gt lt error mask gt Error Type Serious Error Mask Definitions B Hardware break detected F Framing error E 1 error O Character buffer overrun R RX buffer overrun P Received byte parity error T TX buffer full Possible Cause 1 Theserial connection between the device and the Host PC is bad 2 Thecommunications parameters for the serial connection are incorrect Solution 1 Verify the cabling between the PC and the device 2 Verify that the specified communications parameters match those of the device COMn does not exist Error Type Fatal Possible Cau
20. Long LBCD DWord Long LBCD DWord Long LBCD Array types The number of array elements in bytes cannot exceed the block request size specified This means that the array size cannot exceed 16 words given a block request size of 32 bytes Ranges PLC Modei AE Number a Word The maximum word location is one less when accessing as a 32 bit data type Long DWord or Long BCD Examples example SSC Cd Timer Files Timer files are a structured type whose data is accessed by specifying a file number an element and a field The default data types are shown in bold SE Access T lt file gt lt element gt lt field gt Depends on field Depends on field The following fields are allowed for each element For the usage of each field refer to the PLC s documentation EE CI CI TA Ranges PLC Mode rifeNumse Ma Element Examples Example Description 00 T4 0 ACC Accumulator of timer 0 file 4 T4 10 DN Done bit of timer 10 file 4 T15 0 PRE Preset of timer 0 file 15 www kepware com Allen Bradley DF1 Driver Help 32 Counter Files Counter files are a structured type whose data is accessed by specifying a file number an element and a field The default data types are shown in bold Pe Se C lt file gt lt element gt lt field gt Depends on field Depends on field The following fields are allowed for each element For the meaning of each field refer to the PLC s
21. Real Read Write Real Read Write Real Read Write Real Read Write Real Read Write Real Read Write Real Read Write Real Read Write Real Read Write Real Read Write Real Read Write Real Read Write Real Read Write Real Read Write Word Short Read Write Word Short Read Write Boolean Read Write Boolean Read Write Boolean Read Write Boolean Read Write Boolean Read Write Boolean Read Write Boolean Read Write Boolean Read Write Boolean Read Write Boolean Read Write Boolean Read Write Boolean Read Write Boolean Read Write Boolean Read Write Boolean Read Write Boolean Read Write Boolean Read Write Boolean Read Write Ranges www kepware com Allen Bradley DF1 Driver Help 38 PLC Model FileNumber Element DES PLCS 3 959 999 For more information refer to Micrologix PID Files Examples Example Description 0 0 0x8478 PD14 0 SP Set point field of PD O file 14 PD18 6 EN Status enable bit of PD 6 file 18 Micrologix Message Files Message files are a structured type whose data is accessed by specifying a file number an element and a field The default data types are shown in bold Syntax Data Type Access MG lt file gt lt element gt lt field gt Depends on field Depends on field The following fields are allowed for each element For the meaning of each field refer to the PLC s documentation Element Field Data Type TA Read Write Read Write Read Write Read Write Read Writ
22. SLC500 Series Direct connection If the PLC has an RS232 port it can be connected directly using a standard RS232 null modem cable which is the same cable used in Allen Bradley APS software The PLC port must be configured for Allen Bradley DF1 communications not DH 485 Master Note This driver does not work in a direct connection to the DH 485 port of a SLC500 series PLC using a 1747 PIC converter the way the APS software does PLC5 Series Direct connection A direct connection can be made to the CHO port of enhanced PLC5 processors using a standard RS232 null modem cable The port must be configured for Allen Bradley DF1 communications DH 485 Networks An Allen Bradley KF3 or compatible device is needed to connect the driver to the DH 485 network A standard null modem cable is used to connect the PC to the KF3 device DH Networks There are three options for communicating to a device on DH using the Allen Bradley DF1 Device Driver www kepvvare com Allen Bradley DF1 Driver Help Allen Bradley KF2 or compatible device A standard null modem cable is used to connect the PC to the KF2 device DataLink DL Interface Cards PCI ISA PC104 Consult AB documentation for DH wiring DataLink DL4500 Ethernet to DH Converter Consult DL4500 documentation for wiring SLC500 Connection RS232 SLC500 DB 9 Serial Port DB 9 Connector 15 Pin Module Connection RS232 Serial Port DB 9 AB 15 Pin Modules 25 P
23. Slave source empty 49 Ethernet Encapsulation 10 F Float 10 21 Float Files 33 Framing 46 Full Duplex 7 Full Duplex 7 Function File Block Writes 13 Function File Options 13 H Half Duplex 7 Half Duplex Master 7 Help Contents 5 High Speed Counter File 40 I T O Module Status File 42 Input Files 27 Integer Files 33 K KF2 KF3 Half Duplex Master 8 L LBCD 21 Link Protocols 7 Link Settings 6 Long 21 Long Files 35 www kepware com Mask 46 Micro800 Series Addressing 22 Micrologix Addressing 22 Micrologix Message Files 38 Micrologix PID Files 36 Missing address 45 Modem Setup 10 Modular I O Selection Guide 15 o Output Files 24 Overrun 46 Overview 5 P Parity 46 PLC5 Addressing 24 PLC5 Message Files 39 PLC5 PID Files 37 Protocol Settings 10 R Radio Modem 6 9 Real Time Clock File RTC 41 S Serial Communications 45 Short 21 SLC5 01 Addressing 23 SLC5 02 Addressing 23 SLC5 03 Addressing 23 SLC5 04 23 SLC5 05 24 SLC500 Addressing Fixed I O processor 23 SLC500 Connection 12 SLC500 Slot Configuration 14 Station Number 6 Status Files 30 String 21 String Files 34 Supported Devices 10 Supported Protocols 6 Swap PLC 5 Float Words 10 T Timer Files 31 www kepware com Allen Bradley DF1 Driver Help Allen Bradley DF1 Driver Help ss U Unable to read data starting at lt start address gt on device lt device name gt Status lt STS gt Ext Stat
24. capsulation which allows the driver to communicate with serial devices attached to an Ethernet network using a terminal server Ethernet Encapsulation mode may be invoked through the COM ID dialog in Channel Properties For more information refer to the OPC Server s help documentation DH 485 and DH Support An Allen Bradley KF3 or compatible device is needed to connect the driver to the DH 485 network There are four options for communicating to a device on DH using the Allen Bradley DF1 Device Driver Allen Bradley KF2 or compatible device 1784 U2DHP USB converter This converter appears as a new serial port to the system DataLink DL Interface Cards PCI ISA PC104 These cards add virtual serial ports for seamless configuration DataLink DL4500 Ethernet to DH Converter Configure the device for Ethernet Encapsulation NIC is required See Also Cable Connections Function File Options SLC500 Slot Configuration Communicating with RSLogix5000 Family Controllers Modem Setup This driver supports modem functionality For more information please refer to the topic Modem Support in the OPC Server Help documentation Protocol Settings Error Checking Method There are two methods of error checking available in the Allen Bradley DF1 driver Block Check Character BCC and 16 bit Cyclic Redundancy Check CRC 16 Users must choose the checksum method expected by the device otherwise the device will not respond Re
25. ccess at the word level or two character level The Allen Bradley DF1 driver allows accessing to the character level Using the programming software A10 0 AB would result in A being stored in the high byte of A10 0 and B being stored in the low byte Using the Allen Bradley DEI driver the two assignments A10 0 A and A10 1 B would result in the same data being stored in the PLC memory Referencing this file as string data allows access to data at word boundaries like the programming software The length can be up to 236 characters If a string that is sent to the device is smaller in length than the length specified by the address the driver null terminates the string before sending it down to the controller Ranges PLC Model File Number Max Character 3 255 DER 3 255 PLC 5 3 999 1999 Note Not all Micrologix and SLC500 PLC devices support ASCII file types For more information refer to the PLC s documentation Examples Example Descriptin____________________________________ Character 0 high byte of word 0 A27 10 80 80 Character array starting at character 10 A15 0 4 16 4 By 16 character array starting at character 0 A62 0 32 32 Character string starting at word offset 0 String Files To access data in a String file specify a file number and an element Strings are 82 character null terminated arrays The driver places the null terminator based on the string length returned by the PLC The defa
26. ce took longer to receive than the amount of time specified in the Request Timeout device setting Solution 1 Verify the cabling between the PC and the device 2 Verify that the specified communication parameters match those of the device 3 Verify that the Network ID given to the named device matches that of the actual device 4 Increase the Request Timeout setting so that the entire response can be handled Unable to write to lt address gt on device lt device name gt Error Type Serious Possible Cause 1 Theserial connection between the device and the host PC is broken 2 communication parameters for the serial connection are incorrect 3 The named device may have been assigned an incorrect network ID Solution 1 Verify the cabling between the PC and the device 2 Verify that the specified communication parameters match those of the device 3 Verify that the Network ID given to the named device matches that of the actual device Device Specific Messages The following messages may be generated Click on the link for a description of the message Checksum error occurred writing to address lt address gt on device lt device name gt Device lt device name gt timed out writing to address lt address gt Error writing to address lt address gt on device lt device name gt Status lt STS gt Ext Status lt EXT STS gt Error writing to address lt address gt on device lt device name gt F
27. e Read Write Read Write Read Write Read Write Read Write Read Write Read Write Read Write Read Write Read Write Read Write Read Write Read Write Read Write Read Write Read Write The following file numbers and maximum element are allowed for each model Ranges PLC Modei AE Number Ma Element For more information refer to PLC5 Message Examples Example MG14 0 TO Ignore if timed out bit of MG O file 14 www kepware com Allen Bradley DF1 Driver Help 59 Description 2 MG18 6 CO Continue bit of MG 6 file 18 PLC5 Message Files Message files are a structured type whose data is accessed by specifying a file number an element and a field The default data types are shown in bold syntax Pata Type Access MG lt file gt lt element gt lt field gt Depends on field Depends on field The following fields are allowed for each element For the meaning of each field refer to the PLC s documentation EE CI CI Reas CO CI Ranges PLE Model Ae Number ma Element O ECN EXC CI For more information refer to Micrologix Message Files Examples Example Description MG14 0 RLEN Requested length field of MG 0 file 14 MG18 6 CO Continue bit of MG 6 file 18 Block Transfer Files Block transfer files are a structured type whose data is accessed by specifying a file number an element and a field The default data types are shown
28. e to read data starting at lt start address gt on device lt device name gt Slave source empty Unable to read function file lt fun file element gt on device lt device name gt Slave source empty Unable to read data starting at lt start address gt on device lt device name gt Device replied with a NAK Unable to read function file lt fun file element gt on device lt device name gt Device replied with a NAK Unable to read data starting at lt start address gt on device lt device name gt Memory map error Unable to read function file lt fun file element gt on device lt device name gt Memory map error Unable to read data starting at lt start address gt on device lt device name gt Device replied with an unexpected NAK Check device link protocol Unable to read function file lt fun file element gt on device lt device name gt Device replied with an unexpected NAK Check device link protocol Checksum error occurred writing to address lt address gt on device lt device name gt Error Type Serious Possible Cause There is bad cabling connecting the devices causing noise and checksum errors Solution Inspect cabling between the Host PC and the device Device lt device name gt timed out writing to address lt address gt Error Type Serious Possible Cause 1 Thedevice is not responding 2 The serial connection between the device and the Host PC is broken Solution Inspect cabl
29. ead Write operation The slave does not respond immediately with data as in full duplex mode The second message is a poll message from the master to the slave requesting the data gathered from the last master message operation The third is the slave response with the data requested in the master message Incoming requests to the slave are placed in what is termed a sink Once the slave performs the operation requested it places the result in what is termed a source Number of Attempts www kepware com 9 Allen Bradley DF1 Driver Help The number of attempts for master messages and polls share the same number of attempts as configured in the device Fail after xxx successive timeouts This attempt count is misleading in Half Duplex mode since there are multiple messages sent from the master in a single data request For all intents and purposes Let cnAttempts xxx in Fail after xxx successive timeouts attempts for master message timeout cnAttempts attempts for poll timeout cnAttempts attempts for request timeout attempts for master message timeout attempts for poll timeout cnAttempts X 2 Source Empty and Slave Re Poll Delay The Allen Bradley DF1 driver is optimized to send master messages and polls as quickly as possible to increase data throughput The initial slave poll will not be delayed since a delay is unnecessary If the slave needs time to process requests in its sink it will be apparent in the initial poll
30. ed when the block of data the driver is asking for is not available in the PLC Error writing to address lt address gt on device lt device name gt Framing error Error Type Serious Possible Cause 1 Unexpected frame received 2 Frame size mismatch Solution The device is returning an invalid write response or one of unexpected size If this error occurs frequently contact Technical Support Error writing to address lt address gt on device lt device name gt Slave source empty Error Type Serious Possible Cause The slave device does not have a response prepared for the write request to address lt address gt The slave re poll delay may be set to short Solution The driver will automatically poll and re poll the slave in seek of a poll response If this error occurs too often increase the slave re poll delay on the given channel Unable to read data starting at lt start address gt on device lt device name gt Status lt STS gt Ext Status lt EXT STS gt Error Type Serious www kepvvare com Allen Bradley DF1 Driver Help so Possible Cause 1 Node cannot be found 2 Duplicate node detected Solution Check the status and extended status codes that are being returned by the PLC The codes are displayed in hexadecimal Note This error message applies to local node errors Status code errors in the low nibble of the status code indicate errors found by the local node The driv
31. element prior to performing a block write Sub elements not affected written to will have their current value written back to them For example if the current last read date and time is 1 1 2001 12 00 00 DOW 3 and the hour is changed to 1 o clock then the values written to the device would be 1 1 2001 1 00 00 DOW 3 Instructions www kepware com Allen Bradley DF1 Driver Help aa 1 Go to the Function File Options tab in the Device Properties dialog Check the checkbox labeled Block write supporting function files This notifies the driver to utilize block writes on function files supporting block writes The changes will be effective immediately after hitting the OK or Apply buttons 2 Write the desired value to the sub element tag s in question The sub element tag s will immediately take on the value s written to it Note After a sub element is written to at least once in block write mode the tag s value does not originate from the controller but instead from the driver s write cache After the block write is done all sub element tag values will originate from the controller 3 Once the entire desired sub elements are written to the block write that will send these values to the controller may be performed To instantiate a block write reference tag address RTC lt element gt _SET Setting this tag s value to True will cause a block write to occur based on the current last read sub elements and the sub eleme
32. er will continue to retry reading these blocks of data periodically Errors found by the local node occur when the KF module cannot see the destination PLC on the network for some reason Unable to read data starting at lt start address gt on device lt device name gt Status lt STS gt Ext Status lt EXT STS gt Block deactivated Error Type Serious Possible Cause 1 Theaddress requested in the block does not exist in the PLC 2 Processor is in program mode Solution Check the status and extended status codes that are being returned by the PLC The codes are displayed in hexadecimal Note This error message applies to remote node errors Status code errors in the high nibble of the status code indicate errors found by the PLC These errors are generated when the block of data the driver is asking for is not available in the PLC The driver will not ask for these blocks again after receiving this kind of error This kind of error can be generated if the address does not exist in the PLC Unable to read function file lt fun file element gt on device lt device name gt Status lt STS gt Ext Status lt EXT STS gt Error Type Serious Possible Cause 1 Node cannot be found 2 Duplicate node detected Solution Check the status and extended status codes that are being returned by the PLC The codes are displayed in hexadecimal Note This error message applies to local node errors Status code errors
33. escriptions 1 1 22 Micrologix Addressing 1 22 Micro800 Series Addressing 22 SLC500 Addressing Fixed I O processor 23 SEC5 07 Addressing onic a ee e e e be a a b l 23 SEC5 02 Addressing 2 2 c2 A ea tlie aan aay Be 23 Si edel e WEE 23 SLC5 04 Addressing 23 SLG5 05 Addressing orcas EE 24 GR ee e WEE 24 G tp tiriles ri st tt literas 24 te Une UE ER Status FCS ds eeh Ee Eh ido 20 BIS ANS 30 Timer lt 0 ee Coho 66 7 V V vm 7 7 7 6 8Xk E ea hese ese 31 Counter Files aa da ra 32 Control EIO T Pee coa LLLE 32 Integer Files ei ERAN 33 e e UE 33 ASCII Files 34 www kepware com Allen Bradley DF1 Driver Help 3 SUninG SIE 34 ei EEN 35 LongiiFilesis sic ee R AAAA A EEEE eo E A A E EA 35 Micrologix PID Files 36 EC 37 Micrologix Message Files coi ld eine d Syed bebe nes 38 PLES Ee EEN 39 Block Transter Files ia toro oe La Se y ea aya e ts fl ete Ds a E E 39 High Speed Counter File HSC
34. esses are shown in Octal Input Files The syntax for accessing data in an Input file differs depending on the PLC model Arrays are not supported for Input files The default data types are shown in bold PLC 5 Syntax EE O es O O Note Word and bit address information is in octal for PLC 5 models This follows the convention of the programming software Micrologix Syntax CI o i paye O aes Micrologix models have two types of I O embedded I O and expansion I O not applicable for Micrologix 1000 Embedded I O resides with the CPU base unit while Expansion I O plugs into the CPU base unit The table below lists the I O capabilities of each Micrologix model Micrologix Model Embedded 1 0 1200 Slots 1 6 1400 Slots 17 1500 Slots 1 16 www kepware com Allen Bradley DF1 Driver Help The address syntax for Micrologix I O references a zero based word offset not a slot Calculations must be done to determine the word offset to a particular slot This requires knowledge of the modules and their respective size in words The table below specifies the size of some available modules however it is recommended that the Micrologix documentation and controller project be consulted to determine the true word size of a module Instructions and examples in calculating word offset follow the table below Micrologix Embedded I O Word Sizes Micrologix Model Input Words Output Words 1000 1100 6
35. evice for use with this driver Data Types Description What data types are supported by this driver Address Descriptions How do I address a data location on an Allen Bradley DEI device Error Descriptions What error messages are produced by the Allen Bradley DF1 Driver Overview The Allen Bradley DF1 Driver provides a reliable way to connect Allen Bradley DF1 devices to OPC Client applications including HMI SCADA Historian MES ERP and countless custom applications This driver supports Allen Bradley Micrologix SLC500 and PLC5 series PLCs www kepware com Allen Bradley DF1 Driver Help 6 Channel Setup Supported Link Protocols Allen Bradley DF1 Full Duplex point to point communication Allen Bradley DF1 Half Duplex Master multi drop communication also known as Allen Bradley DF1 Polled Mode Allen Bradley DF1 Radio Modem point to point and multi drop communication Slave to slave communication is not supported Store and forward feature is not supported Note For required firmware versions for Allen Bradley DF1 Radio Modem support refer to Device Setup Supported Communication Parameters Baud Rate 300 600 1200 2400 9600 19200 Parity None Even or Odd Data Bits 5 6 7or8 Stop Bits 1 or 2 Not all devices may support all listed configurations Note Error Checking should be set to CRC or BCC within the device See Also Link Settings Link Settings To access the Link Settings dia
36. he network are slaves It is necessary that all the devices on the network be configured as Half Duplex Slave since only one master is allowed on the network For more information on configuring the Micrologix SLC500 PLC5 device using RSLogix refer to the Rockwell documentation Note If the destination device is on a DH 485 or DH network communication must go through a KF2 KF3 module respectively If the KF2 KF3 module is configured as a Half Duplex Slave the KF2 KF3 Half Duplex Master Link Protocol must be chosen Master Responsibilities and Update Rates The driver master is responsible for polling the slaves for data In general slaves would be polled in a round robin manner Due to the nature of OPC how often a slave gets polled depends on the slave tags update rate In this manner slaves are only polled when a Read Write operation is requested from them This reduces the traffic on the network and prevents unnecessary requests from taking place In essence the design of the client project specifically update rates assigned determines the traffic on the network The faster the update rate the more often a slave will be polled Messages Sink and Source There are three messages exchanged between master and slave in a Read Write operation The first is the master message requesting the slave to perform a Read Write operation The slave does not respond immediately with data as in full duplex mode The second message is a poll message f
37. in Module Connection www kepware com Allen Bradley DF1 Driver Help RS232 Serial Port DB 9 AB 25 Pin Modules Function File Options Function files are structure based files similar to PD and MG data files and are unique to the Micrologix 1200 and 1500 For more information on a specific function file are supported in the Allen Bradley DF1 Device Driver select a link from the list below High Speed Counter File HSC Real Time Clock File RTC Channel 0 Communication Status File CSO Channel 1 Communication Status File CS1 I O Module Status File IOS Function File Block Writes For applicable function files data can be written to the device in a single operation By default when data is written to a function file sub element field within the function file structure a write operation occurs immediately for that tag For such files as the RTC file whose sub elements include hour HR minute MIN and second SEC individual writes are not always acceptable With such sub elements relying solely on time values must be written in one operation to avoid time elapsing between sub elements writes For this reason there is the option to block write these sub elements Applicable Function Files Sub Elements RTC How Block Writes Work Block writing involves writing to the device the values of every Read Write sub element in the function file in a single write operation It is not necessary to write to every sub
38. in bold Sen Access 8 BT lt file gt lt element gt lt field gt Depends on field Depends on field The following fields are allowed for each element For the meaning of each field refer to the PLC s documentation Element Field Data Type LS Read Write Read Write Read Write Read Write Read Write Read Write Read Write Read Write www kepware com Allen Bradley DF1 Driver Help Element Field Data Type Boolean Read Write Read Write Read Write Read Write PLE Model Ae Number Ma Bement Examples Fxampe Description BT14 0 RLEN Requested length field of BT O file 14 BT18 6 CO Continue bit of BT 6 file 18 High Speed Counter File HSC The HSC files are a structured type whose data is accessed by specifying an element and a field The default data types are shown in bold See Also Function File Options saa Access 1 HSC lt element gt lt field gt Depends on field Depends on field The following fields are allowed for each element For the meaning of each field refer to the PLC s documentation Element Field Default Type JESS l OVF DWord Long Read Write www kepware Com 4 Allen Bradley DF1 Driver Help GE TN LN Ranges PLE Moda Ae Number Ma Element O Examples Example Description HSC 0 OMB Output mask setting for high speed counter 0 HSC 1 ED Error detected indicator for high speed counter 1 Real Time C
39. in the low nibble of the status code indicate errors found by the local node The driver will continue to retry reading this function file periodically Errors found by the local node occur when the KF module cannot see the destination PLC on the network for some reason Unable to read function file lt fun file element gt on device lt device name gt Status lt STS gt Ext Status lt EXT STS gt Block deactivated Error Type Serious www kepvvare com 51 Allen Bradley DF1 Driver Help Possible Cause 1 The function file address requested in the block does not exist in the PLC 2 Processor is in program mode Solution Check the status and extended status codes that are being returned by the PLC The codes are displayed in hexadecimal Note This error message applies to remote node errors Status code errors in the high nibble of the status code indicate errors found by the PLC These errors are generated when the function file the driver is asking for is not available in the PLC The driver will not ask for this function file again after receiving this kind of error This kind of error can be generated if the function file address does not exist in the PLC Unable to read data starting at lt start address gt on device lt device name gt Framing error Error Type Serious Possible Cause 1 Unexpected frame received 2 Frame size mismatch Solution The device is returning an invalid read response or one
40. information for the model of interest Micrologix Addressing SLC500 Addressing Fixed I O processor SLC5 01 Addressing SLC5 02 Addressing SLC5 03 Addressing SLC5 04 Addressing SLC5 05 Addressing PLC5 Addressing Micrologix Addressing File Specific Addressing Output Files Input Files Status Files Binary Files Timer Files Counter Files Control Files Integer Files Float Files String Files Long Files PID Files Message Files Function Files High Speed Counter File HSC Real Time Clock File RTC Channel 0 Communication Status File CSO Channel 1 Communication Status File CS1 I O Module Status File IOS Micro800 Series Addressing File Specific Addressing Output Files Input Files Status Files Binary Files Timer Files Counter Files Control Files Integer Files Float Files String Files Long Files PID Files Message Files Function Files High Speed Counter File HSC Real Time Clock File RTC Channel 0 Communication Status File CSO Channel 1 Communication Status File CS1 I O Module Status File IOS www kepware com 23 Allen Bradley DF1 Driver Help SLC500 Addressing Fixed I O processor File Specific Addressing Output Files Input Files Status Files Binary Files Timer Files Counter Files Control Files Integer Files SLC5 01 Addressing File Specific Addressing Output Files Input Files Status Files Binary Files Timer Files Counter Files Control Files Integer Fi
41. ing between the Host PC and the device Verify the device is on and operating properly Error writing to address lt address gt on device lt device name gt Slave sink source full Error Type Serious Possible Cause The slave device cannot accept any more requests from the master The client may be requesting data too fast www kepware com Allen Bradley DF1 Driver Help Solution The driver will automatically poll and re poll the slave to empty its source and in turn make room for responses from requests previously in the full sink If this error occurs too often decrease the update rate on suspected tags not necessarily the tag being written to Error writing to address lt address gt on device lt device name gt Status lt STS gt Ext Status lt EXT STS gt Error Type Serious Possible Cause 1 Node cannot be found 2 Duplicate node detected 3 The address requested in the block does not exist in the PLC 4 Processor is in program mode Solution Check the status and extended status codes that are being returned by the PLC The codes are displayed in hexadecimal Note Status code errors in the low nibble of the status code indicate errors found by the local node Errors found by the local node occur when the KF module cannot see the destination PLC on the network for some reason Status code errors in the high nibble of the status code indicate errors found by the PLC These errors are generat
42. les SLC5 02 Addressing File Specific Addressing Output Files Input Files Status Files Binary Files Timer Files Counter Files Control Files Integer Files SLC5 03 Addressing File Specific Addressing Output Files Input Files Status Files Binary Files Timer Files Counter Files Control Files Integer Files Float Files ASCII Files String Files SLC5 04 Addressing File Specific Addressing Output Files Input Files Status Files Binary Files Timer Files Counter Files Control Files Integer Files www kepware com Allen Bradley DF1 Driver Help za Float Files ASCII Files String Files SLC5 05 Addressing File Specific Addressing Output Files Input Files Status Files Binary Files Timer Files Counter Files Control Files Integer Files Float Files ASCII Files String Files PLC5 Addressing File Specific Addressing Output Files Input Files Status Files Binary Files Timer Files Counter Files Control Files Integer Files Float Files ASCII Files String Files BCD Files PID Files Message Files Block Transfer Files Output Files The syntax for accessing data in an Output file differs depending on the PLC model Arrays are not supported for output files The default data types are shown in bold PLC 5 Syntax CT ees UUO E Short Word BCD Read Write O lt word gt lt bit gt Read Write SE Read Write Note Word and bit address information is in octal fo
43. lock File RTC The RTC files are a structured type whose data is accessed by specifying an element and a field The default data types are shown in bold See Also Function File Options Sya 0 Pata Type Se RTC lt element gt lt field gt Depends on field Depends on field The following fields are allowed for each element For the meaning of each field refer to the PLC s documentation COC T saTy e ass AY Read Write Read Write Read Write Read Write Read Write Read Only Read Only Read Write Examples Example Description 0000007771 RTC 0 YR Year setting for real time clock 0 RTC 0 BL Battery low indicator for real time clock 0 www kepware com Allen Bradley DF1 Driver Help az Channel 0 Communication Status File CSO To access the communication status file for channel 0 specify a word and optionally a bit in the word The default data types are shown in bold See Also Function File Options Data Type SC CSO lt word gt Short Word BCD DWord Long LBCD Depends on lt word gt and lt bit gt CSO lt word gt lt bit gt Depends on lt word gt and lt bit gt Depends on lt word gt and lt bits Ranges PLE Model Ae Number a Element O Examples Example esp 5 SE CS0 4 2 Bit 2 word 4 MCP Note For more information on CSO words bit meanings refer to the Rockwell documentation Channel 1 Communication Status File CS1 To access the co
44. log after the Channel Wizard has closed left click on the channel and select Properties Then select the Link Settings tab New Channel Link Settings Eq Set a unique network id for the local machine In KF2 KF3 configurations set to the KF2 KF3 Node Address Station Num jo 2 dec Select the link protocol to use For comms with Half Duplex KF2 KF3 Slaves select KF2 KF3 Half Duplex Master Radio Modem supports both peer to peer and multidrop communications Link Protocol Ful Duplex D Slave HemoliDelayl nsl 500 E Only accept responses for Station Num coca mm Station Number The Station Number should be set based on the device being communicated with excluding radio modems The following should be taken into account If the destination device is on a DH or DH 485 network communication must go through a Serial to DH DH 485 converter i e KF2 KF3 module In this case the device being communicated with is the converter not the destination device itself which is a Micrologix SLC500 or PLC 5 The station number for this configuration should be set to the converter s node address www kepware com Allen Bradley DF1 Driver Help If the destination device is not on a DH or DH 485 network the device being communicated with is a Micrologix SLC500 or PLC 5 PLC The station number for this configuration can be set to an arbitrary unique address Standard Serial Configuration Station
45. ly Short Word BCD Read Only EES Read Oniy I lt slot gt lt word gt lt bit gt Read Only Ranges PLE Model Min C L Slot max Word CN CA st FU EA S SiC 5 02 AA 1 SLC 5 03 E gt SLC 5 04 SLC 5 05 LES Fany The number of Input or Output words available for each I O module can be found in the Modular I O Selection Guide For more information refer to Device Setup Octal Examples CN A SLC500 Fixed 1 0 E www kepvvare com Allen Bradley DF1 Driver Help 30 SLC500 Fixed 170 Bit 0 word 1 same as 1 16 Ser SS eI Addresses are shown in Octal peg Wore ose Status Files To access Status files specify a word and an optional bit in the word The default data types are shown in bold Syntax Data Type Access Array types The number of array elements in bytes cannot exceed the block request size specified This means that array size cannot exceed 16 words given a block request size of 32 bytes Ranges PLC Mode max Word Microfogk C DIS The maximum word location is one less when accessing as a 32 bit data type Long DWord or Long BCD Examples _A ee cc e S n Ss S 4 15 S 0 4 8 Binary Files To access Binary files specify a file number a word and optional bit in the word The default data types are shown in bold www kepware com 31 Allen Bradley DF1 Driver Help EECHER DWord
46. mmunication status file for channel 1 specify a word and optionally a bit in the word The default data types are shown in bold See Also Function File Options Syntax Data Type Access CS1 lt word gt Short Word BCD DWord Long LBCD Depends on lt word gt and lt bit gt CS1 lt word gt lt bit gt Depends on lt word gt and lt bit gt ST Depends on lt word gt and lt bit gt Ranges PLE Model Ae Number Ma Element O Examples Fxample espa 5 SE CS1 4 2 Bit 2 word 4 MCP Note For more information on CS1 words bit meanings refer to the Rockwell documentation I O Module Status File IOS To access the I O module status file specify a word and optionally a bit in the word The default data type for each syntax is shown in bold See Also Function File Options Data Type Access l IOS lt word gt Short Word BCD DWord Long LBCD Depends on lt word gt and lt bit gt 1OS lt word gt lt bit gt Depends on lt word gt and lt bit gt SSER Depends on lt word gt www kepware com Allen Bradley DF1 Driver Help Data Type ees o S n Ranges PLC Model File Number Ma Hemet DER E Examples example peo 105 0 IOS 4 2 Bit 2 word 4 Note For a listing of 1769 expansion I O status codes refer to the instruction manual www kepware com Allen Bradley DF1 Driver Help aa Error Descriptions The following categories of mes
47. n Module Full Rack 1747 DSN Distributed I O Scanner 30 Blocks 1747 DSN Distributed I O Scanner 7 Blocks 1747 KE Interface Module Series A 1747 KE Interface Module Series B 1747 MNET MNET Network Comm Module 1747 QS Synchronized Axes Module 1747 QV Open Loop Velocity Control 1747 RCIF Robot Control Interface Module 1747 SCNR ControlNet SLC Scanner 1747 SDN DeviceNet Scanner Module 1747 SN Remote I O Scanner 32 32 AMCI 1561 AMCI Series 1561 Resolver Module E g LA N Wy wj w 69 69 www kepware com Allen Bradley DF1 Driver Help Communicating with RSLogix5000 Family Controllers The Allen Bradley DF1 Driver can be used to connect to an RSLogix5000 controller s serial port Users must configure the RSLogix5000 Controller Tags to be mapped to the PLC SLC data tables For information on enabling communications refer to the instructions below Note A NULL Modem cable is required for this connection 1 To start open an RSLogix5000 development software application such as RSLogix5000 or Studio 5000 Logix Designer Then select Logic Map PLC SLC Messages le Edit View Search nil Communications Tools Window SS 5 fline H E Monitor Tags o Forces K 1 Edit Tags o Edits ch Produced Tags Map PLO SLE Messages Controller L63 Verify E Tasks MainTask UO Forcing 3 MainPro SFC Forcing b 1 Unscheduler El Motion Groups Online Edits R 1 Ungrouped AYES Fa
48. nerally is ifthe device transfers the lower word first the upper word in the packet on the serial link does not require word swapping This only applies to PLC 5 emulated devices that is devices that use the Allen Bradley DF1 protocol with PLC 5 commands Allen Bradley PLC 5 devices always transfer the upper word first followed by the lower word so the Float words must be swapped This is the default setting Support Float Access to SLC Micrologix N Files SLC and Micrologix users can select whether the driver will natively support Float access to Integer Files The default setting is Yes Cable Connections This driver is an Allen Bradley DEI RS232 serial driver It does not handle the token ring passing of a DH 485 or DH network When testing cable connections for this driver first verify communications using the Allen Bradley programming software For Micrologix and SLC500 series PLCs if the APS driver selected is KF3 KE Full Duplex Half Duplex Slave or Full Duplex Micro and communication is available with the PLC this driver will also be able to communicate using the same cabling and communication settings For PLCS series PLCs if the PLC 5 programming software driver selected is Serial to PLC or KE KF and communication is available with the PLC this driver will also be able to communicate using the same cabling and communication settings Micrologix Series Use the same cable as when using the Allen Bradley APS software
49. nts affected written to The SET tag is treated as a Write Only tag meaning a write to this tag is not reflected in subsequent reads on it Setting this tag s value to False performs no action SLC500 Slot Configuration SLC500 models with modular I O racks must be configured for use with this driver if the I O is to be accessed by the driver Up to 30 slots can be configured per device New Device Slot Configuration x lt No Module gt lt No Module gt lt No Module gt lt No Module gt lt No Module gt E 1203 SM1 SCANport Comm Module Basic 1203 5M1 SCANport Comm Module Enhanced 1394 SJT GMC Turbo System 1746 BAS Basic Module 5 02 Configuration 1746 BAS Basic Module 500 5 01 Configuration y Add Remove coca mm To use the slot configuration dialog follow the instructions below 1 Select the slot that will be configured by left clicking on the row in the slot module list box 2 Toselect a module left click on it from the available modules list box 3 Click Add to include the selected module 4 To delete a slot module select it and click Remove 5 When finished click Next Tip Use the 0000 Generic Module to configure I O that is not contained in the list of Available Modules Note It is common to have open slots in the rack which do not contain a physical module To correctly access data for the various slots that do contain a module the preceding module s must have the co
50. ort Comm Module Basic 1203 SM1 SCANport Comm Module Enhanced 1394 5 GMC Turbo System 1746 BAS Basic Module 500 5 01 Configuration 1746 BAS Basic Module 5 02 Configuration 1746 HS Single Axis Motion Controller 1746 HSCE High Speed Counter Encoder 1746 HSRV Motion Control Module 1746 HSTP1 Stepper Controller Module 1746 1 16 Any 16 pt Discrete Input Module 1746 1 32 Any 32 pt Discrete Input Module 1746 I 8 Any 8 pt Discrete Input Module 1746 1A16 16 Input 100 120 VAC 1746 1A4 4 Input 100 120 VAC 1746 IA8 8 Input 100 120 VAC 1746 1B16 16 Input Sink 24 VDC 1746 1B32 32 Input Sink 24 VDC 1746 IB8 8 Input Sink 24 VDC 1746 1C16 16 Input Sink 48 VDC 1746 IG16 16 Input TTL Source 5 VDC 1746 1H16 16 Input Trans Sink 125 VDC 1746 IM16 16 Input 200 240 VAC 1746 IM4 4 Input 200 240 VAC 1746 IM8 8 Input 200 240 VAC 1746 IN16 16 Input 24 VAC VDC 1746 INI4I Analog 4 Ch 1501 Current Input 1746 INI4VI Analog 4 Ch Isol Volt Current Input 1746 INO4I Analog 4 Ch Isol Current Input 1746 INO4VI Analog 4 Ch Isol Volt Current Input 1746 INT4 4 Ch Isolated Thermocouple Input 1746 1012 6 In 100 120 VAC 6 Out Rly VAC VDC 1746 1012DC 6 Input 12 VDC 6 Output Rly 1746 104 2 In 100 120 VAC 2 Out Rly VAC VDC3 1746 108 4 In 100 120 VAC 4 Out Rly VAC VDC4 1746 ITB16 16 Input Fast Sink 24 VDC 1746 ITV16 16 Input Fast Source 24 VDC 1746 1V16 16 Input Source 24 VDC N 69 N 69 Wy w 1746 144
51. ource empty 49 Unable to read data starting at lt start address gt on device lt device name gt Status lt STS gt Ext Status E Glen ii di E ta 49 Unable to read data starting at lt start address gt on device lt device name gt Status lt STS gt Ext Status lt EXT STS gt Block deactivated 50 Unable to read function file lt fun file element gt on device lt device name gt Status lt STS gt Ext Statuis lt EXT SS A a A il 50 www kepware com 4 Allen Bradley DF1 Driver Help Unable to read function file lt fun file element gt on device lt device name gt Status lt STS gt Ext Status lt EXT STS gt Block deactivated 50 Unable to read data starting at lt start address gt on device lt device name gt Framing error 51 Unable to read function file lt fun file element gt on device lt device name gt Framing error 51 Unable to read data starting at lt start address gt on device lt device name gt checksum error 51 Unable to read function file lt fun file element gt on device lt device name gt Checksum error 51 Unable to read data starting at lt start address gt on device lt device name gt Slave sink source full 52 Unable to read function file lt fun file element gt on device lt
52. quest Size This parameter is used to change the size of a data request It can be important in refining the application s performance If the application accesses large areas of PLC memory consecutively then a large request size may be beneficial If the data is spread throughout the PLC then a small request size may be beneficial The default setting is the large request size Swap PLC 5 Float Words PLC 5 Floats follow the IEEE 754 standard They contain a sign bit S an exponent E and a mantissa M The 32 bit layout of this IEEE 754 Float is as shown below www kepware com 11 Allen Bradley DF1 Driver Help Upper Word Lower Word SEEEEEEE EMMMMMMM MMMMMMMM MMMMMMMM Byte 3 Byte 2 Byte 1 Byte O Allen Bradley PLC 5 devices transfer binary Floating point data on the serial link in the following order Upper Word Lower Word Byte 2 Byte 3 Byte O Byte 1 This means the upper word is received first followed by the lower word Due to this ordering a swap of the words is required providing Lower Word Upper Word Byte O Byte 1 Byte 2 Byte 3 The result passed on to the client is as follows Byte 3 Byte 2 Byte 1 Byte O Some PLC 5 emulated devices such as the Avtron ADDvantage 32 already transfer binary Floating point data on the serial link with the lower word first Lower Word Upper Word Byte O Byte 1 Byte 2 Byte 3 In this case no swap is required The result passed on to the client is as follows Byte 3 Byte 2 Byte 1 Byte O Ge
53. quests previously in the full sink If this error occurs too often decrease the update rate on suspected tags Unable to read function file lt fun file element gt on device lt device name gt Slave sink source full Error Type Serious Possible Cause The slave device cannot accept anymore requests from the master The client may be requesting data too fast Solution The driver will automatically poll and re poll the slave to empty its source and in turn make room for responses from requests previously in the full sink If this error occurs too often decrease the update rate on suspected function file tags Unable to read data starting at lt start address gt on device lt device name gt Slave source empty Error Type Serious Possible Cause The slave device does not have a response prepared for the data request starting at lt start address gt The slave re poll delay may be set to short Solution The driver will automatically poll and re poll the slave in seek of a poll response If this error occurs too often increase the slave re poll delay on the given channel Unable to read function file lt fun file element gt on device lt device name gt Slave source empty Error Type Serious Possible Cause The slave device does not have a response prepared for the request of function file lt fun file element gt The slave re poll delay may be set to short Solution The driver will automatically poll and
54. r PLC 5 models This follows the convention of the programming software Micrologix Syntax EE ee Short Word BCD Read Write O lt word gt lt bit gt Read Write Read Write Micrologix models have two types of I O embedded I O and expansion I O not applicable for Micrologix 1000 Embedded I O resides with the CPU base unit while Expansion I O plugs into the CPU base unit The table below lists the I O capabilities of each Micrologix model www kepware com 25 Allen Bradley DF1 Driver Help Micrologix Model Embedded 1 0 1200 Slots 1 6 Tn Slots 1 7 1500 Slots 1 16 The address syntax for Micrologix I O references a zero based word offset not a slot Calculations must be done to determine the word offset to a particular slot This requires knowledge of the modules and their respective size in words The table below specifies the size of some available modules however it is recommended that the Micrologix documentation and controller project be consulted to determine the true word size of a module Instructions and examples in calculating word offset follow the table below Micrologix Embedded I O Word Sizes MAA A AAA EA AN ASS Micrologix Expansion I O Word Sizes Modules Output Words D Sam FUN CON E FU CON 1769 IF4 D Sam 8 SSCS mem AA A AAA EAN FUN CIN D Sam p p o D Sam CON CAN D Sam CON CON ECC CI EV ESC CI EAN 769 088 ON EIC CIN EV EN CI EU 769 0
55. raming error www kepware com Allen Bradley DF1 Driver Help as Error writing to address lt address gt on device lt device name gt Slave sink source full Error writing to address lt address gt on device lt device name gt Slave source empty Unable to read data starting at lt start address gt on device lt device name gt Status lt STS gt Ext Status lt EXT STS gt Unable to read data starting at lt start address gt on device lt device name gt Status lt STS gt Ext Status lt EXT STS gt Block deactivated Unable to read function file lt fun file address gt on device lt device name gt Status lt STS gt Ext Status lt EXT STS gt Unable to read function file lt fun file element gt on device lt device name gt Status lt STS gt Ext Status lt EXT STS gt Block deactivated Unable to read data starting at lt start address gt on device lt device name gt Framing error Unable to read function file lt fun file element gt on device lt device name gt Framing error Unable to read data starting at lt start address gt on device lt device name gt checksum error Unable to read function file lt fun file element gt on device lt device name gt checksum error Unable to read data starting at lt start address gt on device lt device name gt Slave sink source full Unable to read function file lt fun file element gt on device lt device name gt Slave sink source full Unabl
56. re poll the slave in seek of a poll response If this error occurs too often increase the slave re poll delay on the given channel www kepware com 53 Allen Bradley DF1 Driver Help Unable to read data starting at lt start address gt on device lt device name gt Device replied with a NAK Error Type Serious Possible Cause The server sent an invalid response or one of unexpected size Solution If this error occurs frequently contact Technical Support Unable to read function file lt fun file element gt on device lt device name gt Device replied with a NAK Error Type Serious Possible Cause The server sent an invalid response or one of unexpected size Solution If this error occurs frequently contact Technical Support Unable to read data starting at lt start address gt on device lt device name gt Memory map error Error Type Serious Possible Cause There was an error writing to memory on the server Solution If this error occurs frequently contact Technical Support Unable to read function file lt fun file element gt on device lt device name gt Memory map error Error Type Serious Possible Cause There was an error writing to memory on the server Solution If this error occurs frequently contact Technical Support Unable to read data starting at lt start address gt on device lt device name gt Device replied with an unexpected NAK Check device link protocol E
57. rom the master to the slave requesting the data gathered from the last master message operation The third is the slave response with the data requested in www kepware com Allen Bradley DF1 Driver Help s the master message Incoming requests to the slave are placed in what is termed a sink Once the slave performs the operation requested it places the result in what is termed a source Number of Attempts The number of attempts for master messages and polls share the same number of attempts as configured in the device Fail after xxx successive timeouts This attempt count is misleading in Half Duplex mode since there are multiple messages sent from the master in a single data request For all intents and purposes Let cnAttempts xxx in Fail after xxx successive timeouts attempts for master message timeout cnAttempts attempts for poll timeout cnAttempts attempts for request timeout attempts for master message timeout attempts for poll timeout cnAttempts X 2 Source Empty and Slave Re Poll Delay The Allen Bradley DF1 driver is optimized to send master messages and polls as quickly as possible to increase data throughput The initial slave poll will not be delayed since a delay is unnecessary If the slave needs time to process requests in its sink it will be apparent in the initial poll response It is at this time in which the driver introduces a delay and re polls the slave Such a delay allows the slave time
58. rrect number of words mapped For example if only interested in the I O in slot 3 but slots 1 and 2 contain I O modules the correct modules must be selected for slots 1 2 and 3 from this slot configuration tab www kepware com 15 Allen Bradley DF1 Driver Help Use of 0000 Generic Module Use the Generic Module to map Input and Output words for modules that are not represented in the list of available modules To correctly use the Generic Module users must know the number of Input and Output words required for each module Consult Allen Bradley I O user manual documentation to confirm Input and Output requirements and be aware that requirements may be different based on Class 1 or Class 3 operation Note For information on the number of input and output words available for each I O module refer to Modular I O Selection Guide Modular I O Selection Guide The following table lists the number of input and output words available for each I O module in the Slot Configuration list Tip Use the Generic Module to map input and output words for modules that are not represented in the list of available modules The range of accepted values is shown in the table below Consult the Allen Bradley user manual for the specific I O module to configure to confirm input and output requirements Requirements may be different based on Class 1 or Class 3 operation Module Type Input Words Output Words 0000 Generic Module 0 255 0 255 1203 SM1 SCANp
59. rror Type Serious Possible Cause The server either sent an invalid response or one of unexpected size The server s Protocol Link settings may not match the device configuration Solution Ensure that the device s Link Protocol settings match that of the channel s If this error occurs frequently contact Technical Support www kepware com Allen Bradley DF1 Driver Help sa Unable to read function file lt fun file element gt on device lt device name gt Device replied with an unexpected NAK Check device link protocol Error Type Serious Possible Cause The server either sent an invalid response or one of unexpected size The server s Protocol Link settings may not match the device configuration Solution Ensure that the device s Link Protocol settings match that of the channel If this error occurs frequently contact Technical Support www kepware com 55 Allen Bradley DF1 Driver Help Index 1 15 Pin Module Connection 12 2 25 Pin Module Connection 12 A Address lt address gt is out of range for the specified device or register 44 Address Descriptions 22 Address Validation 44 Array size is out of range for address lt address gt 44 Array support is not available for the specified address lt address gt 44 ASCII Files 34 Avtron 11 BCD 21 BCD Files 35 Binary Files 30 Block Transfer Files 39 Boolean 21 Byte 21 C Cable Connections 11 Channel 0 Communication Status File
60. s one less when accessing as a 32 bit data type Long DWord or Long BCD Examples example Float Files To access Float files specify a file number and an element The default data types are shown in bold pata Type asses F lt file gt lt element gt Float Read Write F lt file gt lt element gt rows cols Float Read Write F lt file gt lt element gt cols Float Read Write Array type The number of array elements in bytes cannot exceed the block request size specified This means that the array size cannot exceed 8 Floats given a block request size of 32 bytes Ranges www kepware com Allen Bradley DF1 Driver Help PLC Model FifeNumbet a Word id 3 255 DES 3 255 PLC 5 3 999 1999 Examples example Bestoe O Cd ASCII Files To access ASCII file data specify a file number and a character location The default data types are shown in bold Data Type Access A lt file gt lt char gt Char Byte Read Write A lt file gt lt char gt rows cols Char Byte Read Write A lt file gt lt char gt cols Char Byte Read Write A lt file gt lt word offset gt length Read Write The number of array elements cannot exceed the block request size specified Internally the PLC packs two characters per word in the file with the high byte containing the first character and the low byte containing the second character The PLC programming software allows a
61. sages may be generated Click on the link for a list of the related message Address Validation Device Specific Messages Device Status Messages Serial Communication Messages Address Validation The following messages may be generated Click on the link for a description of the message Address lt address gt is out of range for the specified device or register Array size is out of range for address lt address gt Array support is not available for the specified address lt address gt Data Type lt type gt is not valid for device address lt address gt Device address lt address gt contains a syntax error Device address lt address gt is not supported by model lt model name gt Device address lt address gt is read only Missing address Address lt address gt is out of range for the specified device or register Error Type Warning Possible Cause A tag address that has been specified statically references a location that is beyond the range of supported locations for the device Solution Verify that the address is correct if it is not re enter it in the client application Array size is out of range for address lt address gt Error Type Warning Possible Cause A tag address that has been specified statically is requesting an array size that is too large for the address type or block size of the driver Solution Re enter the address in the client application to specify a smaller value for the
62. se The specified COM port is not present on the target computer Solution Verify that the proper COM port has been selected COMn is in use by another application Error Type Fatal Possible Cause The serial port assigned to a device is being used by another application Solution Verify that the correct port has been assigned to the channel Error opening COMn Error Type Fatal Possible Cause The specified COM port could not be opened due an internal hardware or software problem on the target computer Solution Verify that the COM port is functional and may be accessed by other Windows applications Unable to set comm parameters on COMn Error Type Fatal www kepware com Allen Bradley DF1 Driver Help Possible Cause The serial parameters for the specified COM port are not valid Solution Verify the serial parameters and make any necessary changes Device Status Messages The following messages may be generated Click on the link for a description of the message Device lt device name gt is not responding Unable to write to lt address gt on device lt device name gt Device lt device name gt is not responding Error Type Serious Possible Cause 1 The serial connection between the device and the Host PC is broken 2 communications parameters for the serial connection are incorrect 3 The named device may have been assigned an incorrect Network ID 4 Theresponse from the devi
63. se to the last master message is accepted all others are discarded Note Slave to slave communication is not supported Radio Modem The Radio Modem protocol is a command reply protocol There are no ACKs or NAKs during the request response procedure This reduces the number of bytes the radio modems have to transmit and receive to complete a transaction This protocol supports full duplex communications over a point to point link allowing for high performance two way communications between peers It also supports master slave communications allowing for multi drop configurations Performance exceeds both Full Duplex and Half Duplex Protocols www kepware com Allen Bradley DF1 Driver Help 10 Device Setup Supported Devices Micrologix Series SLC500 Series PLC 5 Series excluding the PLC 5 250 and PLC 5 VME series RSLogix5000 Controllers with DF1 Port Radio Modem link protocol requires the following firmware upgrades SLC 5 03 SLC 5 04 and SLC 5 05 Series C FRN6 MicroLogix 1200 Series C FRN7 MicroLogix 1500 Series C FRN8 Device ID The Device ID is the Allen Bradley DF1 network address of the PLC For PLCs on a DH 485 or DH network the range is 1 63 Otherwise the range is 0 255 For Full Duplex the default address of 1 will work For Half Duplex the address must match the slave address For Radio Modem the address must match the slave peer address Ethernet Encapsulation This driver supports Ethernet En
64. tions error on lt Channel name gt lt error mask gt 46 COMN does not EE 46 COMn is in use by another application 46 Error Opening COMA ee E diia ee date ld eo dal A eo a 46 Unable to set comm parameters on COMn 46 Device Status Messages Sage sn as b uted acing audi dea be tds 47 Device lt device name gt is not responding 47 Unable to write to lt address gt on device lt device name gt 47 Device Specific Messages 1 1 47 Checksum error occurred writing to address lt address gt on device lt device name gt 48 Device lt device name gt timed out writing to address caddress 48 Error writing to address lt address gt on device lt device name gt Slave sink source full 48 Error writing to address lt address gt on device lt device name gt Status lt STS gt Ext Status lt EXT H RE 49 Error writing to address lt address gt on device lt device name gt Framing error 49 Error writing to address lt address gt on device lt device name gt Slave s
65. ult data types are shown in bold Note Arrays are not supported for String files Syntax Data Type Access ST lt file gt lt element gt lt field gt String SQh Read Vrrite www kepvvare com 35 Allen Bradley DF1 Driver Help Ranges PLC Model Fis Number sex 3 255 A SEC 3 255 PLCS 3 999 999 o ooo S SS Examples Example Desri e 0 ST9 0 ST18 10 String 10 BCD Files To access BCD files specify a file number and a word The default data types are shown in bold CI E T Array types The number of array elements in bytes cannot exceed the block request size specified This means that the array size cannot exceed 16 BCD given a block request size of 32 bytes Ranges PLC Model File Number Max Word COC i Examples Example 5 id 0000000 Long Files To access Long files specify a file number and a DWord The default data types are shown in bold syntax T saTyse ass Array types The number of array elements cannot exceed 16 Ranges PLC Model FifeNumbe sexsi 5 255 GET A NA PLC5 N Examples www kepware com Allen Bradley DF1 Driver Help 36 meseros 19 10 8 8 Element array starting at word 10 L15 0 4 5 4 by 5 element array starting at word 0 Micrologix PID Files PID files are a structured type whose data is accessed by specifying a file number an element and a field
66. us lt EXT STS gt 49 Unable to read data starting at lt start address gt on device lt device name gt Status lt STS gt Ext Status lt EXT STS gt Block deactivated 50 Unable to read data starting at lt start address gt on device lt device name gt Checksum error 51 Unable to read data starting at lt start address gt on device lt device name gt Device replied with a NAK 53 Unable to read data starting at lt start address gt on device lt device name gt Device replied with an unexpected NAK Check device link protocol 53 Unable to read data starting at lt start address gt on device lt device name gt Framing error 51 Unable to read data starting at lt start address gt on device lt device name gt Memory map error 53 Unable to read data starting at lt start address gt on device lt device name gt Slave sink source full 52 Unable to read data starting at lt start address gt on device lt device name gt Slave source empty 52 Unable to read function file lt fun file element gt on device lt device name gt Status lt STS gt Ext Status lt EXT STS gt 50 Unable to read function file lt fun file element gt on device lt device name gt Status lt STS gt Ext Status lt EXT STS gt Block deactivated 50 Unable to read function file lt fun file element gt on device lt device name gt Checskum error 51 Unable to read function file lt fun file element gt on device lt device name gt
67. within the Allen Bradley DF1 Driver Note The MicroLogix model is the only model that supports L data types which are 32 bit data types equivalent to the controller s DINT data type www kepware com Allen Bradley DF1 Driver Help 20 abar lt lt File Edit View Tools Runtime Help 25 z laerig JO 7 ii R lo 4 17 Tag Name Address ADINTARRAY L9 0 10 2 AINTARRAY N7 01101 622 AREALARRAY F8 0 10 www kepvvare com Allen Bradley DF1 Driver Help Data Types Description Data Type Single bit Byte Unsigned 8 bit value bit O is the low bit bit 7 is the high bit Char Signed 8 bit value bit O is the low bit bit 6 is the high bit bit 7 is the sign bit Word Unsigned 16 bit value bit O is the low bit bit 15 is the high bit Short Signed 16 bit value bit O is the low bit bit 14 is the high bit bit 15 is the sign bit Unsigned 32 bit value Note The DWord Long and LBCD data types are not native to any of the PLC models When referencing a 16 bit location as a 32 bit value the location referenced will be the low word and the next successive location will be the high word For example if N7 10 selected as a DWord data type N7 10 would be the low word and N7 11 the high word www kepware com Allen Bradley DF1 Driver Help 22 Address Descriptions Address specifications vary depending on the model in use Select a link from the following list to obtain specific address
Download Pdf Manuals
Related Search
Related Contents
下戸車式引戸 『BDタイプ』 正式発売のご案内 INSTALLATION MANUAL MANUEL D' INSTALLATION BBEB-D012S Weider WEBE1442 User's Manual XciteRC 15008000 Orientação Ativa de Implementos John Deere ZyXEL Communications 660RU Network Router User Manual OPERATOR`S MANUAL Ac31DP1 ASUS V0703 User's Manual Copyright © All rights reserved.
Failed to retrieve file