FINS Commands and Responses for DeviceNet Units

Appendix C

For commands, the data to be sent to the specified node is specified, with a maximum of 538 bytes.

For responses, The test data that was sent by the command is returned.

Explanation

An error has occurred if the test data sent by the command and the tests data returned by the response are different.

READ ERROR HISTORY (2102)

Reads the error history saved in the DeviceNet Unit.

Command Block

Command

Beginning

No. of

code

record no.

records

Response Block

Command End code

Max. no.

No. of

No. of

Error log

Error log

code

of stored

stored

read

data (for

data (for

 

records

records

records

1 record)

1 record)

End Codes

End code (hex)

Contents

 

 

0000

Normal end

 

 

1001

Command length exceeds maximum command length.

 

 

1002

The command length is insufficient for the smallest command.

 

 

1103

Outside address range error

 

The Read start record No. is larger than the number of records

 

currently stored.

 

 

110C

Parameter error

 

No. of read records= 0.

 

 

Parameter Details

[Read Start Record No.](Command)

Specifies the record number where the read is to start in 2-byte (4-digit) hexa- decimal. The record number is specified from 0000 to 0003F hex (0 to 63 dec- imal), with the first word being 0000 hex.

[Read Record No.](Command, response)

For commands, specifies the number of records to be read. The specification range is 0001 to 0040 hex (1 to 64 decimal).

For responses, the number of records actually read is returned.

[Max. No. of Records] (Response)

The maximum number of errors that can be recorded in DeviceNet Unit error history. Fixed to 0040 hex (40 decimal) for DeviceNet Units.

[No. Stored] (Response)

The number of error history records stored at the point when the command was executed. The range is 0000 to 0040 hex (0 to 64 decimal).

[Error History Data] (Response)

244

Page 252
Image 252
Omron CS1W-DRM21, CJ1W-DRM21 operation manual Read Error History, Reads the error history saved in the DeviceNet Unit