How Do I Use LabVIEW DSC With a CTI 2500-c200 PLC? Primary Software: LabVIEW Modules>>DSC ModulePrimary Software Version: 8.5 Primary Software Fixed Version: N/A Secondary Software: Utility Software>>Server Explorer
Problem: I have a PLC from Control Technology, Inc. How do I interface with it using LabVIEW DSC? Solution: The first step is to verify the PLC is on the same subnet as your computer. You can connect the PLC to your PC using a crossover cable and set both devices to have static IP addresses, or you can connect both to a router and have them automatically acquire addresses. In either case, you should be able to ping the PLC from your PC with success. The next step is to configure an OPC server using the NI Server Explorer. Create a new OPC Server Channel and select the device driver to be 'Simatic 505 Ethernet'. Once this has been created, you can add a new device. Choose '505-CP2572' as the device model and specify the IP address of the PLC. The port needs to be 1505 and TCP communication is the only supported protocol. Beyond this, the default settings can be left alone. The last step is to create the tags needed to read from the specific addresses on the PLC. Now that the communication has been configured and the tags created, we can go into LabVIEW and create an OPC client to allow access to the data on the PLC. We can then create shared variables that will bind to the tags we created earlier. Now when we read these shared variables, they should display the data on the PLC. Refer to the Related Links section for more information. Related Links: Product Manuals: LabVIEW 8.5 DSC Module KnowledgeBase 4DJ3022K: Cannot Create New IO Server in Project Attachments:
Report Date: 06/10/2008 Last Updated: 06/12/2008 Document ID: 4M9D8QNX |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
