You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am using the following code to read data from a CLX PLC, But I can't find a simple example to write data! I have found many complicated examples of writing multiple items with confusing code that I can't understand! I just need to write a value of 1 to a BOOL. Please Please HELP?
Python3.7
def Read_EIP(t_name, ethip_port):
portLink = "route_path = [{'link':1,'port':0}]" # Open the communications port
source = proxy(ethip_port)
for read_data in source.read(t_name, portLink): # Read the data
rd = read_data
return rd
The text was updated successfully, but these errors were encountered:
Hi, I am using the following code to read data from a CLX PLC, But I can't find a simple example to write data! I have found many complicated examples of writing multiple items with confusing code that I can't understand! I just need to write a value of 1 to a BOOL. Please Please HELP?
Python3.7
def Read_EIP(t_name, ethip_port):
portLink = "route_path = [{'link':1,'port':0}]" # Open the communications port
source = proxy(ethip_port)
for read_data in source.read(t_name, portLink): # Read the data
rd = read_data
The text was updated successfully, but these errors were encountered: