Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
414 views

Install OpenOPC and PyComm Library in Python For PLC

This document provides instructions for installing the OpenOPC and PyComm libraries in Python to enable reading data from a PLC. It lists the commands to install pip, then use pip to install OpenOPC and PyComm, including using sudo, -i, and --isolated options as needed. Finally, it shows running a Python script to read from a PLC address as a test.

Uploaded by

akash genji
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
414 views

Install OpenOPC and PyComm Library in Python For PLC

This document provides instructions for installing the OpenOPC and PyComm libraries in Python to enable reading data from a PLC. It lists the commands to install pip, then use pip to install OpenOPC and PyComm, including using sudo, -i, and --isolated options as needed. Finally, it shows running a Python script to read from a PLC address as a test.

Uploaded by

akash genji
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Install OpenOPC and PyComm library in python for PLC

159 clear
160 python read_plc.py
161 python read_plc.py -i F8:0
162 python read_plc.py -i F8\:0
163 clear
164 pip install OpenOPC
165 apt-get install python-pip
166 sudo apt-get install python-pip
167 pip install OpenOPC
168 pip install --upgrade pip
169 pip install OpenOPC
170 sudo apt-get install python-pip
171 sudo apt autoremove
172 pip install OpenOPC
173 pip install --isolated OpenOPC
174 pip install pycomm
175 sudo pip install pycomm
176 sudo pip install --isolated OpenOPC
177 sudo -i
178 python read_plc.py -i F8:0
179 poweroff

You might also like