Browse FAQs

DATA_EXCH ModbusTCP response data

Published date: 30 October 2019

Title
DATA_EXCH ModbusTCP response
 
Issue
Explanation of the DATA_EXCH ModbusTCP response data
 
Product Line
M580 BMENOC03x1
 
Environment
Control Expert, Unity
 
Resolution
 The DATA_EXCH response variable data layout will use the first element of the array to indicate either a successful transaction or error response in the first word.
The First word of the ModbusTCP response will contain the following values:
High byte (MSB):
1. if successful: Modbus Function Code
2. if not: Modbus function code + 16#80
Low byte (LSB):
1. if successful: depends on the request
2. if not: Modbus exception code
 

Was this helpful?

What can we do to improve the information ?

Can't find what you are looking for?

Reach out to our customer care team to receive information on technical support, assistance for complaints and more.