Sorry for my bad english. I'm trying to read data from an omron-fins plc with a python scripts. I read something but that data are incomprehensible. I use this script
import fins.udp import time fins_instance = fins.udp.UDPFinsConnection() fins_instance.connect('192.168.1.211') #i don't know what i had to write in this fields fins_instance.dest_node_add=211 #i don't know what i had to write in this fields fins_instance.srce_node_add=30 mem_area = fins_instance.memory_area_read(fins.FinsPLCMemoryAreas().CIO_WORD,b'\x00\x51\x06') print(mem_area)that code give me this result :
Output:b'\xc0\x00\x02\x00\x1e\x00\x00\xd3\x00`\x01\x01\x00\x00\x00\x00'
Someone know how can i read understandable integer values?
buran write Jan-14-2021, 05:56 PM:
Please, use proper tags when post code, traceback, output, etc. This time I have added tags for you.
See BBcode help for more info.
Please, use proper tags when post code, traceback, output, etc. This time I have added tags for you.
See BBcode help for more info.