Technical Reference Modbus Translator Module (MOXA®)

PDF Publication Title:

Technical Reference Modbus Translator Module (MOXA®) ( technical-reference-modbus-translator-module-moxa® )

Previous Page View | Next Page View | Return to Search List

Text from PDF Page: 018

Capstone Turbine Corporation • 21211 Nordhoff Street • Chatsworth • CA 91311 • USA Technical Reference: Modbus Translator Module Modbus RTU Message Framing Each message from either a master or slave consists of a continuous stream of characters. A silent interval of 3.5 characters times (3.5 * 11 bits / 9600 bps = 3.5ms) or more separates these communication streams. A typical response from this device would be: • Enable the output interface drivers (RS-485) • Wait 5 character times • Send the response as a continuous stream • Wait 3.5 character times • Disable the output interface drivers (RS-485) Modbus RTU Message Content The Modbus RTU message stream consists of an address byte, a function code byte, a number of message bytes, and two check bytes. The address byte, which is in the range 1 to 247, specifies the identity of the slave device. The function code byte in a master command indicates the operation that the slave is to perform. The function code byte in a slave response is the same value as the master command function code if no error occurs, otherwise it has 128 added to it. The message bytes in a command contain additional information needed to perform the command. Message bytes in a response contain the data requested if no error has occurred or a one-byte exception code upon errors. The check bytes are generated using the CRC-16 polynomial generator sequence (x16 + x15 + x2 + 1) with the remainder pre-initialized to all 1’s. The least significant byte of the CRC is transmitted first. Modbus Function and Exception Codes The Modbus only supports the function codes shown below. Note that the values are shown in hexadecimal (base 16). The table below shows the value returned when an error occurs. Table 1 – Error Response Function Codes Master Function Code Slave Error Code Name Meaning 0316 8316 0616 8616 1016 9016 Read Holding Registers Preset Holding Registers PresetMultipleRegisters Read values from system run-time data Set control values to command system Set control values of multiple register values The Modbus will return exception codes back to the master upon certain conditions. All function codes greater than 127 decimal (7F16) indicate a slave error response. The message byte indicates the exception code. The table below shows error code value definitions. 410078 Rev A (July 2009) Page 18 of 53 Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

PDF Image | Technical Reference Modbus Translator Module (MOXA®)

PDF Search Title:

Technical Reference Modbus Translator Module (MOXA®)

Original File Name Searched:

410078_RevA_Modbus_Translator_Tech_Ref.pdf

DIY PDF Search: Google It | Yahoo | Bing

Capstone Turbine and Microturbine: Capstone microturbines used and new surplus for sale listing More Info

Consulting and Strategy Services: Need help with Capstone Turbine, sizing systems, applications, or renewable energy strategy, we are here to assist More Info

Container Lumber Dry Kiln: Since 1991 developing and innovating dry kilns using standard shipping containers More Info

Supercritical CO2 Lumber Dry Kiln: Compact fast drying in 3 days or less for small amounts of wood and lumber drying More Info

BitCoin Mining: Bitcoin Mining and Cryptocurrency... More Info

Publications: Capstone Turbine publications for microturbine and distributed energy More Info

FileMaker Software for Renewable Energy Developing database software for the renewable energy industry More Info

CO2 Gas to Liquids On-Demand Production Cart Developing a supercritical CO2 to alcohol on-demand production system (via Nafion reverse fuel cell) More Info

Stranded Gas for low cost power Bitcoin Mining Using stranded gas for generators may provide breakthrough low power costs for cryptocurrency miners. More Info

CONTACT TEL: 608-238-6001 Email: greg@globalmicroturbine.com (Standard Web Page)