QuickStart Guide
...
Allen-Bradley
Gen 2 Drivers

AB DF1 Serial

8min

Review the following information for setting up and configuring the AB DF1 Serial driver.

Litmus Edge Compatible Series

Compatibility parameter

Compatible items

Driver type

Serial

Validated devices/series

PLC-5

To set up and configure this device in Litmus Edge, you will need to do the following:

  • Step 1: Set up and Configure the PLC Device
  • Step 2: Set up the PLC Device in Litmus Edge DeviceHub
  • Step 3: Configure the List of Registers

Step 1: Set up and Configure the PLC Device



Note: When configuring the settings for the PLC, the Error Detect setting must be set to CRC, otherwise a connection with Litmus Edge won't be successful.

Refer to the following parameters and reference images when setting up the PLC.

  • Device: PLC5/40C
  • Communication I/Fꓽ RS232
Document image

Document image


Complete the following steps to setup and configure the PLC.

To configure the PLC:



  1. Connect the PLC to the computer with a serial port 25-pin D-shell cable.
  2. Open RSLinx Classic software.
  3. Click the Configure Drivers icon. Then, click Add New... and add the RS-232 DF1 devices driver.

    Document image
    
  4. Configure the driver with the following parameter values and click OK. Baud Rate: 9600 Bits Per Char: 8 Stop Bits: 1 Parity: None Error Detect: CRC

    Document image
    
  5. In the driver settings, click Auto-Configure and confirm you see an Auto Configuration Successful! message.

    Document image
    
  6. Ensure these same settings are configured in the PLC to establish a connection.

    Document image
    
  7. Open RSLogix 5 software.
  8. Click Comms and select Who Active Go Online.

    Document image
    
  9. Select the device that you configured and click Online.

    Document image
    
  10. In the navigation menu, click Channel Configuration and select Open.

    Document image
    
  11. Confirm the Serial Port settings for Channel 0, which is the RS232 port. Note down the Baud Rate, Data Bits, Stop Bits, and Parity. The Error Detect setting must be set to CRC.

    Document image
    
  12. You can use Channel 3A to configure the Ethernet port, if applicable.

    Document image
    

Step 2: Set up the PLC Device in Litmus Edge DeviceHub



Parameter

Value

Type

Allen Bradley

Driver

AB DF1 Serial

Communication Port

Local Serial connection file path

Data Bits

5 6 7 8

Baud Rate

1200 2400 4800 9600 19200 38400 57600 115200 230400 460800 921600

Parity

Even, Mark, None, Odd, Space

Stop Bits

1 1.5 2

PLC Type

PLC5

Source ID (SRC Byte)

0

Destination ID (DST Byte)

1

Read Timeout

200

Retry Count

2



Note: The register table below represents the PLC address format. In Litmus Edge, you will need to enter the tag address in decimal format. This means you must convert the PLC addresses for the Input and Output Data Files from octal format to decimal format.

Name

Value Types

Access Types

Address Format

Min Address

Max Address

Description

O

uint

R/W

OOO

0

255

Output

O_bit

bit

R/W

OOOoo

0

25515

Output

I

uint

R/W

OOO

0

255

Input

I_bit

bit

R/W

OOOoo

0

25515

Input

S

uint

R/W

DDD

0

255

Status

S_bit

bit

R/W

DDDdd

0

25515

Status

B

bit

R/W

DDDDDdd

0

3276015

Binary

T_bit

bit

R/W

DDDDD

0

32760

Timer

T

uint

R/W

DDDDD

0

32760

Timer

C_bit

bit

R/W

DDDDD

0

32760

Counter

C

uint

R/W

DDDDD

0

32760

Counter

R_bit

bit

R/W

DDDDD

0

32760

Control

R

uint

R/W

DDDDD

0

32760

Control

N

uint, int

R/W

DDDDD

0

32760

Integer

F

float

R/W

DDDDD

0

32760

Float

D

bcd

R/W

DDDDD

0

32760

BCD

A

string

R/W

DDDDD

0

32760

ASCII

ST

string

R/W

DDDDD

0

32760

String