File tree 1 file changed +3
-3
lines changed
plc4py/tests/unit/plc4py/drivers/modbus
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 30
30
@pytest .mark .asyncio
31
31
async def manual_test_plc_driver_modbus_connect ():
32
32
driver_manager = PlcDriverManager ()
33
- async with driver_manager .connection ("modbus://127.0.0.1:5555 " ) as connection :
33
+ async with driver_manager .connection ("modbus://1 " ) as connection :
34
34
assert connection .is_connected ()
35
35
assert not connection .is_connected ()
36
36
37
37
38
38
@pytest .mark .asyncio
39
- async def test_plc_driver_modbus_read ():
39
+ async def manual_test_plc_driver_modbus_read ():
40
40
driver_manager = PlcDriverManager ()
41
- async with driver_manager .connection ("modbus://127.0.0.1:5555 " ) as connection :
41
+ async with driver_manager .connection ("modbus://192.168.23.12:502 " ) as connection :
42
42
with connection .read_request_builder () as builder :
43
43
builder .add_item ("Random Tag" , "4x00001[10]" )
44
44
request = builder .build ()
You can’t perform that action at this time.
0 commit comments