Compaq PCD-1 User Manual Page 33

  • Download
  • Add to my manuals
  • Print
  • Page
    / 42
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 32
Saia-Burgess Controls AG
Manual SNMP │ Document 27/639; Edition EN01 │ 2014-06-11
Management-Information-Base MIB
MIBlestructure
4
4-8
Examples:
snmpset –v2c –c private –m SaiaPCDClassic <ip> mediaType i 1 # IO range
snmpset –v2c –c private –m SaiaPCDClassic <ip> mediaIdentifer i 0 # IO 0
snmpset –v2c –c private –m SaiaPCDClassic <ip> mediaIndex i 0
snmpset –v2c –c private –m SaiaPCDClassic <ip> mediaValueInt i 1 # Write 1
snmpget –v2c –c public –m SaiaPCDClassic <ip> mediaValueInt # Read
Remark:Inordertobeabletowriteoutput1,itisnecessarytoconguretowrite
accesstoIOrange.ReadisbydefaultallowedoverthewholeIOrange.
4.4.6 pcdRtc
Withthis,itispossibletoaccesstheRTC(RealTimeClock)ofthesystem.All
eldsarereadonly.
ID Alias Description
pcdRtc.4 <rtcWeekNumber> Displayedasaninteger,itgivesthecur-
rentweeknumber
pcdRtc.5 <rtcDayOfWeek> Displayedasaninteger,itgivesthecur-
rentdayoftheweek
pcdRtc.6 <rtctimeTick> Denedas«timeticks»,itreturnsthe
number of 100th of seconds since the
beginningofthecurrentyear
pcdRtc.7 <rtcDT> Displaythecurrentdataandtime
asstringintheform«YY-MM-DD
hh:mm:ss:ms».
Alltheseeldsareread-onlyelds.
Examples:
snmpget –v2c –c public <ip> 1.3.6.1.4.1.31977.6.7
willreturnthedateandtimeasareadablestring.
ByusingthealiasesasdenedintheSaiaMIB.txt,theaboveexamplecanbe
reduced to
snmpget –v2c –c public –m SaiaPCDClassic <ip> rtcDT
Page view 32
1 2 ... 28 29 30 31 32 33 34 35 36 37 38 ... 41 42

Comments to this Manuals

No comments