Section 5 V680S Command Details
Execution Example
Reading the Two Newest Records from the Command Error Log When Command Errors Occur
* This example assumes that there are the following two valid records in the command error log.
• Error code 2001 hex occurred for command code 0001 hex at the host device (IP address
192.168.1.10) at an operating time of 11,223,344 (00AB 4130 hex).
• Error code 2002 hex occurred for command code 0002 hex at the host device (IP address
192.168.1.10) at an operating time of 11,223,345 (00AB 4131 hex).
bit15-12 bit11-8 bit7-4 bit3-0
2
004
0
000
0002
CmdCode
CmdParam1
CmdParam2
Data name
+1
+2
+3
Memory offset
Command Area
ErrCode
RespInfo1
RespInfo2
Data name
+1
+2
+3
Memory offset
Response Area
bit15-12 bit11-8 bit7-4 bit3-0
0
000
0
000
0000
0
002
4
131
0
04B
010A
C 0A8
0
002
2
002
0000
0 000
4130
0 04B
0
10A
C
0A8
0001
2 001
0000
RespData[0-1]
RespData[2-3]
RespData[4-5]
RespData[6-7]
RespData[8-9]
RespData[10-11]
RespData[12-13]
RespData[14-15]
RespData[16-17]
RespData[18-19]
RespData[20-21]
RespData[22-23]
RespData[24-25]
RespData[26-27]
RespData[28-29]
RespData[30-31]
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
Number of records
Operating time
IP address
Command code
Error code
Response information 1
Response Information 2
Operating time
IP address
Command code
Error code
Response information 1
Response Information 2
0 000RespData[32-33]+20
0000
0
000
0
000
0
000
0000
0 000
0000
RespData[242-243]
RespData[244-245]
RespData[246-247]
RespData[248-249]
RespData[250-251]
RespData[252-253]
RespData[254-255]
+125
+126
+127
+128
+129
+130
+131
Operating time
IP address
Command code
Error code
Response information 1
Response Information 2
0000RespData[256-257]+132
Newest record in the
command error log
Newest record − 1
in the command error log
Newest record − 15
in the command error log