Modbus Enhanced

download Modbus Enhanced

of 18

Transcript of Modbus Enhanced

  • 7/27/2019 Modbus Enhanced

    1/18

    s

    Siemens Building Technologies Building Automation

    Modbus Enhanced

    Features of the new Modbus

  • 7/27/2019 Modbus Enhanced

    2/18

    s

    Siemens Building Technologies Building Automation

    Modbus Enhanced

    We had to do some changes

  • 7/27/2019 Modbus Enhanced

    3/18

    s

    Siemens Building Technologies Building Automation3

    Modbus Enhanced - Requirements

    We want to be backward compatible

    We want to add new feature to make it faster and easier to

    integrate with Modbus

    We want to be flexible and integrate a multitude of devices with

    one driver

    We want to take advantage of expanded addressing and eliminate

    Meta-Points

    We want to add Modbus TCP support

    We want to combine Modbus Master and Slave in one driver

  • 7/27/2019 Modbus Enhanced

    4/18

    s

    Siemens Building Technologies Building Automation4

    Modbus Enhanced

    Can run in three modes:

    Legacy Mode

    Meta-Drop Driver

    Backwards compatible

    Enhanced Master Mode ISB Files

    Expanded Addressing

    Slave Mode

    ISB Files

    Expanded Addressing

    New concept not backward compatible

  • 7/27/2019 Modbus Enhanced

    5/18

    s

    Siemens Building Technologies Building Automation5

    Modbus Enhanced

    Modbus Enhanced Mode will support:

    Modbus TCP Client (Master)

    ISB Files

    Expanded Addressing

    New way of communicating Modbus TCP Server (Slave)

    ISB Files

    Expanded Addressing

    New way of communicating

    Implementation depends on baseline support

  • 7/27/2019 Modbus Enhanced

    6/18

    s

    Siemens Building Technologies Building Automation6

    Modbus Enhanced - Legacy Mode

    Will be backwards compatible to MBA/MBG driver

    Will provide same functionality as current Modbus driver

    Will be configured like current standard Modbus Master Driver

    Will work under earlier (3.4) versions of Insight (Patch file required)

    Will only use FLN1 for communication

    Will not use Expanded Addressing Will not have fixed point maps Will not make use of ISB files Will require a minor Database change for upgrades

    Meta Drop now at FLN 253 Drop 30

    Diagnostic Drop now at FLN 253 Drop 31

  • 7/27/2019 Modbus Enhanced

    7/18

    s

    Siemens Building Technologies Building Automation7

    Modbus Enhanced Enhanced Master Mode

    Will require the usage of ISB files

    No ad-hoc configuration possible

    Will allow to read different point types in the same register range with one poll

    Will allow to integrate different devices with different needs on the same driver (e.g. Long Swap per

    point not per driver)

    Will require a tool to create the ISB files

    Application Builder Tool (pending)

    Will make use of expanded addressing

    FLN 1, 2 & 3 for serial communication

    FLN 6 to 100 for TCP/IP

    Up to 247 Drops/Slaves per FLN

    Up to 1000 points per Drop/Slave

    Up to 100 different applications per driver

    Up to 8000 different application points

  • 7/27/2019 Modbus Enhanced

    8/18

    s

    Siemens Building Technologies Building Automation8

    Modbus Enhanced Enhanced Master Mode

    Will use one drop per device

    drop number is device address on serial ports (default).

    Address point (point 1) can be used as slave address (Alternative addressing method).

    Will communicated on different FLNs

    Will support up to 31 devices on each FLN direct or up to 247 devices with repeaters.

    Will use drops 1 to 247 on FLN1, 2 and 3 Will provide virtual FLNs for TCP/IP operation

    Will use drops 0 to 247 for TCP/IP FLNs to support sub networks on TCP/IP devices

    Different FLNs can use different communication set-up

    Baud rate

    Parity

    Will accommodate poll priority

  • 7/27/2019 Modbus Enhanced

    9/18

    s

    Siemens Building Technologies Building Automation9

    Modbus Enhanced Enhanced Master Mode

  • 7/27/2019 Modbus Enhanced

    10/18

    s

    Siemens Building Technologies Building Automation10

    Modbus Enhanced Modbus Slave Mode

    Exclusive Mode if serial ports are used

    Uses ISB file

    Uses Expanded Addressing

    Can simulate multiple slaves in one driver

    Will use drop number to set slave address

    Will use only FLN1 for serial communication Will use virtual FLNs 6 to 100 for Modbus TCP Server (pending

    baseline support)

  • 7/27/2019 Modbus Enhanced

    11/18

    s

    Siemens Building Technologies Building Automation11

    Modbus Enhanced ISB File Properties

    Auxiliary Fields Definition

    AddressOffset

    1 2

    Data

    Type

    C,

    CM,

    B,

    I,IS,ID

    ,IE,

    IF,

    IP,

    H,

    HS,

    HM,

    HN,D,

    DS,

    F,P

    3

    BitNumber

    (BitMappedonly)

    4

    Word

    Swap

    5

    Long

    Swap

    (32Bitreg

    istersonly)

    6

    Commandonlywith

    nextregister

    7

    PollP

    riority

    0-65535 XX 0-15 Y/N Y/N Y/N 0-255

  • 7/27/2019 Modbus Enhanced

    12/18

    s

    Siemens Building Technologies Building Automation12

    Modbus Enhanced ISB File Properties

    Address Offset

    (0-65,535)The address offset defines the offset from the base register for the particular

    register to be accessed in the range of 0 to 65535. This is a mandatory entry. If this field

    is not filled in or if a value above 65535 is entered, then the point will be declared

    invalid. The base registers are:

    1 for Coil Registers

    10,001 for Binary Input Registers

    30,001 for Analog Input Registers

    40,001 for Holding Registers

  • 7/27/2019 Modbus Enhanced

    13/18

    s

    Siemens Building Technologies Building Automation13

    Modbus Enhanced ISB File Properties

    Data Types

    C & CM for Coils

    CM uses function 15 instead 5 fro commanding

    B for Binary Inputs

    I, IS, ID, IE, IF & IP for Analog Inputs

    H, HS, HM, HN & P for 16 bit Holding Registers HM & HN are using function 16 instead of 6 for commanding

    D, DS & F for 32 bit Holding Registers

    Bit number

    Used for defining the bit number for point types P and IP

  • 7/27/2019 Modbus Enhanced

    14/18

    s

    Siemens Building Technologies Building Automation14

    Modbus Enhanced ISB File Properties

    Word Swap

    Selects if the bytes of a register are swapped

    default is no swap

    Long Swap

    Selects if the two registers of a two register value (32 bit value) should be swapped.

    Default is long swap

    Command with next

    Commands the current point only if the next point will be changed as well.

    Multiple register commands are used

    s

  • 7/27/2019 Modbus Enhanced

    15/18

    s

    Siemens Building Technologies Building Automation15

    Modbus Enhanced ISB File Properties

    Poll priority

    Allows to poll less frequently for points with lower importance or which will change

    seldom.

    Poll priority of 0 is used for command only points, no poll will be created for such points

    Poll priority of 1 will poll a point every time the device is served.

    Poll priority of n (n = 2 to 255) will skip n-1 polls

    s

  • 7/27/2019 Modbus Enhanced

    16/18

    s

    Siemens Building Technologies Building Automation16

    Modbus Enhanced Other Features

    Build in Diagnostic / Test Mode

    Will provide capability to create a manual poll and command definition

    Will allow to read one variable from one device at a time

    Will allow to write one variable to one device at a time

    Definition can be changed on the fly

    Can be used for initial start-up, e.g. to get the communication going Can be used to explore devices if special settings like Long Swap are needed

    Can be used to configure a device in the field if certain values have to be written to

    specific registers one time only

    s

  • 7/27/2019 Modbus Enhanced

    17/18

    s

    Siemens Building Technologies Building Automation17

    Modbus Enhanced Other Features

    Will provide Sunrise Sundown Calculation

    Three control points will allow to enter Longitude, Latitude and Time Zone

    Three points will provide the sunrise time, sundown time and a status signal if it is dark

    or daylight

    s

  • 7/27/2019 Modbus Enhanced

    18/18

    s

    Siemens Building Technologies Building Automation18

    Modbus Enhanced

    Questions ?