Gargamel Posted July 13, 2022 Report Share Posted July 13, 2022 Hi. How and where do i start so i can have some python scripts interact with the UniLogic plc? (USC-B10-T24) I wish to read out some information that exists in the plc, and i wish to be able to set some variables. Quote Link to comment Share on other sites More sharing options...
DanT Posted July 14, 2022 Report Share Posted July 14, 2022 Hi; Since UniLogic will not support anything Python, here are 2 possible methods: UniLogic Supports Modbus Protocol You can get Modbus Libraries for Python Unitronics has a feature called Message Composer -- you can create text based messaged with variables Create messages in Python and in UniLogic to exchange data. Get the UniLogic Example Programs Zip file. Under Communications - Protocol there are some example to give you ideas. DanT Quote Link to comment Share on other sites More sharing options...
Gargamel Posted July 14, 2022 Author Report Share Posted July 14, 2022 54 minutes ago, DanT said: Hi; Since UniLogic will not support anything Python, here are 2 possible methods: UniLogic Supports Modbus Protocol You can get Modbus Libraries for Python Unitronics has a feature called Message Composer -- you can create text based messaged with variables Create messages in Python and in UniLogic to exchange data. Get the UniLogic Example Programs Zip file. Under Communications - Protocol there are some example to give you ideas. DanT Thank you. I'll have a check to see were it gets me with the example file. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.