cancel
Showing results for 
Search instead for 
Did you mean: 

EtherCAT Questions: cyclic & acyclic communication, scheduling, latency

HellCoder
New Poster

EtherCAT Questions: cyclic & acyclic communication, scheduling, latency

Hi together, 

I want to share some informations and answers to frequent asked questions I´ve got from several customers:

 

Q1: The EtherCAT communication is a part of the datalayer and integrated in it. How is the cycle time for updating cyclic process data (send and receive)? Is this cylce time configurable?

Q2: When and how is the image of the I/O prcess data stored in the data layer?

Q3: Which additional latencies can the data layer occure?

Q4: Is it possible to create an acylic communication between the Master and Slave? An how can it be done?

Q5: Who is responsible for the start of an acyclic communication? Time scheduling and free slots on data canal?

Q6: Other competitors support an EtherCAT communication with a standard office switch in the topology. If you use an office switch in the ctrlX system, they appears an error "topology mismatch". Why?

 

A1: the standard configuration is 2ms. At the moment there is no other configuration possible. It isn´t configurable for now, but in further relases it will be configurable. The minimum cycle time will be >1ms. The Focus in wave1 is on Applications >1ms cycle time.

 

A2: The image of the inputs of the process data is stored at the beginning of a plc cycle. The image of the outputs of the process data is stored at the end of a plc cycle. This is typical behaviour of an embedded plc system. 

In PLC Engineering you can configure a PLC task which is triggered by an external Event "TASK_EXTERNAL_EVENT_07". If you do this, your plc task is always running in the EtherCAT buscycle Task. Please don´t define a priority <14 for your task for now.

 

A3: the system guarantees a equidistant actualisation of the I/Os in the configured cycle time.

Latencies can occure in the operation of the plc programme, but the I/O conditions are always consistent due to the exact "latch" of the image of the process datas. The DC Sync functionality guarantees the synchonous operation between Master / Slave and Slave / Slave.

 

A4: Yes it is. In the first releases we support only SoE communication via EtherCAT. So you can only read and write acyclic S and P Parameters and you need a slave, which support SoE communication e.g. our ctrlX Drive or Indradrive CS...

In future we implement also CoE and it should be released on November 2020. So in this case, you can also read and write SDO via EtherCAT and you can realize an acyclic communication for EtherCAT slaves, which support only CoE.

In PLC Engineering for example, you can find the commands for an acyclic communication in the library: "CXA_ETHERCATMASTER". Further libraries will be provided, if CoE is released.

 

A5: As soon as the functional block is triggered with an rising edge on the Execute input, the acyclic communication is started. The command is added to the queue of the EtherCAT message box and the communication is running. 

 

A6: Some competitors identify the network type before they start the EtherCAT communication. If they detect a network device, which supports no realtime communication, they change the type of the network communication and use UDP/IP communication instead. But in this case, the realtime communication is switched to a non realtime communication, too. So you can not guarantee a real time behaviour.

Our focus is embedded control systems and because of this, we only use hard realtime communication which is defined by Ethertype 0x88A4 (OSI Layer2 based communication). And in this case, it is not possible to use standard office switches without any realtime support.

Tags (2)
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