cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

ctrlX PLC Access XF51 Ethernet Port for CXA ModbusTCP Communications

ctrlX PLC Access XF51 Ethernet Port for CXA ModbusTCP Communications

tj_tatum
New Poster

I'm working on a project that will need two different Modbus TCP Networks.  I have the one out of the XF10 Engineering port working fine using the CXA_ModbusTCP 1.8.0.1 Library.  I can read and write data to the Rexroth Inline I/O and a third part stepper motor.  I want to add another network from the ctrlX Core on the XF51 port (or the XF50; I believe it's dedicated to EtherCAT though).

I can't see a way in the ctrlX PLC to add the ethernet port designation with CXA_ModbusTCP library.  I do see the etherent port configuration in the ctrlX Core web interface under settings - connectivity.  There are two ports eth0 and eth1.  eth0 is set to the IP address that is currently working in my ctrlX PLC program.  Can I set eth0 to another IP address and create another network accesable by the plc app?

 

Regards,

T. J. Tatum

4 REPLIES 4

tj_tatum
New Poster

I found a work around by creating a bridge between the eth0 and eth1 in the ctrlX Core per this post:

 

How to add a network bridge to the ctrlX CORE?

This will get my application working, but I would still like to know if it is possible to access the XF51 port for modbus or WebView without creating the bridge in the ctrlX Core.

Port XF50 is dedicated to EtherCat only.

XF10 and XF51 can be used as standard ethernet ports or for other ethernet based protocols. These protocols are linked to IP adresses so the XF51 just has to be configured for that purpose.

 

Hi tj_tatum,

you can just assign multiple networks/ip-addresses to one port of the ctrlX CORE.

Like here in the picture for eth0.

Just make sure the networks are not overlapping and you do not have the same network on eth0 and eth1.

For example having 192.168.5.1/24 on both, eth0 and eth1 is not allowed.

The PLC is using all of the ports.

TheCodeCaptain_0-1639637190704.png

 

Re: Modbus TCP PLC App with Codesys

Dear All,

Customer want to use our CtrlX Core (Modbus TCp IP protocol) connect to BACnet IP via Intesis gateway as link:

https://www.intesis.com/products/protocol-translator/bacnet-gateways/bacnet-client-modbus-server-ibo...

Do anyone have experience about this gateway.

Do we need any recheck, please help me

And they ask:

  1. . How many server does a Ctrl X Core (client) can connect to
  2. . How many register could CtrlX Core read in once times

As I check here, there is no limit information:

https://docs.automation.boschrexroth.com/doc/1616011786/il-modbustcpclient/latest/en/

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