In the Sercos communication architecture, a master-slave model is employed where the master device orchestrates the communication process and coordinates data exchange with the slave devices. With the master device often being a programmable logic controller (PLC), an industrial PC (IPC), or a motion controller equipped with Sercos master functionality. Slave devices in this setup can range from servo drives to sensors and actuators, which respond to the master's commands and provide real-time data crucial for industrial automation application. Widely adopted across a spectrum of industrial domains, Sercos protocol variants include:
Sercos I/II
In this variant, the master device communicates with multiple slaves over high-speed fiber optic or copper cables. This setup provides deterministic, real-time communication for precise motion control and synchronization in industrial automation applications This protocol supports cyclic data exchange, ensuring synchronous system operation. Sercos I use synchronous serial communication via fiber optic cables, while Sercos II offers enhancements like expanded device support and improved transmission rates. Both variants utilize token passing for communication, where the master controls data exchange by passing tokens to slaves in a predefined sequence.
Sercos III
Sercos III advances from Sercos I/II by adopting Ethernet as its physical layer, enhancing bandwidth and compatibility with standard Ethernet networks. It caters to both real-time and non-real-time communication needs. Leveraging Ethernet-based communication, it employs standard TCP/IP and UDP/IP protocols for non-real-time data exchange alongside real-time communication. Unlike Sercos I/II, Sercos III utilizes Ethernet's built-in mechanisms for data transmission, eliminating the need for token passing. Notably, Sercos III integrates safety functions directly into the protocol, meeting international safety standards.
At the heart of this system lies the OSI model, which organizes the various layers involved in Sercos communication. The physical layer of the OSI model is responsible for the physical transmission of data over the network medium. It defines various characteristics, including the types of cables and connectors used, as well as the transmission rates. The data link layer, on the other hand, ensures the reliable transmission of data frames between devices, encompassing frame structuring and error handling.
Sercos supports different cable types, such as fiber-optic and copper cables, to suit various industrial environments. Fiber-optic cables are particularly suited for long-distance communication due to their high noise immunity, while copper cables offer a more cost-effective solution for shorter distances. Connectors commonly used in Sercos networks include SC and ST connectors for fiber optics, and RJ45 connectors for copper cables. The transmission rates across Sercos variants can range from 2 Mbps to 100 Mbps, facilitating efficient and fast data exchange that is essential for real-time monitoring and control of industrial processes.
At the data link layer of the OSI-Model, Sercos organizes data into frames that consist of a header, payload, and trailer. The header includes control information such as the frame type and destination address, the payload carries the actual data, and the trailer contains error detection and correction codes to ensure the integrity of the data during transmission. Robust error handling mechanisms, like cyclic redundancy check (CRC), are implemented to detect and correct any errors, thereby maintaining reliable communication within industrial setting.
The transport layer, or Layer 4, plays a pivotal role in Sercos networks by facilitating end-to-end communication between devices. It provides essential services such as error detection, flow control, and data segmentation, ensuring that data exchange is both reliable and efficient.
Real-time data transmission is a pivotal aspect of Sercos, as it allows for precise control and synchronization of devices within industrial settings. This ensures that essential data, such as position and velocity commands, are exchanged within predefined time intervals, which is vital for the timeliness of control actions. Deterministic communication is another integral feature of Sercos, guaranteeing that data packets are delivered within known and consistent timeframes. This predictability in communication latency is indispensable for applications that require exact timing, like motion control and synchronization tasks.
Safety is directly integrated into the Sercos protocol, which complies with international safety standards such as IEC 61508 and SIL (Safety Integrity Level) requirements. By incorporating safety functions directly into the communication protocol, Sercos facilitates the implementation of safety-critical applications while ensuring interoperability with standard automation processes.
Sercos supports various network topologies, including line, ring and hybrid configurations, catering to diverse industrial automation requirements.