Closed DankoCaboski closed 3 months ago
GetService de NetworkInterface para a interface PROFINET
network_interface_type = hwf.NetworkInterface
print("Tipo network_interface_type: ", type(network_interface_type))
getServiceMethod = device.GetType().GetMethod("GetService").MakeGenericMethod(network_interface_type)
networkInterface = getServiceMethod.Invoke(device, None)
Faltam validações de condicionais más funciona
Usar a seguinte lógica para acessar o primeiro node do device
networkInterface.Nodes[0]
Create project with assigned IP address and wired ports for all devices as shown in the image