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 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
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
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 |
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 |
|