Modbus.CalculateRTUMessageCRC
-----------------------------

Calculates the RTU Message CRC string.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Utility](component_Utility.md) | [3.1](newinversion31.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Modbus.CalculateRTUMessageCRC"; Message ) 

**MBS**( **"Modbus.CalculateRTUMessageCRC";** /\* Calculates the RTU Message CRC string. \*/  
**$Message**) /\* The modbus message.e.g. "010600000021" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Message | The modbus message. | "010600000021" |

### Result

Returns the CRC as hex string.

### Description

Calculates the RTU Message CRC string.  
### Examples

Calculate the CRC for two texts:

 MBS ("Modbus.CalculateRTUMessageCRC"; "010600000021")  
MBS ("Modbus.CalculateRTUMessageCRC"; "010400010001")  
### Blog Entries

- [MBS Filemaker Plugin, version 3.1pr6](https://www.mbsplugins.de/archive/2013-01-05/MBS_Filemaker_Plugin_version_3/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 18th August 2014 , last changed 18th August 2014

  
[MetaDataQuery.StopQuery](MetaDataQueryStopQuery.md) - [MongoDB.AbortTransaction](MongoDBAbortTransaction.md)

[HTML Version](ModbusCalculateRTUMessageCRC.shtml)