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

Name

ID

Hex

Data Type

Access

Units

MODBUS.CLRERRORS

3700

E74

Unsigned8

Read/Write

-

PROFINET

Parameter

PNU

Data Type

Access

Units

MODBUS.CLRERRORS

3700

Unsigned8

Read/Write

-