adam-5510ekw/tp - advantechdownloadt.advantech.com/.../downloadfile3/ei-2xy6m/adam-5510ek… ·...

96
Ethernet Enabled Soft Logic controller Ethernet Enabled Soft Logic controller ADAM-5510EKW/TP Cai Qin Application Engineer

Upload: dinhanh

Post on 28-Aug-2018

242 views

Category:

Documents


0 download

TRANSCRIPT

  • Ethernet Enabled Soft Logic controllerEthernet Enabled

    Soft Logic controller

    ADAM-5510EKW/TP

    Cai QinApplication Engineer

  • AgendaAgenda KW Softlogic PLC Introduction

    - Hardware Specification- DIP Switch setting- Multiprog Software- Configuration & Programming & Downloading

    Function Enhance- Communication Function- Modbus Functions- Remote I/O - ADAM ModBus OPC- Create Your Own Function Block- ADAM5000 Function Library

    Communion and Share-ADAM-5510KW- ADAM5510KW- UsingFiles- Some Problems

  • ProCon Realtime OS

    KW Softlogic PLC Introduction

    1.KW Development ToolsMultiprog Software2.Compile

    3.Download

    4.Kernel Execute Code

    5.Active I/O by controller

    ADAM-5510EKW/TP

  • ADAM-5510KW SeriesSoft Logic Controller

    ADAM-5510KW SeriesSoft Logic Controller

    ADAM-5510EKW/TP8-slot Ethernet SoftLogic Controller

    ADAM-5510EKW8-slot SoftLogic Controller

    ADAM-5510KW4-slot SoftLogic Controller

    w/o Ethernet

    Ethernet-enabled

    4-Slot 8-Slot

  • Hardware SpecificationCPU: X86(80188-40)KW kernel: ProCon Realtime OSOS: KW Procon OS ROM-DOSMemory: Program 70KB150KB for

    5510KW/5510EKWKW Source File 512KB

    SRAM: 640KBRetain (User) 7KB (16KB for

    5510KW/5510EKWModbus (User) 4KB(16KB for

    5510KW/5510EKWSlot: 8/4Remote IO:Up to 255 ADAM-4000 modbus

    series modules .Protocol: Modbus/RTU & Modbus/TCPI/O Module: All ADAM-5000 moduleWDT: - Operating System WDT( 1.6 s)

    - KW application watchdog- Modbus server communication watchdog

    Real-time Clock: YesCommunication: COM1/2/4(RS232/485)

    5000 Series Modules

  • ADAM-5510EKW/TP COM Port

  • ADAM-5510EKW/TPDIP Switch Setting

  • ADAM-5510KW DIP Switch Setting

    ID = 0 is reserved by system configuration.

  • KW Softlogic PLC Introduction

    IEC61131-3 Standard. Support Language: LD, FBD,

    SFC , ST & IL GUI Interface Monitoring Data Trend PID Control Component Multitask Structure Cross-Language in Single

    Task Customization FB Library

  • KW Softlogic PLC IntroductionWork Area

    Project Area

    Function Library Are

  • Configuration and Programming

    ConfigurationStep 1 :Open New ProjectStep 2 :Select the TemplateStep 3 :Set up Communication PortStep 4 :Setting Data AreaStep 5 :Define the I/O Module (TypeRange

    Memory Location)

  • Configuration Step 2 :Select Template (Template for ProConOS DOS)

  • ConfigurationConfiguration

    Default Main Task

  • ConfigurationConfiguration Step 3-1 :Setup Communication Port

    Right Click on it

  • ConfigurationConfiguration Step 3-2 : Setup Communication Port

  • ConfigurationConfigurationStep 3Step 3--22--1 :Setup TCPIP Address1 :Setup TCPIP Address

    a: Select DLL Option from Porta: Select DLL Option from Portb:b: Setup IP , Default IP:10.0.0.1 Setup IP , Default IP:10.0.0.1

  • ConfigurationConfiguration Step 4-1 :Setup Data Area

  • ConfigurationConfiguration Step 4-2 :Setup Data Area

  • ConfigurationConfiguration Step 4-3 :Save as Template

  • ConfigurationConfiguration Step 5-1 : Define the I/O Module

    Double Click on it

  • ConfigurationConfiguration Step 5-2 : Define the I/O Module

    Define the Input and Output Module separately

  • Configuration Step 5-3 : Define the I/O Module

    1.IO Name

    2.Logical Address

    3.Board I/O Module

  • Data Length For Adam-5510KW I/O

    AI/O 1 channel for 2 Bytes; DI/O 1 channel for 1 bit

  • ConfigurationConfiguration Step 5-4 : Define the I/O Module

    1.Driver Version2.Slot3.Module Name4.Advance (For AI/AO module)5.ADAM5510KW system setup

  • ConfigurationConfiguration Step 5-5 : ADAM5510KW System setup

    New Function to setup IP AddressAfter download the setting,IP address will be changed.

  • Configuration Step 5-6 : Define the I/O Module

    Add the Module step by step and the configuration procedure will be done.

  • Configure on ADAM-5510EKW/TP

    It should be under Initial Mode

  • Configure on ADAM-5510EKW/TP

    It should be under Running Mode

  • Programming Step 1 : Check the communication status

    Project control dialog

    It shows the communication status is normal

  • Programming Step 2 : Open Working Area

    Double Click

    Open Working Area

  • Programming Step 3 : Start Editing

    Click on the work area and the cross sign show up. You can start editing your project.

  • Programming Step 4 : Start Editing

    Double Click on the Function Block

  • Programming Step 4-1 :Start Editing

    Variable Properties

    Define the data pin on each pin

  • Programming Step 4-2 : Define the Variable Name and Data Type and I/O Address

  • location and size prefixes forlocated variables:

  • Programming Step 4-4 :Compile

    Compile

    Message

  • Programming Step 4-5 : Download project to controller

    1.Stop 2.Reset 3.Download

  • Programming Step 4-6 : Download the project .

    1

    2. Press the download button

    3. Download percentage.

  • Programming Step 4-7 : Download the project .

    4. Download 5. Press the Activate button

  • Programming6. Also download at this method

    Download Program

    Download Source

    Download Firmware File or other Files

  • Programming Step 4-8 : Start Run the project .

    7. Cold or warm boot

  • Programming Step 4-8 : Online Monitoring

    Debug

    Click on DEBUG to process the online monitoring

  • Function EnhancementFunction Enhancement Communication Function Modbus Functions Remote I/O ADAM ModBus OPC Create Your Own Function Block ADAM5000 Function Library

  • ----1

    COM1/RS232 Multiprog

  • ----2----2

    COM2 RS485 Multiprog

  • ----3----3

    Multiprog,

  • ----MODBUS/RTU1

    COM1 RS232(485) Modbus/RTU slaveModbus

  • ----MODBUS/RTU2----MODBUS/RTU2

    COM2 RS485 modbus/RTU slave

  • ----MODBUS/RTU3----MODBUS/RTU3

    COM4 RS485 modbus/RTU master ,MODBUSRemote I/O module

  • ----MODBUS/RTU4----MODBUS/RTU4

    COM4RS485 modbus/RTUMaster

    COM2(COM1)RS485 modbus/RTUSlave

  • ----MODBUS/TCP1----MODBUS/TCP1

    Modbus/TCP Server

  • ----MODBUS/TCP2----MODBUS/TCP2

    Modbus/TCP Client

  • ----1----1

    ADAM

    COM4/RS485 ADAMRemote I/O module ADAM5000.fwlCOM_FB Function block

  • ADAM-5090RS232

    ADAM5000.fwlCOM_FB Function block

    ----2----2

  • Function EnhancementFunction Enhancement Communication Function Modbus Functions Remote I/O ADAM ModBus OPC Create Your Own Function Block ADAM5000 Function Library

  • Modbus Functions

    Support Modbus Functions

    Modbus/RTU Master Function:COM4Connect to Modbus/RTU remote I/O modules such as Modbus modules of ADAM-4000 series.

    Modbus/RTU Slave Function:COM1/COM2Connect to HMI/SCADA software or Modbus master devices via serial port.

    Modbus/TCP Server Function:Connect to HMI/SCADA software via Ethernet port.

    Modbus/TCP Client Function:Connect to Modbus/TCP remote I/O modules such as ADAM-6000 series.

  • Modbus Address Mapping

    For Local Digital Input/OutputBOOL Module:00001-00128 Slot

    For Local Analog Input/Output(WORD) and Counter(DWORD) Module:

    40001-40064 SlotRemote IO&

    ADAM-5510KW 16K Bytes Modbus , 16K Bytes User , Modbusprotocol ,WORD (4X) , 8000 WORD Modbus , 42001~49999 .

  • Modbus address mapping* Data Type: BOOL ; BYTE or WORD :

    MW3.0 is counted as one Byte of memory location but the definition for Modbus 4X is Word. It mean MW3.0 + MW3.1 will be mapping to 42001.

    1 Byte

    %MW3.0 %MW3.1%MW3.2 %MW3.3%MW3.4 %MW3.5

    42001Data 1

    42002Data 2

    42003Data 3

  • Modbus address mapping* Data Type: DWORD or REAL :

    When the data type is Real, the data length will be 4 Bytes and it will be two Modbus Address.

    Data type for Real

    MW3.0 MW3.1 MW3.2 MW3.3MW3.4 MW3.5 MW3.6 MW3.7MW3.8 MW3.9 MW3.10 MW3.11

    42001 ; 42002Data 1

    42003 ; 42004Data 2

    Data 3 42005 ; 42006

  • Modbus address mappingModbus address mapping* Data Type: Word or Integer

    KW Memory Location %MW3.0 ~ %MW3.16000Modbus Address 42001 ~ 49999

    * Data Type: Boolean

    KW Memory Location %MX3.0.0 ~ %MX3.999.7Modbus Address 02001 ~ 09999

  • You can use FB to put data in toModbus Address,too.

    You can use FB to put data in toModbus Address,too.

  • Exchange Data By Modbus

    Modbus by RS485 :

  • Exchange Data By Modbus

    Modbus by RS232 :

    The Cable should be crossover

  • Function EnhancementFunction Enhancement Communication Function Modbus Functions Remote I/O ADAM ModBus OPC Create Your Own Function Block ADAM5000 Function Library

  • How to expand I/O ?

    Modbus Series Modules

    COM 4 (RS-485)

    Modbus Protocol Up to 255 modules

    Note : The baud rate for remote I/O is 19200 bps .

  • How to expand I/O ?

  • How to expand I/O ?* COM 4 type adjust :

  • How to expand I/O ?* Programming :

  • Which Adam-4000 series support ModBus

    ADAM-4015 RTD Module ADAM-4015 T Thermistor Module ADAM-4017+ AI Module ADAM-4018+ /4019+ Thermocouple Module ADAM-4022T Dual loop controller ADAM-4024 AO Module ADAM-4051 DI Module ADAM-4055 DI,DO Module ADAM-4056S/SO DO Module ADAM-4068/4069 Relay Output Module

  • ADAM-4000 ModBus Setting

  • ADAM-4000 ModBus Setting

  • Length for Remote I/O Module

  • Command of ModBus

    0 X: Read/Write Coil (DO)1 X: Read coil (DI)3 X: Read register (AI)4 X: Read/Write register (AO)

  • Function EnhancementFunction Enhancement Communication Function Modbus Functions Remote I/O ADAM ModBus OPC Create Your Own Function Block ADAM5000 Function Library

  • ADAM ModBus OPC - 1

  • ADAM ModBus OPC - 2

  • ADAM ModBus OPC - 3

  • Function EnhancementFunction Enhancement Communication Function Modbus Functions Remote I/O ADAM ModBus OPC Create Your Own Function Block ADAM5000 Function Library

  • How to create yourself FB

    Dont Forget Compile!

  • How to create yourself FB-1

  • Function EnhancementFunction Enhancement Communication Function Modbus Functions Remote I/O ADAM ModBus OPC Create Your Own Function Block ADAM5000 Function Library

  • ADAM5000 Library

    We provide many of function blocks to increase your performance.

    The function blocks come with the product CD for ADAM-5510EKW/TP

    The usage is written on the Chapter 6 of ADAM-5510KW series manual.

  • ADAM5000 Library

  • ADAM5000 Library

  • ADAM5000 Library

    (Result-OUT_Low)/(RAW-IN_Low) = (OUT_High-OUT_Low)/(IN_High-IN_Low)

  • ADAM5000 Library

  • ADAM5000 Library

  • How to input data in toModbus Address

    How to input data in toModbus Address

  • Communion and ShareCommunion and Share

    - ADAM-5510KW(MultiTask,Remote I/O,Communication )

    - ADAM5510KW(FPID FB)- Some Problems- Using Files

  • - Some Problems1. When Download status: Time out, How to do?

    Chenk ID->Resource Setting-> LED Status-> Communicate Cable-> firmware

    Connect Error, Please Check

    Connect OK and Downloading Program

    Connect OK and Program is Running

    Connect OK and no Program is Running

  • - Some Problems2. When error memory error!Out of memory(dynamic memory) occur?

    pcrtk16 p130 -> pcrtk16 pX dY (X+Y

  • - Some Problems3. How to update firmware?4. How to update IP Address?5. How to use Event-Task?6. How to use System-Task?

    FAQ:

    ADAM-5510kw series FAQ-V1.5.doc

  • - Using Files

    5510EKWTP_Drive_D_Files:

  • - Using Files 3. \Kw-SoftWare\Multiprog\*.dll

  • 4. Library\ADAM5000:

    - Using Files Development

  • ADAM-5510KW

    1. ADAM5510KWver1.0.pdf(ADAM-5510KW

    2. ADAM-5510KW Series Startup Manual Ed-1.pdf (ADAM-5510KW

    3. ADAM-5510KW Series Manual Ed-1.pdf (ADAM-5510KW

    4. Quickstart_MWT.pdf (Multiprog

    5. Multiprog manual.pdf (Multiprog

    6. ProConOS manual.pdf (ProCon OS

    7. Multiprog: Help/FBOnline HelpFunction/Function Block

    8. ADAM-5510KW series