Objective
RSLinx, in Professional or Gateway version, can act as the OPC server for the Allen Bradley PLC family. This practice creates a topic and tests it with OPC Test Client.
The example uses the PLC simulated in the RSLogix Emulate 5000 practice, but the procedure is the same if the simulator is replaced by a real PLC.
Create a Topic in RSLinx
Run RSLinx and open DDE/OPC > Topic Configuration.
Click New to create a new topic and assign a useful name. That name will later be used by OPC clients.


Assign the Topic to the PLC
The topic is assigned to the PLC it will reference. In this case RSLogix Emulate 5000 is used, which behaves like a real controller for simulation purposes.
In the Data Collection tab, assign the project or CSV file that provides access to the tags or items.



Test with OPC Test Client
With the topic configured, RSLinx OPC Server can be accessed. OPC Test Client is used to verify it.
First define the OPC server, RSLinx OPC Server in this case, and then add a group.



Add Items and Validate Quality
Add items from the OPC Test Client browser. Navigate through configured topics and select the variables to read.
Finally check variable values and communication quality. When a client is connected, RSLinx shows a padlock on the topic inside DDE/OPC.




Original article published on August 15, 2012.