I'm tying to get run a PFC200 as modbus TCP master against a BFI H3 VFD. Beijer provides a library that includes a function block that handles the communication between X2/BoX2 Control and the BFI-H3 VFD.
The thing is that this function block takes ModbusTCPSlave as input.
When I configure the modbus network on the Wago everything have Diag in the type.
E.g.
IoDrvEthernetDiag
IoDrvModbusTCP_Diag
ModbusTCPSlave_Diag
This throws an error when connecting the ModbusTCPSlave_Diag since the FB expects type ModbusTCPSlave.
Is is possible to change the type of the PFC200 so that it is without Diag or can ModbusTCPSlave_Diag be converted to ModbusTCPSlave?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I'm tying to get run a PFC200 as modbus TCP master against a BFI H3 VFD. Beijer provides a library that includes a function block that handles the communication between X2/BoX2 Control and the BFI-H3 VFD.
The thing is that this function block takes ModbusTCPSlave as input.
When I configure the modbus network on the Wago everything have Diag in the type.
E.g.
IoDrvEthernetDiag
IoDrvModbusTCP_Diag
ModbusTCPSlave_Diag
This throws an error when connecting the ModbusTCPSlave_Diag since the FB expects type ModbusTCPSlave.
Is is possible to change the type of the PFC200 so that it is without Diag or can ModbusTCPSlave_Diag be converted to ModbusTCPSlave?
It sounds very complicated what you are trying to do.
See https://faq.codesys.com/display/CDSFAQ/Modbus+master+slave+communication+over+Ethernet for a simple example of a Modbus Master and Modbus Slave configuration.