ottlukas opened a new issue, #1469:
URL: https://github.com/apache/plc4x/issues/1469

   ### What happened?
   
   Clean Xubuntu install.
   Installed Python 3.11.6
   
   Setup PLC4Py from source using the following source code:
   ```
   import asyncio
   from plc4py.PlcDriverManager import PlcDriverManager
   
   connection_string = "modbus://127.0.0.1:5020"
   driver_manager = PlcDriverManager()
   
   async def communicate_with_plc():
       async with driver_manager.connection(connection_string) as connection:
           with connection.read_request_builder() as builder:
               builder.add_item("Random Tag", "4x00001[10]")
               request = builder.build()
   
       future = connection.execute(request)
       await future
       response = future.result()
   
   asyncio.run(communicate_with_plc())
   ```
   result = PlcResponse(response_code=<PlcResponseCode.NOT_CONNECTED: 12>)
   
   Attached Wireshark Capture: 
   
[plc4py_modbuspal_port5020.zip](https://github.com/apache/plc4x/files/14757528/plc4py_modbuspal_port5020.zip)
   
   
[PLC4Py_ModpusPal_Port5020.txt](https://github.com/apache/plc4x/files/14757553/PLC4Py_ModpusPal_Port5020.txt)
   
   
   ### Version
   
   v0.12.0
   
   ### Programming Languages
   
   - [ ] plc4j
   - [ ] plc4go
   - [ ] plc4c
   - [ ] plc4net
   
   ### Protocols
   
   - [ ] AB-Ethernet
   - [ ] ADS /AMS
   - [ ] BACnet/IP
   - [ ] CANopen
   - [ ] DeltaV
   - [ ] DF1
   - [ ] EtherNet/IP
   - [ ] Firmata
   - [ ] KNXnet/IP
   - [X] Modbus
   - [ ] OPC-UA
   - [ ] S7


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@plc4x.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to