TBLLC
MrPLC Member-
Content count
29 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout TBLLC
-
Rank
Sparky
Profile Information
- Country Russia
-
Omron PLC cs / cj2 read / write data over Python
TBLLC replied to TBLLC's topic in Other Omron Software
Thank you wery mutch for your answer this is very important for me. -
Omron PLC cs / cj2 read / write data over Python
TBLLC replied to TBLLC's topic in Other Omron Software
-
Omron PLC cs / cj2 read / write data over Python
TBLLC replied to TBLLC's topic in Other Omron Software
good news im have a result read D (DM) area memory, use this request: mem_area_dm_word = fins_instance.memory_area_read(FinsPLCMemoryAreas().DATA_MEMORY_WORD,b'\x00\x03\x00') print(mem_area_dm_word) DATA_MEMORY_WORD,b'\x00\x03\x00') = D00003 but it's impossible read D > 100 D1234 for an example, how to create a request? for read D > 100 where to find the author of the library? -
Omron PLC cs / cj2 read / write data over Python
TBLLC replied to TBLLC's topic in Other Omron Software
mem_area = fins_instance.memory_area_read(fins.FinsPLCMemoryAreas().CIO_WORD,b'\x00\x64\x00') CIO reading great worked, thank you very mutch, but how to read D memory? do you have example? Thanks. Where can I find a description of the library? -
Omron PLC cs / cj2 read / write data over Python
TBLLC replied to TBLLC's topic in Other Omron Software
Thank you very mutch for your answer, i will try it, and writing result test. -
Omron PLC cs / cj2 read / write data over Python
TBLLC replied to TBLLC's topic in Other Omron Software
Thank you very mutch for your answer, i will try your suggestion. -
Omron PLC cs / cj2 read / write data over Python
TBLLC replied to TBLLC's topic in Other Omron Software
Good day, i am testing this script and have a simle relesult: but I can’t read the memory of the plc bits and words. i am use this manual for experements: https://github.com/pjkundert/cpppo/files/1088579/EIP21.omron.pdf import sys import time from cpppo.server.enip.get_attribute import proxy_simple from cpppo.server.enip import poll from cpppo.server.enip.get_attribute import proxy_simple as device product_name, = proxy_simple ("192.168.135.60") .read ([('@ 1/1/7', 'SSTRING')]) var1 = product_name print(product_name) if var1 == ['CJ2M-EIP21']: print('connection comp.') data2, = proxy_simple ("192.168.135.60") .read ([('@ 196/0/100', 'INT')]) var2 = data2 if var2 == [4]: print('CPU in execution mode') if var2 == [2]: print('CPU in monitoring mode') if var2 == [1]: print('CPU in stop mode') -
Hi I am looking for a way to read and write data from PLC omron words, bits via FINS or EtherNet/IP protocol using python programming lang. Does anyone have any results in this? I really want to see your work, because all my attempts have failed. Thanks.