This application note describes the recommended settings for integrating 1769 CompactLogix controllers using the IOD-1123 Allen Bradley DF1 driver via an ATEN RS-485 to RS-232 Converter.
The following article provides details, requirements and options when connecting Allen Bradley DF1 Simplex Serial Driver to CompactLogix via a RS-485.
This KBA applies to the 1769-L35E CompactLogix 5335E Controller.
The Allen-Bradley Driver communicates with the PLC and updates emulated DeltaV I/O with the data received from the PLC. The primary functions of the driver are listed below:
· Performs data and message handling between DeltaV and PLC.
· Sends messages to PLC from DeltaV
· Processes reply information and updates the corresponding emulated DeltaV I/O channels.
· Update emulated input channel status and Data Block status to indicate the communication state of PLC.
· Checks validity of messages received from PLC.
Upon proper installation and configuration of the Allen-Bradley driver within the DeltaV/PSIC system, communications with a correctly configured CompactLogix can be established.
The DeltaV configuration starts with auto-sensing the IO card, where a single Programmable Serial Interface Card (PSIC) is inserted in the designated slot.
Browse the DeltaV I/O tree for the card communicating with the CompactLogix.
Right mouse click on P01 and select Properties. Check the checkbox to enable this port as shown below.
Click on the Advanced tab. The following dialog will appear. Select retry count, message timeout and transmit delay according to their application. Also, select the Mode as Master.
The parameters under the Communications tab are used to set the Port type, Baud rate, Parity, Data bits, and Stop bits. Configure these parameters as follows, with the baud rate matching the baud rate on the CompactLogix.
Configure a Serial Device under the enabled port. Right mouse click and select the New Serial Device menu option. The following dialog will appear.
Specify the description. The Device Address is ambiguous because communication will be point-to-point in the PLC.
Next, configure datasets under the Serial Device. To add a new dataset, right mouse click on the Serial Device and select New Dataset menu option. The following dialog will appear:
On the DeltaV tab select the DeltaV data type
On the PLC tab the user will select the device data type, starting address (offset), and number of values. In the example below, the device data type is 11, which has been tested to work for the CompactLogix L35E processor.
The special data tab is used to specify the file type and number. In our example, we are reading from N7 data file. Special Data 1 is 7 to indicate N file type. And Special Data 2 is 7 for file 7.
Once the Programmable Serial Card has been downloaded, the DeltaV Diagnostics can be used to examine the communication status. If communications are healthy, the users can view the dataset register values as shown below.
Use the RSLogix5000 to configure the channel properties. We will be connecting the Serial Converter to Ch0 of the CompactLogix via RS-232.
Configure the CompactLogix channel communication parameters as shown below.
Browse over to the System Protocol tab and configure the parameters as follows.
Numerous RS-232 to RS-485 Serial Converters exist. Thus, the configuration parameters of the device will differ from converter to converter. Communication errors will most likely result from an improper configuration of this device. MYNAH has successfully tested ATEN’s RS-232 to RS-422 / RS-485 Bidirectional Converter Model: IC-485AI with use in this application. The configuration for the device was as follows:
Enable the DTE switch on the front of the Device.
The DIP switches on the back of the device should be set as follows for a 9600 baud rate, 10 bits default (1 Start; 8 Data; 0 Parity; 1 Stop), and RS-422 Master:
Switches 1 – 3 are used to configure the baud rate setting.
1. The baud rate must be the same for all units on the installation
2. The default is 9600 bps.
Switches 5 – 6 are used to configure the Data Format. These two switch segments configure the bit settings for the Start, Data, Parity, and Stop.
Note: The default is 10 bits (1 Start; 8 Data; 0 Parity; 1 Stop). Unless you have a special reason to change this, we recommend that you leave it as is. If you do change it, however, all the units on the installation must be changed to match.
Switches 7 – 8 are used to configure the operating mode.
Lastly, the following wiring was used:
Please refer to the ATEN Converter user manual for further information on configuring the Device.
MYNAH Technologies LLC
390 South Woods Mill Road, Suite 100
Chesterfield, MO 63017 USA
© MYNAH Technologies 2012 - 2019. All rights reserved.
Designs are marks of MYNAH Technologies, Emerson Process Management, DeltaV, and the DeltaV design are marks of one of the Emerson Process Management of companies. All other marks are property of their respective owners. The contents of this publication are presented for informational purposes only, and while every effort has been made to ensure their accuracy, they are not to be construed as warrantees or guarantees, expressed or implied, regarding the products or services described herein or their use or applicability. All sales are governed by our terms and conditions, which are available on request. We reserve the right to modify or improve the design or specification of such products at any time without notice.
While this information is presented in good faith and believed to be accurate, Mynah Technologies does not guarantee satisfactory results from reliance upon such information. Nothing contained herein is to be construed as a warranty or guarantee, express or implied, regarding the performance, merchantability, fitness or any other matter with respect to the products, nor as a recommendation to use any product or process in conflict with any patent. Mynah Technologies reserves the right, without notice, to alter or improve the designs or specifications of the products described herein.