Replies: 4 comments 2 replies
-
Please see our examples, pymodbus server seems to offer what you require. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Maybe the simultator would be a better fit. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Is there any way to get values in the modbus tcp server internally? I had online a pymodbus tcp server a while ago and it seems that once is running, there is no way to get values internally.
So a possible solution maybe is to have a client and write on its self. 127.0.0.1.
What do you think?
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: jan iversen ***@***.***>
Sent: Saturday, August 3, 2024 7:41:46 PM
To: pymodbus-dev/pymodbus ***@***.***>
Cc: Bambos Damianou (Green Energy & Beyond) ***@***.***>; Author ***@***.***>
Subject: Re: [pymodbus-dev/pymodbus] Modbus Soft PLC Using modbus TCP Server and Modbus TCP Client (Discussion #2281)
Maybe the simultator would be a better fit.
—
Reply to this email directly, view it on GitHub<#2281 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJXX3VOLSQ2SZRTZA2TXJR3ZPUB4VAVCNFSM6AAAAABL6BGQ5CVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMRTGE2TKMY>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
2 replies
-
Thanks a lot ! I will work on those two options you suggested.
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: jan iversen ***@***.***>
Sent: Saturday, August 3, 2024 8:58:32 PM
To: pymodbus-dev/pymodbus ***@***.***>
Cc: Bambos Damianou (Green Energy & Beyond) ***@***.***>; Author ***@***.***>
Subject: Re: [pymodbus-dev/pymodbus] Modbus Soft PLC Using modbus TCP Server and Modbus TCP Client (Discussion #2281)
Simulator is not more than an enhanced datastore + server + optional http, as documented.
—
Reply to this email directly, view it on GitHub<#2281 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJXX3VPIVFNTGSYE3PXXHBDZPUK4RAVCNFSM6AAAAABL6BGQ5CVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMRTGE3TSNI>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
i'm checking out if is possible and how we can have a soft modbus PLC using the current pymodbus library, and all the functionality of python.
In theory, a modbus PLC have inputs by 2 methods.
a) having a value written on it's modbus TCP Server memory area from another modbus TCP client. (coil or register int16 or float32)
b) having a value read by its self from another modbus server and keep it on it's own registers , or internal variable.
Then there is process, calculations, evaluations, control loops etc.... which python is overpowered of course compared to a PLC.
And then there is outputs. Outputs can be write coil to another device or write register to another device (int16 or float32).
If we can structure all above functionality in functions without interrupt each other and make somehow multitask all the jobs, then is good enough. Is there any included utilities in pymodbus to facilitate this ? can this be achieved with async functions or something ??
any suggestions and comments appreciated. (i'm going to testing)
Beta Was this translation helpful? Give feedback.
All reactions