Quickstart Guide
...
Allen-Bradley
Gen 1 Drivers

AB PLC5 (Gen1)

9min

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

Manufacturing Connect Edge Compatible Series

Compatibility parameter

Compatible items

Driver type

Serial

Validated devices/series

PLC5

To set up and configure this device in Manufacturing Connect 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 Manufacturing Connect 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 Manufacturing Connect 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 Manufacturing Connect 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



Refer to the appropriate register table depending on your version of Manufacturing Connect Edge.

Register Table for Manufacturing Connect Edge 3.10.0 and Later

Name

Value Type

Address Format

Min Address

Max Address

Description

I

bit

DDDdd

0

25515

Input bit

O

bit

DDDdd

0

25515

Output bit

S

int

DDD

0

255

Status file

B3

bit

DDDdd

0

25515

 

Bfn

bit

FFFDDDdd

10000

25525515

 

T4.ACC

int

DDD

0

255

Timer Accumulator (T4)

T4.PRE

int

DDD

0

255

 

Tfn.ACC

int

FFFDDD

10000

255255

 

Tfn.PRE

int

FFFDDD

10000

255255

 

CS.ACC

int

DDD

0

255

Counter Accumulator (CS)

CS.PRE

int

DDD

0

255

 

Cfn.ACC

int

FFFDDD

10000

255255

 

Dfn.PRE

int

FFFDDD

10000

255255

 

R6

int

DDD

0

255

Control File(R6)

R6.POS

int

DDD

0

255

Control file pointer position (R6)

R6.LEN

int

DDD

0

255

 

Rfn

int

FFFDDD

0

255255

 

Rfn.POS

int

FFFDDD

0

255255

 

Rfn.LEN

int

FFFDDD

0

255255

 

N7

int, bit(int)

DDDdd

0

25515

 

Nfn

int, bit(int)

FFFDDDdd

10000

25599915

 

Lfn

int

FFFDDD

10000

255999

 

F8

float

DDD

0

255

 

Ffn

float

FFFDDD

10000

255999

 

Register Table for Manufacturing Connect Edge 3.5.6 and Earlier

Name

Value Type

Address Format

Min Address

Max Address

Description

I

bit

DDDdd

0

25515

Input bit

O

bit

DDDdd

0

25515

Output bit

S

int

DDD

0

255

Status file

B3

bit

DDDdd

0

25515

 

Bfn

bit

FFFDDDdd

10000

25525515

 

T4.ACC

int

DDD

0

255

Timer Accumulator (T4)

T4.PRE

int

DDD

0

255

 

Tfn.ACC

int

FFFDDD

10000

255255

 

Tfn.PRE

int

FFFDDD

10000

255255

 

CS.ACC

int

DDD

0

255

Counter Accumulator (CS)

CS.PRE

int

DDD

0

255

 

Cfn.ACC

int

FFFDDD

10000

255255

 

Dfn.PRE

int

FFFDDD

10000

255255

 

R6

int

DDD

0

255

Control File(R6)

R6.POS

int

DDD

0

255

Control file pointer position (R6)

R6.LEN

int

DDD

0

255

 

Rfn

int

FFFDDD

0

255255

 

Rfn.POS

int

FFFDDD

0

255255

 

Rfn.LEN

int

FFFDDD

0

255255

 

N7

int

DDD

0

255

 

N7

bit(int)

DDDdd

0

25515

 

Nfn

int

FFFDDD

10000

255999

 

Nfn

bit(int)

FFFDDDdd

1000015

25599915

 

Lfn

int

FFFDDD

10000

255999

 

F8

float

DDD

0

255

 

Ffn

float

FFFDDD

10000

255999