AB PLC5 (Gen1)
Review the following information for setting up and configuring the AB PLC5 (Gen1) driver.
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
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
Complete the following steps to setup and configure the PLC.
To configure the PLC:
- Connect the PLC to the computer with a serial port 25-pin D-shell cable.
- Open RSLinx Classic software.
Click the Configure Drivers icon. Then, click Add New... and add the RS-232 DF1 devices driver.
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
In the driver settings, click Auto-Configure and confirm you see an Auto Configuration Successful! message.
Ensure these same settings are configured in the PLC to establish a connection.
- Open RSLogix 5 software.
Click Comms and select Who Active Go Online.
Select the device that you configured and click Online.
In the navigation menu, click Channel Configuration and select Open.
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.
You can use Channel 3A to configure the Ethernet port, if applicable.
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.
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 |
|
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 |
|