cancel
Showing results for 
Search instead for 
Did you mean: 

Connect Weintek cMT2078X to ctrlX PLC via Codesys V3

Connect Weintek cMT2078X to ctrlX PLC via Codesys V3

_JC_
Occasional Visitor

 

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:

_JC__1-1728394747555.png

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

_JC__2-1728394838561.png

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

_JC__3-1728395211500.png

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:

_JC__4-1728395402765.png

Any direction would be appreciated!

 

 

 

 

2 REPLIES 2

CodeShepherd
Community Moderator
Community Moderator

CodeShepherd
Community Moderator
Community Moderator

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.

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist