QuickStart Guide
...
Allen-Bradley
Gen 1 Drivers

AB PLC5 (Gen1)

8min

Review the following information for setting up and configuring the AB PLC5 (Gen1) driver.

Litmus Edge Compatible Series

Compatibility parameter

Compatible items

Driver type

Serial

Validated devices/series

PLC5

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 PLC5 (Gen1)

Communication Port

Local Serial connection file path

Data Bits

8

Baud Rate

9600

Parity

Even, Odd, None

Stop Bits

1

Slot

0



Name

Value Type

Access Types

Address Format

Min Address

Max Address

Description

I

bit

R/W

DDDdd

0

25515

Input bit

O

bit

R/W

DDDdd

0

25515

Output bit

S

int

R/W

DDD

0

255

Status file

B3

bit

R/W

DDDdd

0

25515

 

Bfn

bit

R/W

FFFDDDdd

10000

25525515

 

T4.ACC

int

R/W

DDD

0

255

Timer Accumulator (T4)

T4.PRE

int

R/W

DDD

0

255

 

Tfn.ACC

int

R/W

FFFDDD

10000

255255

 

Tfn.PRE

int

R/W

FFFDDD

10000

255255

 

CS.ACC

int

R/W

DDD

0

255

Counter Accumulator (CS)

CS.PRE

int

R/W

DDD

0

255

 

Cfn.ACC

int

R/W

FFFDDD

10000

255255

 

Dfn.PRE

int

R/W

FFFDDD

10000

255255

 

R6

int

R/W

DDD

0

255

Control File(R6)

R6.POS

int

R/W

DDD

0

255

Control file pointer position (R6)

R6.LEN

int

R/W

DDD

0

255

 

Rfn

int

R/W

FFFDDD

0

255255

 

Rfn.POS

int

R/W

FFFDDD

0

255255

 

Rfn.LEN

int

R/W

FFFDDD

0

255255

 

N7

int, bit(int)

R/W

DDDdd

0

25515

 

Nfn

int, bit(int)

R/W

FFFDDDdd

10000

25599915

 

Lfn

int

R/W

FFFDDD

10000

255999

 

F8

float

R/W

DDD

0

255

 

Ffn

float

R/W

FFFDDD

10000

255999