atmos modbus protocol 20131212

8
13/12/15 1 of 8 Address ofset Access Register name Type Unit 0 ro humidity sensor temperature i16 0.01C° 2312 23.12C° 1 ro pressure sensor temperature i16 0.01C° 2312 23.12C° 2 ro pressure [15..0] 3 ro pressure [31..16] 4 ro humidity u16 0.01% 5000 50.00% 5 ro wind dirrection u16 0.01° 27521 275.21° 6 ro wind speed u16 0.01ms-1 123 1.23ms-1 7 ro rain u16 * * * 8 ro lighting status u16 HEX * * 9 ro lighting cnt u16 dimensionless 12 12 10 ro AIN1 u16 * * * 11 ro AIN2 u16 * * * 12 ro Vmon u16 0.01V 523 5.23V 13 ro state u16 * 14 ro time [15..0] 15 ro time [31..16] 16 ro min. humidity sensor temperatu i16 0.01C° 17 ro max. humidity sensor temperat i16 0.01C° 18 ro avg. humidity sensor temperatu i16 0.01C° 19 ro raw humidity sensor temperatu u16 HEX 20 ro min. pressure sensor temperat i16 0.01C° 21 ro max. pressure sensor temperatu i16 0.01C° 22 ro avg. pressure sensor temperatu i16 0.01C° 23 ro res1 u16 * 24 ro raw press. temp. [15..0] 25 ro raw press. temp. [31..16] 26 ro min. pressure [15..0] 27 ro min. pressure [31..16] 28 ro max. pressure [15..0] 29 ro max. pressure [31..16] 30 ro avg. pressure [15..0] 31 ro avg. pressure [31..16] 32 ro raw pressure [15..0] 33 ro raw pressure [31..16] 34 ro min. humidity u16 0.01% 35 ro max. humidity u16 0.01% 36 ro avg. humidity u16 0.01% 37 ro raw humidity u16 HEX 38 ro min. wind speed u16 0.01ms-1 39 ro max. wind speed u16 0.01ms-1 40 ro avg. wind speed u16 0.01ms-1 41 ro res2 u16 * 42 ro raw wind frequency [15..0] 43 ro raw wind frequency [31..16] 44 ro avg. wind dirrection u16 0.01° 45 ro raw wind dirrection u16 HEX 46 ro raw rain u16 * 47 ro min. AIN1 u16 * 48 ro max. AIN1 u16 * 49 ro avg. AIN1 u16 * 50 ro raw AIN1 u16 * 51 ro min. AIN2 u16 * 52 ro max. AIN2 u16 * 53 ro avg. AIN2 u16 * 54 ro raw AIN2 u16 HEX 55 ro raw Vmon u16 HEX RS-485 MODBUS for Wind101 MODBUS Weather Stations u32 HEX Prefessional Weather station and Anemometer MODBUS protocol PDF version. u32 1s Input registers 100123 100123Pa Example reading/value u32 1Pa u32 u32 u32 u32 0.001Pa 0.001Pa HEX u32 HEX 0.001Pa

Upload: eric-hall

Post on 15-Nov-2015

19 views

Category:

Documents


8 download

DESCRIPTION

Atmos Modbus Protocol 20131212

TRANSCRIPT

  • 13/12/15 1 of 8

    Addressofset Access Register name Type Unit

    0 ro humidity sensor temperature i16 0.01C 2312 23.12C1 ro pressure sensor temperature i16 0.01C 2312 23.12C2 ro pressure [15..0]3 ro pressure [31..16]4 ro humidity u16 0.01% 5000 50.00%5 ro wind dirrection u16 0.01 27521 275.216 ro wind speed u16 0.01ms-1 123 1.23ms-17 ro rain u16 * * *8 ro lighting status u16 HEX * *9 ro lighting cnt u16 dimensionless 12 1210 ro AIN1 u16 * * *11 ro AIN2 u16 * * *12 ro Vmon u16 0.01V 523 5.23V13 ro state u16 *14 ro time [15..0]15 ro time [31..16]16 ro min. humidity sensor temperatu i16 0.01C17 ro max. humidity sensor temperat i16 0.01C18 ro avg. humidity sensor temperatu i16 0.01C19 ro raw humidity sensor temperatu u16 HEX20 ro min. pressure sensor temperat i16 0.01C21 ro max. pressure sensor temperatu i16 0.01C22 ro avg. pressure sensor temperatu i16 0.01C23 ro res1 u16 *24 ro raw press. temp. [15..0]25 ro raw press. temp. [31..16]26 ro min. pressure [15..0]27 ro min. pressure [31..16]28 ro max. pressure [15..0]29 ro max. pressure [31..16]30 ro avg. pressure [15..0]31 ro avg. pressure [31..16]32 ro raw pressure [15..0]33 ro raw pressure [31..16]34 ro min. humidity u16 0.01%35 ro max. humidity u16 0.01%36 ro avg. humidity u16 0.01%37 ro raw humidity u16 HEX38 ro min. wind speed u16 0.01ms-139 ro max. wind speed u16 0.01ms-140 ro avg. wind speed u16 0.01ms-141 ro res2 u16 *42 ro raw wind frequency [15..0]43 ro raw wind frequency [31..16]44 ro avg. wind dirrection u16 0.0145 ro raw wind dirrection u16 HEX46 ro raw rain u16 *47 ro min. AIN1 u16 *48 ro max. AIN1 u16 *49 ro avg. AIN1 u16 *50 ro raw AIN1 u16 *51 ro min. AIN2 u16 *52 ro max. AIN2 u16 *53 ro avg. AIN2 u16 *54 ro raw AIN2 u16 HEX55 ro raw Vmon u16 HEX

    RS-485 MODBUS for Wind101 MODBUS Weather Stations

    u32 HEX

    Prefessional Weather station and Anemometer MODBUS protocol PDF version.

    u32 1s

    Inpu

    t reg

    iste

    rs

    100123 100123Pa

    Examplereading/value

    u32 1Pa

    u32

    u32

    u32

    u32

    0.001Pa

    0.001Pa

    HEX

    u32 HEX

    0.001Pa

  • 13/12/15 2 of 8

    Addressofset Access Register name Type Unit purpose

    0 rw hardware no. u16 *1 rw firmware no. u16 *2 rw3 rw4 rw usart u16 *5 rw modbus u16 *6 rw7 rw8 rw9 rw10 rw period u16 *11 rw command u16 *12 rw reserve u16 *13 rw reserve u16 *14 rw15 rw16 rw c0 u16 *17 rw c1 u16 *18 rw c2 u16 *19 rw c3 u16 *20 rw c4 u16 *21 rw c5 u16 *22 rw23 rw24 rw25 rw26 rw27 rw28 rw29 rw30 rw31 rw32 rw33 rw34 rw35 rw36 rw37 rw38 rw39 rw40 rw41 rw42 rw43 rw44 rw45 rw46 rw47 rw48 rw49 rw50 rw51 rw f32 *

    *

    kp[1]

    kp[4]

    krh[0]

    krh[1]

    krh[2]

    ktrh[3]

    krh[4]

    kp[0]

    f32 *

    pres

    sure

    sen

    sor

    tem

    pera

    ture

    calib

    ratio

    n co

    nsta

    nts

    *

    kt1[0]

    kt1[1]

    kt1[2]

    kt1[3]

    kt1[4]

    *

    serial no. [32..0]

    Time [32..0] u32Seconds after 1.1.1970

    config 0 [32..0] u32

    config 1 [32..0] u32

    f32 *

    Hol

    ding

    regi

    ster

    s

    u32

    f32

    f32

    f32

    *

    kp[2]

    *

    *

    *

    kp[3]

    *

    hum

    idity

    sen

    sor

    tem

    pera

    ture

    calib

    ratio

    n co

    nsta

    nts

    f32 *

    f32 *

    f32

    f32 *

    f32 *

    f32 *

    f32 *

    f32 *

    f32

    pres

    sure

    sen

    sor

    calib

    ratio

    n co

    nsta

    nts

    pres

    sure

    sen

    sor

    fact

    ory

    calib

    ratio

    n co

    nsta

    nts

    Sys

    tem

    Con

    figur

    atio

    n

  • 13/12/15 3 of 8

    52 rw53 rw54 rw55 rw56 rw57 rw58 rw59 rw60 rw61 rw62 rw63 rw64 rw65 rw66 rw67 rw68 rw69 rw70 rw71 rw72 rw kwd[0] u16 *73 rw kwd[1] u16 *74 rw75 rw76 rw77 rw78 rw79 rw80 rw81 rw82 rw83 rw84 rw85 rw86 rw87 rw88 rw89 rw

    labeli16u16i32u32f16f32f64

    kvmon[0]

    kain1[0]

    *

    krn[0]

    kain2[0]

    kws[2] f32

    krn[1] f32

    f32 *

    *

    kws[1] f32 *

    f32 *

    kt1[4] f32

    *

    f32 *

    kws[3]

    kws[4] f32

    *

    *

    f32

    *

    kws[0] f32 *

    kt1[0]

    kt1[1]

    kt1[2]

    kt1[3]

    Comment

    f32 *

    f32 *

    *

    signed long 32bitunsigned long 32bit

    AIN

    2ca

    libra

    tion

    cons

    tant

    kvmon[1]

    kain2[1]

    volta

    ge

    mon

    itor

    calib

    ratio

    n co

    nsta

    nts

    f32

    signed short 16bitunsigned short 16bit

    f32 *

    hum

    idity

    sen

    sor

    calib

    ratio

    n co

    nsta

    nts

    wind directioncalibration

    AIN

    1ca

    libra

    tion

    cons

    tant

    win

    d sp

    eed

    calib

    ratio

    n co

    nsta

    nts

    rain sensorcalibration constant

    f32

    double 64bit (IEEE 754 standard)

    f32 *

    f32 *

    f32 *

    half-precision float (IEEE 754-2008 standard)

    kain1[1]

    Weather stations designed by Barani Design feature MODBUS ASCII, MODBUS RTU and Y-modem communication protocol for high speed sensor data transfer.

    float 32bit (IEEE 754 standard)

  • 13/12/15 4 of 8

    Registername bit

    0123456789101112131415

    Registername bit

    0123456789101112131415

    US

    AR

    T se

    tup

    Baudrate 0..32vis. Next table

    **Stop Bits

    **

    *

    *

    *

    Comment

    **

    RS-485 MODBUS REGISTERS for Wind101 MODBUS Weather Stations

    Comment

    *

    Ligh

    ting

    stat

    us

    *

    Parity

    *

    *

  • 13/12/15 5 of 8

    Registername bit

    0123456789101112131415

    Registername bit

    0123456789101112131415

    Modbus address1..127(1 - default)

    *

    Sta

    tus

    *

    New data aviable (set if new data block measuremend

    Analog input 1 errorAnalog input 2 errorVmon input error

    Baudrate 0..32vis. Next table

    Wind speed overflow

    Stop Bits

    Comment

    *

    Lightning sensor reading error

    Mod

    bus

    setu

    p

    New data sample aviable (set if new measurement

    *

    Comment

    Pressure sensor not respondingHumidity sensor not respondingWind Direction Sensor reading error

    *

    Humidity sensor not responding

    Parity

    Pressure sensor not responding

  • 13/12/15 6 of 8

    Registername bit

    0123456789101112131415

    Registername bit

    012345678910111213141516171819202122232425262728293031

    min. pressure sensor temperature (t1_min)max. pressure sensor temperature (t1_max)average pressure sensor temperature (t1_avg)raw pressure sensor temperature (t1_raw)min. humidity sensor temperature (t2_min)

    average humidity sensor temperature (t2_avg)max. humidity sensor temperature (t2_max)

    max. pressure (p_max)

    raw pressure (p_raw)

    avg. humidity (rh_avg)

    max. wind speed (ws_max)

    raw humidity sensor temperature (t2_raw)

    avg. pressure (p_avg)

    min. humidity (rh_min)

    raw humidity (rh_raw)min. wind speed (ws_min)

    avg. wind speed (ws_max)raw wind frequency

    AIN2 (ain2)

    Comment

    conf

    ig 0

    temperature of pressure sensor (t1)temperature of humidity sensor (t2)pressure (p)humidity (rh)

    max. humidity (rh_max)

    Vmon (vmon)

    min. pressure (p_min)

    lighting cnt (lc)AIN1 (ain1)

    wind speed (ws)wind dirrection (wd)

    lighting status (ls)rain (rain)

    Writing code to tdis register switch to binary protocolCode id unsigned 16bit nubmer, value not specified yet

    * - Not used yet

    Com

    man

    d

    Comment

  • 13/12/15 7 of 8

    Registername bit

    012345678910111213141516171819202122232425262728293031

    Registername value

    0x00000x00010x00020x00030x00040x00050x00060x00070x00080x00090x000A0x000B0x000C0x000D0xA5A5

    0XFFFF

    com

    man

    d

    CMD_UNKNOWN

    CMD_FAILED

    SAVE_MODBUSLOAD_MODBUSSAVE_CLILOAD_CLIRESETCLEAR_CALIB

    Comment

    ACCEPTEDSET_TIMERESTORE_DEFAULTSWITCH_TO_CLISAVE_CONFIGLOAD_CONFIGSAVE_CALIBLOAD_CALIB

    raw AIN1 (ain1_raw)

    max. AIN2 (ain2_max)

    raw Vmon (vmon_raw)state flags for internal sensors

    raw wind dirrection (wd_raw)avg. wind dirrection (wd_awg)

    raw rain (rain_raw)

    raw AIN2 (ain2_raw)avg. AIN2 (ain2_avg)

    min. AIN2 (ain2_min)

    min. AIN1 (ain1_min)max. AIN1 (ain1_max)avg. AIN1 (ain1_avg)

    Comment

    - write 1 to bit enable column in log file

    conf

    ig 1

    Weather stations designed by Barani Design feature MODBUS ASCII, MODBUS RTU and Y-modem communication protocol for high speed sensor data transfer.

  • 13/12/15 8 of 8

    code baudrate [Bd] code parity0 600 0 no parity (default)1 1200 1 odd parity2 2400 2 even parity3 4800 3 no parity4 96005 144006 19200 code baudrate [Bd]7 28800 0 1 stop bit (default)8 38400 1 2 stop bits9 5600010 5760011 115200 (default)12 12800013 23040014 25600015 46080016 92160017 100000018 200000019 11520020 11520021 11520022 11520023 11520024 11520025 11520026 11520027 11520028 11520029 11520030 11520031 11520032 115200

    RS-485 MODBUS BAUDRATE for Wind101 MODBUS Weather Stations

    Weather stations designed by Barani Design feature MODBUS ASCII, MODBUS RTU and Y-modem communication protocol for high speed meteo data transfer.

    ModbusRegistersBaudrate