Rockwell DF 1 Full Dupea
Rockwell DF 1 Full Dupea
Rockwell DF 1 Full Dupea
Rockwell Automation
Allen-Bradley DF1-Full Duplex
Driver
1 System Structure
2 Cable Diagrams
3 Supported Device Addresses
4 Consecutive Device Addresses
5 Environment Setup
6 I/O Manager Configuration
7 Driver Configuration
8 Device Address Configuration
Appendix
1 Structured Files
2 Map ControlLogix PLC Addresses
• This manual explains how to connect the target machine with other manufacturer devices. For
information about how to use the Pro-Designer software, please refer to the Pro-Designer Online
Help.
• The types of target machines that are compatible with Pro-Designer depends on the version of
Pro-Designer. For information about the compatibility of target machines, please refer to the Pro-
Designer Online Help.
1 System Structure
The following table describes the basic system setup for connecting the target machine to
Rockwell Automation PLCs.
Series CPU Link I/F Comm. Format Diagram
ControlLogix Series Logix5550 CPU Direct RS-232C Cable
Diagram 1
*1 Communication with the 8pin Mini DIN port on the Micrologix PLC is not supported.
2
Rockwell Automation Allen-Bradley DF1-Full Duplex Driver
2 Cable Diagrams
The illustrated cable diagrams and those recommended by Rockwell Automation may differ.
However, Pro-face recommends using the following diagrammed connections.
• Ground the PLC’s FG terminal according to your country’s applicable standard. For details,
refer to the PLC manual.
• When making your own communication cable, be sure to connect the SG signal.
Diagram 1 RS-232C
To connect the target machine and the PLC, use the recommended cable or create your own cable
using the following specifications.
Target Machine Cable / Adapter Comments
When connecting to a 9pin port on
GP, PS-P, RS-232C Cable
the target machine or PLC, use a
PC/AT(PL), PS-G (Proface: GP410-IS00-O 5m)
9/25 pin adapter.
3
Rockwell Automation Allen-Bradley DF1-Full Duplex Driver
Diagram 2 RS-232C
To connect the target machine and the PLC, use the recommended cable or create your own cable
using the following specifications.
Target Machine Cable / Adapter Comments
When connecting to a 9pin port on
GP, PS-P, RS-232C Cable
the target machine, use a 9/25 pin
PC/AT(PL), PS-G (Proface: GP410-IS00-O 5m)
adapter.
Diagram 3 RS-232C
To connect the target machine and the PLC, use the recommended cable or create your own cable
using the following specifications.
Target Machine Cable / Adapter Comments
When connecting to a 9pin port on
the target machine, use a 9/25 pin
GP, PS-P, RS-232C Cable
adapter.
PC/AT(PL), PS-G (Proface: GP410-IS00-O 5m)
On the PLC side, use a 15/25 pin
adapter.
4
Rockwell Automation Allen-Bradley DF1-Full Duplex Driver
*1 Read-modify-write. When you write to one of these bit addresses, the target machine reads
the entire word address, sets the defined bit, then returns the word value to the PLC. If the
ladder program writes data to this word address during the bit read/write process, the
resulting data may be incrorrect.
*2 The element in SINT addresses must be even numbered. For example SINT0:11/5 is not
valid. To access SINT file number 0, element 11, bit 5, define the address as SINT0:10/13.
*3 16-bit and 32-bit data, High and Low, refer to data as defined in the following examples.
16 bit 32 bit
Byte Word
0 7 ... 0 L (Low) 0 15 ... 0 L (Low)
1 15 ... 8 H (High) 1 31 ... 16 H (High)
• File numbers do not repeat. In the address BOOL7:12, the file number is
7. If the file number 7 is already used, then it is not possible to have the
address REAL7:34, since file number 7 is used by BOOL.
• To be able to use a ControlLogix address on the PLC, the address must
be mapped to ControlLogix using Allen-Bradley software. See Appendix,
Section 2 - Map ControlLogix PLC Addresses.
5
Rockwell Automation Allen-Bradley DF1-Full Duplex Driver
*1 Read-modify-write. When you write to one of these bit addresses, the target machine reads
the entire word address, sets the defined bit, then returns the word value to the PLC. If the
ladder program writes data to this word address during the bit read/write process, the
resulting data may be incrorrect.
*2 BitField refers to a bit sub-element in the data. See Appendix, Section 1 - Structured Files.
*3 WordField refers to a word sub-element in the data. See Appendix, Section 1 - Structured
Files.
*4 16-bit and 32-bit data, High and Low, refer to data as defined in the following examples.
16 bit 32 bit
Byte Word
0 7 ... 0 L (Low) 0 15 ... 0 L (Low)
1 15 ... 8 H (High) 1 31 ... 16 H (High)
6
Rockwell Automation Allen-Bradley DF1-Full Duplex Driver
*1 Read-modify-write. When you write to one of these bit addresses, the target machine reads
the entire word address, sets the defined bit, then returns the word value to the PLC. If the
ladder program writes data to this word address during the bit read/write process, the
resulting data may be incrorrect.
*2 Input (I) and Output (O) element addresses are defined using Octal data format. Valid word
address ranges are: 0-7, 10-17, 20-27, ... 360-367, 370-377. Valid bit address ranges are: 0/0-
0/7 and 0/10-0/17, 1/0-1/7 and 1/10-1/17, ... 377/0-377/7 and 377/10-377/17.
*3 BitField refers to a bit sub-element in the data. See Appendix, Section 1 - Structured Files.
*4 WordField refers to a word sub-element in the data. See Appendix, Section 1 - Structured
Files.
*5 16-bit and 32-bit data, High and Low, refer to data as defined in the following examples.
16 bit 32 bit
Byte Word
0 7 ... 0 L (Low) 0 15 ... 0 L (Low)
1 15 ... 8 H (High) 1 31 ... 16 H (High)
7
Rockwell Automation Allen-Bradley DF1-Full Duplex Driver
*1 Read-modify-write. When you write to one of these bit addresses, the target machine reads
the entire word address, sets the defined bit, then returns the word value to the PLC. If the
ladder program writes data to this word address during the bit read/write process, the
resulting data may be incrorrect.
*2 BitField refers to a bit sub-element in the data. See Appendix, Section 1 - Structured Files.
*3 WordField refers to a word sub-element in the data. See Appendix, Section 1 - Structured
Files.
*4 16-bit and 32-bit data, High and Low, refer to data as defined in the following examples.
16 bit 32 bit
Byte Word
0 7 ... 0 L (Low) 0 15 ... 0 L (Low)
1 15 ... 8 H (High) 1 31 ... 16 H (High)
8
Rockwell Automation Allen-Bradley DF1-Full Duplex Driver
9
Rockwell Automation Allen-Bradley DF1-Full Duplex Driver
10
Rockwell Automation Allen-Bradley DF1-Full Duplex Driver
5 Environment Setup
The following table lists the communication settings, recommended by Pro-face, for the target
machine and Rockwell Automation PLCs.
For details, see Section 7 – Driver Configuration.
Target Machine Settings PLC Settings
Driver Serial Interface RS-232C —
Interface Flow Control DTR(ER)/CTS —
Transmission Speed 19200 bps Baud Rate 19200 bps
Retry Count 2 —
Error Detection CRC Error Detection CRC
Parity Bit None Parity None
Stop Bit 1 bit —
Data Length 8 bit —
Rcv Time Out 10 s —
TX Wait Time 0 ms —
— Node No. 0
11
Rockwell Automation Allen-Bradley DF1-Full Duplex Driver
For information on how to display the [New Driver Interface] dialog box,
see the online help.
12
Rockwell Automation Allen-Bradley DF1-Full Duplex Driver
7 Driver Configuration
To configure the communication settings of the serial driver in the target machine, use the [Driver
Configuration] dialog box. Make sure the settings match those of the PLC.
For an overview of the driver and protocol settings, see Section 5 – Environment Setup.
Manufacturer
Displays the name of the PLC manufacturer.
Interface
Displays the type of serial connection used to connect the target machine to the PLC.
COM Port
Defines which COM port to use on the target machine, for connecting to the PLC.
13
Rockwell Automation Allen-Bradley DF1-Full Duplex Driver
Stop Bit
Defines the stop bit, which is fixed to 1 bit.
Data Length
Defines the length of each unit of data, which is fixed to 8 bits.
Rcv. Timeout
Defines the length of time the target machine waits for a response before it outputs a timeout error
or sends another communication.
TX Wait Time
Defines the number of milliseconds that the target machine waits, after receiving a communication
packet, before sending a response.
14
Rockwell Automation Allen-Bradley DF1-Full Duplex Driver
For information on how to display the Device Address Keypad, see the
online help.
File Type
Lists file identifiers supported by the PLC.
File Number
Defines the file number. PLC types may support different ranges of file numbers.
Element
Defines the word element.
Sub-Element
This field becomes available only when the variable data type is discrete, or you select a structured
file type.
When the variable data type is a discrete file type, defines the bit position.
B9:3/15
B = Bit File
9 = File Number
3 = Element Number
/ = Bit indicator
15 = Sub-Element (Bit)
When the File Type is a structured file type, defines the structured element.
T9:3/EN
B = Bit File
9 = File Number
3 = Element Number
/ = Bit indicator
EN = Sub-Element (Enable)
15
Appendix
1 Structured Files
2 Map ControlLogix PLC Addresses
Rockwell Automation Allen-Bradley DF1-Full Duplex Driver
1 Structured Files
Structured files are supported by MicroLogix, PLC-5, and SLC500 Series PLCs.
The following file types are structured files.
• Timer
• Counter
• Control
Each element in a structured file has sub-elements that show the status of an operation, • trigger
operations, or store information.
To access a sub-element:
• Use a slash (/) to denote a discrete sub-element.
T4:5/EN // Timer File 4, Timer Element 5, Sub-element EN
(discrete)
R255:255/FD // Control File 255, Control Element 255, Sub-element
FD (discrete)
Timer
The following structured elements are available in a Timer file.
Mnemonic Structured Element Size Format
.EN Enable 1 bit Discrete
.TT Timing 1 bit Discrete
.DN Done 1 bit Discrete
.PRE Preset Value 2 bytes 2's Complement Integer
.ACC Accumulated Value 2 bytes 2's Complement Integer
Counter
The following structured elements are available in a Counter file.
Mnemonic Structured Element Size Format
.CE Up Enable 1 bit Discrete
.CD Down Enable 1 bit Discrete
.DN Done 1 bit Discrete
.OV Overflow 1 bit Discrete
.UN Underflow 1 bit Discrete
.UA 1 bit Discrete
.PRE Preset Value 2 bytes 2's Complement Integer
.ACC Accumulated Value 2 bytes 2's Complement Integer
17
Rockwell Automation Allen-Bradley DF1-Full Duplex Driver
Control
The following structured elements are available in a Control file.
Mnemonic Structured Element Size Format
.EN Enable 1 bit Discrete
.EU Enable Unloading 1 bit Discrete
.DN Done 1 bit Discrete
.EM Empty 1 bit Discrete
.ER Error 1 bit Discrete
.UL Unload 1 bit Discrete
.IN Inhibit Comparison 1 bit Discrete
.FD Found 1 bit Discrete
.LEN Length 2 bytes 2's Complement Integer
.POS Position 2 bytes 2's Complement Integer
18
Rockwell Automation Allen-Bradley DF1-Full Duplex Driver
In the example, the Tag Name is MyData, and in the Type we defined 100 elements of type
DINT.
2. After defining the Tag Name, map the Tag Name to a File Number.
19
Rockwell Automation Allen-Bradley DF1-Full Duplex Driver
4. In Pro-Designer, ignore the Tag Name defined in RSLogix5000. Use the File Number (11)
and the data type to work with the PLC data.
For example, to access the hundredth element in the tag MyData, enter DINT11:99 as the
word address.
20