MODBUS.CLRERRORS

Description

Clears all Modbus errors. After executing this command MODBUS.ERRORS returns a zero error count.

Example

The following sequence shows MODBUS.ERRORS and MODBUS.ERRORCOUNT before and after executing the MODBUS.CLRERRORS command.

-->MODBUS.ERRORS
(39d:21h:30m:48s) Write 40002: Modbus error code 34 (Command Error), Error 7 (Command is read-only)
(39d:21h:33m:21s) Read 45001: Modbus error code 38 (Length Invalid)
-->MODBUS.ERRORCOUNT
2 -->MODBUS.CLRERRORS -->MODBUS.ERRORS -->MODBUS.ERRORCOUNT
0 -->

Context

For more information, see Modbus Errors.

Versions

Action Version Notes

Implemented

02-05-00-000

 

General Information

Type

Action Command

Units

N/A

Range

N/A

Default Value

N/A

Data Type

N/A

See Also

MODBUS.ERRORMODE
MODBUS.ERRORCOUNT

MODBUS.ERRORS

Stored in Non-Volatile Memory

No

Fieldbus Information

EtherNet/IP

ID

Instance

Attribute

Name

Data Type

Access

User Mappable

3700

1

3700 (0xe74)

MODBUS.CLRERRORS

Unsigned8

Read/Write

No

PROFINET

Parameter

PNU

Data Type

Access

Units

MODBUS.CLRERRORS

3700

Unsigned8

Read/Write

-