SNMP adapter
RS 232 serial connectivity
[ Terminal ] [ IP setup ] [ Sensors config ]
Serial connectivity is designed for temperature sensors configuration, IP,Mask, Gateway Setup.
For interconnection between PC and
SNMP adapter user used delivered serial cable.
On SNMP adapter cable side is mounted CANON9 DSUB Male connector,
on PC side is used DSUB FEMALE.
cable pinout:
PC Side Pin # | Description | SNMP side Pin # | Description |
5 | GND Ground | 5 | GND |
3 | Transmit Data | 2 RxD | Receive Data |
2 | Receive Data | 3 TxD | Transmit |
Note: in cable is pin 2,3 crossed.
For communications between PC and SNMP adapter
is needed terminal software such HyperTerminal, WinTerm, Norton Terminal.
It is possible to use any serial terminal.
In terminal software it is needed to setup
communication properties to: 9600,N,8.1
After terminal software startup it is needed to send CR ( simply pressing by
Enter key on keyboard ).
SNMP will send Setup Menu in format:
---- SNMP HOST for DS MICROWIRE--- |
Menu description:
1) My IP Address
to setup SNMP adapter IP address: enter number 1
as command. SNMP will be prompted >
Enter new IP in decimal format ended with CR
example: 11.1.1.243
Note: IP address must be in accordance with local network IP addresses. Usually first 3 bytes in IP address are equal in all PC's, devices.
m) Subnet mask
used for Subnet mask. For small networks it is: 255.255.255.0
Subnet mask is used for IP filtering.
Mask 255.255. 0 . 0 can by used also.
g) Default GateWay
After 'g' key pressed, SNMP will be require IP address of default gateway.
Gateway IP routing is static routing and it is used to access to different
network.
2) Dest IP Adress
SNMP adapter will send SNMP Traps when the limits of temperature is
exceeded.
ALL IP, GateWay, Mask, DestIP user can edit by TELNET.
a) MAC Address
Consists of 6 bytes in decimal format from range 0..255
Be sure that the same MAC address is not used by two devices.
Some routers types required even number on least position of MAC.
If it is some problems with connectivity on specific network in first step we
recommended to change MAC.
MAC address value is possible to edit in RS232 MENU.
3) Num sensors
Specify the number of connected sensors to SNMP adapter. Possible range is:
1..16
Sensor configuration process is available in RS232 MENU only. (not in TELNET)
4) DIAG TEMP
Temperature sensor diagnostics.
To use this menu, only one temperature sensor may be connected at the MICROLAN
bus. This means that all JP1 bridges at the hubs must be disconnected and only
one sensor may be connected. Push "4” and ENTER to display sensor address at the
terminal window:
22 71 25 x2 x0 x0 x0 17
8 bytes in one line, with first 6 bytes being the sensor address, last byte is
CRC byte.
If SNMP displays CRC Error, either there are more sensors connected to the bus,
or the cable is too long.
If SNMP displays NO DEVICE, there is no sensor connected to the bus.
5) Save TempID
In the above procedure, only one sensor was connected to the bus. Now we will
store the sensor address to the position in SNMP memory.
In total, there are 16 positions available, labeled from 0 to 15.
By pushing “5” and ENTER, SNMP will request the position number and by pressing
ENTER again, the address of connected sensor will be stored in the selected
position.
Each second MICROWEB requests the temperature from sensor with the address
stored at n position (n=0..15). In each step, the "n" value is increased by 1,
until it reaches the number of sensors defined in menu 3. The temperature values
are stored in memory table, to the positions 0…16.
SNMP Manager may use PDU GET command to request the selected temperature value.
For example, it will request MIB OID temperature 1.3.6.1.4.1316.2.2.0 for the
sensor with position 2.
When configuring sensors, always connect one sensor at a time and test it by
using the command 4= DIAG TEMP. Use command 5 to store the sensor address in
selected position. Disconnect the sensor and proceed to configuration of the
next one. Finally, set up the number of sensors.