13 Communication 13.1 Communication Introduction Servo driver can support RS485, CANopen bus type, EtherCAT bus type,MECHATROLINK-II bus type. Here we mainly introduce the related content of general model RS485 communication. Other communication needs to refer to the special communication manual. 485 communications can realize the following functions.
a) Read and write servo driver function code related parameters b) Monitor the working status of the servo drive c) Constitute a multi-axis control system d) Operate the servo assist function 13.2 RS485 Communication Protocol Description Provide RS485 communication interface, the wiring is detailed in CN6, and the master-slave communication is carried out by the international standard Modbus communication protocol. Users can achieve centralized control through PC/PLC, control PC, etc. to suit specific application requirements. The Modbus serial communication protocol defines the frame content and usage format for asynchronous transmission in serial communication. These include:
host polling and broadcast frame, slave response frame format; host organization frame content includes: slave address (or broadcast address), execution commands, data and error check. The response of the slave is also the same structure, including: action confirmation, return data and error check. If the slave encounters an error while receiving a frame, or fails to complete the action requested by the host, it will organize a fault frame as a response to the host. The communication protocol is an asynchronous serial master-slave Modbus communication protocol. Only one device (host) in the network can establish a protocol (called “query/command”).
Other devices (slave) can only respond to the host's “query/command” by providing data, or according to the host's “query/command”. The host here refers to a personal computer (PC), an industrial control device or a programmable logic controller (PLC), etc. The slave refers to a servo drive or other control device having the same communication protocol. The host can communicate with a slave separately and broadcast information to all slaves. For a host “query/command” that is accessed separately, the slave must return a message (called a response). For the broadcast message sent by the host, the slave does not need to feed back the response message to the host.
13.3 Communication Frame Structure Modbus only supports RTU transmission mode. The user can configure the serial communication parameters (baud rate, check mode, etc.). 268 SD700 Series Servo Technical Manual Each 8Bit byte in the message frame contains two 4Bit hexadecimal characters.