MODBUS interface description

General description

Top

Introduction

This document describes the protocol used by the MODBUS server of the module.
The OPEN MODBUS protocol is based on the widely known MODBUS protocol.
OPEN MODBUS is an open protocol and is not manufacturer dependent.
It is mainly used to connect PLC and I/O devices.

Why a MODBUS Server on the MSX-E modules?

Thanks to the MODBUS server, it is possible to manage an MSX-E module with e.g.: a Siemens S7 PLC.
The S7 PLC can start acquisitions and read data from the MSX-E module!

Technical details

Please note that only MODBUS over TCP is standardized. Nonetheless in this present
version the server implements OPEN MODBUS/TCP class 0 and one function of the class 2 even on UDP sockets.

The MODBUS/TCP class 0 defines two types of query: FC3 and FC16.

The MODBUS/TCP server implement the following query of the class 2 : FC23.
The MODBUS server offer a virtual memory organisation: registers (functions)
are mapped to be equivalent to SOAP functions.

Characteristics of this communication channel as the standardisation document describes it are:

The ADDI-DATA MSX-E Modbus server offers the following extension to the standard:

As answer to query a client may receive an acknowledgement (named standard response onward) or an exception.
If an exception or an error occured, you can use the GetLastCommandStatus command to get the real error number (from the remote server).
Real error numbers are described for each command in the "Returns" field.

The chapter below describes the available functions and their parameters.
It also contains the precise description of all frames implied in a given action.

FC3 (read multiple register) Functions

Top

Functions in this group are used to read values on the module.

    Register: 0
    Register: 10000
    Register: 1
    Register: 10200
    Register: 2
    Register: 10500
    Register: 3
    Register: 10550
    Register: 7000
    Register: 7050
    Register: 8000
    Register: 3100
    Register: 3200
    Register: 3300
    Register: 3400
    Register: 3500
    Register: 3600
    Register: 3700
    Register: 3800
    Register: 3900
    Register: 4000
    Register: 4100
    Register: 4200
    Register: 4300
    Register: 4400
    Register: 4500
    Register: 4600
    Register: 4700
    Register: 4800
    Register: 4900
    Register: 5000

Function GetLastCommandStatus

For new application(s) or automate communication it is recommended to use the function GetLastCommandStatusEx.

Description

Return the result of the last remote function call

Parameters:

Query frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer60x06000x0006
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x030x030x03
Reference number (=register)216-bit integer00x00000x0000
word count216-bit integer540x36000x0036

Response frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer1120x70000x0070
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x030x030x03
Byte count216-bit integer1080x6C000x006C
ReturnValue432-bit integerSee the description above0x????????0x????????
Syserrno432-bit integerSee the description above0x????????0x????????
Errstr1008-bit integer arraySee the description above0x??[100]0x??[100]

Exception frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer30x03000x0003
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x830x830x83
Exception code18-bit integerSee corresponding chapter????

Function GetLastCommandStatusEx

Description

Return the result of the last remote function call

Parameters:

Query frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer60x06000x0006
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x030x030x03
Reference number (=register)216-bit integer100000x10270x2710
word count216-bit integer540x36000x0036

Response frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer1110x6F000x006F
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x030x030x03
Byte count18-bit integer1080x6C0x6C
ReturnValue432-bit integerSee the description above0x????????0x????????
Syserrno432-bit integerSee the description above0x????????0x????????
Errstr1008-bit integer arraySee the description above0x??[100]0x??[100]

Exception frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer30x03000x0003
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x830x830x83
Exception code18-bit integerSee corresponding chapter????

Function MXCommon__GetModuleType

For new application(s) or automate communication it is recommended to use the function MXCommon__GetModuleTypeEx.

Description

Returns the type of the MSX-E Module

Parameters:

Query frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer60x06000x0006
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x030x030x03
Reference number (=register)216-bit integer10x01000x0001
word count216-bit integer1000x64000x0064

Response frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer2040xCC000x00CC
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x030x030x03
Byte count216-bit integer2000xC8000x00C8
str2008-bit integer arraySee the description above0x??[200]0x??[200]

Exception frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer30x03000x0003
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x830x830x83
Exception code18-bit integerSee corresponding chapter????

Function MXCommon__GetModuleTypeEx

Description

Returns the type of the MSX-E Module

Parameters:

Query frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer60x06000x0006
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x030x030x03
Reference number (=register)216-bit integer102000xD8270x27D8
word count216-bit integer1000x64000x0064

Response frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer2030xCB000x00CB
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x030x030x03
Byte count18-bit integer2000xC80xC8
str2008-bit integer arraySee the description above0x??[200]0x??[200]

Exception frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer30x03000x0003
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x830x830x83
Exception code18-bit integerSee corresponding chapter????

Function MXCommon__GetTime

For new application(s) or automate communication it is recommended to use the function MXCommon__GetTimeEx.

Description

Get the time on the module

Parameters:

Query frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer60x06000x0006
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x030x030x03
Reference number (=register)216-bit integer20x02000x0002
word count216-bit integer40x04000x0004

Response frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer120x0C000x000C
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x030x030x03
Byte count216-bit integer80x08000x0008
tv_sec432-bit integerSee the description above0x????????0x????????
tv_usec432-bit integerSee the description above0x????????0x????????

Exception frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer30x03000x0003
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x830x830x83
Exception code18-bit integerSee corresponding chapter????

Function MXCommon__GetTimeEx

Description

Get the time on the module

Parameters:

Query frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer60x06000x0006
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x030x030x03
Reference number (=register)216-bit integer105000x04290x2904
word count216-bit integer40x04000x0004

Response frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer110x0B000x000B
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x030x030x03
Byte count18-bit integer80x080x08
tv_sec432-bit integerSee the description above0x????????0x????????
tv_usec432-bit integerSee the description above0x????????0x????????

Exception frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer30x03000x0003
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x830x830x83
Exception code18-bit integerSee corresponding chapter????

Function MXCommon__TestCustomerID

For new application(s) or automate communication it is recommended to use the function MXCommon__TestCustomerIDEx.

Description

Permit to test the Customer ID (if the module has the right customer Key )

Parameters:

Query frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer60x06000x0006
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x030x030x03
Reference number (=register)216-bit integer30x03000x0003
word count216-bit integer160x10000x0010

Response frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer360x24000x0024
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x030x030x03
Byte count216-bit integer320x20000x0020
bValueArray168-bit integer arraySee the description above0x??[16]0x??[16]
bCryptedValueArray168-bit integer arraySee the description above0x??[16]0x??[16]

Exception frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer30x03000x0003
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x830x830x83
Exception code18-bit integerSee corresponding chapter????

Function MXCommon__TestCustomerIDEx

Description

Permit to test the Customer ID (if the module has the right customer Key )

Parameters:

Query frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer60x06000x0006
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x030x030x03
Reference number (=register)216-bit integer105500x36290x2936
word count216-bit integer160x10000x0010

Response frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer350x23000x0023
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x030x030x03
Byte count18-bit integer320x200x20
bValueArray168-bit integer arraySee the description above0x??[16]0x??[16]
bCryptedValueArray168-bit integer arraySee the description above0x??[16]0x??[16]

Exception frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer30x03000x0003
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x830x830x83
Exception code18-bit integerSee corresponding chapter????

Function MSXE17xx__DigitalIOReadAllChannelsValue

Description

Read all the digital I/O channel value. If channel is configured as output, then this function return the status of the output

Parameters:

Query frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer60x06000x0006
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x030x030x03
Reference number (=register)216-bit integer70000x581B0x1B58
word count216-bit integer20x02000x0002

Response frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer70x07000x0007
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x030x030x03
Byte count18-bit integer40x040x04
ulChannelsValue432-bit integerSee the description above0x????????0x????????

Exception frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer30x03000x0003
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x830x830x83
Exception code18-bit integerSee corresponding chapter????

Function MSXE17xx__DigitalIOTestShortCircuit

Description

Parameters:

Query frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer60x06000x0006
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x030x030x03
Reference number (=register)216-bit integer70500x8A1B0x1B8A
word count216-bit integer20x02000x0002

Response frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer70x07000x0007
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x030x030x03
Byte count18-bit integer40x040x04
ulValue432-bit integerSee the description above0x????????0x????????

Exception frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer30x03000x0003
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x830x830x83
Exception code18-bit integerSee corresponding chapter????

Function MSXE17xx__IOWatchdogGetStatusAndValue

Description

Get watchdog current status and value information

Parameters:

Query frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer60x06000x0006
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x030x030x03
Reference number (=register)216-bit integer80000x401F0x1F40
word count216-bit integer60x06000x0006

Response frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer150x0F000x000F
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x030x030x03
Byte count18-bit integer120x0C0x0C
ulStatus432-bit integerSee the description above0x????????0x????????
ulValue432-bit integerSee the description above0x????????0x????????
ulInfo432-bit integerSee the description above0x????????0x????????

Exception frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer30x03000x0003
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x830x830x83
Exception code18-bit integerSee corresponding chapter????

Function MSXE173x__EndatGetPosition0

Description

Reads the position of the sensor 0.

Before calling this function, you must call the MSXE173x__MFEndatInitSensor function.

Parameters

Returns

Possible return value on the remote system (read them with GetLastCommandStatusEx).

Query frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer60x06000x0006
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x030x030x03
Reference number (=register)216-bit integer31000x1C0C0x0C1C
word count216-bit integer40x04000x0004

Response frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer110x0B000x000B
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x030x030x03
Byte count18-bit integer80x080x08
ulPositionLow432-bit integerSee the description above0x????????0x????????
ulPositionHigh432-bit integerSee the description above0x????????0x????????

Exception frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer30x03000x0003
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x830x830x83
Exception code18-bit integerSee corresponding chapter????

Function MSXE173x__EndatGetPosition1

Description

Reads the position of the sensor 1.

Before calling this function, you must call the MSXE173x__MFEndatInitSensor function.

Parameters

Returns

Possible return value on the remote system (read them with GetLastCommandStatusEx).

Query frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer60x06000x0006
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x030x030x03
Reference number (=register)216-bit integer32000x800C0x0C80
word count216-bit integer40x04000x0004

Response frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer110x0B000x000B
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x030x030x03
Byte count18-bit integer80x080x08
ulPositionLow432-bit integerSee the description above0x????????0x????????
ulPositionHigh432-bit integerSee the description above0x????????0x????????

Exception frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer30x03000x0003
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x830x830x83
Exception code18-bit integerSee corresponding chapter????

Function MSXE173x__EndatGetPosition2

Description

Reads the position of the sensor 2.

Before calling this function, you must call the MSXE173x__MFEndatInitSensor function.

Parameters

Returns

Possible return value on the remote system (read them with GetLastCommandStatusEx).

Query frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer60x06000x0006
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x030x030x03
Reference number (=register)216-bit integer33000xE40C0x0CE4
word count216-bit integer40x04000x0004

Response frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer110x0B000x000B
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x030x030x03
Byte count18-bit integer80x080x08
ulPositionLow432-bit integerSee the description above0x????????0x????????
ulPositionHigh432-bit integerSee the description above0x????????0x????????

Exception frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer30x03000x0003
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x830x830x83
Exception code18-bit integerSee corresponding chapter????

Function MSXE173x__EndatGetPosition3

Description

Reads the position of the sensor 3.

Before calling this function, you must call the MSXE173x__MFEndatInitSensor function.

Parameters

Returns

Possible return value on the remote system (read them with GetLastCommandStatusEx).

Query frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer60x06000x0006
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x030x030x03
Reference number (=register)216-bit integer34000x480D0x0D48
word count216-bit integer40x04000x0004

Response frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer110x0B000x000B
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x030x030x03
Byte count18-bit integer80x080x08
ulPositionLow432-bit integerSee the description above0x????????0x????????
ulPositionHigh432-bit integerSee the description above0x????????0x????????

Exception frame layout

FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
protocol identifier216-bit integer00x00000x0000
length216-bit integer30x03000x0003
unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
MODBUS Function code18-bit integer0x830x830x83
Exception code18-bit integerSee corresponding chapter????

Function MSXE173x__EndatGetSensorProperties0

Description

Reads the properties of the sensor 0.

Before calling this function, you must call the MSXE173x__MFEndatInitSensor function.

Parameters

Example with ROQ 437 2048 5XS08-C4 Sensor

  • Serial Number
  • ID
  • Example with EQN 1135 512 Sensor

  • Serial Number Example
  • ID
  • Returns

    Possible return value on the remote system (read them with GetLastCommandStatusEx).

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Reference number (=register)216-bit integer35000xAC0D0x0DAC
    word count216-bit integer240x18000x0018

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer510x33000x0033
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Byte count18-bit integer480x300x30
    ulIDNumberLsb432-bit integerSee the description above0x????????0x????????
    ulIDNumberMsb432-bit integerSee the description above0x????????0x????????
    ulSerialNumberLsb432-bit integerSee the description above0x????????0x????????
    ulSerialNumberMsb432-bit integerSee the description above0x????????0x????????
    ulModel432-bit integerSee the description above0x????????0x????????
    ulMode432-bit integerSee the description above0x????????0x????????
    ulPositionSize432-bit integerSee the description above0x????????0x????????
    ulSignalPeriod432-bit integerSee the description above0x????????0x????????
    ulStepPerRevolution432-bit integerSee the description above0x????????0x????????
    ulNumberOfRevolution432-bit integerSee the description above0x????????0x????????
    ulScalingFactor432-bit integerSee the description above0x????????0x????????
    ulAdditionalData432-bit integerSee the description above0x????????0x????????

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x830x830x83
    Exception code18-bit integerSee corresponding chapter????

    Function MSXE173x__EndatGetSensorProperties1

    Description

    Reads the properties of the sensor 1.

    Before calling this function, you must call the MSXE173x__MFEndatInitSensor function.

    Parameters

    Example with ROQ 437 2048 5XS08-C4 Sensor

  • Serial Number
  • ID
  • Example with EQN 1135 512 Sensor

  • Serial Number Example
  • ID
  • Returns

    Possible return value on the remote system (read them with GetLastCommandStatusEx).

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Reference number (=register)216-bit integer36000x100E0x0E10
    word count216-bit integer240x18000x0018

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer510x33000x0033
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Byte count18-bit integer480x300x30
    ulIDNumberLsb432-bit integerSee the description above0x????????0x????????
    ulIDNumberMsb432-bit integerSee the description above0x????????0x????????
    ulSerialNumberLsb432-bit integerSee the description above0x????????0x????????
    ulSerialNumberMsb432-bit integerSee the description above0x????????0x????????
    ulModel432-bit integerSee the description above0x????????0x????????
    ulMode432-bit integerSee the description above0x????????0x????????
    ulPositionSize432-bit integerSee the description above0x????????0x????????
    ulSignalPeriod432-bit integerSee the description above0x????????0x????????
    ulStepPerRevolution432-bit integerSee the description above0x????????0x????????
    ulNumberOfRevolution432-bit integerSee the description above0x????????0x????????
    ulScalingFactor432-bit integerSee the description above0x????????0x????????
    ulAdditionalData432-bit integerSee the description above0x????????0x????????

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x830x830x83
    Exception code18-bit integerSee corresponding chapter????

    Function MSXE173x__EndatGetSensorProperties2

    Description

    Reads the properties of the sensor 2.

    Before calling this function, you must call the MSXE173x__MFEndatInitSensor function.

    Parameters

    Example with ROQ 437 2048 5XS08-C4 Sensor

  • Serial Number
  • ID
  • Example with EQN 1135 512 Sensor

  • Serial Number Example
  • ID
  • Returns

    Possible return value on the remote system (read them with GetLastCommandStatusEx).

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Reference number (=register)216-bit integer37000x740E0x0E74
    word count216-bit integer240x18000x0018

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer510x33000x0033
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Byte count18-bit integer480x300x30
    ulIDNumberLsb432-bit integerSee the description above0x????????0x????????
    ulIDNumberMsb432-bit integerSee the description above0x????????0x????????
    ulSerialNumberLsb432-bit integerSee the description above0x????????0x????????
    ulSerialNumberMsb432-bit integerSee the description above0x????????0x????????
    ulModel432-bit integerSee the description above0x????????0x????????
    ulMode432-bit integerSee the description above0x????????0x????????
    ulPositionSize432-bit integerSee the description above0x????????0x????????
    ulSignalPeriod432-bit integerSee the description above0x????????0x????????
    ulStepPerRevolution432-bit integerSee the description above0x????????0x????????
    ulNumberOfRevolution432-bit integerSee the description above0x????????0x????????
    ulScalingFactor432-bit integerSee the description above0x????????0x????????
    ulAdditionalData432-bit integerSee the description above0x????????0x????????

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x830x830x83
    Exception code18-bit integerSee corresponding chapter????

    Function MSXE173x__EndatGetSensorProperties3

    Description

    Reads the properties of the sensor 3.

    Before calling this function, you must call the MSXE173x__MFEndatInitSensor function.

    Parameters

    Example with ROQ 437 2048 5XS08-C4 Sensor

  • Serial Number
  • ID
  • Example with EQN 1135 512 Sensor

  • Serial Number Example
  • ID
  • Returns

    Possible return value on the remote system (read them with GetLastCommandStatusEx).

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Reference number (=register)216-bit integer38000xD80E0x0ED8
    word count216-bit integer240x18000x0018

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer510x33000x0033
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Byte count18-bit integer480x300x30
    ulIDNumberLsb432-bit integerSee the description above0x????????0x????????
    ulIDNumberMsb432-bit integerSee the description above0x????????0x????????
    ulSerialNumberLsb432-bit integerSee the description above0x????????0x????????
    ulSerialNumberMsb432-bit integerSee the description above0x????????0x????????
    ulModel432-bit integerSee the description above0x????????0x????????
    ulMode432-bit integerSee the description above0x????????0x????????
    ulPositionSize432-bit integerSee the description above0x????????0x????????
    ulSignalPeriod432-bit integerSee the description above0x????????0x????????
    ulStepPerRevolution432-bit integerSee the description above0x????????0x????????
    ulNumberOfRevolution432-bit integerSee the description above0x????????0x????????
    ulScalingFactor432-bit integerSee the description above0x????????0x????????
    ulAdditionalData432-bit integerSee the description above0x????????0x????????

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x830x830x83
    Exception code18-bit integerSee corresponding chapter????

    Function MSXE173x__EndatGetPositionWithAddData0

    Description

    Reads the position of the sensor 0 with additional data.

    Parameters

    Returns

    Possible return value on the remote system (read them with GetLastCommandStatusEx).

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Reference number (=register)216-bit integer39000x3C0F0x0F3C
    word count216-bit integer80x08000x0008

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer190x13000x0013
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Byte count18-bit integer160x100x10
    ulPositionLow432-bit integerSee the description above0x????????0x????????
    ulPositionHigh432-bit integerSee the description above0x????????0x????????
    ulAddData1432-bit integerSee the description above0x????????0x????????
    ulAddData2432-bit integerSee the description above0x????????0x????????

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x830x830x83
    Exception code18-bit integerSee corresponding chapter????

    Function MSXE173x__EndatGetPositionWithAddData1

    Description

    Reads the position of the sensor 1 with additional data.

    Parameters

    Returns

    Possible return value on the remote system (read them with GetLastCommandStatusEx).

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Reference number (=register)216-bit integer40000xA00F0x0FA0
    word count216-bit integer80x08000x0008

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer190x13000x0013
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Byte count18-bit integer160x100x10
    ulPositionLow432-bit integerSee the description above0x????????0x????????
    ulPositionHigh432-bit integerSee the description above0x????????0x????????
    ulAddData1432-bit integerSee the description above0x????????0x????????
    ulAddData2432-bit integerSee the description above0x????????0x????????

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x830x830x83
    Exception code18-bit integerSee corresponding chapter????

    Function MSXE173x__EndatGetPositionWithAddData2

    Description

    Reads the position of the sensor 2 with additional data.

    Parameters

    Returns

    Possible return value on the remote system (read them with GetLastCommandStatusEx).

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Reference number (=register)216-bit integer41000x04100x1004
    word count216-bit integer80x08000x0008

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer190x13000x0013
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Byte count18-bit integer160x100x10
    ulPositionLow432-bit integerSee the description above0x????????0x????????
    ulPositionHigh432-bit integerSee the description above0x????????0x????????
    ulAddData1432-bit integerSee the description above0x????????0x????????
    ulAddData2432-bit integerSee the description above0x????????0x????????

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x830x830x83
    Exception code18-bit integerSee corresponding chapter????

    Function MSXE173x__EndatGetPositionWithAddData3

    Description

    Reads the position of the sensor 3 with additional data.

    Parameters

    Returns

    Possible return value on the remote system (read them with GetLastCommandStatusEx).

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Reference number (=register)216-bit integer42000x68100x1068
    word count216-bit integer80x08000x0008

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer190x13000x0013
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Byte count18-bit integer160x100x10
    ulPositionLow432-bit integerSee the description above0x????????0x????????
    ulPositionHigh432-bit integerSee the description above0x????????0x????????
    ulAddData1432-bit integerSee the description above0x????????0x????????
    ulAddData2432-bit integerSee the description above0x????????0x????????

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x830x830x83
    Exception code18-bit integerSee corresponding chapter????

    Function MSXE173x__EndatGetErrorSources0

    Description

    Reads the error sources of the sensor 0.

    The error are reseted after a call to MSXE173x__MFEndatResetErrorBits. If a function returns an error, please use this function to check if it is not a communication error.

    Parameters

    Returns

    Possible return value on the remote system (read them with GetLastCommandStatusEx).

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Reference number (=register)216-bit integer43000xCC100x10CC
    word count216-bit integer20x02000x0002

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer70x07000x0007
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Byte count18-bit integer40x040x04
    ulErrorSrc432-bit integerSee the description above0x????????0x????????

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x830x830x83
    Exception code18-bit integerSee corresponding chapter????

    Function MSXE173x__EndatGetErrorSources1

    Description

    Reads the error sources of the sensor 1.

    The error are reseted after a call to MSXE173x__MFEndatResetErrorBits. If a function returns an error, please use this function to check if it is not a communication error.

    Parameters

    Returns

    Possible return value on the remote system (read them with GetLastCommandStatusEx).

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Reference number (=register)216-bit integer44000x30110x1130
    word count216-bit integer20x02000x0002

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer70x07000x0007
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Byte count18-bit integer40x040x04
    ulErrorSrc432-bit integerSee the description above0x????????0x????????

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x830x830x83
    Exception code18-bit integerSee corresponding chapter????

    Function MSXE173x__EndatGetErrorSources2

    Description

    Reads the error sources of the sensor 2.

    The error are reseted after a call to MSXE173x__MFEndatResetErrorBits. If a function returns an error, please use this function to check if it is not a communication error.

    Parameters

    Returns

    Possible return value on the remote system (read them with GetLastCommandStatusEx).

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Reference number (=register)216-bit integer45000x94110x1194
    word count216-bit integer20x02000x0002

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer70x07000x0007
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Byte count18-bit integer40x040x04
    ulErrorSrc432-bit integerSee the description above0x????????0x????????

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x830x830x83
    Exception code18-bit integerSee corresponding chapter????

    Function MSXE173x__EndatGetErrorSources3

    Description

    Reads the error sources of the sensor 3.

    The error are reseted after a call to MSXE173x__MFEndatResetErrorBits. If a function returns an error, please use this function to check if it is not a communication error.

    Parameters

    Returns

    Possible return value on the remote system (read them with GetLastCommandStatusEx).

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Reference number (=register)216-bit integer46000xF8110x11F8
    word count216-bit integer20x02000x0002

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer70x07000x0007
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Byte count18-bit integer40x040x04
    ulErrorSrc432-bit integerSee the description above0x????????0x????????

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x830x830x83
    Exception code18-bit integerSee corresponding chapter????

    Function MSXE173x__EndatModbusGetParameter0

    Description

    Reads the parameter send by the sensor 0.

    Before calling this function call the MSXE173x__SensorSendParameter function to select the parameter that you want to read.

    Parameters

    Returns

    Possible return value on the remote system (read them with GetLastCommandStatusEx).

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Reference number (=register)216-bit integer47000x5C120x125C
    word count216-bit integer20x02000x0002

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer70x07000x0007
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Byte count18-bit integer40x040x04
    ulParam432-bit integerSee the description above0x????????0x????????

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x830x830x83
    Exception code18-bit integerSee corresponding chapter????

    Function MSXE173x__EndatModbusGetParameter1

    Description

    Reads the parameter send by the sensor 1.

    Before calling this function call the MSXE173x__SensorSendParameter function to select the parameter that you want to read.

    Parameters

    Returns

    Possible return value on the remote system (read them with GetLastCommandStatusEx).

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Reference number (=register)216-bit integer48000xC0120x12C0
    word count216-bit integer20x02000x0002

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer70x07000x0007
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Byte count18-bit integer40x040x04
    ulParam432-bit integerSee the description above0x????????0x????????

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x830x830x83
    Exception code18-bit integerSee corresponding chapter????

    Function MSXE173x__EndatModbusGetParameter2

    Description

    Reads the parameter send by the sensor 2.

    Before calling this function call the MSXE173x__SensorSendParameter function to select the parameter that you want to read.

    Parameters

    Returns

    Possible return value on the remote system (read them with GetLastCommandStatusEx).

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Reference number (=register)216-bit integer49000x24130x1324
    word count216-bit integer20x02000x0002

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer70x07000x0007
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Byte count18-bit integer40x040x04
    ulParam432-bit integerSee the description above0x????????0x????????

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x830x830x83
    Exception code18-bit integerSee corresponding chapter????

    Function MSXE173x__EndatModbusGetParameter3

    Description

    Reads the parameter send by the sensor 3.

    Before calling this function call the MSXE173x__SensorSendParameter function to select the parameter that you want to read.

    Parameters

    Returns

    Possible return value on the remote system (read them with GetLastCommandStatusEx).

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Reference number (=register)216-bit integer50000x88130x1388
    word count216-bit integer20x02000x0002

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer70x07000x0007
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x030x030x03
    Byte count18-bit integer40x040x04
    ulParam432-bit integerSee the description above0x????????0x????????

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x830x830x83
    Exception code18-bit integerSee corresponding chapter????

    FC16 (write multiple register) Functions

    Top

    Functions in this group are used to set value on the module.

      Register: 100
      Register: 11000
      Register: 101
      Register: 11050
      Register: 102
      Register: 11100
      Register: 103
      Register: 11150
      Register: 104
      Register: 11200
      Register: 105
      Register: 11250
      Register: 6000
      Register: 6050
      Register: 6100
      Register: 7100
      Register: 7150
      Register: 7200
      Register: 8050
      Register: 8100
      Register: 2000
      Register: 2100
      Register: 2200
      Register: 2300
      Register: 2500
      Register: 2600
      Register: 2700
      Register: 2900
      Register: 3000
      Register: 5100

    Function MXCommon__SetHardwareTriggerFilterTime

    For new application(s) or automate communication it is recommended to use the function MXCommon__SetHardwareTriggerFilterTimeEx.

    Description

    Sets the filter time for the hardware trigger input in 250ns step (max value : 65535 ).

    On the MSX-E3011 system, the step of the hardware trigger filter is 622ns.

    Parameters

    Returns

    Possible return value on the remote system (read them with GetLastCommandStatus).

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer160x10000x0010
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer1000x64000x0064
    word count216-bit integer40x04000x0004
    byte count216-bit integer80x08000x0008
    ulFilterTime432-bit integerSee the description above0x????????0x????????
    Reserved432-bit integerSee the description above0x????????0x????????

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer1000x64000x0064
    word count216-bit integer40x04000x0004

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x900x900x90
    Exception code18-bit integerSee corresponding chapter0x??0x??

    Function MXCommon__SetHardwareTriggerFilterTimeEx

    Description

    Sets the filter time for the hardware trigger input in 250ns step (max value : 65535 ).

    On the MSX-E3011 system, the step of the hardware trigger filter is 622ns.

    Parameters

    Returns

    Possible return value on the remote system (read them with GetLastCommandStatusEx).

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer150x0F000x000F
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer110000xF82A0x2AF8
    word count216-bit integer40x04000x0004
    byte count18-bit integer80x080x08
    ulFilterTime432-bit integerSee the description above0x????????0x????????
    Reserved432-bit integerSee the description above0x????????0x????????

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer110000xF82A0x2AF8
    word count216-bit integer40x04000x0004

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x900x900x90
    Exception code18-bit integerSee corresponding chapter0x??0x??

    Function MXCommon__InitAndStartSynchroTimer

    For new application(s) or automate communication it is recommended to use the function MXCommon__InitAndStartSynchroTimerEx.

    Description

    Init and start the synchronisation timer of the module (not already available on all module)

    Parameters:

    Returns:

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer400x28000x0028
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer1010x65000x0065
    word count216-bit integer160x10000x0010
    byte count216-bit integer320x20000x0020
    ulTimeBase432-bit integerSee the description above0x????????0x????????
    ulReloadValue432-bit integerSee the description above0x????????0x????????
    ulNbrOfCycle432-bit integerSee the description above0x????????0x????????
    ulGenerateTriggerMode432-bit integerSee the description above0x????????0x????????
    ulOption01432-bit integerSee the description above0x????????0x????????
    ulOption02432-bit integerSee the description above0x????????0x????????
    ulOption03432-bit integerSee the description above0x????????0x????????
    ulOption04432-bit integerSee the description above0x????????0x????????

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer1010x65000x0065
    word count216-bit integer160x10000x0010

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x900x900x90
    Exception code18-bit integerSee corresponding chapter0x??0x??

    Function MXCommon__InitAndStartSynchroTimerEx

    Description

    Init and start the synchronisation timer of the module (not already available on all module)

    Parameters:

    Returns:

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer390x27000x0027
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer110500x2A2B0x2B2A
    word count216-bit integer160x10000x0010
    byte count18-bit integer320x200x20
    ulTimeBase432-bit integerSee the description above0x????????0x????????
    ulReloadValue432-bit integerSee the description above0x????????0x????????
    ulNbrOfCycle432-bit integerSee the description above0x????????0x????????
    ulGenerateTriggerMode432-bit integerSee the description above0x????????0x????????
    ulOption01432-bit integerSee the description above0x????????0x????????
    ulOption02432-bit integerSee the description above0x????????0x????????
    ulOption03432-bit integerSee the description above0x????????0x????????
    ulOption04432-bit integerSee the description above0x????????0x????????

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer110500x2A2B0x2B2A
    word count216-bit integer160x10000x0010

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x900x900x90
    Exception code18-bit integerSee corresponding chapter0x??0x??

    Function MXCommon__StopAndReleaseSynchroTimer

    For new application(s) or automate communication it is recommended to use the function MXCommon__StopAndReleaseSynchroTimerEx.

    Description

    stop the synchronisation timer (not already available on all module)

    Parameters:

    Returns:

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer120x0C000x000C
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer1020x66000x0066
    word count216-bit integer20x02000x0002
    byte count216-bit integer40x04000x0004
    ulOption01432-bit integerSee the description above0x????????0x????????

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer1020x66000x0066
    word count216-bit integer20x02000x0002

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x900x900x90
    Exception code18-bit integerSee corresponding chapter0x??0x??

    Function MXCommon__StopAndReleaseSynchroTimerEx

    Description

    stop the synchronisation timer (not already available on all module)

    Parameters:

    Returns:

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer110x0B000x000B
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer111000x5C2B0x2B5C
    word count216-bit integer20x02000x0002
    byte count18-bit integer40x040x04
    ulOption01432-bit integerSee the description above0x????????0x????????

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer111000x5C2B0x2B5C
    word count216-bit integer20x02000x0002

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x900x900x90
    Exception code18-bit integerSee corresponding chapter0x??0x??

    Function MXCommon__Reboot

    For new application(s) or automate communication it is recommended to use the function MXCommon__RebootEx.

    Description

    Ask the MSX-E module to reboot

    Parameters:

    Returns:

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer120x0C000x000C
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer1030x67000x0067
    word count216-bit integer20x02000x0002
    byte count216-bit integer40x04000x0004
    Dummy432-bit integerSee the description above0x????????0x????????

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer1030x67000x0067
    word count216-bit integer20x02000x0002

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x900x900x90
    Exception code18-bit integerSee corresponding chapter0x??0x??

    Function MXCommon__RebootEx

    Description

    Ask the MSX-E module to reboot

    Parameters:

    Returns:

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer110x0B000x000B
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer111500x8E2B0x2B8E
    word count216-bit integer20x02000x0002
    byte count18-bit integer40x040x04
    Dummy432-bit integerSee the description above0x????????0x????????

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer111500x8E2B0x2B8E
    word count216-bit integer20x02000x0002

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x900x900x90
    Exception code18-bit integerSee corresponding chapter0x??0x??

    Function MXCommon__SetCustomerKey

    For new application(s) or automate communication it is recommended to use the function MXCommon__SetCustomerKeyEx.

    Description

    Permit to set the Customer key

    Parameters:

    Returns:

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer560x38000x0038
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer1040x68000x0068
    word count216-bit integer240x18000x0018
    byte count216-bit integer480x30000x0030
    bKey328-bit integer arraySee the description above0x??[32]0x??[32]
    bPublicKey168-bit integer arraySee the description above0x??[16]0x??[16]

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer1040x68000x0068
    word count216-bit integer240x18000x0018

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x900x900x90
    Exception code18-bit integerSee corresponding chapter0x??0x??

    Function MXCommon__SetCustomerKeyEx

    Description

    Permit to set the Customer key

    Parameters:

    Returns:

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer550x37000x0037
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer112000xC02B0x2BC0
    word count216-bit integer240x18000x0018
    byte count18-bit integer480x300x30
    bKey328-bit integer arraySee the description above0x??[32]0x??[32]
    bPublicKey168-bit integer arraySee the description above0x??[16]0x??[16]

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer112000xC02B0x2BC0
    word count216-bit integer240x18000x0018

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x900x900x90
    Exception code18-bit integerSee corresponding chapter0x??0x??

    Function MXCommon__SetFilterChannels

    For new application(s) or automate communication it is recommended to use the function MXCommon__SetFilterChannelsEx.

    Description

    Permit to set a filter per channel

    Parameters:

    Returns:

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer240x18000x0018
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer1050x69000x0069
    word count216-bit integer80x08000x0008
    byte count216-bit integer160x10000x0010
    ChannelList168-bit integer arraySee the description above0x??[16]0x??[16]

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer1050x69000x0069
    word count216-bit integer80x08000x0008

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x900x900x90
    Exception code18-bit integerSee corresponding chapter0x??0x??

    Function MXCommon__SetFilterChannelsEx

    Description

    Permit to set a filter per channel

    Parameters:

    Returns:

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer230x17000x0017
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer112500xF22B0x2BF2
    word count216-bit integer80x08000x0008
    byte count18-bit integer160x100x10
    ChannelList168-bit integer arraySee the description above0x??[16]0x??[16]

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer112500xF22B0x2BF2
    word count216-bit integer80x08000x0008

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x900x900x90
    Exception code18-bit integerSee corresponding chapter0x??0x??

    Function MSXE17xx__MFCommonSetInputsFilter

    Description

    Set a filter to the input of a multifunction sub module.

    Parameters:

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer270x1B000x001B
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer60000x70170x1770
    word count216-bit integer100x0A000x000A
    byte count18-bit integer200x140x14
    ulMFModuleIndex432-bit integerSee the description above0x????????0x????????
    ulInputAFilterValue432-bit integerSee the description above0x????????0x????????
    ulInputBFilterValue432-bit integerSee the description above0x????????0x????????
    ulInputCFilterValue432-bit integerSee the description above0x????????0x????????
    ulInputDFilterValue432-bit integerSee the description above0x????????0x????????

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer60000x70170x1770
    word count216-bit integer100x0A000x000A

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x900x900x90
    Exception code18-bit integerSee corresponding chapter0x??0x??

    Function MSXE17xx__MFCommonReferenceVoltageActivation

    Description

    Permit to activate the reference voltage to pin D-

    Parameters:

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer230x17000x0017
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer60500xA2170x17A2
    word count216-bit integer80x08000x0008
    byte count18-bit integer160x100x10
    ulMFModuleIndex432-bit integerSee the description above0x????????0x????????
    ulActivationFlag432-bit integerSee the description above0x????????0x????????
    ulOption01432-bit integerSee the description above0x????????0x????????
    ulOption02432-bit integerSee the description above0x????????0x????????

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer60500xA2170x17A2
    word count216-bit integer80x08000x0008

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x900x900x90
    Exception code18-bit integerSee corresponding chapter0x??0x??

    Function MSXE17xx__MFCommonSetFIFO0Level

    Description

    Define the number of data bloc in the first FIFO before transmit the datas

    Parameters:

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer310x1F000x001F
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer61000xD4170x17D4
    word count216-bit integer120x0C000x000C
    byte count18-bit integer240x180x18
    ulMFModuleIndex432-bit integerSee the description above0x????????0x????????
    ulFIFOLevel432-bit integerSee the description above0x????????0x????????
    ulTimeOutTimeBase432-bit integerSee the description above0x????????0x????????
    ulReloadValue432-bit integerSee the description above0x????????0x????????
    ulOption01432-bit integerSee the description above0x????????0x????????
    ulOption02432-bit integerSee the description above0x????????0x????????

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer61000xD4170x17D4
    word count216-bit integer120x0C000x000C

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x900x900x90
    Exception code18-bit integerSee corresponding chapter0x??0x??

    Function MSXE17xx__DigitalIOWriteAllChannelsValue

    Description

    Write all digital i/o channels value. if the channel is define as input, nothing append on this channel.

    Parameters:

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer110x0B000x000B
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer71000xBC1B0x1BBC
    word count216-bit integer20x02000x0002
    byte count18-bit integer40x040x04
    ulValue432-bit integerSee the description above0x????????0x????????

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer71000xBC1B0x1BBC
    word count216-bit integer20x02000x0002

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x900x900x90
    Exception code18-bit integerSee corresponding chapter0x??0x??

    Function MSXE17xx__DigitalIORearmShortCircuit

    Description

    Rearm digital outputs after a short circuit happened.

    Parameters:

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer110x0B000x000B
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer71500xEE1B0x1BEE
    word count216-bit integer20x02000x0002
    byte count18-bit integer40x040x04
    ulOption432-bit integerSee the description above0x????????0x????????

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer71500xEE1B0x1BEE
    word count216-bit integer20x02000x0002

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x900x900x90
    Exception code18-bit integerSee corresponding chapter0x??0x??

    Function MSXE17xx__DigitalIOInitPort

    Description

    Initialise a digital i/o port (2 channels).

    Parameters:

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer150x0F000x000F
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer72000x201C0x1C20
    word count216-bit integer40x04000x0004
    byte count18-bit integer80x080x08
    ulPort432-bit integerSee the description above0x????????0x????????
    ulPortConfiguration432-bit integerSee the description above0x????????0x????????

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer72000x201C0x1C20
    word count216-bit integer40x04000x0004

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x900x900x90
    Exception code18-bit integerSee corresponding chapter0x??0x??

    Function MSXE17xx__IOWatchdogInitAndStart

    Description

    Init and start the digital output IO watchdog.

    Parameters:

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer230x17000x0017
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer80500x721F0x1F72
    word count216-bit integer80x08000x0008
    byte count18-bit integer160x100x10
    ulTimeBase432-bit integerSee the description above0x????????0x????????
    ulTimeValue432-bit integerSee the description above0x????????0x????????
    ulOption1432-bit integerSee the description above0x????????0x????????
    ulOption2432-bit integerSee the description above0x????????0x????????

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer80500x721F0x1F72
    word count216-bit integer80x08000x0008

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x900x900x90
    Exception code18-bit integerSee corresponding chapter0x??0x??

    Function MSXE17xx__IOWatchdogStopAndRelease

    Description

    Stop and release the digital output watchdog.

    Parameters:

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer110x0B000x000B
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer81000xA41F0x1FA4
    word count216-bit integer20x02000x0002
    byte count18-bit integer40x040x04
    ulOption432-bit integerSee the description above0x????????0x????????

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer81000xA41F0x1FA4
    word count216-bit integer20x02000x0002

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x900x900x90
    Exception code18-bit integerSee corresponding chapter0x??0x??

    Function MSXE173x__EndatInitSensor

    Description

    Initialises an EnDat sensor. This function should be called once, in order to call the other EnDat functions.

    Parameters

    Returns

    Possible return value on the remote system (read them with GetLastCommandStatusEx).

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer190x13000x0013
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer20000xD0070x07D0
    word count216-bit integer60x06000x0006
    byte count18-bit integer120x0C0x0C
    ulConnectorIndex432-bit integerSee the description above0x????????0x????????
    ulChannelIndex432-bit integerSee the description above0x????????0x????????
    ulFrequency432-bit integerSee the description above0x????????0x????????

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer20000xD0070x07D0
    word count216-bit integer60x06000x0006

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x900x900x90
    Exception code18-bit integerSee corresponding chapter0x??0x??

    Function MSXE173x__EndatSensorReceiveParameter

    Description

    Writes a parameter to the memory area that was last selected.

    Before calling this function, you must call the MSXE173x__MFEndatInitSensor function to initialise the sensor, and then MSXE173x__MFEndatSelectMemoryArea, or MSXE173x__MFEndatSensorSendPosAndRecvSelMemArea to select the memory area that contains the parameter you want to write.

    Parameters

    Returns

    Possible return value on the remote system (read them with GetLastCommandStatusEx).

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer270x1B000x001B
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer21000x34080x0834
    word count216-bit integer100x0A000x000A
    byte count18-bit integer200x140x14
    ulConnectorIndex432-bit integerSee the description above0x????????0x????????
    ulChannelIndex432-bit integerSee the description above0x????????0x????????
    ulMrsCode432-bit integerSee the description above0x????????0x????????
    ulAddress432-bit integerSee the description above0x????????0x????????
    ulParam432-bit integerSee the description above0x????????0x????????

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer21000x34080x0834
    word count216-bit integer100x0A000x000A

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x900x900x90
    Exception code18-bit integerSee corresponding chapter0x??0x??

    Function MSXE173x__EndatSelectMemoryArea

    Description

    Selects a memory area (see page 31/121 of EnDat specifications).

    In order to send or read parameters, the memory area must first be selected.

    Before calling this function, you must call the MSXE173x__MFEndatInitSensor function.

    Parameters

    Returns

    Possible return value on the remote system (read them with GetLastCommandStatusEx).

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer190x13000x0013
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer22000x98080x0898
    word count216-bit integer60x06000x0006
    byte count18-bit integer120x0C0x0C
    ulConnectorIndex432-bit integerSee the description above0x????????0x????????
    ulChannelIndex432-bit integerSee the description above0x????????0x????????
    ulMrsCode432-bit integerSee the description above0x????????0x????????

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer22000x98080x0898
    word count216-bit integer60x06000x0006

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x900x900x90
    Exception code18-bit integerSee corresponding chapter0x??0x??

    Function MSXE173x__EndatSensorSendParameter

    Description

    Reads a parameter from the memory area that was last selected.

    Before calling this function, you must call the MSXE173x__MFEndatInitSensor function to initialise the sensor, and then MSXE173x__MFEndatSelectMemoryArea, or MSXE173x__MFEndatSensorSendPosAndRecvSelMemArea to select the memory area that contains the parameter you want to read.

    Then call the function MSXE173x__EndatModbusGetParameter0, MSXE173x__EndatModbusGetParameter1, MSXE173x__EndatModbusGetParameter2 or MSXE173x__EndatModbusGetParameter3 to read the value of the parameter.

    Parameters

    Returns

    Possible return value on the remote system (read them with GetLastCommandStatusEx).

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer230x17000x0017
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer23000xFC080x08FC
    word count216-bit integer80x08000x0008
    byte count18-bit integer160x100x10
    ulConnectorIndex432-bit integerSee the description above0x????????0x????????
    ulChannelIndex432-bit integerSee the description above0x????????0x????????
    ulMrsCode432-bit integerSee the description above0x????????0x????????
    ulAddress432-bit integerSee the description above0x????????0x????????

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer23000xFC080x08FC
    word count216-bit integer80x08000x0008

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x900x900x90
    Exception code18-bit integerSee corresponding chapter0x??0x??

    Function MSXE173x__EndatSelectAdditionalData

    Description

    Selects the additional data that will be sent by the sensor.

    Some additional data are not available on all sensors. To get the available additional data of your sensor, please use the function MSXE173x__MFEndatGetSensorProperties.

    If you select an additional data that is not available on your sensor, you will get the parameter ucErrorSrc13 set to 1 when calling the function MSXE173x__MFEndatGetErrorSources.

    The additional data are extra values that the sensor can send (in the same cycle as its position value).

    This function is reserved for EnDat 2.2 sensors. It will returns an error if the sensor does not support EnDat 2.2 commands.

    Parameters

    Returns

    Possible return value on the remote system (read them with GetLastCommandStatusEx).

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer270x1B000x001B
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer25000xC4090x09C4
    word count216-bit integer100x0A000x000A
    byte count18-bit integer200x140x14
    ulConnectorIndex432-bit integerSee the description above0x????????0x????????
    ulChannelIndex432-bit integerSee the description above0x????????0x????????
    ulAddDataCount432-bit integerSee the description above0x????????0x????????
    ulMrsCodeAD1432-bit integerSee the description above0x????????0x????????
    ulMrsCodeAD2432-bit integerSee the description above0x????????0x????????

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer25000xC4090x09C4
    word count216-bit integer100x0A000x000A

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x900x900x90
    Exception code18-bit integerSee corresponding chapter0x??0x??

    Function MSXE173x__EndatInitAndEnableLatchPositionValues

    Description

    Initialises and enables the latch logic to get the position and additional informations from the EnDat sensor using a trigger source.

    Before calling this function, you must call the MSXE173x__MFEndatInitSensor function.

    When the selected trigger occurs, the position value of the selected EnDat channel will be measured and send through the dataserver.

    If you chose additional data using the function MSXE173x__MFEndatSelectAdditionalData and if your selected ulDataFormat enables it, you will also receive the value of the selected additional data.

    Note: using a synchro timer (and activating the synchro trigger as latch source) enables to get postion of the EnDat sensor at a defined rate.

    Parameters

    Frame sent by the dataserver depending on dataformat

    Returns

    Possible return value on the remote system (read them with GetLastCommandStatusEx).

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer270x1B000x001B
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer26000x280A0x0A28
    word count216-bit integer100x0A000x000A
    byte count18-bit integer200x140x14
    ulConnectorIndex432-bit integerSee the description above0x????????0x????????
    ulChannelIndex432-bit integerSee the description above0x????????0x????????
    ulLatchSource432-bit integerSee the description above0x????????0x????????
    ulTriggerEdgeCount432-bit integerSee the description above0x????????0x????????
    ulDataFormat432-bit integerSee the description above0x????????0x????????

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer26000x280A0x0A28
    word count216-bit integer100x0A000x000A

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x900x900x90
    Exception code18-bit integerSee corresponding chapter0x??0x??

    Function MSXE173x__EndatDisableAndReleaseLatchPositionValues

    Description

    Disables and releases the latch logic started with the function MSXE173x__MFEndatInitAndEnableLatchPositionValues.

    Parameters

    Returns

    Possible return value on the remote system (read them with GetLastCommandStatusEx).

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer150x0F000x000F
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer27000x8C0A0x0A8C
    word count216-bit integer40x04000x0004
    byte count18-bit integer80x080x08
    ulConnectorIndex432-bit integerSee the description above0x????????0x????????
    ulChannelIndex432-bit integerSee the description above0x????????0x????????

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer27000x8C0A0x0A8C
    word count216-bit integer40x04000x0004

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x900x900x90
    Exception code18-bit integerSee corresponding chapter0x??0x??

    Function MSXE173x__EndatResetErrorBits

    Description

    Resets the error bits.

    It can be used before each command in order to get (after the call of the command) the status of the system using MSXE173x__MFEndatGetErrorSources.

    Once an error is detected using MSXE173x__MFEndatGetErrorSources, you have to clear it using this function.

    Parameters

    Returns

    Possible return value on the remote system (read them with GetLastCommandStatusEx).

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer150x0F000x000F
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer29000x540B0x0B54
    word count216-bit integer40x04000x0004
    byte count18-bit integer80x080x08
    ulConnectorIndex432-bit integerSee the description above0x????????0x????????
    ulChannelIndex432-bit integerSee the description above0x????????0x????????

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer29000x540B0x0B54
    word count216-bit integer40x04000x0004

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x900x900x90
    Exception code18-bit integerSee corresponding chapter0x??0x??

    Function MSXE173x__EndatSensorSendPosAndRecvSelMemArea

    Description

    Reads the position value of the sensor and selects a memory area in the same cycle.

    In order to send or read parameters, the memory area must first be selected.

    Before calling this function, you must call the MSXE173x__MFEndatInitSensor function.

    This function differs from the MSXE173x__MFEndatSelectMemoryArea function, since it can select memory areas that are reserved for EnDat 2.2. sensors.

    This function is reserved for EnDat 2.2 sensors. It will returns an error if the sensor does not support EnDat 2.2 commands.

    Parameters

    Returns

    Possible return value on the remote system (read them with GetLastCommandStatusEx).

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer230x17000x0017
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer30000xB80B0x0BB8
    word count216-bit integer80x08000x0008
    byte count18-bit integer160x100x10
    ulConnectorIndex432-bit integerSee the description above0x????????0x????????
    ulChannelIndex432-bit integerSee the description above0x????????0x????????
    ulMrsCode432-bit integerSee the description above0x????????0x????????
    ulAddress432-bit integerSee the description above0x????????0x????????

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer30000xB80B0x0BB8
    word count216-bit integer80x08000x0008

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x900x900x90
    Exception code18-bit integerSee corresponding chapter0x??0x??

    Function MSXE173x__EndatSensorReceiveReset

    Description

    This function has the same effect as an hardware reboot of the sensor.

    Parameters

    Returns

    Possible return value on the remote system (read them with GetLastCommandStatusEx).

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer150x0F000x000F
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer51000xEC130x13EC
    word count216-bit integer40x04000x0004
    byte count18-bit integer80x080x08
    ulConnectorIndex432-bit integerSee the description above0x????????0x????????
    ulChannelIndex432-bit integerSee the description above0x????????0x????????

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer60x06000x0006
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x100x100x10
    Reference number (=register)216-bit integer51000xEC130x13EC
    word count216-bit integer40x04000x0004

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Intel)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x900x900x90
    Exception code18-bit integerSee corresponding chapter0x??0x??

    FC23 (read/write registers) Functions

    Top

    Functions in this group are used to read/write values on the module.
    This functions permits to call a write (FC16) and then a read(FC3) function in one command.

    Query frame layout

    FieldSize (Bytes)TypeValuelittle endian (Motorola)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integerDepends to the FC16 function called??
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x170x170x17
    Reference number for read (=register)216-bit integerFC3 reference??
    Word count for read216-bit integerSee the corresponding FC3 function??
    Reference number for write (=register)216-bit integerFC16 reference??
    Word count for write216-bit integerSee the corresponding FC16 function??
    Byte count18-bit integer(= 2xWord count for write)??
    Register values??See the corresponding FC16 function??

    Response frame layout

    FieldSize (Bytes)TypeValuelittle endian (Motorola)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integerDepends to the FC3 function called??
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x170x170x17
    Byte count18-bit integer(= 2x word count for read)??
    Register values??See the corresponding FC3 function??

    Exception frame layout

    FieldSize (Bytes)TypeValuelittle endian (Motorola)big endian (Motorola)
    transaction identifier216-bit integerUser defined - copied by server - usually 00x00000x0000
    protocol identifier216-bit integer00x00000x0000
    length216-bit integer30x03000x0003
    unit identifier18-bit integer0 or 10x00 or 0x010x00 or 0x01
    MODBUS Function code18-bit integer0x970x970x97
    Exception code18-bit integerSee corresponding chapter????

    Exception code description

    Top
    NameValueDescription
    MODBUS_ILLEGAL_FUNCTION 0x1 function code is not allowable action for the slave
    MODBUS_ILLEGAL_DATA_ADDRESS 0x2 data address received in query is not allowable
    MODBUS_ILLEGAL_DATA_VALUE 0x3 incorrect value int the query data field or the length is incorrect
    MODBUS_ILLEGAL_DATA_RESPONSE_LENGTH 0x4 the request as framed would generate a response whose size exceeds the available MODBUS datasize.
    MODBUS_ACKNOWLEDGE 0x5 specialized use in conjunction with programming commands
    MODBUS_DSLAVE_DEVICE_BUSY 0x6 specialized use in conjunction with programming commands
    MODBUS_NEGATIVE_ACKNOWLEDGE 0x07 specialized use in conjunction with programming commands
    MODBUS_MEMORY_PARITY_ERROR 0x08 the extended file area failed to pass a consistency check
    MODBUS_REMOTE_EXECUTION_ERROR 0x09 the remote function performed incorrectly (use function GetLastCommandStatus to know why)
    MODBUS_GATEWAY_PATH_UNAVAILABLE 0x0A used with modbus plus gateway
    MODBUS_GATEWAY_TARGET_DEVICE_FAILED_TO_RESPOND 0x0B used with modbus plus gateway

    Siemens Step 7 compatibility information (AWL/SDF code)

    Top

    Due to limitations of the S7 platform, some names of function and parameter have been shortened in the AWL and S7 code. This table summarizes the changes against the standard version as described above.

    Function/ParameterRenamed as
    MXCommon__GetModuleTypeGetModuleType
    MXCommon__GetTimeGetTime
    MXCommon__TestCustomerIDTestCustomerID
    MSXE17xx__DigitalIOReadAllChannelsValue17xx_DigIOReadAll
    MSXE17xx__DigitalIOTestShortCircuit17xx_DigIOTestShortC
    MSXE17xx__IOWatchdogGetStatusAndValue17xx_IOWatchdogGet
    MSXE173x__EndatGetPosition0173MFEndGetPos0
    MSXE173x__EndatGetPosition1173MFEndGetPos1
    MSXE173x__EndatGetPosition2173MFEndGetPos2
    MSXE173x__EndatGetPosition3173MFEndGetPos3
    MSXE173x__EndatGetSensorProperties0173MFEndGetSensProp0
    MSXE173x__EndatGetSensorProperties1173MFEndGetSensProp11
    MSXE173x__EndatGetSensorProperties2173MFEndGetSensProp2
    MSXE173x__EndatGetSensorProperties3173MFEndGetSensProp3
    MSXE173x__EndatGetPositionWithAddData0173MFEndGetPWAddData0
    MSXE173x__EndatGetPositionWithAddData1173MFEndGetPWAddData1
    MSXE173x__EndatGetPositionWithAddData2173MFEndGetPWAddData2
    MSXE173x__EndatGetPositionWithAddData3173MFEndGetPWAddData3
    MSXE173x__EndatGetErrorSources0173MFEndGetErrSrc0
    MSXE173x__EndatGetErrorSources1173MFEndGetErrSrc1
    MSXE173x__EndatGetErrorSources2173MFEndGetErrSrc2
    MSXE173x__EndatGetErrorSources3173MFEndGetErrSrc3
    MSXE173x__EndatModbusGetParameter0173MFEndModGetPar0
    MSXE173x__EndatModbusGetParameter1173MFEndModGetPar1
    MSXE173x__EndatModbusGetParameter2173MFEndModGetPar2
    MSXE173x__EndatModbusGetParameter3173MFEndModGetPar3
    MXCommon__SetHardwareTriggerFilterTimeSetHwTrigFiltTime
    MXCommon__InitAndStartSynchroTimerInitStartSyncTimer
    MXCommon__StopAndReleaseSynchroTimerStopRelSyncTimer
    MXCommon__RebootReboot
    MXCommon__SetCustomerKeySetCustomerKey
    MXCommon__SetFilterChannelsSetFilterChannels
    MSXE17xx__MFCommonSetInputsFilter17xx_MFCSetInputFilter
    MSXE17xx__MFCommonReferenceVoltageActivation17xx_MFCRefVoltActiv
    MSXE17xx__MFCommonSetFIFO0Level17xx_MFCSetFIFO0Level
    MSXE17xx__DigitalIOWriteAllChannelsValue17xx_DigIOWriteAll
    MSXE17xx__DigitalIORearmShortCircuit17xx_DigIORearm
    MSXE17xx__DigitalIOInitPort17xx_DigIOInitPort
    MSXE17xx__IOWatchdogInitAndStart17xx_IOWatchdogStart
    MSXE17xx__IOWatchdogStopAndRelease17xx_IOWatchdogStop
    MSXE173x__EndatInitSensor173MFEndInitSens
    MSXE173x__EndatSensorReceiveParameter173MFEndSensRcvParam
    MSXE173x__EndatSelectMemoryArea173MFEndSelectMemArea
    MSXE173x__EndatSensorSendParameter173MFEndSenParameter
    MSXE173x__EndatSelectAdditionalData173MFEndSelectAddData
    MSXE173x__EndatInitAndEnableLatchPositionValues173MFEndIniEnaPosVal
    MSXE173x__EndatDisableAndReleaseLatchPositionValues173MFEndDisRelPosVal
    MSXE173x__EndatResetErrorBits173MFEndResErrSou
    MSXE173x__EndatSensorSendPosAndRecvSelMemArea173MFEndPosRcvMemAre
    MSXE173x__EndatSensorReceiveReset173MFEndRcvReset