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

Ethercat Questions - problem with configuring RTA Analog and Encoder modules.

Ethercat Questions - problem with configuring RTA Analog and Encoder modules.

MassimoG
Member

Hello !

I ask your help for a problem I running into with RTA Ethercat modules as described in the subject.

As a matter of fact, on datalayer I can only see 1 analog input out of 8 available on RTA Ethercat Analog module.

Alike, I can see  only 1 encoder out of 3 available when I use RTA Ethercat Encoder module. 

Accordingly, from PLC via DataLayer I can only read 1 analog and 1 encoder.

Ethercat configuration seems right to me for both modules.

I attached to this message the XML file from RTA and two zip file. One for each of the modules including its Ctrlx I/O Engineering project.

I thank in advance for your assistance or for suggesting any alternative product you already tested for analog and encoder input.

Regards,

Massimo

 

 

( Analog module ) 

ctrlX EtherCat master status.PNG

ctrlXEtherCat DataLayer.PNG

EtherCat master config.PNG

 

( Encoder module )

ctrlX EtherCat master status.PNG

ctrlXEtherCat DataLayer.PNG

EtherCat master config.PNG

   

2 REPLIES 2

CodeShepherd
Community Moderator
Community Moderator

As our Data Layer is addressing all the data by its name there is a problem with the XML file you provided. As all data is named the same ("Value"):

 

...
Outputs</Name>
					<Entry>
						<Index>#x7000</Index>
						<SubIndex>1</SubIndex>
						<BitLen>16</BitLen>
						<Name>Value</Name>
						<DataType>INT</DataType>
					</Entry>
					<Entry>
						<Index>#x7000</Index>
						<SubIndex>2</SubIndex>
						<BitLen>16</BitLen>
						<Name>Value</Name>
						<DataType>INT</DataType>
					</Entry>
					<Entry>
						<Index>#x7000</Index>
						<SubIndex>3</SubIndex>
						<BitLen>16</BitLen>
						<Name>Value</Name>
						<DataType>INT</DataType>
					</Entry>
...

 

the internal IO memory map is correct,

 

{
    "variables": [
        {
            "name": "P379/First_bank_Analog_Inputs.Value",
            "bitoffset": 80,
            "bitsize": 16,
            "type": "types/plc/int"
        },
        {
            "name": "P379/First_bank_Analog_Inputs.Value",
            "bitoffset": 96,
            "bitsize": 16,
            "type": "types/plc/int"
        },
        {
            "name": "P379/First_bank_Analog_Inputs.Value",
            "bitoffset": 112,
            "bitsize": 16,
            "type": "types/plc/int"
        },
...

 

but because of the names the Data Layer adds them as one datum.

I tried manipulating the XML file just adding a number to the name and increasing the revision

 

...
Outputs</Name>
					<Entry>
						<Index>#x7000</Index>
						<SubIndex>1</SubIndex>
						<BitLen>16</BitLen>
						<Name>Value</Name>
						<DataType>INT</DataType>
					</Entry>
					<Entry>
						<Index>#x7000</Index>
						<SubIndex>2</SubIndex>
						<BitLen>16</BitLen>
						<Name>Value1</Name>
						<DataType>INT</DataType>
					</Entry>
					<Entry>
						<Index>#x7000</Index>
						<SubIndex>3</SubIndex>
						<BitLen>16</BitLen>
						<Name>Value2</Name>
						<DataType>INT</DataType>
					</Entry>
...

 

and it seems to work:

Data Layer UI RTA analog moduleData Layer UI RTA analog module

EDIT: From ctrlX IO Engineering version 1.18 on (Coming up mid of December) you can also rename the channels after adding them. But for now manipulating the XML file is the only workaround.

For the "Encoder" the problem is similar but the PDO lists have the same name and must be renamed. This is already possible via the engineering.

Thanks a lot for you support. 

I will go on with the workaround of manipulating the XML just for testing with our customer.

Probably, the by the time of commissioning I'll be be taking advance of ctrlX IO Engineering version 1.18.

Regards,

Massimo

 

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