ProSoft Technology 3170-MBS User Manual

Page 28

Advertising
background image

Status Information

3170-MBS ♦ Flex Platform

User Manual

Modbus Slave Interface Module

Page 28 of 55

ProSoft Technology, Inc.

October 27, 2010

5.5

Modbus Status

Responses to Host: This rollover counter increments every time a response is

issued by the 3170-MBS. Note that this counter increments whether the

response is a data response or an error code response.
No Responses to Host: This rollover counter increments every time a command

is seen on the Modbus port, which is not for this slave. This counter may be used

as a network activity counter.
Last Detected Error Condition: This value is the last error code transmitted to the

master by the 3170-MBS.

5.5.1 Error Codes

Code

Name

Description

0

All OK

The port is operating as desired

1

Illegal Function

An illegal function code request is being attempted

2

Bad Data Address

The address, or the range of addresses, covered by a

request from the host is not within allowed limits

3

Bad Data Value

The value in the data field of the command from the host

is not allowed.

4

Incomplete Response
Detected

This error indicates that an incomplete query was
received from a host query. This indicates that the slave

port is timing out too quickly (that is, application may

require some Inter-character Timeout Delay) or that the

host query is getting abbreviated, possibly by the

transmitting modem (last character getting dropped).

10

Buffer Overflow

The receive buffer has overflowed and reset the
character count to 0. If this condition occurs try reading

fewer parameters at one time

254

Checksum Error

The slave determined that the message checksum was in

error, and therefore discarded the message

Advertising