Modbus RTU SSW900-CRS485-W

Modbus RTU SSW900-CRS485-W

Motors | Automation | Energy | Transmission & Distribution | Coatings Modbus RTU SSW900-CRS485-W User’s Guide Modbus RTU User’s Guide Series: SSW900 Software version: 1.2X Language: English Document: 10004628707 / 02 Build 5251 Publication Date: 01/2019 Summary of Revisions The information below describes the reviews made in this manual. Version Revision Description V1.0X R00 First edition V1.1X R01 General revision V1.2X R02 General revision Contents CONTENTS ABOUT THE MANUAL ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 6 ABBREVIATIONS AND DEFINITIONS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 6 NUMERICAL REPRESENTATION ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 6 DOCUMENTS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 6 1 MAIN CHARACTERISTICS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 7 2 MODBUS COMMUNICATION INTRODUCTION :::::::::::::::::::::::::::::::::::::::: 8 2.1 MESSAGE STRUCTURE ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 8 2.2 MODBUS RTU ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 9 3 INTERFACE DESCRIPTION::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 11 3.1 RS485 ACCESSORY :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 11 3.2 CONNECTOR :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 11 3.3 TERMINATING RESISTOR ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 12 3.4 INDICATION LEDS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 12 4 INSTALLATION OF THE EQUIPMENT IN NETWORK :::::::::::::::::::::::::::::::: 13 4.1 COMMUNICATION RATE :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 13 4.2 ADDRESS IN THE MODBUS RTU NETWORK ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 13 4.3 TERMINATION RESISTOR ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 13 4.4 CABLES :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 13 4.5 CONNECTION IN THE NETWORK :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 13 4.6 RECOMMENDATIONS FOR GROUNDING AND CABLE PASSAGE :::::::::::::::::::::::::::::::::: 14 5 S STATUS:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 15 S5 COMMUNICATIONS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 15 S5.1 Status Word :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 15 S5.2 Command Word ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 15 S5.3 Value for Outputs ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 16 S5.3.2 Value for AO ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 16 S5.4 RS485 Serial ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 17 6 C CONFIGURATIONS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 18 C8 COMMUNICATION :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 18 C8.1 I/O Data :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 18 C8.1.1 Data Read ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 18 C8.1.2 Data Write ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 19 C8.2 RS485 Serial ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 21 C8.2.5 Timeout :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 22 7 OPERATION IN THE MODBUS RTU NETWORK – SLAVE MODE :::::::::::: 24 7.1 AVAILABLE FUNCTIONS ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 24 7.2 MEMORY MAP :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 24 7.2.1 Parameters :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 24 7.2.2 Memory Markers:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 25 7.2.3 Indirect Parameters :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 25 7.2.4 Input words ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 26 7.2.5 Output Words :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 27 7.3 DATA ACCESS ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 28 Contents 7.4 COMMUNICATION ERRORS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 28 8 STARTUP GUIDE:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 30 8.1 INSTALLING THE ACCESSORY ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 30 8.2 CONFIGURING THE EQUIPMENT :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 30 8.3 CONFIGURING THE MASTER ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 30 8.4 COMMUNICATION STATUS ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 30 9 FAULTS AND ALARMS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 32 Appendix A :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 33 ABOUT THE MANUAL ABOUT THE MANUAL This manual supplies the necessary information for the operation of the SSW900 soft-starter using the Modbus RTU protocol. This manual must be used together with the SSW900 user’s manual and programming manual. ABBREVIATIONS AND DEFINITIONS ASCII American Standard Code for Information Interchange CRC Cycling Redundancy Check EIA Electronic Industries Alliance RTU Remote Terminal Unit TIA Telecommunications Industry Association LSB Least Significant Bit/Byte MSB Most Significant Bit/Byte ro Read only rw Read/write NUMERICAL REPRESENTATION Decimal numbers are represented by means of digits without suffix. Hexadecimal numbers are represented with the letter ‘h’ after the number. Binary numbers are represented with the letter ‘b’ after the number. DOCUMENTS The Modbus protocol was developed based on the following specifications and documents: Document Version Source MODBUS Application Protocol Specification, December 28th 2006. V1.1b MODBUS.ORG MODBUS Protocol Reference Guide, June 1996. Rev. J MODICON MODBUS over Serial Line, December 20th 2006. V1.02 MODBUS.ORG In order to obtain this documentation, consult MODBUS.ORG, which is nowadays the organization that keeps, publishes and updates the information related to the Modbus protocol. SSW900 | 6 MAIN CHARACTERISTICS 1 MAIN CHARACTERISTICS Below are the main characteristics for Modbus RTU communication of the soft-starter SSW900. Interface galvanically insulated and with differential signal, providing more robustness against electromagnetic interference. It allows the device to operate as Modbus RTU slave. Allows data communication for equipment operation and parameterization. SSW900 | 7 MODBUS COMMUNICATION INTRODUCTION 2 MODBUS COMMUNICATION INTRODUCTION The Modbus protocol was initially developed in 1979 by Modicon. Nowadays, it is a widely spread open protocol, used by several manufactures in many equipments. It is a protocol of application layer for communication between devices, especially used by industrial automation systems. 2.1 MESSAGE STRUCTURE Modbus is a protocol based on transactions, which consist of a request followed by a response. Every communication begins with the client (master) making a request to a server (slave), which answers what has been asked. The communication is based on a packet called PDU (Protocol Data Unit) which is defined by the specification of the protocol in three types: Request PDU: Function Code: specifies the kind of service or function requested. Function Data: specific function data. Response PDU: Function Code: code of the function corresponding to the request. Response Data: specific function data. Exception PDU: Error Code: function code corresponding to the request with the most significant bit set. Exception Code: code specifying the exception. A transaction can be viewed in figure 2.1. Request PDU: Function Code Function Data (1 byte) (n bytes) Response PDU: Function Code Response Data (1 byte) (n bytes) Figure 2.1: Modbus transaction The function code field specifies the kind of service or function requested to the server (reading, writing, etc.). For the list of available functions to access data, refer to item 7.1. According to the protocol, each function is used to access a specific type of data. Table 2.1 contains the basic types defined in the specification. Table 2.1: Modbus data type Name Size Access Discrete Input 1 bit Read Only Discrete Output (Coils) 1 bit Read and Write Input Registers 16 bits Read Only Holding Registers (Registers) 16 bits Read and Write Each implantation of the Modbus protocol can add to the PDU specific data for the proper processing of the messages through the

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    65 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us