cancel
Showing results for 
Search instead for 
Did you mean: 

How to use ctrlX CORE to communicate to 3rd party HMI via Codesys V3 protocol?

CodeShepherd
Community Moderator

How to use ctrlX CORE to communicate to 3rd party HMI via Codesys V3 protocol?

We would like to use ctrlX CORE to communicate to a 3rd party HMI via Codesys V3 protocol.

I followed this instruction:
https://forum.codesys.com/download/file.php?id=3720

I exported the XML file out of the symbol configurator and the then used the software of 3rd party HMI to import the XML file successfully.
Then I tried to change the variables in the ctrlX CORE PLC but I can not see any changes on the display of the HMI.

Is there a standard driver included that does the communication or do I have to set it up on my own with a library like this:
https://de.codesys.com/produkte/codesys-communication/standard-ethernet.html

1 REPLY 1
Chris-SAE
New Poster

Re: How to use ctrlX CORE to communicate to 3rd party HMI via Codesys V3 protocol?


Dear colleagues,

We did some testing in the office and we also visited the customer and together did some testing on field.
We updated the CtrlX Works version to 1.10.

Test01: Use XM21 controller do communication with 3rd party HMI via Codesys V3 protocol
The firmware version of XM21 is 14V22 P7.
The customer has one XM21 controller on their machine and already had the programing on it.
We use the HMI software select to use Codesys V3 protocol and setup the XM21 controller IP address.
And then we push the “Get Tag information” button.
The HMI software display get tag information successfully.
The HMI software can directly get the variable tag, those variable are the same as our symbol configuration.
The communication working correctly between XM21 controller and HMI simulation.
I use the CML65 controller did the same testing also got the same result in my office.
The Indraworks version is 14V18 when I use the CML65 controller.
The reason is the CML65 always got crash after we upgraded the CML65 firmware to 14V22.
The library we used on the CML65 as below picture.

ChrisSAE_0-1635408129228.png

 

Test02: Use CtrlX Core do communication with 3rd party HMI via Codesys V3 protocol
We add the Network library and all other library we used on the CtrlX Core as below picture.

ChrisSAE_1-1635408142154.png

We use the HMI software select to use Codesys V3 protocol and setup the CtrlX core IP address.
And then we push the “Get Tag information” button but HMI software display failed to get tags.
We also try to use the document descript to import tags.
The HMI software display imported tag information successfully.
But the communication not working correctly between CtrlX Core and HMI simulation.

Could you help us check which Codesys library are missing in the library manager?

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