Sercos III is the third generation of the Sercos interface, a standardized open digital interface for the communication between industrial controls, motion devices, input/output devices (I/O), and Ethernet nodes, such as PCs. Sercos III applies the hard real-time features of the Sercos interface to Ethernet. It is based upon the Ethernet standard (IEEE 802.3 and ISO/IEC 8802-3). Work began on Sercos III in 2003, with vendors releasing first products supporting it in 2005.
General architecture To achieve the throughput and jitter requirements in Sercos applications, Sercos III operates primarily in a Master/Slave arrangement exchanging cyclic data between nodes. The master initiates all data transmission during a Sercos real-time cycle. All data transmissions begin and end at the master (circular).
Sercos III cycle
Communication across a Sercos III network occurs in strict cyclic intervals. A cycle time is chosen by the user for a given application, ranging from 31.25 μs to 65 ms. Within each cycle, data is exchanged between Sercos III nodes using two types of telegrams: MDTs and ATs (see Telegram Types). After all MDTs and ATs are transmitted, Sercos III nodes allow the remaining time in the cycle to be used as an UC (Unified Communication) Channel, which can be used to exchange data using other formats, such as IP. The network remains available to UCC traffic until the next cycle begins, at which time Sercos III closes the nodes to UCC traffic again. This is an important distinction. Sercos is purposely designed to provide open access at all ports for other protocols between cyclic real-time messages. No tunneling is required. This provides the advantage that any Sercos III node is available, whether Sercos III is in cyclic mode or not, to use other protocols, such as TCP/IP, without any additional hardware to process tunneling. Sercos nodes are specified to provide a store and forward method of buffering non-Sercos messages should they be received at a node while cyclic communication is active.
Telegrams
Telegram format All Sercos III telegrams conform to the IEEE 802.3 and ISO/IEC 8802-3 MAC (media access control) frame format.
Destination address The destination address for all Sercos III telegrams is always 0xFFFF FFFF FFFF (all 1s), which is defined as a broadcast address for Ethernet telegrams. This is because all telegrams are issued by the master, and are intended for all slaves on the network. Source address The source address for all Sercos III telegrams is the MAC address of the master, as it issues all telegrams. Ethernet type A unique EtherType value has been assigned via the IEEE EtherType Field Registration Authority for Sercos III (0x88CD). Sercos III header The beginning of an Ethernet-defined data field always begins with a Sercos III header, which contains control and status information unique to Sercos. Sercos III data field The Sercos III header is followed by the Sercos III data field, which contains a configurable set of variables defined for each device in the network.
Telegram types Two main types of telegrams are used within the Sercos III Cycle. The Master Data Telegram (MDT) and the Acknowledge Telegram (AT). Both telegram types are issued by the master (control). The MDT contains information provided by the master to other devices. It is filled by the master and read by other devices. The AT is issued by the master but is populated by each other device with appropriate response data (feedback values, input states, etc.). More than one device uses the same AT, filling in its pre-determined area in the AT telegram, updating checksums, and then passing the telegram to the next device. This method reduces the Ethernet frame overhead's impact on the network's performance without compromising IEEE 802.3 and ISO/IEC 8802-3. The amount of data sent from the master to other devices and the sum of the data returned by the other devices may exceed the 802.3-specified maximum 1500-byte data field size. To comply with this limit, Sercos III may use more than one MDT telegram in a cycle and more than one AT telegram (up to 4 in each case).
Synchronization To achieve true hard real-time characteristics, Sercos III, like Sercos I and II, uses a form of synchronization that depends upon a synchronization “mark” issued by the master control at exact equidistant time intervals. All nodes in a Sercos network use this telegram to synchronize all activities in the node. To account for variations in network components, delays are measured in the node-to-node transmissions during the phase-up (initialization) of a Sercos network, and those values are compensated for during normal operation. Unlike Sercos I and II, where a separate Master Sync Telegram, or MST is used for this purpose, Sercos III includes the MST in the first MDT transmitted. No separate telegram is issued. The time between two MSTs is exactly equal to the designated Sercos cycle time, Stacy. The synchronization process ensures that cyclical and simultaneous synchronization of all connected devices occurs independently of topology and the number of devices in Sercos networks.
Physical and data link layers Sercos III supports standard IEEE 802.3 and ISO/IEC 8802-3 100BASE-TX or 100BASE-FX (100 Mbit/s baseband) full duplex physical layer (PHY) entities. 802.3-compliant Media-Access Controller (MAC) sub-layers are used. Auto-negotiation must be enabled on each PHY, but only 100 Mbit full duplex is supported. Auto (MAU [Media Attachment Unit]-Embedded) Crossover is specified between the two Physical Medium Attachment (PMA) units present with a duplex port. These two units are referred to as the Primary Channel and Secondary Channel in the Sercos III specification. Dual interfaces are required (two duplex interfaces per device). Within the Sercos III specification, the dual interfaces are referred to as P1 and P2 (Ports 1 and 2).
Wiring Installing a Sercos network does not require infrastructure components such as switches or hubs, and all devices are interconnected by patch or crossover cables The Ethernet ports on the devices are interchangeable and can be used to connect standard Ethernet devices such as notebook computers to network. Every Ethernet and IP protocol on Sercos devices can be accessed without interfering with the real-time protocol and without requiring the real-time operation to be activated.
… excerpt ends here. Continue reading the full article.





