Personal Data

Username:
jm322
Joined:
2022-04-07 08:55:59

Projects

  • No projects to display.

User Activity

  • Modified a comment on discussion Engineering 🇬🇧 on CODESYS Forge

    I have a script that opens a project, gets the project's top level device and tries to set its gateway and the soft-PLC's IP address. To get the gateway and set the address I tried both of the following code snippets: gateway = list(online.gateways)[0] top_device.set_gateway_and_ip_address(gateway, PLC_IP, int(PLC_PORT)) print("Set Gateway: {} | PLC: {}:{}".format(gateway.name, PLC_IP, PLC_PORT)) gateway = top_device.get_gateway() top_device.set_gateway_and_ip_address(gateway, PLC_IP, int(PLC_PORT))...

  • Posted a comment on discussion Engineering 🇬🇧 on CODESYS Forge

    I have a script that opens a project, gets the project's top level device and tries to set its gateway and the soft-PLC's IP address. To get the gateway and set the address I tried both of the following code snippets: gateway = list(online.gateways)[0] top_device.set_gateway_and_ip_address(gateway, PLC_IP, int(PLC_PORT)) print("Set Gateway: {} | PLC: {}:{}".format(gateway.name, PLC_IP, PLC_PORT)) gateway = top_device.get_gateway() top_device.set_gateway_and_ip_address(gateway, PLC_IP, int(PLC_PORT))...

View All