beautypg.com

Rtcdateset[year],[month],[dayofmonth],[dayofweek, Hour],[minute],[second – ADIC SNC 5100 User Manual

Page 162

background image

SNC 5100

154

Commands

6-00020-02

route

delete

,

destination

,

gateway

The

route

delete

command removes a route to the destination through

the gateway.

SN60023 > route "delete","200.0.0","bruno"

SN60023 >

route

list

The

route

list

command lists the existing routes.

SN60023 > route "list"

Destination SNC 5100

-------------------- --------------------

socrates

bruno

Destination SNC 5100

-------------------- --------------------

200.0.0

bruno

value = 0 = 0x0

SN60023 >

rtcDateSet[year],[month],[dayofmonth],[dayofweek],
[hour],[minute],[second]

The

rtcDateSet

command allows you to set the date and time manually.

• You must use a 24-hour clock.

• All parameters are digits.

• The year can be either two or four digits.

• Single digit months or hours should not be filled out with leading zeroes.

• A digit from 1-7 needs to be entered for the

[dayofweek]

parameter, but

it doesn’t matter what you enter, since the command will automatically
correct it if it is wrong.

To display the new time and date data after entering the

rtcDateSet

command, enter the

date

command.

To set the RTC to 9:35 A.M. on Friday, January 26, 2001, enter the following