Driver AB DF1


Allen Bradley MicroLogix 1000, 1100, 1200, 1500, SLC 5/03, 5/04, 5/05

 

HMI Setting: Allen-Bradley DF1

Parameters

Recommended Settings

Option

Notes

Com port

RS232

 

 

Baud rate

19200

9600, 19200

Must match PLC port setting

Parity bit

None

Even, Odd, None

Must match PLC port setting

Data Bits

8

8

Must match PLC port setting

Stop Bits

1

1

Must match PLC port setting

Generated Files/driver_ab_df14.jpg HMI Station No.

0

 

Does not apply to this protocol.

PLC Station No.

1

1-31

Must match PLC port setting

 

PLC Setting:

Communication mode:

DF1 Full Duplex protocol

19200, None, 8, 1 (default) (Must match HMI Settings)

Control Line: No Handshake

Error Check: CRC

 

Wiring diagram:

MicroLogix and SLC/500 CPU’s with CH0 RS232 D-Sub 9 Male Socket ports.

HMI COM1 [RS-232] 9P D-Sub Female

HMI COM2 [RS-232] 9P D-Sub Female

HMI COM3 [RS-232] 9P D-Sub Male

AB SLC/500 CH0

9P D-Sub Female

3 TX ====>

4 TX ====>

7 TX ====>

2 RD

2 RX ====>

6 RX ====>

8 RX ====>

3 TD

5 GND ====>

5 GND ====>

5 GND ====>

5 GND

Generated Files/driver_ab_df1.jpgGenerated Files/driver_ab_df11.jpg

 

MicroLogix CPU’s with 8 Pin Mini DIN ports.

HMI COM1 [RS-232] 9P D-Sub Female

HMI COM2 [RS-232] 9P D-Sub Female

HMI COM3 [RS-232] 9P D-Sub Male

AB MicroLogix

8P MiniDIN Male

3 TX ====>

4 TX ====>

7 TX ====>

4 RD

2 RX ====>

6 RX ====>

8 RX ====>

7 TD

5 GND ====>

5 GND ====>

5 GND ====>

8 GND

Generated Files/driver_ab_df12.jpgGenerated Files/driver_ab_df13.jpg

 

Device address:

Bit/Word

Device

Type

Format

Range

Notes

Bit

I1

 dddbb

Element no. ddd: 0~254

Bit no. bb: 0~15

Input (I)

Bit

O0

 dddbb

Element no. ddd: 0~254

Bit no. bb: 0~15

Output (O)

Bit

B3, 10, 11, 12, 13

 dddbb

Element no. ddd: 0~254

Bit no. bb: 0~15

Bit data files (B3, 10, 11, 12, 13)

Bit

Bfn

 fffdddbb

File no. fff: 3, 10~254

Element no. ddd: 0~254

Bit no. bb: 0~15

Bit data file (B3, 10~254)

Example*

Bit

NfnBit

 fffdddbb

File no. fff: 3, 10~254

Element no. ddd: 0~254

Bit no. bb: 0~15

Bit access of Integer data files (N7, 10~254)

Bit

S_Bit

 dddbb

Element no. ddd: 0~254

Bit no. bb: 0~15

Bit access of System data file

Word

T4SV

ddd

Element no. ddd: 0~254

Timer Preset Value (T4)

Word

T4PV

ddd

Element no. ddd: 0~254

Timer Accumulator Value (T4)

Word

C5SV

ddd

Element no. ddd: 0~254

Counter Preset Value (T4)

Word

C5PV

ddd

Element no. ddd: 0~254

Counter Accumulator Value (T4)

Word

N7

ddd

Element no. ddd: 0~254

Integer data file (N7) Example*

Word

S

ddd

Element no. ddd: 0~254

System data file

Word

Nfn

fffddd

File no. fff: 7, 10~254

Element no. ddd: 0~254

Integer data file (N7, 10~254)

32 bit Float

F8

ddd

ddd:0~254

Floating point data file (F8)

32 bit Float

Ffn

fffddd

File no. fff: 8, 10~254

Element no. ddd: 0~254

Floating point data file (F8, 10~254) Example*

 

Examples:

N7 Element 71 is used for a Word Lamp. The address appears as follows:

Notice that leading zeroes are not necessary for the File

ABDF1DVR2.JPG

 

Ffn is used to access File 17, Element 33, a floating point value, for a Meter Display. The address appears as follows:

Notice that leading zeroes are not necessary for the File but are required for the Element.

ABDF1DVR3.JPG

 

Bfn is used to access File 24, Element 2, Bit 6 for a Bit Lamp. The address appears as follows:

Notice that leading zeroes are not necessary for the File but are required for the Element and Bit.

ABDF1DVR1.JPG



Contents