Connect Weintek cMT2078X to ctrlX PLC via Codesys V3

 

I'm trying to get a Weintek cMT2078X (EasyBuilder Pro V6.09.02.338) talking to CtrlX Core PLC (v1.20.07) via Codesys V3 (Ethernet).

I have the XF51 port on the PLC set up to be 192.168.1.5.  I have set up the Symbol Configuration inside the PLC and exported my .xml file.

In the Weintek software I have added a Codesys V3 device and imported the tags.  The setup is as follows:

When I scan the network through the Weintek device settings scan utility it shows:

However, on the PLC side, the port number is 11740 and isn't editable:

On my HMI I created a Test label and single button on the main screen to test data and I'm still getting a connection error:

Any direction would be appreciated!

 

 

 

 

Best reply by CodeShepherd

First of all beware that XF10 and XF51 must not be in the same subnet, e.g. 192.168.1.x/24, as this prevents the network from sending the messages to the correct port.

The port for PLC communication should not be changed as this is used for communication between the programming environment on the PC and the PLC runtime on the ctrlX OS using our PLC gateway.

Please also beware that in the latest CODESYS version used the V3 communication client needs to be able to use encrypted communication.

View original
2 replies