Applies To:
  • CitectSCADA
  • CitectHMI

Summary:
How do I communicate to the Allen Bradley ControlLogix / CompactLogix PLCs via their RS232 Serial ports? 

Solution:
For CitectSCADA to communicate to the Allen Bradley ControlLogix / CompactLogix PLCs via their RS232 Serial ports requires you to use;

(A) RSLinx OEM and Citect OPC Client driver or Citect ABRSLINX driver.

(B) Citects KE driver (DF1 Half Duplex)

Option (B) requires the serial port on the PLC to be set to use "DF1 Slave". As this driver is designed to be used with PLC5 / SLC500 plcs you will have to map array tags in the PLC to PLC5 file numbers. In this way the data can be accessed using PLC5 type addresses. eg N7:8 would access the 9th element of the integer array mapped to file number 7. (In RSLogix 5000 this is done via the menu "Logic \ Map PLC/SLC Messages")

You may also encounter the error message "Generic 000008 Driver 00126982 (0x0001f006)" in the Citect Kernel. This means "Invalid address". To avoid this you will need to create a map to file number 0. This is because the driver checks that it can read a file 0 address to determine if it will put the I/O Device online. Alternatively you can use the citect.ini parameter [KE]AltInitReg=B3:0 or similar to have the driver use an alternative initialisation register.

For other issues related to using this driver with the Logix PLCs refer to KB article titled "Problems with PLC5 Mapped tags in the ControlLogix"

 

Keywords:
 

Attachments