Hi all,
I am trying to get device data by Ethernet/IP. I add a "Generic_EtherNet_IP_device" under "Ethernet_IP_Scanner". Refer from https://help.codesys.com/webapp/rAlrUyiOs68zj7UlZdXT0yImTJI%2FGeneric_Service;product=EtherNetIPServices;version=3.5.12.0 to add Generic_Service (FB). But I do not know what the variable "WAGO_750_352_FC_ETHERNET" means. I try to add a variable "MOXA_E1242: ENIP.IEtherNetIPService;". How to set the related parameters like IP address.
( Get E1242 Assembly Input Data of BYTE ) dut.xExecute := trigger; dut.itfEtherNetIPDevice := MOXA_E1242; dut.eClass := ENIP.CIPClass.AssemblyObject; ( 4 ) dut.dwInstance := 16#65; dut.wAttribute := 16#3; dut.eService := ENIP.CIPCommonService.GET_ATTRIBUTE_SINGLE; dut.pReadData := ADR(bytDataArray); dut.udiReadDataSize := 63; dut();
BR
Hello,
not sure if this works for you but I have found the following description here:
https://faq.codesys.com/pages/viewpage. ... Id=1310885
Best Regards plcmax
Log in to post a comment.
Hi all,
I am trying to get device data by Ethernet/IP. I add a "Generic_EtherNet_IP_device" under "Ethernet_IP_Scanner".
Refer from https://help.codesys.com/webapp/rAlrUyiOs68zj7UlZdXT0yImTJI%2FGeneric_Service;product=EtherNetIPServices;version=3.5.12.0 to add Generic_Service (FB).
But I do not know what the variable "WAGO_750_352_FC_ETHERNET" means.
I try to add a variable "MOXA_E1242: ENIP.IEtherNetIPService;". How to set the related parameters like IP address.
( Get E1242 Assembly Input Data of BYTE )
dut.xExecute := trigger;
dut.itfEtherNetIPDevice := MOXA_E1242;
dut.eClass := ENIP.CIPClass.AssemblyObject; ( 4 )
dut.dwInstance := 16#65;
dut.wAttribute := 16#3;
dut.eService := ENIP.CIPCommonService.GET_ATTRIBUTE_SINGLE;
dut.pReadData := ADR(bytDataArray);
dut.udiReadDataSize := 63;
dut();
BR
Hello,
not sure if this works for you but I have found the following description here:
https://faq.codesys.com/pages/viewpage. ... Id=1310885
Best Regards
plcmax