HMS A8NDPV1 Instruction Manual

Plug-in option, profibus communication interface
Table of Contents

Advertisement

Quick Links

Art. no.: 280272
05042019
Version B
Connecting Devices
A8NDPV1
INSTRUCTION MANUAL
PROFIBUS communication interface
INVERTER
Plug-in option
Doc.Id. HMSI-216-127
Rev. 1.01
Version check

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the A8NDPV1 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for HMS A8NDPV1

  • Page 1 INVERTER Plug-in option A8NDPV1 INSTRUCTION MANUAL PROFIBUS communication interface Doc.Id. HMSI-216-127 Rev. 1.01 Art. no.: 280272 05042019 Version check Version B Connecting Devices...
  • Page 3 Liability Every care has been taken in the preparation of this manual. Please inform HMS Industrial Net- works AB of any inaccuracies or omissions. The data and illustrations found in this document are not binding.
  • Page 4 ESD control procedures are not followed. Static control precautions are required when han- dling the product. Failure to observe this may cause damage to the product. A8NDPV1 PROFIBUS Option Board User Manual Rev 1.01 Copyright© HMS Industrial Networks AB March 2014 Doc Id HMSI-216-127 Doc.Id.
  • Page 5 • To prevent explosions or similar damage, observe all wiring polarity indicators. • To prevent burns from hot components, do not touch the inverter while power is on, or for some time after power is removed. A8NDPV1 PROFIBUS Option Board...
  • Page 6 Additional Instructions Please note the following points to prevent equipment damage, injury or electrical shock. Transportation and mounting CAUTION • Do not install or operate the plug-in option if it is damaged or has parts missing. • Do not stand or rest heavy objects on the equipment. •...
  • Page 7: Table Of Contents

    GX Works2 (FX-CPU) Telegram 102 example ......... . 77 A8NDPV1 PROFIBUS Option Board...
  • Page 8 Table of Contents 3.12 GX Works2 (FX-CPU) Acyclic communication example ....... . 82 3.12.1 Reading a parameter (Sequence 1) .
  • Page 9 Index ............149 A8NDPV1 PROFIBUS Option Board...
  • Page 10 Table of Contents VIII Doc.Id. HMSI-216-127 Doc.Rev. 1.01...
  • Page 11: About This Document

    The following websites are available for downloads: Website Region https://eu3a.mitsubishielectric.com GSD File: https://eu3a.mitsubishielectric.com/fa/en/mymitsubishi/ download_manager?id=10168 (MyMitsubishi Login required) Profibus A800 function blocks: https://eu3a.mitsubishielectric.com/fa/en/mymitsubishi/ download_manager?id=10172 (MyMitsubishi Login required) Profibus A800 DPV1 function blocks: https://eu3a.mitsubishielectric.com/fa/en/mymitsubishi/ download_manager?id=9189 (MyMitsubishi Login required) A8NDPV1 PROFIBUS Option Board...
  • Page 12: Document History

    Document History About This Document Document History Summary of Recent Changes ( ... 1.01) Change Page(s) New monitor data Revision List Revision Date Author(s) Chapter(s) Description 1.00 03/2014 1.01 04/2019 Doc.Id. HMSI-216-127 Doc.Rev. 1.01...
  • Page 13: Conventions & Terminology

    Tokyo Bldg. 2-7-3 Marunouchi Chiyoda-Ku Tokyo 100-8310 Phone: +81 (0) 3 / 32 18 31 76 Fax: +81 (0) 3 / 32 18 24 22 Please refer to the drive manual for other region contact addresses. A8NDPV1 PROFIBUS Option Board...
  • Page 14 Support About This Document Doc.Id. HMSI-216-127 Doc.Rev. 1.01...
  • Page 15: Pre-Operation Instructions

    The option board is connected directly to the control board of the inverter and communicates with the inverter via a built-in communication port. Note that when the inverter’s network com- munication port is used by the A8NDPV1 PROFIBUS Option Board, it is unavailable for use by any other network.
  • Page 16: Unpacking And Product Confirmation

    Included in the package are the following items. Item No. of pcs PCB board M# x 6 mm screw 3 Board spacer LED cover Note: this picture only shows the A8NDPV1 label, not the Network Status cover! Module Status Error PE plate Doc.Id. HMSI-216-127 Doc.Rev. 1.01...
  • Page 17: Environmental Specifications

    Connected to inverter frame ground through the PE plate / isolated from inverter control power common Power Supply Supplied from inverter Cooling Method Self cooled Communication Speed Up to 12 Mbit The A8NPDPV1 interface is lead-free / RoHS-compliant. A8NDPV1 PROFIBUS Option Board...
  • Page 18 Environmental Specifications Pre-Operation Instructions Doc.Id. HMSI-216-127 Doc.Rev. 1.01...
  • Page 19: Installation

    – Unscrew the two screws in the bottom corners of the inverter. – Remove the lid covering the lower front of the inverter. – Unscrew the screw in the bottom right corner of the lid covering the upper front of the in- verter. – Remove the lid. A8NDPV1 PROFIBUS Option Board...
  • Page 20 Put the included studs in the holes at the right top and left bottom corners of the PCB. Position the A8NDPV1 PROFIBUS Option Board at the option slot 1 as shown in the image. This is the only position that will allow network connectivity.
  • Page 21 Attach the network cable to the network connector on the option board. To fit the LED cover on the front cover of the drive, do as follows: – Cut the bridges, using nippers, on the upper front cover. A8NDPV1 PROFIBUS Option Board...
  • Page 22: Network Connector (Dsub, Female)

    Network Connector (DSUB, female) Installation – Snap the LED cover into the front cover of the drive. Fasten both front covers, top front cover first. The option board is now mounted and power can be applied. Removal Remove both lids of the FR-A800 or FR-F800 inverter. Remove the network cable.
  • Page 23: Led Indicators

    Error Communication with main unit is working without problems. Error in communication with main unit Red, flashing (2 blinks) Invalid process data parameter mapped Red, flashing (3 blinks) Too many process data parameters mapped A8NDPV1 PROFIBUS Option Board...
  • Page 24 LED Indicators Installation Doc.Id. HMSI-216-127 Doc.Rev. 1.01...
  • Page 25: Get Started

    This chapter describes the first part of setting up a system using an A800 or F800 inverter con- trolled by Profibus. It assumes that the A8NDPV1 option card has been installed correctly, and all inverter parameters are set to default values. This setup will be used for all get started example programs.
  • Page 26: Gx Works2 (Q-Cpu) Telegram 1 Example

    Get Started GX Works2 (Q-CPU) Telegram 1 example This chapter describes running the inverter through the A8NDPV1 Profibus option card using GX Works 2 with a QCPU and QJ71PB92V Profibus Master. GX Configurator DP 7.10L or newer is required to perform the setup.
  • Page 27 Add a new Intelligent Function Module from the menu on the left (right click and select new): In the new window, click Module Type and select “PROFIBUS-DP Module”. Module Name should be set to QJ71PB92V. Save this setting by clicking OK. A8NDPV1 PROFIBUS Option Board...
  • Page 28 GX Works2 (Q-CPU) Telegram 1 example Get Started The Profibus-DP module should be inserted into the Intelligent Function Module tree. Expand it, and double click on Parameter. This should open the Profibus Configurator. First setup the Profibus Master. Double click on the master module (in the screenshot visible as “I/O no.:0x0 FDL:0 ‘QJ71PB92V’.
  • Page 29 GX Works2 (Q-CPU) Telegram 1 example On this screen the buffer devices, and data transfer between Profibus Master and CPU can be changed. For this tutorial use AutoRefresh with Consistency. Click Finish to save settings and close this wizard. A8NDPV1 PROFIBUS Option Board...
  • Page 30 GX Works2 (Q-CPU) Telegram 1 example Get Started In the Global GSD data section, expand drives and search for A8NDPV1. If it is not available, right click and select Add GSD File. Search for the GSD File on the drive (included with this manual), afterwards the A8NDPV1 should appear under drives.
  • Page 31 Select the communication protocol used to communicate with the option card. For this tuto- rial use “Standard Telegram 1”. Drag this option from the “Available Slave Modules” to “Pro- ject Slave Modules”. The A8NDPV1 supports only one module. The result should be:...
  • Page 32 GX Works2 (Q-CPU) Telegram 1 example Get Started Click Next to proceed. No changes are required on this screen, after clicking Next proceed to the final screen and click Finish. The configured Profibus Slave should appear in the Profibus Network window, like below. From the configurator’s left menu select POU Generation.
  • Page 33 GX Works2 (Q-CPU) Telegram 1 example From the GX Works 2 Navigation window, expand Program settings. There should be two tasks under “No Execution Type” – MAIN and PROFIBUS. Drag both tasks to “Scan Program” to allow them to execute. A8NDPV1 PROFIBUS Option Board...
  • Page 34 GX Works2 (Q-CPU) Telegram 1 example Get Started The POU Generation creates a library containing global variable definitions. The global label name conflicts with the project global label name setup by default in GX Works 2. In order to avoid conflict, change the name of the project global label from “Global1” to “Global”. If this is not done, an error will occur upon compilation.
  • Page 35 – For vHA0_input: [0]=ZSW1, [1]=NIST_A. – For vHA0_output: [0]=STW1, [1]=NSOLL_A. Return to the project section. From the MAIN Task, select the Program of POU_01. This Pro- gram should be blank, this is where the example user program will be written. A8NDPV1 PROFIBUS Option Board...
  • Page 36 GX Works2 (Q-CPU) Telegram 1 example Get Started After powering up the inverter and Profibus master, connection will be established. Expect to see bit 6 (Switching on inhibated) set in ZSW1. Below is a simplified state diagram, dependent on control word 1 (STW1). General State Diagram Power supply ON S1: Switching ON Inhibited...
  • Page 37 3 bits of ZSW1 are ON. This condition means that the drive is in operation mode. If this condition is met, and M1 is not ON, reset the set point speed to zero, and set STW1 as 6. A8NDPV1 PROFIBUS Option Board...
  • Page 38 GX Works2 (Q-CPU) Telegram 1 example Get Started Compile, and write the program and parameters to the PLC. After resetting the PLC, and pow- ering up the inverter, set bits M0 and M1 to get the inverter running. Be sure to select the in- telligent function module, like on the screenshot below.
  • Page 39: Gx Works2 (Q-Cpu) Telegram 102 Example

    GX Works2 (Q-CPU) Telegram 102 example GX Works2 (Q-CPU) Telegram 102 example This chapter describes running the inverter through the A8NDPV1 Profibus option card using GX Works 2 with a QCPU and QJ71PB92V Profibus Master. First perform the setup using telegram 1.
  • Page 40 GX Works2 (Q-CPU) Telegram 102 example Get Started Select “Standard Telegram 1” in the Project Slave Modules section. Click the red ‘x’ above this section to clear this slot. From the Available Slave Modules, drag “Telegram 102 (Custom)” to the Project Slave Mod- ules section.
  • Page 41 From the “select module” dropdown, select slot 0: Telegram 102 (Custom). It is now possible to setup the input and outputs of the telegram. There are 18 inputs and outputs used in this telegram, one of each is reserved for control/status word (leaving 17 inputs/outputs free for custom setup). A8NDPV1 PROFIBUS Option Board...
  • Page 42 GX Works2 (Q-CPU) Telegram 102 example Get Started The setup of the telegram is done by entering signal/parameter numbers into the right col- umn. All monitor data can be viewed as input, and some of the profile parameters as input/ output.
  • Page 43 GX Works2 (Q-CPU) Telegram 102 example Click Next, and Finish to proceed. Complete the POU Generation, rebuild the project, and write it to the PLC. The additional monitor data can be viewed in the appropriate position of the vHA0_input array. A8NDPV1 PROFIBUS Option Board...
  • Page 44: Gx Works2 (Q-Cpu) Acyclic Communication Example

    Get Started GX Works2 (Q-CPU) Acyclic communication example This chapter describes using acyclic communication through the A8NDPV1 Profibus option card using GX Works 2 with a QCPU and QJ71PB92V Profibus Master. It contains examples of reading and writing individual parameters, as well as arrays. First perform the setup using telegram 1.
  • Page 45 Byte no. Description Value Request ID 0x01 Request reference 0x01-0xFF (same as in request) No. of parameters 0x01 DO-ID 0x01 No. of values 0x01 Format See data format type table Parameter value Byte swapped parameter value A8NDPV1 PROFIBUS Option Board...
  • Page 46 GX Works2 (Q-CPU) Acyclic communication example Get Started Extract the parameter value from DataRead, and byte swap it to receive the actual value: In case of a negative response, the format is as follows: Byte no. Description Value Request ID 0x81 Request reference 0x01-0xFF (same as in request)
  • Page 47: Reading An Array Of Parameters (Sequence 3)

    The response will contain additional parameter values added to the end of the response data. Creating the request For this example all 5 array elements of PNU 964 (Device identification) will be requested. Modify the parameter request as described above: A8NDPV1 PROFIBUS Option Board...
  • Page 48 GX Works2 (Q-CPU) Acyclic communication example Get Started Reading the response Modify the code reading the response data, to read all 5 elements, and byte swap each one. An example procedure how to do this is shown below. The byte-swapped elements will be available in the parameterValueArray.
  • Page 49: Changing Parameters (Sequence 2)

    Byte swapped set value Modify the ladder block preparing the content of the request. Change the actual length of the write request. Change the length to 28 hex characters in the lad- der block that executes the request. A8NDPV1 PROFIBUS Option Board...
  • Page 50 GX Works2 (Q-CPU) Acyclic communication example Get Started Reading the response The length of the expected read response is up to 8 bytes. Finally modify the ladder block processing the response data. A positive response consists of just 4 bytes of data in the following format: Byte no.
  • Page 51 Test receiving a negative response, by trying to write an out of range value. After trying to write 0xFFFF as the value of parameter 15, a negative response with error code 0x02 (LOW_OR_HIGH_LIMIT_EXCEEDED) will be received, which is the expected behavior. A8NDPV1 PROFIBUS Option Board...
  • Page 52: Gx Works2 (Q-Cpu) Simple Ladder Telegram 1 Example

    Get Started GX Works2 (Q-CPU) Simple Ladder Telegram 1 example This chapter describes running the inverter through the A8NDPV1 Profibus option card using GX Works 2 in Simple Ladder mode with a QCPU and QJ71PB92V Profibus Master. GX Configura- tor DP 7.10L or newer is required to perform the setup.
  • Page 53 QJ71PB92V. Save this setting by clicking OK. The Profibus-DP module should be inserted into the Intelligent Function Module tree. Expand it, and double click on Parameter. This should open the Profibus Configurator. A8NDPV1 PROFIBUS Option Board...
  • Page 54 GX Works2 (Q-CPU) Simple Ladder Telegram 1 example Get Started First setup the Profibus Master. Double click on the master module (in the screenshot visible as “I/O no.:0x0 FDL:0 ‘QJ71PB92V’. This will bring up the “Master Parameters Wizard”. The Baudrate, FDL address and other settings can be changed as needed. For this tutorial these settings will not be changed.
  • Page 55 GX Works2 (Q-CPU) Simple Ladder Telegram 1 example In the Global GSD data section, expand drives and search for A8NDPV1. If it is not available, right click and select Add GSD File. Search for the GSD File on the drive (included with this manual), afterwards the A8NDPV1 should appear under drives.
  • Page 56 Select the communication protocol used to communicate with the option card. For this tuto- rial use “Standard Telegram 1”. Drag this option from the “Available Slave Modules” to “Pro- ject Slave Modules”. The A8NDPV1 supports only one module. The result should be: Doc.Id.
  • Page 57 PLC. Proceed to write the program to get the inverter running under a set frequency. Below is a table of PLC devices and their corresponding meaning in PROFIdrive Device Description D1000 (input) ZSW1 D1001 (input) NIST_A D2000 (output) STW1 D2001 (output) NSOLL_A Start the ladder program by initializing Profibus communication. A8NDPV1 PROFIBUS Option Board...
  • Page 58 GX Works2 (Q-CPU) Simple Ladder Telegram 1 example Get Started After powering up the inverter and Profibus master, connection will be established. Expect to see bit 6 (Switching on inhibated) set in ZSW1. Refer to the simplified state diagram (chapter GX Works2 (Q-CPU) Telegram 1 example), dependent on control word 1 (STW1).
  • Page 59 Compile, and write the program and parameters to the PLC. Be sure to select the intelligent function module, like on the screenshot below. After resetting the PLC, and powering up the inverter set bits M0 and M1 to get the inverter up and running. A8NDPV1 PROFIBUS Option Board...
  • Page 60: Gx Works2 (Q-Cpu) Simple Ladder Telegram 102 Example

    Get Started GX Works2 (Q-CPU) Simple Ladder Telegram 102 example This chapter describes running the inverter through the A8NDPV1 Profibus option card using GX Works 2 in Simple Ladder mode with a QCPU and QJ71PB92V Profibus Master. First perform the setup using telegram 1.
  • Page 61 7.1to 7.4. Below is an example setup: Slot Description Output PZD/2 Speed set point 14317 Input PZD/2 Actual speed set point 14319 Input PZD/3 Output frequency 9193 Input PZD/4 Output voltage 9195 Input PZD/5 Actual operation time 9215 A8NDPV1 PROFIBUS Option Board...
  • Page 62 GX Works2 (Q-CPU) Simple Ladder Telegram 102 example Get Started Doc.Id. HMSI-216-127 Doc.Rev. 1.01...
  • Page 63 To view the devices that are occu- pied by Profibus, double click on the Profibus master to bring up the Master Parameters Wizard and click Next. The buffer devices section displays which device addresses are occu- pied. A8NDPV1 PROFIBUS Option Board...
  • Page 64: Gx Works2 (Q-Cpu) Simple Ladder Acyclic Communication Example

    GX Works2 (Q-CPU) Simple Ladder Acyclic communication example This chapter describes using acyclic communication through the A8NDPV1 Profibus option card using GX Works 2 in Simple Ladder mode with a QCPU and QJ71PB92V Profibus Master. It con- tains examples of reading and writing individual parameters. First perform the setup using tele- gram 1.
  • Page 65 The code above (after executing the write to the Profibus slave) will return information regarding the success of making the request, not the actually requested data. Before making the actual re- quest, prepare the data for the read request: A8NDPV1 PROFIBUS Option Board...
  • Page 66 GX Works2 (Q-CPU) Simple Ladder Acyclic communication example Get Started In the program there is a delay of 500ms between receiving confirmation of the write request, and executing the read request. Due to the nature of Profidrive acyclic communication, the re- sponse may not be immediately available after execution of the request.
  • Page 67 Byte no. Description Value Request ID 0x01 Request reference 0x01-0xFF (same as in request) No. of parameters 0x01 DO-ID 0x01 No. of values 0x01 Format See data format type table Parameter value Byte swapped parameter value A8NDPV1 PROFIBUS Option Board...
  • Page 68 GX Works2 (Q-CPU) Simple Ladder Acyclic communication example Get Started In case of a negative response, the format is as follows: Byte no. Description Value Request ID 0x81 Request reference 0x01-0xFF (same as in request) No. of parameters 0x01 DO-ID 0x01 No.
  • Page 69: Changing Parameters (Sequence 2)

    Attribute value 0x10 (value attribute) Parameter number Byte swapped PNU Subindex (irrelevant) 0x00 No. of values 0x01 Format 0x06 (UINTEGER16 for all inverter parameters) See data format type table 12-13 Set value Byte swapped set value A8NDPV1 PROFIBUS Option Board...
  • Page 70 GX Works2 (Q-CPU) Simple Ladder Acyclic communication example Get Started Modify the content of the write request. Doc.Id. HMSI-216-127 Doc.Rev. 1.01...
  • Page 71 Get Started GX Works2 (Q-CPU) Simple Ladder Acyclic communication example Modify the read request: Modify the execution of the request: A8NDPV1 PROFIBUS Option Board...
  • Page 72 GX Works2 (Q-CPU) Simple Ladder Acyclic communication example Get Started Reading the response A positive response consists of just 4 bytes of data in the following format: Byte no. Description Value Request ID 0x02 Request reference 0x01-0xFF (same as in request) No.
  • Page 73 If a successful parameter write request was performed (request ID = 0x02), bit M14 shall turn on. In case of a failure (request ID = 0x82) bit M13 will be ON, and the error code will be stored in D3504. A8NDPV1 PROFIBUS Option Board...
  • Page 74 GX Works2 (Q-CPU) Simple Ladder Acyclic communication example Get Started Executing example requests In this program the following devices are used: Device Description Perform acyclic request Trigger sequence / Prepare write request Continue sequence / Prepare read request Parameter write failed Parameter write success M100 –...
  • Page 75: Gx Works2 (Fx-Cpu) Telegram 1 Example

    3.10 GX Works2 (FX-CPU) Telegram 1 example This chapter describes running the inverter through the A8NDPV1 Profibus option card using GX Works 2 (version 1.501X or newer) with a FXCPU and FX3U-64DP-M Profibus Master. GX Con- figurator DP 7.10L or newer is required to perform the setup.
  • Page 76 GX Works2 (FX-CPU) Telegram 1 example Get Started In the new window, click Module Type and select “PROFIBUS-DP Module”. Module Name should be set to FX3U-64DP-M. Save this setting by clicking OK. The Profibus-DP module should be inserted into the Intelligent Function Module tree. Expand it, and double click on Parameter.
  • Page 77 “Slot:0x0/FDL:0 ‘FX3U-64DP-M”. This will bring up the “Master Parameters Wizard”. It is possible to change the Baudrate, FDL address and other settings as needed. For this tuto- rial these settings will not be changed. Click Next to proceed. A8NDPV1 PROFIBUS Option Board...
  • Page 78 GX Works2 (FX-CPU) Telegram 1 example Get Started On this screen the buffer devices, and data transfer between Profibus Master and CPU can be changed. For this tutorial use AutoRefresh with Consistency. Click Finish to save settings and close this wizard. Doc.Id.
  • Page 79 GX Works2 (FX-CPU) Telegram 1 example In the Global GSD data section, expand drives and search for A8NDPV1. If it is not available, right click and select Add GSD File. Search for the GSD File on the drive (included with this manual), afterwards the A8NDPV1 should appear under drives.
  • Page 80 Select the communication protocol used to communicate with the option card. For this tuto- rial use “Standard Telegram 1”. Drag this option from the “Available Slave Modules” to “Pro- ject Slave Modules”. The A8NDPV1 supports only one module. The result should be: Doc.Id.
  • Page 81 Finish. The configured Profibus Slave should appear in the Profibus Network window, like below. From the configurator’s left menu select POU Generation. This will create the user libraries that can be used to control the inverter. A8NDPV1 PROFIBUS Option Board...
  • Page 82 GX Works2 (FX-CPU) Telegram 1 example Get Started The POU Generation creates a library containing global variable definitions. The global label name conflicts with the project global label name setup by default in GX Works 2. In order to avoid conflict, change the name of the project global label from “Global1” to “Global”. If this is not done, an error will occur upon compilation.
  • Page 83 The data is defined as follows : – For A800_In: [0] = ZSW1, [1] = NIST_A. – For A800_Out: [0] = STW1, [1] = NSOLL_A. A8NDPV1 PROFIBUS Option Board...
  • Page 84 GX Works2 (FX-CPU) Telegram 1 example Get Started Return to the project section. From the MAIN Task, select the Program of POU_01. This Pro- gram should be blank, this is where the example user program will be written. After powering up the inverter and Profibus master, connection will be established. Expect to see bit 6 (Switching on inhibated) set in ZSW1.
  • Page 85 3 bits of ZSW1 are ON. This condition means that the drive is in operation mode. If this condition is met, and M1 is not ON, reset the set point speed to zero, and set STW1 as 6. A8NDPV1 PROFIBUS Option Board...
  • Page 86 GX Works2 (FX-CPU) Telegram 1 example Get Started Compile, and write the program and parameters to the PLC. Be sure to select the intelligent function module, like on the screenshot below. If this option is not visible, then the firmware on your FX3U-64DP-M module does not support the new intelligent module function.
  • Page 87: Gx Works2 (Fx-Cpu) Telegram 102 Example

    3.11 GX Works2 (FX-CPU) Telegram 102 example This chapter describes running the inverter through the A8NDPV1 Profibus option card using GX Works 2 (version 1.501X or newer) with a FXCPU and FX3U-64DP-M Profibus Master. Enter the Profibus Configurator and double click on the inverter to bring up the Slave Param- eters Wizard.
  • Page 88 GX Works2 (FX-CPU) Telegram 102 example Get Started Select “Standard Telegram 1” in the Project Slave Modules section. Click the red ‘x’ above this section to clear this slot. From the Available Slave Modules, drag “Telegram 102 (Custom)” to the Project Slave Mod- ules section.
  • Page 89 From the “select module” dropdown, select slot 0: Telegram 102 (Custom). It is now possible to setup the input and outputs of the telegram. There are 18 inputs and outputs used in this telegram, one of each is reserved for control/status word (leaving 17 inputs/outputs free for custom setup). A8NDPV1 PROFIBUS Option Board...
  • Page 90 GX Works2 (FX-CPU) Telegram 102 example Get Started The setup of the telegram is done by entering signal/parameter numbers into the right col- umn. All monitor data can be viewed as input, and some of the profile parameters as input/ output.
  • Page 91 Click Next, and Finish to proceed. Complete the POU Generation and rename the global labels inside the library like before. Rebuild the project, and write it to the PLC. The additional mon- itor data can be viewed in the appropriate position of the A800_In array. A8NDPV1 PROFIBUS Option Board...
  • Page 92: Gx Works2 (Fx-Cpu) Acyclic Communication Example

    3.12 GX Works2 (FX-CPU) Acyclic communication example This chapter describes using acyclic communication through the A8NDPV1 Profibus option card using GX Works 2 with a FXCPU and FX3U-64DP-M Profibus Master. It contains examples of read- ing and writing individual parameters. First perform the setup using telegram 1.
  • Page 93 In case of a shorter response, only the available data will be read. When the read request has been processed, BFM#4500 will be equal to 0. Similarly like before BFM#7000 will be checked for any errors. A8NDPV1 PROFIBUS Option Board...
  • Page 94 GX Works2 (FX-CPU) Acyclic communication example Get Started If the read request was completed successfully, the requested data will be available starting from BFM#4524. Proceed to process the received response. The format of a positive response is as follows: Byte no. Description Value Request ID...
  • Page 95: Changing Parameters (Sequence 2)

    Attribute value 0x10 (value attribute) Parameter number Byte swapped PNU Subindex (irrelevant) 0x00 No. of values 0x01 Format 0x06 (UINTEGER16 for all inverter parameters) See data format type table 12-13 Set value Byte swapped set value A8NDPV1 PROFIBUS Option Board...
  • Page 96 GX Works2 (FX-CPU) Acyclic communication example Get Started Modify the ladder block preparing the content of the request. Change the actual length of the write request. Change the length to 28 bytes, and change the amount of words to transfer (7 words) starting from BFM#5764. Reading the response The length of the expected read response is up to 8 bytes.
  • Page 97 If the request ID is equal to H02, a positive response was received, and the parameter write was successful (bit parameterWriteSuccess is set). In case of a negative response (request ID is equal to H82), bit parameterWriteError is set and the error code is saved to variable errorValue. A8NDPV1 PROFIBUS Option Board...
  • Page 98 GX Works2 (FX-CPU) Acyclic communication example Get Started Executing example requests To perform a parameter write, set the PNU of the parameter to change in requestParameterNo. As an example, to change parameter 15 (Jog frequency), add the offset 5096 and write the result to this variable.
  • Page 99: Tia Portal Telegram 1 Example

    TIA Portal Telegram 1 example 3.13 TIA Portal Telegram 1 example This chapter describes running the inverter through the A8NDPV1 Profibus option card using TIA Portal. Start with a new project. Select Add new device from the Project tree section. In the new window select the PLC and click OK to add it to the project.
  • Page 100 TIA Portal Telegram 1 example Get Started Now add the power supply. Select the power supply from the hardware catalog on the right side of the screen. From the top menu select Options and Install general station description file (GSD). Search for the GSD file supplied with this manual, click install and follow instructions to add the option card to the hardware library.
  • Page 101 After finishing installation and returning to the main window, switch to Network view. From the hardware catalog on the right side of the screen, expand Other field devices => Profibus DP => Drives => HMS Industrial Networks => A8NDPV1 and add A8NDPV1 to the project by dragging it to an empty space.
  • Page 102 TIA Portal Telegram 1 example Get Started Drag a line from the slave connection node to the PLC connection node to make the PROFI- BUS connection. The result should look like below: Doc.Id. HMSI-216-127 Doc.Rev. 1.01...
  • Page 103 TIA Portal Telegram 1 example Double click on the slave to enter device view. From the hardware catalog expand Other field devices => Profibus DP => Drives => HMS Industrial Networks => A8NDPV1 and drag Stand- ard Telegram 1 to the available slot.
  • Page 104 TIA Portal Telegram 1 example Get Started Double click on Slave_1 from the device view to bring up the Properties panel. Select PROFI- BUS Address and enter 1 in the address field. From the project tree select Program blocks and double click on Main to start editing the pro- gram.
  • Page 105 Both No Coast Stop and No Quick Stop need to be set to reset the Switching On Inhibited bit in ZSW1. To do this set bits 1 and 2 in STW1, that is bit 1 and 2 in QW0. A8NDPV1 PROFIBUS Option Board...
  • Page 106 TIA Portal Telegram 1 example Get Started Input the following ladder block to allow the inverter to enter “Ready For Switching On” sta- tus, after connection is established, and initialization command is given (M0.0). This initialization will result in setting bit 0 in ZSW1 (Ready To Switch On). It is now possible to switch on the inverter, and start operation.
  • Page 107 M1 is not ON, reset the set point speed to zero, and set STW1 as 6. Compile, and write the program and parameters to the PLC. After resetting the PLC, and pow- ering up the inverter set bits M0.0 and M0.1 to get the inverter running with the requested set speed. A8NDPV1 PROFIBUS Option Board...
  • Page 108: Tia Portal Telegram 102 Example

    3.14 TIA Portal Telegram 102 example This chapter describes running the inverter through the A8NDPV1 Profibus option card using Sie- mens TIA. First perform the setup using telegram 1. Enter the device view of the PROFIBUS option card slave and delete Standard Telegram 1 from the device overview.
  • Page 109 7.1to 7.4. An example setup is provided below: Slot Description Output PZD/2 Speed set point 14317 Input PZD/2 Actual speed set point 14319 Input PZD/3 Output frequency 9193 Input PZD/4 Output voltage 9195 Input PZD/5 Actual operation time 9215 A8NDPV1 PROFIBUS Option Board...
  • Page 110 TIA Portal Telegram 102 example Get Started Compile the project and download it to the PLC. The additional monitor data can be viewed in the appropriate IW address. Doc.Id. HMSI-216-127 Doc.Rev. 1.01...
  • Page 111: Tia Portal Acyclic Communication Example

    TIA Portal Acyclic communication example 3.15 TIA Portal Acyclic communication example This chapter describes using acyclic communication through the A8NDPV1 Profibus option card using TIA Portal. It contains examples of reading and writing individual parameters. First perform the setup using telegram 1.
  • Page 112 TIA Portal Acyclic communication example Get Started The content of the data request will be contained in a data block structure. Expand the PLC in the project tree and add a new block. The data block will be added to the program blocks with the specified name. Add two structures (RequestRecord and ResponseRecord) to the data block.
  • Page 113 Results read Successfully read requested PNU value Write request error Read request error Parameter read error (negative response) Start by adding a new network that will contain the instructions to issue the actual write and read requests. A8NDPV1 PROFIBUS Option Board...
  • Page 114 TIA Portal Acyclic communication example Get Started It will now be possible to reference the inputs and outputs of the function block instances, mak- ing it easier to create the program. Proceed to prepare the sequence. Add a new network in the user program that will start the state machine sequence.
  • Page 115 0xDF80B500, the result is not yet ready. In this case, do nothing and wait for the actual result. In every other case, save the status to tag readStatus and enter state 11, indicating that a read re- quest error occurred. A8NDPV1 PROFIBUS Option Board...
  • Page 116 TIA Portal Acyclic communication example Get Started Finally process the received response. Check the ResponseID field of the ResponseRecord. A value of 1 indicates that the request was performed successfully. In this case move the Value field of this structure to the readValue tag. Enter state 7 to indicate a successful parameter read. If the respon- seID is equal to 0x81, then a negative response was received.
  • Page 117: Changing Parameters (Sequence 2)

    Attribute value 0x10 (value attribute) Parameter number PNU to modify Subindex (irrelevant) 0x00 No. of values 0x01 Format 0x06 (UINTEGER16 for all inverter parameters) See data format type table 12-13 Set value PNU value to write A8NDPV1 PROFIBUS Option Board...
  • Page 118 TIA Portal Acyclic communication example Get Started Once this request is processed successfully, a read request can be issued. The response of this re- quest will determine whether the parameter write was successful. The format of a positive re- sponse is as follows: Byte no.
  • Page 119 RequestRecord structure. This is the value that will be written to the requested PNU. Modify the network responsible for processing of the read request response. A positive response will have ID 0x02, while a negative response ID 0x82. Finally change the length of the write request to 14 bytes. A8NDPV1 PROFIBUS Option Board...
  • Page 120 TIA Portal Acyclic communication example Get Started Executing example requests To perform a parameter write, set the PNU of the parameter to change in requestedPNU. As an ex- ample, to change parameter 15 (Jog frequency), add the offset 5096 and write the result (5111) to variable requestedPNU.
  • Page 121: Simatic Step7 Example

    Creating a Configuration This section describes a simple example on how to configure a PROFIBUS network including an A8NDPV1 PROFIBUS Option Board using the SIMATIC STEP7 configuration tool. Please consult the SIMATIC STEP7 for further information on how to use the tool.
  • Page 122 SIMATIC STEP7 example Get Started Select PLC and drag an instance of the selected PLC into the configuration window. Locate the option board in the HW catalog (PROFIBUS DP -> Additional Field Devices-Drives). Doc.Id. HMSI-216-127 Doc.Rev. 1.01...
  • Page 123 With the option board selected, right click on it and open Object Properties from the menu in the pop-up window. Select the General tab. Click the PROFIBUS button and then enter the node address under the Parameters tab. A8NDPV1 PROFIBUS Option Board...
  • Page 124 SIMATIC STEP7 example Get Started Select and drag and drop telegram to option board. The telegrams are found in the HW cata- log with the option board. Doc.Id. HMSI-216-127 Doc.Rev. 1.01...
  • Page 125 SIMATIC STEP7 example With the new telegram instance selected, right click and open the telegram Properties win- dow from the pop up menu. Enter a name for the telegram and map the cyclic data in the tel- egram. A8NDPV1 PROFIBUS Option Board...
  • Page 126: Download Configuration

    Node addresses can also be set from a master or a configuration tool. See the manual or online help for the configuration tool you are using. The PNU ident number of the A8NDPV1 PROFIBUS Option Board is 18E0h. See the product pages at https://eu3a.mitsubishielectric.com.
  • Page 127: Inverter Settings

    The option board and the inverter start up with default standard settings. Any changes of the pa- rameter values during runtime, will not be available until the inverter has been restarted. The application can more often than not be run on standard settings. See http://eu3a.mitsubishielectric.com/fa/en/products/drv/inv/fr_configurator/ A8NDPV1 PROFIBUS Option Board...
  • Page 128 Option Board Parameters Inverter Settings Parameter 1300 (514h, General Settings) Only read by the option board during startup. Name Default Description 0 - 3 (reserved) Clear all Option Parame- Will clear all option parameters and set the default values ters when set to 1.
  • Page 129: Operation Mode Setting

    0 - 1. Value Description Option board settings are used for network settings. Option parameters are used for network settings. 8 - 15 (reserved) Operation Mode Setting Please refer to the FR-A800 or FR-F800 instruction manual for information. A8NDPV1 PROFIBUS Option Board...
  • Page 130 Operation Mode Setting Inverter Settings Doc.Id. HMSI-216-127 Doc.Rev. 1.01...
  • Page 131: Identifying Option Board

    A device on a PROFIBUS network is defined by its node address. Valid settings range from 0…125. The node address for an A8NDPV1 PROFIBUS Option Board is set using the parameter held unit. At startup, the master will address the option board using this node address.
  • Page 132 Set Slave Address Identifying Option Board Doc.Id. HMSI-216-127 Doc.Rev. 1.01...
  • Page 133: Profibus Dp-V1 Implementation

    PROFIBUS DP-V1 Implementation General PROFIBUS DP-V1 Implementation General The A8NDPV1 PROFIBUS Option Board complies to PROFIBUS specification, IEC 61158 Type 3. Drive operation complies to PROFIdrive V4.1. Supports Application class 1 functionality. Performance: • Up to 12 Mbit, detected automatically by the module.
  • Page 134 I&M PROFIBUS DP-V1 Implementation Doc.Id. HMSI-216-127 Doc.Rev. 1.01...
  • Page 135: Data Exchange

    These parameters can either be accessed (as acyclic data) as an array, with offset 13288d, or can each entry in the array be mapped as a separate parameter with offset 15336d (as acyclic and/or cyclic data). A8NDPV1 PROFIBUS Option Board...
  • Page 136: Inverter Parameters (Acyclic Data Exchange)

    Inverter parameters (Acyclic Data Exchange) Data Exchange Inverter parameters (Acyclic Data Exchange) Inverter parameters are available only via acyclic communication. They cannot be used in cyclic data exchange, for example it is not possible to map them as parameters for telegram 102. The offset used for inverter parameters is 5096, i.e.
  • Page 137 2nd PID deviation 0.1% unsigned 9263 Cumulative pulse signed 9264 Cumulative pulse carrying-over times signed 9265 Cumulative pulse (control terminal signed option) 9266 Cumulative pulse carrying-over times signed (control option terminal) 9272 Integrated power on time     A8NDPV1 PROFIBUS Option Board...
  • Page 138 Monitor Data (Acyclic and Cyclic Data Exchange) Data Exchange Access PNU No Internal No Description Unit Type type 16 bit 9273 Running time     9274 Saving energy monitor     9276 - 9283 84 - 91 Fault code (1) - (8) 9287 2nd PID measured value 2 0.1%...
  • Page 139 This data indicates status of FR-A8AY(Y0-Y6), FR-A8AR(RA1-RA3) terminal. Run command (ex. A800 and A8AY/A8AR) Users can specify the terminal function using this data. STOP CS MRS RT These bits function is depending on VFD parameter setting. A8NDPV1 PROFIBUS Option Board...
  • Page 140: Drive Profile Parameters (Acyclic Data Exchange)

    Drive Profile Parameters (Acyclic Data Exchange) Data Exchange Drive Profile Parameters (Acyclic Data Exchange) Inverter parameters are, when possible, mapped to PROFIdrive parameters. The remaining pa- rameters can be accessed as vendor specific parameters. It is recommended not to use the standard PROFIdrive parameters as vendor specific parameters. 7.4.1 PROFIdrive Parameters The following parameters are implemented in the option board:...
  • Page 141: Setpoint- And Actual Value (P915/P916)

    The PROFIBUS master can send a reset request to the application by writing to this parameter. If the request is rejected an error is returned. Error Code Description Illegal parameter number (Drive reset not supported). Request cannot be executed due to operation status. Request cannot be executed due to operation status. A8NDPV1 PROFIBUS Option Board...
  • Page 142: General State Diagram

    General State Diagram Data Exchange General State Diagram This general state diagram shows how the inverter behaves based on Control Word 1 (STW1). For detailed state diagrams for various modes, please consult ProfiDrive technical specification manual. General State Diagram Power supply ON S1: Switching ON Inhibited ZSW1 bit 6 = true;...
  • Page 143: Process Data (Cyclic Data Exchange)

    Mapped to Process Data (if possible) Below is a brief explanation of the format of the used signals. For a detailed explanation, includ- ing control and status words specific to various operation modes, please consult ProfiDrive spec- ification manual. A8NDPV1 PROFIBUS Option Board...
  • Page 144 Process Data (Cyclic Data Exchange) Data Exchange Control Word STW1 Contents No Coast Stop No Quick Stop Enable Operation Enable Ramp Generator Unfreeze Ramp Generator Enable Setpoint Fault Acknowledge Jog 1 ON (not used) Jog 2 ON (not used) Control By PLC 11-15 Status Word ZSW1 Contents...
  • Page 145: Telegram Types

    8…9 SetPointSpeed (0405h) Position Control (PC) IO DATA 6 16383 10…13 AccelerationDeltaTime (0417h…0418h) Position Control (PC) IO DATA 7 Position Control (PC) IO DATA 8 16387 14…17 DecelerationDelta Time (014Bh…041Ch) Position Control (PC) IO DATA 9 A8NDPV1 PROFIBUS Option Board...
  • Page 146: Vendor Specific Access To Parameters

    Process Data (Cyclic Data Exchange) Data Exchange Actual Value Telegram Actual value telegrams are used for data from the main unit to the master. Depending on control mode, the contents of the telegram may differ, see table below for configuration. IO DATA (PROFIdrive) Write Process Data (Main unit) Telegram...
  • Page 147: Acyclic Data Exchange

    Read parameter response from PAP Error because response not Parameter Processing yet available in the Parameter Manager Read parameter response from PAP Error because response not yet available Parameter Response Parameter Response Read parameter response from PAP A8NDPV1 PROFIBUS Option Board...
  • Page 148: Explanation Of Fields Used In Requests

    Acyclic Data Exchange Data Exchange 7.7.1 Explanation of fields used in requests This table explains the fields used in various sequences. Words sent in requests should have their most significant byte transmitted first (Big endian encoding). This is also the format in which in- coming words will be transmitted.
  • Page 149: Error Table

    Parameter number Subindex (irrelevant for non-arrays) 7.7.5 Sequence 1: Parameter response positive Byte no. Field Request ID Request reference No. of parameters DO-ID No. of values Format Parameter value Parameter value (only for 32 bit data) A8NDPV1 PROFIBUS Option Board...
  • Page 150: Sequence 1: Parameter Response Negative

    Acyclic Data Exchange Data Exchange 7.7.6 Sequence 1: Parameter response negative Byte no. Field Request ID Request reference No. of parameters DO-ID No. of values Format Error value 7.7.7 Sequence 2: Change parameter value Byte no. Field Request ID Request reference No.
  • Page 151: Sequence 3: Request Parameter Value, Several Array Elements

    Parameter value 1 Parameter value 2 … … (4+2n) – (5+2n) Parameter value n 7.7.12 Sequence 3: Parameter response negative Byte no. Field Request ID Request reference No. of parameters DO-ID No. of values Format Error value A8NDPV1 PROFIBUS Option Board...
  • Page 152 Acyclic Data Exchange Data Exchange Doc.Id. HMSI-216-127 Doc.Rev. 1.01...
  • Page 153: Diagnostics

    Technology E.OSD Excess spd deviation Technology E.ECT Enc. Signal loss Feedback E.OD Excess pos fault Technology E.MB1 Brake seq fault Other E.MB2 Brake seq fault Other E.MB3 Brake seq fault Other E.MB4 Brake seq fault Other A8NDPV1 PROFIBUS Option Board...
  • Page 154 Diagnostics Main Unit Main Unit Main Unit PROFIdrive Fault PROFIdrive Fault Fault Code Fault Name Description Code E.MB5 Brake seq fault Other E.MB6 Brake seq fault Other E.MB7 Brake seq fault Other E.EP Enc. Phase Fault Feedback Fault 1 (opt slot 1) Internal Communication Fault 2 (opt slot 2) Internal Communication...
  • Page 155: Troubleshooting

    Troubleshooting Troubleshooting The table shows tips on troubleshooting. Error Event Possible Cause(s) Corrective Action A8NDPV1 PROFIBUS Option Board...
  • Page 156 Troubleshooting Doc.Id. HMSI-216-127 Doc.Rev. 1.01...
  • Page 157: Translation Of Signal Numbers

    These parameters can either be mapped (as acyclic data) as an array, with offset 13288d, or can each entry in the array be mapped as a separate parameter with offset 15366d (as acyclic and/or cyclic data). A8NDPV1 PROFIBUS Option Board...
  • Page 158 Appendix A Translation of Signal Numbers Doc.Id. HMSI-216-127 Doc.Rev. 1.01...
  • Page 159: Index

    Telegram 1 ........89 Telegram 102 ....... 98 A8NDPV1 PROFIBUS Option Board...
  • Page 160 Index Doc.Id. HMSI-216-127 Doc.Rev. 1.01...

Table of Contents