I want to use 750-652 module with EtherCAT Coupler.
Is there some way to create instance of
I_Port |
WagoTypesCom.I_WagoSysComBase |
|---|
to continue use FbMbMasterSerial function block?
or at least FbSerialInterface?
I want to use 750-652 module with EtherCAT Coupler.
Is there some way to create instance of
I_Port |
WagoTypesCom.I_WagoSysComBase |
|---|
to continue use FbMbMasterSerial function block?
or at least FbSerialInterface?
Hi,
You can use WagoSysFieldbusModule.FbModule_75x_652 library to create a I_Port.
VAR
_abPi : ARRAY[0..47] OF BYTE;
_abPo : ARRAY[0..47] OF BYTE;
_oCom1 : WagoSysFieldbusModule.FbModule_75x_652;
END_VAR
_oCom1.SetNewPaInputs(ADR(_abPi),TO_USINT(SIZEOF(_abPI)));
_oCom1.GetNewPaOutputs(ADR(_abPo),TO_USINT(SIZEOF(_abPo)));
Where _abPI and _abPO are the process image of your 75x-652, from your EtherCAT communication, and _oCom1 is the I_Port you can simply use at the input of your function block.
Hello, @quenorha
Does this method work with PLCs from other manufacturers? Is it possible to use WAGO libraries with other PLCs (Codesys 3.5) to work with WAGO EtherCAT couplers?
Hello @Andrew,
As far as I know WAGO libraries are licensed for WAGO devices only.
So Iām not sure.
Maybe you can try importing the WagoSysFieldbusModule library in your CODESYS environment and check if you have license error while running it.
Which PLC do you use ?