JDS Uniphase SKB Series User Manual page 63

Fiberoptic switch module
Hide thumbs Also See for SKB Series:
Table of Contents

Advertisement

48
Commands
STIMER?
Query the system timer. System time is defined from the last reset (includes power cycle
Description
and hard or soft reset)
NA
Parameters
NA
Parameter
Description
Command packet
OPCODE
Length
0x0B
0x00
Response packet
OPCODE
Length
0x0B
0x07
U16 Msec, U8 Sec, U8 Min, U16 Hour, U8 Year
Msec (unsigned 16-bit)--The current millisecond timer index (0 to 999).
Sec (unsigned eight-bit)--The current second timer index (0 to 59).
Min (unsigned eight-bit)--The current minute timer index (0 to 59).
Hour (unsigned 16-bit)--The current hour timer index (0 to 8759).
Year (unsigned eight-bit)--The current year timer index (0 to 255).
The system timer is returned as seven bytes as described previously. These
bytes can be extracted into a "C" structure, for example, as follows:
struct TIMER
/* define system timer struct */
{
U16_t Msec;
/* milliseconds */
U8_t Sec ;
/* seconds */
U8_t Min ;
/* minutes */
U16_t Hour;
/* hours */
U8_t Year;
/* years (approx. 8760 hours) */
};
Parameters
Parameters

Advertisement

Table of Contents
loading

Table of Contents