Operating Instructions
Chapter
8
ICR890
Troubleshooting
8011325/0000/2006-10-24
©
SICK AG · Division Auto Ident · Germany · All rights reserved
99
Query warnings
Request:
sRN MSwarn
Answer:
sRA MSwarn
ParameterWARNING1 (Error code FirstTimePwrOnCnt FirstTimeOpHours
FirstTimeDailyOpHours LastTimePwrOnCnt LastTimeOpHours LastTimeDailyOpHours Number
ReservedBytes) ParameterWARNING2 ParameterWARNING3 ParameterWARNING4
ParameterWARNING5
Example for querying warnings
Request:
sWN MSwarn
Answer:
sWA MSwarn 4C0ACC0Ah 00A4h 0255h 0005h 00A4h 0256h 0006h 0256h 0000h 4C0ACC0Bh
00A4h 0255h 0005h 00A4h 0256h 0006h 0256h 0000h 4C0ACC0Ch 00A4h 0255h 0005h 00A4h
0256h 0006h 0256h 0000h 4C0ACC0Bh 00A4h 0255h 0005h 00A4h 0256h 0006h 0256h 0000h
4C0ACC0Ch 00A4h 0255h 0005h 00A4h 0256h 0006h 0256h 0000h
Telegram part
Description
Variable type
Length (byte)
Value range
Type of command
Request (SOPAS write by name)
string
3
sRN
Command
Query warnings
string
6
MSwarn
Tab. 8-1: Request “Query warnings“
Telegram part
Description
Variable type
Length (byte) Value range
Type of command
Answer (SOPAS answer)
string
3
sRA
Command
Query warnings
string
6
MSwarn
Paramete
rs are repeat
ed fiv
e
times
(per
memory
for
warni
ngs,
ir
res
pect
ive
of whether i
t i
s
full
or
not)
Error code
Hex value of the saved error code
uint_32
4
00000001h
…
FFFFFFFFh
FirstTimePwrOnCnt
Status of the power on counter at
the time of the first occurrence
uint_16
2
0000h
…
FFFFh
FirstTimeOpHours
Status of the total operating hours
counter at the time of the first
occurrence
uint_16
2
0000h
…
FFFFh
FirstTimeDailyOpHours
Status of the operating hours
counter at the time of the first
occurrence
uint_16
2
0000h
…
FFFFh
LastTimePwrOnCnt Status
of the power on counter at
the time of the last occurrence
uint_16
2
0000h
…
FFFFh
LastTimeOpHours
Status of the total operating hours
counter at the time of the last
occurrence
uint_16
2
0000h
…
FFFFh
LastTimeDailyOpHours
Status of the operating hours
counter at the time of the last
occurrence
uint_16
2
0000h
…
FFFFh
Number
Displays a number of the
occurrence
uint_16
2
0000h
…
FFFFh
Reserved bytes
Reserved
uint_16
2
0000h
Tab. 8-2: Answer to the request “Query warnings“