CMC-PD01 PROFIBUS DP Slave Communication Card Operation Manual



Similar documents
DVPPF02-H2. PROFIBUS DP Slave Communication Module Application Manual

CMC-DN01 DeviceNet Slave Communication Card Operation Manual

CB15/CB155. PROFIBUS Module

Siemens S7 PLC and FC 300 Profibus

SIMATIC NET. CP AS-Interface Master B C. Preface Contents. Technical Description and Installation Instructions Interface to the User Program

1 Application Description Objective Goals... 3

User manual. magnetic absolute positioning drive AG03/1

Start-up of IVI-KHD2-4HRX, IVI-KHA6-4HRX at S7-300 V1.1. Table of Contents TABLE OF CONTENTS... 1

GW-7552 PRIFIBUS/MODBUS GATEWAY

GE Power Controls FIELDBUS APPENDIX PROFIBUS DP. Doc. No.: ASTAT Plus PB_Appendix-v0

/2008. Altivar 61/71. Profibus DP. User manual 11/

The Answer to the 14 Most Frequently Asked Modbus Questions

5-port / 8-port 10/100BaseTX Industrial Ethernet Switch User Manual

Manual. MOVIDRIVE MDX61B MOVI-PLC DHP11B Control Card. Edition 09/2005 FA / EN

WinCC. Communication Manual. Manual 2. This manual is part of the documentation package with the order number: 6AV6392-1CA05-0AB0 C79000-G8276-C156-01

2-Port RS232/422/485 Combo Serial to USB2.0 Adapter (w/ Metal Case and Screw Lock Mechanism) Installation Guide

ZC-24DO CANopen I/O Module: 24 Digital Outputs

PROFINET IO Diagnostics 1

SIMATIC. ET 200S distributed I/O IM151-1 STANDARD interface module (6ES7151-1AA05-0AB0) Preface. Properties 1. Parameters 2.

applicomio Profibus-DP

L5354 ControlNet Communications Interface

Bluetooth HC-06 with serial port module Easy guide

Soft-Starter SSW-06 V1.6X - Profibus DP, DeviceNet and EtherNet/IP

PCS0100en Persy Control Services B.V. Netherlands

DeviceNet Bus Software Help for Programming an Allen Bradley Control System

RTU-EN01 Modbus TCP Remote I/O Communication Module Operation Manual

ENET-710. ENET Ethernet Module ENET-710 JAN / 06 FOUNDATION

Application Note - Connecting an Electricity Meter to SolarEdge Devices (Europe and APAC)

Practical steps for a successful. PROFIBUS Project. Presented by Dr. Xiu Ji Manchester Metropolitan University

Programmable set for Ethernet Modbus/TCP in IP20 TI-BL20-PG-EN-8

Bluetooth to Serial Adapter

s!nus-elektrotechnikai bt. Industrial IT & Automation

I.S. 1 remote I/O system Redundant coupling via PROFIBUS DP

CipherLab 5100 Time Attendance Utility Manual

s!nus-elektrotechnikai bt. Industrial IT & Automation

D8X / D16X IPHONE INTERFACE

GV- RK1352 Card Reader

MDM192 MULTI-DROPS DIGITAL MODEM FOR PRIVATE LINE. USER GUIDE Document reference :

PROFINET Diagnostics Software and Tools

Install the DeviceNet Module using the following procedure:

DeviceNet Motor Control

Using the AnyBus -X Gateway to Communicate between a DVT camera and a Profibus Master

PROFIBUS DP Fieldbus Documentation

Application about Communication

SMT-BD1/p - CD1-p - User manual. SMT-BD1/p CD1-p gb. PROFIBUS POSITIONER User manual INFRANOR. SMT-BD1/p - CD1-p - User manual 1

2-Pair. Managed SHDSL Ethernet Extender. User s Manual

Set for PROFINET IO in IP20 TI-BL20-EN-PN-4

PCI/PXI ETHERNET ADAPTERS

Original instructions. PLUTO Gateway. User Manual. PROFIBUS GATE-P1/P2 DeviceNet GATE-D1/D2 CANopen GATE-C1/C2 Ethernet GATE-E1/E2

PROFIBUS / MODBUS GATEWAY Application Note for Communication between Premium CPU & XPS-MC Safety Controllers

USER MANUAL V5.0 VT300

Installation Manual (English) Adjustable Active DP Terminator T1-Pepper Active RS485 segment termination for non-compliant cable

4 non-safe digital I/O channels 2 IO-Link Master V1.1 slots. Figure 1. Figure 2. Type code. TBPN-L1-FDIO1-2IOL Ident no

TCP/IP MODULE CA-ETHR-A INSTALLATION MANUAL

Commissioning IDENTControl Compact IC-KP2-2HB17-2V1D Profinet Protocol with a Siemens S7 PLC

How To Connect A Directsofl To A Powerpoint With An Acd With An Ctel With An Dm-Tel Modem On A Pc Or Ipad Or Ipa (Powerpoint) With A Powerline 2 (Powerline

TECHNICAL NOTE TNOI34

xepi 2 Installation Guide Diagnostic Unit and Configuration Interface Doc. Version 4.0 English

BIT COMMANDER. Serial RS232 / RS485 to Ethernet Converter

How to make a diagnostic on TeSysT to start the network?

AC500. Software Description. Scalable PLC for Individual Automation. Installation of the AC500 Control Builder PS501

How to read this guide

Set for Profibus DPV1 in IP20 TI-BL20-DPV1-8

USER MANUAL V5.0 ST100

Cisco TelePresence VCR MSE 8220

Rack mounted telephone- and leased line modem for industrial applications

CM705B - Universal Expander Module CM707B - Plug On Zone Expander Security Systems

Part Number Revision A, January Monitoring System Rack Configuration and Utilities Guide

Tutorial: Configuring GOOSE in MiCOM S1 Studio 1. Requirements

Manual. MOVIFIT Function Level "Classic" Edition 05/ / EN

PU-USBX. USB over Ethernet Extender OPERATION MANUAL

User Manual. smart mcc COMMUNICATIONS. Connectivity to Industrial Networks Third Party Compatible PROFIBUS Solutions

ADACSNET USB Control Module

DSX Master Communications

Programmable set for Ethernet Modbus/TCP in IP67 TI-BL67-PG-EN-2

2 Setting Up the Hardware for a Wired Ethernet Network Setting Up the Software for an Ethernet Network... 21

OPT SERIAL TO FIBER OPTIC CONVERTER

USB PC Adapter V4 Configuration

How To Use An American Zw.Com V20-20 (V20) V20 (Veu) V2.20 (Femalese) V1.2.2 (V2.1) V3.

Applications & Tools. Configuration of Messages and Alarms in WinCC (TIA Portal) WinCC (TIA Portal) Application description December 2012

Technical Note A007 Modbus Gateway Vantage Pro2 25/09/2009 Rev. A 1 de 7

HCR3.2/.. Chipcard reader HOTEL SOLUTION

1 Serial RS232 to Ethernet Adapter Installation Guide

1. SAFETY INFORMATION

Parameterizing options Parameterization options based on the communication protocols used

LevelOne IFE Port PoE + 1-Port TP Industrial Fast Ethernet Switch User Manual

BASLER ACE QUICK INSTALLATION GUIDE

MAX6683 Evaluation System/Evaluation Kit

LOVELINK III- Process Monitoring, Logging, Graphing, & Configuration

HP UPS R1500 Generation 3

WAP3205 v2. User s Guide. Quick Start Guide. Wireless N300 Access Point. Default Login Details. Version 1.00 Edition 2, 10/2015

Data Bulletin. Communications Wiring for POWERLINK G3 Systems Class 1210 ABOUT THIS BULLETIN APPLICATION INTRODUCTION.

HIPERDRIVE HRA71 and HIPER- DRIVE -HUB: Integrated positioning system with absolute distance measurement for format adjustment

Continuous PROFIBUS PA Instruments and Step 7. Configuring a Siemens Continuous Level PROFIBUS PA device in a S7-300 or S7-400 PLC

2-port RS-422 / 485 Universal PCI

Manual. Fieldbus Interface DFP21B PROFIBUS DP-V1. Edition 07/2006 FA / EN

TECHNICAL NOTE TNOI32

DAM Series DAM124 4DIN+8AI+4DO Module Model No.:DAM124 WebSite:

EDI Distributor Control Interface Wiring and Setup Instructions

Perle Protocol Transparent Media Converter Modules

Transcription:

CMC-PD01 PROFIBUS DP Slave Communication Card Operation Manual CMC-0205820-01

Table of Content 1 Introduction to CMC-PD01... 2 1.1 Product Introduction... 2 1.2 Features... 2 2 Product Profile and Outline... 2 2.1 Parts... 2 2.2 Specifications... 3 3 Installation... 4 3.1 Connecting CMC-PD01 to VFD-C2000... 4 3.2 Disconnecting CMC-PD01 from VFD-C2000... 4 3.3 Definition of PROFIBUS DP Port... 5 3.4 Connecting to PROFIBUS DP Connector... 5 4 Communication... 6 4.1 Communication Parameters for VFD-C2000 Connected to PROFIBUS DP... 6 4.2 Transmission Distance and Baud Rate... 6 4.3 Applicable Data Form for CMC-PD01 and Introduction to PKW, PZD... 6 4.4 Data Formats and Examples... 7 4.5 Reading/Writing AC Motor Drive Parameters by PZD... 11 5 GSD File... 11 6 LED Indicators, Panel Display on VFD-C2000 and Trouble-shooting... 11 6.1 LED Indicator and Trouble-shooting... 11 6.2 Panel Display on VFD-C2000 and Trouble-shooting... 12 7 Application Example 1... 12 DVP-PLC Operation Manual 1

1 Introduction to CMC-PD01 1.1 Product Introduction 1. Thank you for choosing Delta CMC-PD01 communication card. To ensure correct installation and operation of the product, please read this operation manual carefully before using it. 2. This operation manual only provides introductory information on CMC-PD01. Detailed information about PROFIBUS DP protocol is not included in this manual. Please refer to relevant literatures for more information on PROFIBUS DP protocol. 3. CMC-PD01 is PROFIBUS DP slave communication card for connecting Delta VFD-C2000 series AC motor drive to PROFIBUS DP network. 1.2 Features 1. Supports PZD control data exchange. 2. Supports PKW polling AC motor drive parameters. 3. Supports user diagnosis function. 4. Auto-detects baud rates; support max. 12Mbps. 2 Product Profile and Outline 2.1 Parts 2 DVP-PLC Operation Manual

1 NET indicator 2 POWER indicator 3 Positioning hole 4 AC motor drive connection port 7 Fool-proof groove 5 PROFIBUS DP connection port 6 Screw fixing hole 2.2 Specifications PROFIBUS DP Port Interface Transmission method Transmission cable Electrical isolation DB9 connector High-speed RS-485 Shielded twisted pair cable 500VDC Communication Message type Model name GSD file Company ID Serial transmission speed supported (auto-detection) Cyclic data exchange. CMC-PD01 DELA08DB.GSD 08DB (HEX) 9.6kbps; 19.2kbps; 93.75kbps; 187.5kbps; 500kbps; 1.5Mbps; 3Mbps; 6Mbps; 12Mbps (bits per second) Electrical Specification Power supply voltage Insulation voltage Power consumption Weight 5VDC (supplied by AC motor drive) 500VDC 1W 28g Environment Noise immunity Storage/operation Shock/vibration immunity ESD (IEC 61800-5-1, IEC 6100-4-2) EFT (IEC 61800-5-1, IEC 6100-4-4) Surge Teat (IEC 61800-5-1, IEC 6100-4-5) Conducted Susceptibility Test (IEC 61800-5-1, IEC 6100-4-6) Operation: -10 C ~ 50 C (temperature), 90% (humidity) Storage: -25 C ~ 70 C (temperature), 95% (humidity) International standards: IEC 61800-5-1, IEC 60068-2-6/IEC 61800-5-1, IEC 60068-2-27 DVP-PLC Operation Manual 3

3 Installation 3.1 Connecting CMC-PD01 to VFD-C2000 1. Switch off the power of VFD-C2000. 2. Open the front cover of VFD-C2000. 3. Place the insulation spacer into the positioning pin and aim the two holes on the PCB at the positioning pin. Press the pin to clip the holes with the PCB (see Figure 3.1-1). 4. Screw up after the PCB is clipped with the holes (see Figure 3.1-2). Figure 3.1-1 Figure 3.1-2 3.2 Disconnecting CMC-PD01 from VFD-C2000 1. Remove the two screws (see Figure 3.2-1). 2. Twist open the card clip and insert the slot type screwdriver to the hollow to separate the PCB from the card clip (see Figure 3.2-2). 3. Twist open the other card clip to remove the PCB (see Figure 3.2-3). Figure 3.2-1 Figure 3.2-2 Figure 3.2-3 4 DVP-PLC Operation Manual

3.3 Definition of PROFIBUS DP Port PIN PIN name Definition 1 -- N/C 2 -- N/C 3 RxD/TxD-P Sending/receiving data P(B) 4 -- N/C 5 DGND Data reference potential (C) 6 VP Power voltage - positive 7 -- N/C 8 RxD/TxD-N Sending/receiving data N(A) 9 -- N/C 9 6 5 1 3.4 Connecting to PROFIBUS DP Connector Insert the connector to the connection port on CMC-PD01 and screw up the screws on the connector to ensure tight connection between CMC-PD01 and the PROFIBUS DP connector. See Figure 3.4-1. Figure 3.4-1 DVP-PLC Operation Manual 5

4 Communication 4.1 Communication Parameters for VFD-C2000 Connected to PROFIBUS DP When VFD-C2000 is connected to PROFIBUS DP, please set up the communication parameters for it according to Table 4.1-1.The PROFIBUS DP master is only able to read/write the parameters of VFD-C2000 after the communication parameters are set. Parameter Function Set value Explanation 00-20 Setting up source of frequency command 00-21 09-30 09-70 Setting up source of operation command Decoding method for communication Address of communication card 8 5 0/1 User defined The frequency command is controlled by communication card. The operation command is controlled by communication card. 0: The old decoding method for Delta AC motor drive (20XX) 1: The new decoding method for Delta AC motor drive (60XX) Address of VFD-C2000 on PROFIBUS DP network Table 4.1-1 Note: The value of 09-70 is the address of VFD-C2000 on the PROFIBUS DP network. The address has to be consistent with the address of VFD-C2000 during configuration. Changing the value in 09-70 when VFD-C2000 is working will be invalid. After the value in 09-70 is changed, shut down VFD-C2000 and re-power it to make the parameter valid. 4.2 Transmission Distance and Baud Rate The baud rate range for PROFIBUS DP is 9.6kbps ~ 12Mbps, and the length of transmission cable varies upon the transmission speed. The transmission distance ranges from 100m to 1,200m. SeeTable 4.2-1 for the baud rates CMC-PD01 supports and their corresponding communication distances. Baud rate (bps) 9.6k 19.2k 93.75k 187.5k 500k 1.5M 3M 6M 12M Distance (m) 1,200 1,200 1,200 1,000 400 200 100 100 100 Table 4.2-1 4.3 Applicable Data Form for CMC-PD01 and Introduction to PKW, PZD 4.3.1 Applicable Data Form for CMC-PD01 The data form defined by PROFIDrive can be used for cyclic data exchange. These defined data form is called Parameter Process data Object (PPO). Apart from PPO, the cyclical data can be configured as EXT CONF1 or EXT CONF2. Based on different demands, the two extended configurations are able to achieve 4 process data words. See Table 4.3-1 for the data forms CMC-PD01 supports. 6 DVP-PLC Operation Manual

4.3.2 Introduction to PKW, PZD After VFD-C2000 is connected to PROFIBUS DP network through CMC-PD01, there will be two ways to poll AC motor drive parameters, PKW polling and PZD polling. PKW is composed of 4 words, and each word represents particular definition. 4 words combined are able to read or write one AC motor drive parameter. Change each word in PKW to poll all the parameters in the AC motor drive. When the AC motor drive parameter is polled by PZD, PZD is able to map the address of the AC motor drive directly. After PZD maps the address, it will fix to map the certain address. See Table 4.3-1, the 4 words in PKW zone combined are able to read one parameter in the AC motor drive, but every word in PZD zone is able to map one parameter address of the AC motor drive. PKW PZD PKE IND PWE1 PWE2 PZD1 PZD2 PZD3 PZD4 PZD5 PZD6 PZD7 PZD8 PZD9 PZD10 1 st 2 nd 3 rd 4 th 1 st 2 nd 3 rd 4 th 5 th 6 th 7 th 8 th 9 th 10 th word word word word word word word word word word word word word word PPO1 PPO2 PPO5 EXT CONF1 PPO3 PPO4 EXT CONF2 Table 4.3-1 4.4 Data Formats and Examples See Table 4.4-1 for the data form of PKW. As cyclical data, PKW data has request and response mechanism, i.e. all masters are able to send new request message only after receiving the corresponding responses. PKW Word 1 Word 2 Word 3 Word 4 Definitions of bit bit15 bit14 bit13 bit12 bit11 bit10 bit9 bit8 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 PKE (parameter ID) AK SPM PNU (basic parameter number) IND (sub-index of parameter) Page number Not in use PWE1 (reserved) PWE2 (read/write parameter value) Table 4.4-1 DVP-PLC Operation Manual 7

4.4.1 PKE (Word 1) PNU (PKE bit0 ~ bit10): Basic parameter number Basic parameter number (PNU) = Address of AC motor drive to be polled n*2,000 (n = PNU page number). Range of PNU: 1 ~ 1,999 (decimal). PNU page number = 0, when the parameter address of AC motor drive < 1,999 (decimal). When the parameter address of AC motor drive > 1,999 (decimal), you will need to set up adequate PNU page number to make PNU < 1,999 (decimal). SPM (PKE bit11): Reserved (Default = 0) AK (PKE bit12 ~ bit15): Request or response ID Request ID (Master CMC-PD01) Request ID 0 No request 1 Request parameter value 2 Modify parameter value Definition Response ID (CMC-PD01 Master) Table 1.4-2 Response ID 0 No response 1 Send parameter value 7 Definition Request unable to process (Find out the reason according to PWE2 error code) Table 1.4-3 When the request is unable to process, an error code will be generated in PWE2. See Table 1.4-4 for the definitions of error codes. Error code Definition 0 Illegal parameter number (parameter does not exist) 1 4.4.2 IND (Word 2) Parameter value cannot be changed (read-only parameter, the present value cannot be changed) 2 Below or exceeds minimum or maximum value 18 Other errors Table 1.4-4 See Table 1.4-5 for the data form of IND (sub-index of parameter). IND bit12 ~ bit15 are for page number selection (see Table 1.4-6 for the definition of each bit). When you use PKW to poll the AC motor drive parameters, you have to first make sure the page number. The value of page number is decided by bit12 ~ bit15 of IND, which is the sum of each bit value multiplied by power value. For example, if the page number is 4, bit12 ~ bit15 of IND will be 0100. After the page number is set, the IND value will be confirmed as well. The IND value can be obtained by the binary bit0 ~ bit15 values. For example, if the page number is 4, the IND value will be 2000 (hex). 8 DVP-PLC Operation Manual

bit12 ~ bit15 (page number) Sub-index of parameter (IND) bit0 ~ bit11 (Reserved, Default = 0) bit15 bit14 bit13 bit12 bit11 bit10 bit9 bit8 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 1.4-5 Page number Bit IND bit15 IND bit14 IND bit13 IND bit12 Weight 2 0 2 3 2 2 2 1 Value 0/1 0/1 0/1 0/1 Table 1.4-6 Once the parameter address of the AC motor drive is known, you can further confirm the value of PNU page number according to Table 1.4-7. With the PNU page number, you will be able to obtain the IND and PNU value. PNU value = Parameter Address of AC Motor Drive PNU Page Number 2,000. PNU (PKE bit0 ~ bit10) (Hex) PNU page number (INC bit12 ~ bit15) (Decimal) 0 1999 0 0 1,999 0 1999 1 2,000 3,999 0 1999 2 4,000 4,999 0 1999 15 30,000 31,999 4.4.3 PWE1 and PWE2 (Word 3 and Word 4) Table 1.4-7 Parameter address of AC motor drive (Decimal) PWE1 is reserved for PD-01. When PKW is used for reading or writing AC motor drive parameters, the PROFIBUS DP master has to be set to PWE1 = 0. When PKW is used for reading AC motor drive parameters, PWE2 has to be 0. When PKW is used for writing AC motor drive parameters, PWE2 has to be the parameter value to be written in. 4.4.4 Reading Actual Output Frequency from VFD-C2000 by PKW To read the actual output frequency, first set the request ID to 1 (read parameter). The address of actual output frequency is 2103 (hex), and the decimal form of it is 8,451. Due to the range of PNU = 1 ~ 1999, and the page number is set to 4, the IND value = 2,000. PNU = 8451 4 2000 = 451 (01C3(hex)). The data format for PKW: Master C2000: 11C3 2000 0000 0000 C2000 Master: 11C3 2000 0000 1070 DVP-PLC Operation Manual 9

Master requesting data: Parameters in PKW Parameters in PKW (hex) Word 1 (PKE) 11C3 Word 2 (IND) 2000 Word 3 (PWE1) 0000 Word 4 (PWE2) 0000 Slave responding data: Parameters in PKW Parameters in PKW (hex) Word 1 (PKE) 11C3 Word 2 (IND) 2000 Word 3 (PWE1) 0000 Word 4 (PWE2) 1070 4.4.5 Writing Value 2 into AC Motor Drive Address 2000 (hex) through PKW To write value 2 into the parameter at address 2000 (hex), first set the request ID to 2 (modify parameter). The address of control word of AC motor drive is 2000 (hex), and the decimal form of it is 8,192. Set the page number to 4, the IND value = 2,000, and PNU = 8,192 4 x 2,000 = 192 (0C0(hex)). The data format for PKW: Master C2000: 20C0 2000 0000 0002 C2000 Master: 10C0 2000 0000 0002 Master requesting data: Parameters in PKW Parameters in PKW (hex) Word 1 (PKE) 20C0 Word 2 (IND) 2000 Word 3 (PWE1) 0000 Word 4 (PWE2) 0002 Slave responding data: Parameters in PKW Parameters in PKW (hex) Word 1 (PKE) 10C0 Word 2 (IND) 2000 Word 3 (PWE1) 0000 Word 4 (PWE2) 0002 10 DVP-PLC Operation Manual

4.5 Reading/Writing AC Motor Drive Parameters by PZD When you read/write AC motor drive parameters by PZD, the parameters of AC motor drive and registers in the master will formulate a corresponding relation. That is, when you read/write the parameter in the slave through the master, you can do it directly on the slave address which is mapped in the master. See Application Example section below for detailed method. 5 GSD File The GSD file is a text file and can be used to identify PROFIBUS DP device (master or slave). A GSD file usually contains the supplier s information, baud rates supported and applicable I/O messages. When using VFD-C2000 as a PROFIBUS DP slave, you have to first import the GSD file of VFD-C2000 to the configuration software for PROFIBUS DP master. You can download the GSD file at Delta s website: http://www.delta.com.tw/ 6 LED Indicators, Panel Display on VFD-C2000 and Trouble-shooting 6.1 LED Indicator and Trouble-shooting POWER LED The POWER LED displays the status of the working power supply. LED status Indication How to correct Green light on Off Power supply in normal status No power supply --- Check if the connection between CMC-PD01 and AC motor drive is normsl. NET LED The NET LED displays the connection status of the communication. LED status Indication How to correct Green light on Normal status --- Red light on Red light flashes Orange light flashes CMC-PD01 is not connected to PROFIBUS DP master. Invalid PROFIBUS communication address CMC-PD01 fails to communicate with AC motor drive. 1. Check if the configuration address of VFD-C2000 is consistent with the actual addrss. 2. Check if the communication cable between CMC-PD01 and PROFIBUS DP master is working normally. Set the PROFIBUS address of VFD-C2000 to be between 1 ~ 125 (decimal). Switch off the power of VFD-C2000 and check whether CMC-PD01 is correctly and normally connected to the AC motor drive. DVP-PLC Operation Manual 11

6.2 Panel Display on VFD-C2000 and Trouble-shooting Errors on PROFIBUS DP bus are displayed on the panel of VFD-C2000. Displayed code Indication How to correct ECIO ECPP ECPI The I/O data exchange between PROFIBUS DP master and CMC-PD01 is disconnected. PROFIBUS DP parameter error PROFIBUS DP configuration error 1. Check if the connection between CMC-PD01 and PROFIBUS DP bus is in normal status. 2. Check if the communication cable between CMC-PD01 and PROFIBUS DP master is in normal status. Check if the GSD file is correct. Check if VFD-C2000 is configured to general puspose mode. 7 Application Example 1 Mission: Exchanging data between S7-300 (Siemens) and VFD-C2000 through PROFIBUS DP network Connecting VFD-C2000 to PROFIBUS DP network: 1. S7-300 as the PROFIBUS DP master; VFD-C2000 as the slave. See the PROFIBUS DP network in Figure 7-1. PROFIBUS-DP Master PROFIBUS-DP BUS Figure 7-1 C2000 Driver 2. Set parameter 00-20 of VFD-C2000 to 8, 00-21 to 5, 09-30 to 0 and 09-70 to 8. The value of 09-70 is the address of VFD-C2000 on the PROFIBUS DP network. When the value of 09-70 is changed, VFD-C2000 has to be re-powered to make the new value valid. 3. Check if VFD-C2000 and CMC-PD01 is firmly connected, and if the wiring of the entire network is correct. 12 DVP-PLC Operation Manual

Configuring VFD-C2000 in PROFIBUS network (the software configuration): Create a new project by software wizard. 1. Open SIMATIC Manager. See Figure 7-2. Figure 7-2 2. Select File => New Project Wizard. See Figure 7-3. Figure 7-3 3. Click Next in the wizard. See Figure 7-4. DVP-PLC Operation Manual 13

Figure 7-4 4. Select CPU315-2 DP for CPU as we are using the S7-300 model. Click Next. See Figure 7-5. Figure 7-5 14 DVP-PLC Operation Manual

5. Select the block and language we need and click Next. See Figure 7-6. Figure 7-6 6. Enter the project name and click Finish. See Figure 7-7. Figure 7-7 DVP-PLC Operation Manual 15

7. A new window will appear after the project is created. See Figure 7-8. Figure 7-8 Add PROFIBUS DP bus 1. Select SIMATIC 300 Station in the project created. See Figure 7-9. Double click Hardware, and a new window (HW-Config) will appear. Figure 7-9 16 DVP-PLC Operation Manual

2. In the HW Config window, double click DP in the left-hand side column, and a dialog box will appear. See Figure 7-10. Figure 7-10 3. Click Properties in the dialog box, leading to another dialog box. See Figure 7-11. Figure 7-11 DVP-PLC Operation Manual 17

4. Select Address in the dialog box to be the address of the master. Then click New to go to the next dialog box. See Figure 7-12. Figure 7-12 5. Select communication speed and bus type, then click OK. See Figure 7-13. Figure 7-13 18 DVP-PLC Operation Manual

6. Confirm the communication speed and the master address for PROFIBUS DP bus, then click OK. See Figure 7-14. Figure 7-14 7. Confirm the information on the PROFIBUS DP bus in the dialog box and click OK. See Figure 7-15. Figure 7-15 DVP-PLC Operation Manual 19

8. Once all the parameters are set, a PROFIBUS DP bus will appear after the UR window. See Figure 7-16. Add GSD file of VFD-C2000 Figure 7-16 1. Select Options => Install GSD File in the HW Config window. See Figure 7-17. Figure 7-17 20 DVP-PLC Operation Manual

2. Find the path of the GSD file, select it and click Open to add the GSD file needed. See Figure 7-18. Figure 7-18 3. We can see VFD-C2000 in the right-hand side column. See Figure 7-19. C2000 DRIVES is the module added. Figure 7-19 DVP-PLC Operation Manual 21

Add VFD-C2000 slave and set up parameters 1. See Figure 7-20. Select PROFIBUS DP on the right-hand side column and double click C2000 DRIVES to open a dialog box. Figure 7-20 2. In the dialog box, select the address (decimal) of VFD-C2000 slave. The address has to be the same as the setting of parameter 09-70 for AC motor drive. Click OK. See Figure 7-21. Figure 7-21 22 DVP-PLC Operation Manual

3. Add PROFIBUS DP bus to VFD-C2000. See Figure 7-22. Figure 7-22 4. Select Slot 0 and double click 4PKW 4PZD in the right-hand side column. See Figure 7-23. Figure 7-23 DVP-PLC Operation Manual 23

5. Configure 4PKW 4PZD to Slot 0 and Slot 1. See Figure 7-24. Figure 7-24 6. After all the parameters are configured, click in the HW Config window to show the dialog box as Figure 7-25. Click OK to go to the next dialog box. Figure 7-25 24 DVP-PLC Operation Manual

7. Click OK in the dialog box as Figure 7-26 to download the configured parameters. Figure 7-26 8. The configured parameters are being downloaded. Figure 7-27 9. Once all the configured parameters are downloaded, the NET LED on CMC-PD01 will be constantly On in green color. DVP-PLC Operation Manual 25

Data Mapping: Figure 7-28 Double click the C2000 DRIVES slave icon under the PROFIBUS DP bus in Figure 7-28 to go to the dialog box in Figure 7-29. Data Output and Data Input areas are the mapped slave addresses in PZD. The data format for Data Output and Data Input is decimal and can be entered manually. For example, if we enter 1024 (decimal) in Data Output 3, the address of AC motor drive will be 0400 (hex), meaning parameter 04-00 of AC motor drive. 26 DVP-PLC Operation Manual

Figure 7-29 Scroll down Figure 7-29 to Figure 7-30. din_len refers to the length of data in the Data Input, and dout-len means the length of data in the Data Output. Figure 7-30 DVP-PLC Operation Manual 27

See Figure 7-31., scroll down the options for LossDPComTreat. See Table 7-1 for the meanings of the options. Figure 7-31 Influence on AC motor drive when CMC-PD01 is disconnected with PROFIBUS DP master Ignore and continue Stop accord to Pr.STOP METHOD AC motor drive continues to operate as it does before the disconnection. AC motor drive stops following the stop method set in it. Table 7-1 See Figure 7-32., scroll down the options for LossSPComTreat. See Table 7-2 for the meanings of the options. 28 DVP-PLC Operation Manual

Figure 7-32 Influence on PROFIBUS DP bus when CMC-PD01 is disconnected with AC motor drive Stop DataExchange&Report Fault Continue&Report Alarm Ignore&Continue DataExchange CMC-PD01 stops exchanging data with PROFIBUS DP master and reports the error. CMC-PD01 keeps exchanging data with PROFIBUS DP master and reports alarms. CMC-PD01 keeps exchanging data with PROFIBUS DP master and reports alarms. Table 7-2 See Table 7-3 below for the data mapping relation in the parameter configuration shown in Figure 7-28: PKW/PZD External I/O word for S7-300 Data transmission direction in PROFIBUS DP network Parameter address of AC motor drive (hex) PKW PQW256 PQW258 PQW260 PQW262 PIW256 4 words combined make it able to read/write one AC motor drive parameter. PIW258 PIW260 PKW returning data PIW262 DVP-PLC Operation Manual 29

PKW/PZD PZD External I/O word for S7-300 Data transmission direction in PROFIBUS DP network Parameter address of AC motor drive (hex) PQW264 2000 (Data Output 1) PQW266 2001 (Data Output 2) PQW268 0400 (Data Output 3) PQW270 0401 (Data Output 4) PIW264 2101 (Data Input 1) PIW266 2102 (Data Input 2) PIW268 2103 (Data Input 3) PIW270 2104 (Data Input 4) Program Example: Table 7-3 Instructions on SFC14 and SFC15 commands: SFC15: Write consistent data to standard PROFIBUS DP slave EN DPRD_DAT EN0 W#16#100 LADDR RET-VAL MW40 P#M 10.0 B YTE 8 REC0RD Figure 7-33 LADDR is the start address of slave in the mapping area for master output (as PQW256 in Figure 7-28). LADDR is in hexadecimal form, e.g. enter W#16#100 in LADDR of SFC15 to represent PQW256. The decimal form of 100 in hex is 256. RECORD is the start address and length of the data to be written. The data length of RECORD has to be consistent with the data length in parameter configuration, and the unit has to be byte. See Figure 7-33 for the input format. RET_VAL is the address of error code. When the EN condition in SFC15 is true, SFC15 will be executed. If any error occurs in the execution, an error code will be stored into RET_VAL. When there is no error, the value in RET_VAL will be 0. In Figure 7-33 we can see the data in MW10, MW12, MW14 and MW16 are written into PQW256, PQW258, PQW260 and PQW262, and the data in PQW will be sent to the slave automatically. 30 DVP-PLC Operation Manual

SFC14: Write consistent data to standard PROFIBUS DP slave EN DPRD_DAT EN0 W#16#100 LADDR RET-VAL MW42 REC0RD P#M 20.0 B YTE 8 Figure 7-34 LADDR is the start address of slave in the mapping area for master input (as PIW256 in Figure 7-28). LADDR is in hexadecimal form, e.g. enter W#16#100 in LADDR of SFC14 to represent PIW256. The decimal form of 100 in hex is 256. RECORD is the start address and length of the data to be read. The data length of RECORD has to be consistent with the data length in parameter configuration, and the unit has to be byte. See Figure 7-34 for the input format. RET_VAL is the address of error code. When the EN condition in SFC14 is true, SFC14 will be executed. If any error occurs in the execution, an error code will be stored into RET_VAL. When there is no error, the value in RET_VAL will be 0. In Figure 7-34 we can see the data sent from the slave to PIW256, PIW258, PIW260 and PIW262 are written to MW20, MW22, MW24 and MW26. The program of master OB1: DVP-PLC Operation Manual 31

When M0.0 = ON, PKW can be executed. See the table below about the PKW data. Modifying value in parameter 04-02 (hex) of AC motor drive by PKW (the address of parameter 04-02 is 402 (hex)) Data from master to slave MW10 MW12 MW14 MW16 Data value (hex) 2402 0 0 500 Data from slave to master MW20 MW22 MW24 MW26 Data value (hex) 1402 0 0 500 Reading value in parameter 04-02 (hex) of AC motor drive by PKW (the address of parameter 04-02 is 402 (hex)) Data from master to slave MW10 MW12 MW14 MW16 Data value (hex) 1402 0 0 0 Data from slave to master MW20 MW22 MW24 MW26 Data value (hex) 1402 0 0 500 When M0.1 = ON, PZD can be executed. See the table below for the data transmission for PZD. Register in master MW30 (PQW264) MW32 (PQW266) MW34 (PQW268) MW36 (PQW270) MW40 (PIW264) MW42 (PIW266) MW44 (PIW268) MW46 (PIW280) Data transmission of PROFIBUS DP bus Parameter address of AC motor drive 2000 (hex) 2001 (hex) 0400 (hex) 0401 (hex) 2101 (hex) 2102 (hex) 2103 (hex) 2104 (hex) 32 DVP-PLC Operation Manual