modbus technology - focus on softing fg-200...2018/09/17  · modbus defines some function codes....

29
Modbus Technology - Focus on Softing FG-200 17 th September 2018, Haar Mikail Aydin, Product Marketing Manager Process Automation

Upload: others

Post on 02-Feb-2021

8 views

Category:

Documents


1 download

TRANSCRIPT

  • Modbus Technology -Focus on Softing FG-200

    17th September 2018, Haar Mikail Aydin, Product Marketing Manager Process Automation

  • Copyright © 2018 Softing Industrial. All rights reserved. 2

    Table of Contents

    1.

    2.

    3.

    Introduction

    Modbus – Basics

    Break – Market Survey Questions

    Softing Updates from Data Networks

    4. Focus on FG-200 and ComConf (Live Demo)

    5. Summary & Q/A

    Softing Updates from Data Networks

  • Copyright © 2018 Softing Industrial. All rights reserved. 3

    Partner Webinar – Schedule

    Q1 Q2 Q3 Q4

    April:

    mobiLink Launch

    August:

    DATAcheek: A guide through PROFINET

    Diagnostics

    March:

    Webinar Kick-off

    Continuous feedback from Channel Partners

    Embedded market surveys

    (not more than 5 closed multiple choice questions)

    Oct:

    TBA

    May:

    DN-Gateways for Process

    Automation

    June:

    PA Market Overview

    July:

    Softing mobile Interface overview

    Sept:

    Modbus Technology - Focus on Softing FG-200

    Nov:

    TBA

    X2 Webinars per month: Monday 9am CET & 4pm CET

    https://support.logmeininc.com/gotowebinar?c_name=prodselecthttps://industrial.softing.com/de/wir-ueber-uns/distributor-login.html

  • Copyright © 2018 Softing Industrial. All rights reserved. 4

    Webinar: Calendar

    • IA DN PA Webinar: March (19th)

    • 2. IA DN PA Webinar: April (17th)

    • 3. IA DN PA Webinar: May (14th)

    • 4. IA DN PA Webinar: June (18th)

    • 5. IA DN PA Webinar: July (16th)

    • 6. IA DN PA Webinar: August (20th)

    • 7. IA DN PA Webinar: September (17th)

    • 8. IA DN PA Webinar: October (15th)

    • 9. IA DN PA Webinar: November (19th)

    Scheduled Webinars

  • Copyright © 2018 Softing Industrial. All rights reserved. 5

    Webinar - Data Network: Contact Person

    Peter Jüngling Senior Account Manager Industrial Data Networks T.: +49 89 45656-376 E.: [email protected] Responsible for registrations in Distributor and Partner Area

    Sofi Serpik Marketing Assistant Industrial Data Networks E.: [email protected]

    Responsible for communication, invitations and follow-up.

    Mikail Aydin Product Marketing Manager Industrial Data Networks T.: +49 89 45656-221 E.: [email protected]

    Responsible for content, topics.

    https://industrial.softing.com/en/about-us/distributor-and-partner-login.html

  • Copyright © 2018 Softing Industrial. All rights reserved. 6

    Data Network: Social Media

  • Copyright © 2018 Softing Industrial. All rights reserved. 7

    Table of Contents

    1.

    2.

    3.

    Introduction

    Modbus – Basics

    Break – Market Survey Questions

    Softing Updates from Data Networks

    4. Focus on FG-200 and ComConf (Live Demo)

    5. Summary & Q/A

  • Copyright © 2018 Softing Industrial. All rights reserved. 8

    What is it About?

    Process data (Modbus TCP or FF HSE)

    FF-H1 field device Parametrization (TCP/IP)

  • Copyright © 2018 Softing Industrial. All rights reserved. 9

    Learning Outcome Statement

    • Get insights into Modbus standard and typical applications What you will learn

    •Understand how Modbus communication works

    •Troubleshoot Modbus communication’s issue

    •Find the Modbus details of our products

    •Demonstrate Modbus communication to your customers with Softing products

    Skills

    • Ethernet communication basics

    • Basic understanding of Softing Configuration tools Pre-requirements

  • Copyright © 2018 Softing Industrial. All rights reserved. 10

    Table of Contents

    1.

    2.

    3.

    Introduction

    Modbus – Basics

    Break – Market Survey Questions

    Softing Updates from Data Networks

    4. Focus on FG-200 and ComConf (Live Demo)

    5. Summary & Q/A

  • Copyright © 2018 Softing Industrial. All rights reserved. 11

    Modbus History

    Origin

    o Developed by Modicon (now Schneider Electric) in 1979 to exchange information between

    machines on the factory floor.

    Goals

    o Openly published and royalty-free

    o Easy to deploy and maintain

    • Simple and robust

    o No restrictions on vendors

    More details

    o Modbus Organization, Inc.

    • http://www.modbus.org

    http://www.modbus.org/

  • Copyright © 2018 Softing Industrial. All rights reserved. 12

    Where is Modbus Used?

  • Copyright © 2018 Softing Industrial. All rights reserved. 13

    Modbus: Limitations

    Modbus was designed to communicate efficiently (with PLCs)

    o Number of data types is limited

    o Large binary objects are not supported

    o Nodes cannot figure out the description of the data

    • Example: determine if a register value represents a temperature, a speed…

    o Master/Slave protocol, the data is polled

    • Slave cannot report a problem

    Master must poll each field device and look for changes

    o Modbus is restricted to address 254 devices on one data link

    o Modbus protocol provides no security against unauthorized commands or interception of data

  • Copyright © 2018 Softing Industrial. All rights reserved. 14

    Modbus: How does it Work

    “Is the door open Or closed?” “I want to open it” “I want to close it”

    Communication protocol: o Set of rules that tell machines:

    • How to talk to each other, • How to check errors, • How fast and what they should send, • How they should initiate/terminate the communication

    o Example: A phone call

    New state

    Cell door

    Security team

  • Copyright © 2018 Softing Industrial. All rights reserved. 15

    Modbus: How does it Work

    Request

    Response

    Client Server

    Open (1) Closed (0)

    Polling

    HMI / SCADA / PLC

  • Copyright © 2018 Softing Industrial. All rights reserved. 16

    Modbus: How does it Work

    Server

    Depending on input statuses, the server will constantly update its Internal memory Modbus registers

    Client

    Request

    Response

    Internal memory

    Primary tables

    Read coils Read coil X

    X 0

    2

    1

    3

    3 2

    4 HMI / SCADA / PLC

    The terms "coil“ (Read / Write) and “Input Discrete” (Read-only) are bits, for example ON or OFF. “Holding registers” (R / W) and “Input Registers” ( Read-only) are "words“ and are 16 bits long

  • Copyright © 2018 Softing Industrial. All rights reserved. 17

    Modbus: Function Codes & Variations

    Code Name Code Name

    01 Read Coils 13 Program Controller

    02 Read Discrete Inputs 14 Poll Controller

    03 Read Holding Registers 15 Write Multiple Coils

    04 Read Input Registers 16 Write Multiple Registers

    05 Write Single Coil 17 Report Slave ID

    06 Write Single Register 18 Program 884/M84

    07 Read Exception Status 19 Reset Comm. Link

    08 Diagnostics 20 Read File Record

    09 Program 484 21 Write File Record

    10 Poll 484 22 Mask Write Register

    11 Get Comm Event Counter 23 Read/Write Multiple Registers

    12 Get Comm Event Log 24 Read FIFO Queue

    Modbus defines some function codes. Devices do not support all of them.

    Variation Modbus

    RTU Modbus

    ASCII Modbus

    TCP

    Physical Medium

    RS-232 / 422 / 485

    RS-232 / 422 / 485

    Ethernet

    Serial Data Bits

    8 7 ---

    Data Format HEX ASCII HEX

    Topology One

    Master One

    Master Multiple Clients

  • Copyright © 2018 Softing Industrial. All rights reserved. 18

    Modbus TCP: Message Frame

    Request

    Transaction Identifier

    Protocol Identifier

    Length Unit

    Identifier Function

    Code Data

    2 bytes 2 bytes 2 bytes 1 byte 8 bits N x 8 bits

    (0-252bytes)

    7-byte ModBus Application Protocol (MBAP) header

    Client Server

  • Copyright © 2018 Softing Industrial. All rights reserved. 19

    Modbus TCP: Normal Request and Response

    Request

    Modbus TCP Response

    Modbus TCP Request

    Response

    Transaction Identifier

    Protocol Identifier

    Length Unit Identifier Function Code Data

    Start Address Length

    0x 03 00 0x 00 00 0x 00 06 0x 11 0x 03 0x 00 6B 0x 00 01

    Transaction Identifier

    Protocol Identifier

    Length Unit Identifier Function Code Data

    Length Data Value

    0x 03 00 0x 00 00 0x 00 05 0x 11 0x 03 0x 02 0x 00 01

    Client Server

  • Copyright © 2018 Softing Industrial. All rights reserved. 20

    Modbus TCP: Abnormal Request and Response

    Request

    Modbus TCP Response

    Modbus TCP Request

    Response

    Transaction Identifier

    Protocol Identifier

    Length Unit Identifier Function Code Data

    Start Address Length

    0x 03 00 0x 00 00 0x 00 06 0x 11 0x 03 0x 00 6B 0x 00 01

    Client Server

    Transaction Identifier

    Protocol Identifier

    Length Unit Identifier Function Code Data

    Exception Code

    0x 03 00 0x 00 00 0x 00 03 0x 11 0x 83 0x 02

    Value Name Meaning

    01 Illegal

    Function

    The function code received in the query is not an allowable action for the slave. This may be because the function code is only applicable to newer devices, and was not implemented in the

    unit.

    02 Illegal Data

    Address The data address received in the query is not an allowable address for the slave. More specifically,

    the combination of reference number and transfer length is invalid.

    03 Illegal Data Value A value contained in the query data field is not an allowable value for the slave. This indicates a

    fault in the structure of remainder of a complex request, such as that the implied length is incorrect.

    04 Slave Device

    Failure An unrecoverable error occurred while the slave was attempting to perform the requested action.

    05 Acknowledge Specialized use in conjunction with programming commands.

    The slave has accepted the request and is processing it, but a long duration of time will be required to do so.

    06 Slave Device Busy Specialized use in conjunction with programming commands.

    The slave is engaged in processing a long-duration program command. The master should retransmit the message later when the slave is free.

  • Copyright © 2018 Softing Industrial. All rights reserved. 21

    Table of Contents

    1.

    2.

    3.

    Introduction

    Modbus – Basics

    Break – Market Survey Questions

    Softing Updates from Data Networks

    4. Focus on FG-200 and ComConf (Live Demo)

    5. Summary & Q/A

  • Copyright © 2018 Softing Industrial. All rights reserved. 22

    Table of Contents

    1.

    2.

    3.

    Introduction

    Modbus – Basics

    Break – Market Survey Questions

    Softing Updates from Data Networks

    4. Focus on FG-200 and ComConf (Live Demo)

    5. Summary & Q/A

  • Copyright © 2018 Softing Industrial. All rights reserved. 23

    COMPLETE ▪ HIGHLY FUNCTIONAL ▪ COST EFFICIENT

    FG-200: Specs

    Four channel host interface on the infrastructure level in-between Host systems (Modbus/TCP or HSE) and FF-H1 field devices

    • Either via a DCS/PLC Host system, the Softing configuration tool, or an engineering tool

    Fast redundancy (FF-H1 segments) • Cyclic communication (Publisher - Subscriber) for immediate switch

    Support of FDT Frame Applications and major Engineering Tools

    Suitable for use in hazardous areas • Ex approval for Zone 2

  • Copyright © 2018 Softing Industrial. All rights reserved. 24

    Product Differentiation: FG-200 vs. FG-110

    The major differences of the FG-200 are:

    o The device has 2 Ethernet ports o More performance and more precise timing thank to a FPGA-

    based design o Bus-powered Medium Attachment Unit

    • The FG-200 draws 10 mA per fieldbus segment (FF-H1)

    o Designed to work with STAHL carrier and power conditioners – for easy wiring and reduced commissioning efforts

    o Optimized redundancy • Configuration exchange for redundancy is now done via high

    speed serial port instead of Ethernet

    o Modbus TCP accesses cannot be configured on web server

    FG-110 (EOL)

    FG-200

  • Copyright © 2018 Softing Industrial. All rights reserved. 25

    FG-200: Demo – ComConf & Connection with PACTware

    + +

    Rosemount™ 848T Temperature Transmitter

    PACTware 5.0

    ComConf

    FG-200

    Field devices DD files

    Field devices DTM files

    Vegabar 52 Pressure Transmitter

    FF HSE + FG-200 DTMs

    FG-200 included

  • Copyright © 2018 Softing Industrial. All rights reserved. 26

    Summary: FG-200 Project

    Create a new project and follow the following steps:

    o In ComConf (Softing configuration tool):

    • Make configuration in ComConf and define your Modbus TCP registers • “Build current segment” in ComConf • “Download current segment” configuration via ComConf • Check that you don’t have any errors in “Message Log”

    o In web server of the FG-200:

    • “Reload Live List” in “Configuration > Fieldbus > Blocks”. Your configured blocks should appear. • Import the csv file containing the Modbus mapping in “Configuration > Modbus > Import/Export” • Define point pages with point data in “Configuration > Page Options”

    • Verify, if the data is shown correctly in “Monitor > Point Data” • If not, “Reload Live List” again.

  • Copyright © 2018 Softing Industrial. All rights reserved. 27

    Table of Contents

    1.

    2.

    3.

    Introduction

    Modbus – Basics

    Break – Market Survey Questions

    Softing Updates from Data Networks

    4. Focus on FG-200 and ComConf (Live Demo)

    5. Summary & Q/A

  • Copyright © 2018 Softing Industrial. All rights reserved. 28

    Summary / Call for Action

    Modbus TCP is easy to use and to implement

    Most of the PLCs support Modbus TCP

    o Schneider does not have native I/O cards for FF-H1 Need of Gateway life FG-200

    Use marketing material and target new customers

    o Create awareness

    • FG-200 has been released for a long time and is a mature product, good success stories in O&G

    • New products: mbGate PA released in April and mbGate DP coming soon (end of November)

    Gather feedbacks from your customers

    o For existing devices: improvement / feedbacks

    o For further development (new protocols, new features…)

    Involve PMM team (Thomas Hilz and myself) for interesting projects and support requests (live

    demo, technical details…)

  • Mikail Aydin Product Marketing Manager Softing Industrial – Data Networks Tel: +49 89 45 656 -221 Mobile: +49 176 21833999 Email: [email protected]

    Thank you very much for your attention! Any questions? Feel free to ask!

    industrial.softing.com/en