Advantech PCA-6176 Series User Manual Page 39

  • Download
  • Add to my manuals
  • Print
  • Page
    / 62
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 38
33 SNMP-1000-B2 User Manual
Chapter 4 Programming SNMP-1000-B2
Please Enter Your Choice => "
6. On the host computer side send 5\r. SNMP-1000-B2 will respond 5\n\n and
enter the pass through command mode.
Host computer side sends:
"5\r"
SNMP-1000-B2 responds:
"5\n
Command :"
Once the pass through command mode is entered, SNMP-1000-B2 is ready to
receive commands.
4.3 Command and Response Syntax
The format of commands and responses is displayed as follows:
a. Write command: w!!&xxx
b. Read command: r!!&
c. Response: [repeat received command]\n Response: xxx\n
Command:
w: write command
r: read command
!!: device code
&: device subcode
xxx: value in ASCII code; this can be "Done" or "Invalid" in the SNMP-1000-B2
response.
Examples:
1. Write lower limit of Fan 0 to "1000" rpm
EX.
Host computer side sends:
"w1011000\r"
SNMP-1000-B2 responds:
"w1011000\n Response: Done\n Command:"
2. Read lower limit of Fan 0
EX.
Host computer side sends:
"r101\r"
SNMP-1000-B2 responds:
"r101\n Response: 1000\n Command:"
3. If the input command is incorrect then SNMP-1000-B2 will respond with an
invalid message notification.
EX.
Host computer side sends:
"r905\r"
Here the device subcode is over range.
SNMP-1000-B2 responds:
"r905\n Response: Invalid\n Command:"
Page view 38
1 2 ... 34 35 36 37 38 39 40 41 42 43 44 ... 61 62

Comments to this Manuals

No comments