how to use mbo.ppt [호환 모드] · – any modbus/tcp compliant devices ... 메모리address...

Download How to use MBO.ppt [호환 모드] · – Any Modbus/TCP compliant devices ... 메모리address range, ... • InTouch, RSview, WinCC, Citect 등OPC 표준을지원하는모든OPC

If you can't read please download the document

Upload: vudan

Post on 21-May-2018

245 views

Category:

Documents


4 download

TRANSCRIPT

  • 1. HYM(20pt)

    All about Data Connectivity Solutions

    How to Use MBO OPC ServerHow to Use MBO OPC Server

    031-346-1981,[email protected]

  • 1. HYM(20pt)Supported Device & Memory Types

    Supported Device

    Any Modbus/TCP compliant devices

    Memory Types

    Memory Description

    0x Coil Status Boolean Read/Write

    1x Input Status Boolean Read Only

    3x Input Registers All data types Read Only

    4x Holding Registers All data types Read/Write

    www.opchub.com

  • 1. HYM(20pt)Supported Function codes

    Function Code Descriptions

    01 (01 hex) Read Coils

    02 (02 hex) Read Discrete Inputs02 (02 hex) Read Discrete Inputs

    03 (03 hex) Read Holding Registers

    04 (04 hex) Read Input Registers04 (04 hex) Read Input Registers

    05 (05 hex) Write Single Coil

    06 (06 hex) Write Single Register06 (06 hex) Write Single Register

    15 (0F hex) Write Multiple Coils

    16 (10 hex) Write Multiple Registers16 (10 hex) Write Multiple Registers

    22(16 hex) Mask Write Register

    www.opchub.com

  • 1. HYM(20pt)Starting MBO & Registration

    MBO OPC Server Capture Computer ID Number [email protected] Product ID Register , Exit Demo (2 ) .

    Use Local Server Connection .

    www.opchub.com

  • 1. HYM(20pt)Driver Terms

    (Channel) ? I/O driver communication path (Physical) (Logical) . 2 , .

    Channel Process , () .

    , .

    (Device) ? (Device) ? I/O driver PLC, RTU . network address, hardware type, .

    (Data Block) ?

    access data set . , address range, Integer, ASCII, Float .

    2 2 .

    Poll rate : I/O driver Access time : Primary Poll rate . iFIX

    OPC Client Workspace data link script Access time I/O driver Primary poll rate Secondary poll , Access time I/O driver Primary poll rate Secondary poll rate . Secondary poll rate DISABLED, polling . polling Performance .

    www.opchub.com

  • 1. HYM(20pt)Channel Setup

    I/O driver communication path , (Physical) , (Logical) .

    Channel Device Device .

    Channel OPC Item .

    OPC Program ID : Intellution.MBOOPC

    OPC Item : Device:DataBlock , Channel .

    www.opchub.com

  • 1. HYM(20pt)Channel Setup

    Channel .

    www.opchub.com

  • 1. HYM(20pt)Device Setup

    .

    Primary Device/Backup Device : Device Primary Device Backup Device Primary Device/Backup Device Device Primary Device Backup Device Channel PC Binding IP Device IP address .

    Primary IP/Backup IP : Primary Device 2, Backup Device 2 IP Address (:) , IP Address (:) .

    Reply Timeout/Retry/Delay : I/O driver () (Reply) , Time-out( ) , Retry Data Request . Data Request Retry Reply Delay () DataData Request Retry Reply , Delay () Data Request . , Backup , Backup Channel, Primary Channel . Delay time Device Connection .

    www.opchub.com

  • 1. HYM(20pt)Device Setup

    1 Reply 3 Retry , Reply 10 Delay .

    PLC Server (Slave) OPC Client (Master) .

    Delay time PLC connection

    www.opchub.com

    Device .

    y .

  • 1. HYM(20pt)Device Setup

    4-way Communication Redundancy

    PLC 2 LAN port

    PLC LAN port binding PCLAN card

    www.opchub.com

  • 1. HYM(20pt)DataBlock Setup

    .

    I/O Address Setup : Type (0xxxx, 1xxxx, 3xxxx, 4xxxx) Starting Address Length Ending Address .

    Deadband : Exception-based , . SAC . Analog , Digital 0 . SAC . Analog , Digital 0 .

    Latch Data : iFIX ???? , Check Box , (last good value) . Current Alarm Status COMM .

    Block Write : !Send Command Register . Setup parameter .

    www.opchub.com

  • 1. HYM(20pt)DataBlock Polling Setup

    Polling

    Primary Poll rate : I/O driver Primary Poll rate I/O driver

    Secondary Poll rate : iFIX OPC Client Workspace data link script , Access time I/O driver Primary poll rate Secondary poll rate Secondary poll ratedriver Primary poll rate Secondary poll rate . Secondary poll rate DISABLED, polling . polling Performance .

    h I/O d i i S d ll Phase : I/O driver Primary Secondary poll rate . , 1 10 , 0.1delay 0.1 .

    ) 1 0 1 0 1 1 0 2 1 0 3 1 0 9 ( 1 ll i 0 h ( d l ) )) 1:0, 1:0.1, 1:0.2, 1:0.3 ..1:0.9 ( 1 poll time 0.x phase(=delay) )

    , , .

    Access time : Access time I/O driver Primary poll rate Secondary poll rate .

    www.opchub.com

  • 1. HYM(20pt)DataBlock Setup - Digital

    type Points Ending .Word Digital16 16 .

    Check

    Block Writes Check HMI Digital Output , IO Address

    : !Send:DataBlockName

    Digital Swap S

    www.opchub.com

    DataBlock ., Analog Swap .

  • 1. HYM(20pt)DataBlock Setup - Analog

    1 Polling SecondaryRate disabled .

    Access time(5) Client , secondary rate ratepolling . D p gdisabled .

    Phase delay time . 10 DataBlock 1 polling 1 polling DataBlock 0.1 0.20.3 0.4 delay time .

    Analog High byte Low byte swap .

    www.opchub.com

  • 1. HYM(20pt)DataBlock Setup Data Type

    Data Type : .

    Data Types Description

    ASCII Null terminated ASCII string

    Si d I t (Si t) Si d 16 bit i t ( 32768 32767)Signed Integer (Sint) Signed 16-bit integer (-32768 ~ 32767)

    Unsigned Integer (Uint) Unsigned 16-bit integer (0 ~ 65535)

    Float 32-bit float point (IEEE)Float 32 bit float point (IEEE)

    Digital Single bit

    Double 64-bit float point

    Long Unsigned 32-bit integer

    Signed Long (SLong) Signed 32-bit integer

    Long64 Unsigned 64-bit integer

    Signed Long64 (SLong64) Signed 64-bit integer

    www.opchub.com

  • 1. HYM(20pt)Advanced Setup

    .

    . xxx.mbo .

    www.opchub.com

  • 1. HYM(20pt)Advanced Setup

    Memory : PLC Maximum .

    NIO Simulation : Simulation On Write . Default Off.

    Server Auto Create : On , iFIX OPC Client DB Manager I/O address . Off , Power Tool . Off , Power Tool . Option Power Tool . On Off .

    Startup Auto : Driver Polling Option Startup Auto : Driver Polling . Option Power Tool . iFIX Off iFIX Loading , OPC ClientOn .

    www.opchub.com

  • 1. HYM(20pt)Advanced Setup

    Simulation On OPC Client 0 Client 0 Display(Quality Good), Write PLC Output .

    S A t C t OPC Cli tServer Auto Create OPC Client Address MBO DataBlock . Off .

    Auto Start On MBO Power Tool MBO Start Mode .Holing Register (4x) byte

    bi . bit (, 40001:0 Digital Output ) bit masking .

    www.opchub.com

  • 1. HYM(20pt)Mode ChangeMBO . Configuration .g

    Configuration Mode

    Data Viwer ToolAnalog data Byte swap . Client Byte swap .

    www.opchub.com

  • 1. HYM(20pt)Accessing from OPC Clients

    InTouch, RSview, WinCC, Citect OPC OPC Clients .

    Program ID (OPC Server Name) Intellution.MBOOPC .

    OPC Item Device Name:Address .OPC Item Device_Name Address .

    Analog: Device0:40001, Device0:40010

    Digital: Device0:40001:0, Device0:40001:15

    www.opchub.com

  • 1. HYM(20pt)Accessing from iFIX HMI

    DataBlock Setup Data Type Uint .

    Data Type Hardware Option .

    Advanced Setup Auto Start Off , SCU LSS driver iFIX .

    Analog addressing : Device_Name:Word .

    ) Device0:40001

    Digital addressing: Device Name:Word Bit Digital addressing: Device_Name:Word.Bit .

    ) Device0:40001.0 Device0:40001.15

    Hardware Option : Data Type .

    Signal Conditioning : Signal Conditioning Raw data iFIX (Water-K) Signal Conditioning Raw data . Signal Conditioning , Raw data (scale) .Unsigned data type , Signed LIN .

    www.opchub.com

  • 1. HYM(20pt)Signal Conditioning in iFIX

    "None" No Signal Conditioning"

    "12BN" "12 Bit Binary with No Alarming"

    "12AL" "12 Bit Binary with Alarming" 12AL 12 Bit Binary with Alarming

    "15BN" "15 Bit Binary with No Alarming"

    "15AL" "15 Bit Binary with Alarming"

    "Lin" "Linear Signal Conditioning"g g

    "3BCD" "3 Digit Binary Coded Decimal"

    "4BCD" "4 Digit Binary Coded Decimal"

    "13BN" "13 Bit Binary with No Alarming"

    "13AL" "13 Bit Binary with Alarming"

    "8BN" "8 Bit Binary with No Alarming"

    "8AL" "8 Bit Binary with Alarming"

    "14ST" "-+20mA->4mA~20mA 9600-16000" 14ST -+20mA->4mA~20mA 9600-16000

    "ADA" " -8000~+8000 LS Analog Card"

    "ADA2" "0~16000 LS Analog Card

    ADA3" " -2000~+2000 LS Analog Cardg

    ADA4" "0~4000 LS Analog Card"

    "ADA5" "0~32000 LS Analog Card"

    "RATIO" "Value Ratio

    www.opchub.com

  • 1. HYM(20pt)Optimization

    Optimizing Message Length

    iFIX DB Manager . address dd address .

    Address 130 -> Auto Create start address 130, length 1

    Address 5 -> Auto Create start address 5, length 1

    Address 120 -> Auto Create start address 5, end address 120 length 116 length 116

    1) .

    1)

    Message 1: 5, length 116

    Message 2: 130, length 1

    , 2) (Bandwidth)

    . 1) .

    ) 2)

    Message 1: 5, length 1

    Message 2: 120, length 11

    ( address

    www.opchub.com

    ( address

    ) .

  • 1. HYM(20pt)Optimization

    DataBlock ?

    , Driver Auto Create option iFIX address , Driver Auto Create option iFIX address , DataBlock .

    1) iFIX , Mission Control , SAC tab Stop SAC .

    ) / 2) I/O Driver Power Tool , DataBlock . , .

    3) Mission Control SAC tab Start . Driver DatablockDefault setting .

    Power Tool iFIX DB .

    , DataBlock poll rate .

    1) CSV Export .

    2) Datablock .

    3) Export .

    4) CSV Import 4) CSV Import .

    www.opchub.com

  • 1. HYM(20pt)Optimization

    address . address .

    ->

    .

    start address: 5, Length: 10 start address 5, Length 10

    start address: 16, Length: 10

    Start address:5, Length:22 .

    iFIX , Enable/Disable ?

    Digital Output(DO) // . DO 1 Enable 0 Disable .

    I/O address syntax: !MODE:NAME

    Name //

    www.opchub.com

    Name // .

  • 1. HYM(20pt)Contact Us

    Thank You!Thank You!Thank You!Thank You!

    Tel 031-346-1981Mobile 010 5027 8967Mobile 010-5027-8967Email [email protected] www.opchub.com

    www.opchub.com