Follow these steps to configure the National Instruments OPC Server and connect to your Allen Bradley Micrologix 1400 PLC:
- Go to Start >>Search>>National Instruments >> NI OPC Sever.
- When you have NI OPC Server open, click on File >> New.
- If a dialog box appears mentioning that a certain number of clients are going to be disconnected, click on the Yes button and select that the changes are not saved.
- Then click on Click to add a channel.

- Set a name to the channel, for example: Motor Control.

- Click on Next.
- From the list of Device Driver, select ControlLogix Ethernet.

- Click on Next.
- Select the network adapter, preferably use the default adapter.

- Click on Next.
- In the summary window, click on Finish.

- Click on Click to add a device.

- Enter a name for your device.

- Select Next.
- From the Device Model drop-down menu, select Micrologix 1400.

- Click on Next.
- In the Device ID field, set the IP address of your PLC (example 192.168.0.100).
- Note: The IP address depends on your PLC, it is recommended to ping the device address to make sure there is communication with it before configuring the OPC Server.

- Click on Next.
- In the Summary window, click on the Finish button.

- Now all that remains is adding the tags. To do this, click on the area where it says: Click to add a static tag. Tags are not required, but are browsable by OPC clients.
- Note: alternatively, you can click the tag icon directly in the taskbar.


-
- Below is an example of a label to writing a single Boolean line: Output of port zero, line 0 (O: 0/0) Micrologix.

-
- Below is an example of a label to a word: Input of word 71 (I: 71)

Note: For more information on the appropriate syntax, refer to the Help »Driver Help and select the ControlLogix Ethernet driver for this case. Within the help navigate to ControlLogix Ethernet »Address Descriptions» Micrologix 1400 Addressing. From the menu you can select Output Files, Input File, Timer Files, Counter Files, etc.