Direct Communication with Compact/ControlLogix and Micro800 using Python.

Old Man

Member
Join Date
Oct 2022
Location
Illinois
Posts
89
Read and write the Tags direct using pycomm3 and LogixDriver.
Just in case anybody wanted to know.

Here's a sample:

from pycomm3 import LogixDriver

def read_single():
with LogixDriver('192.168.1.10') as plc:
return plc.read('Start') //This is the Tag Name

print(read_single())

def write_single():
with LogixDriver('192.168.1.10') as plc:
return plc.write('Start', 1)

print(write_single())
 

Similar Topics

Hi all I have micro logix 1200 and automation direct panel (EA9-T6CL). I have downloaded .RSS file in micrologix 1200 using 1761-CBL-PM02...
Replies
3
Views
1,804
Is this even possible? I need to get a string from a controllogix L64 processor into a Productivity3000. I've tried SLC type writes and CIP data...
Replies
2
Views
1,770
Hello, please help me. I have big problem with communication between DASSIdirect 3 SP1 and S7-417H. I communicate over 5500 tags. There is VERY...
Replies
1
Views
3,848
Is it possible to Go Online or Download changes to a MicroLogix 1200 that's connected to a Panel View Plus 600 (without unplugging the Panel View...
Replies
4
Views
7,688
Hello All siemens expert Here I have attached two file (1) about port setting (2) server setting. Again I mention all those in brief: A. about...
Replies
2
Views
10,461
Back
Top Bottom