Configuring Multiple Yaskawa GA500 Drives in Siemens TIA Portal

Jason IP12 min read
Tutorial / How-toVFD / DrivesYaskawa
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

Overview: GA500 to S7-1500 over PROFINET

The Yaskawa GA500 industrial AC microdrive communicates with a Siemens S7-1500 controller through PROFINET IO. When four GA500 units are deployed on a single PROFINET subnet, TIA Portal must know — for every drive — which input/output process image words belong to it and which function-block instance should issue the cyclic data words. Two identifiers drive that binding: the I/O address range (PIW/PQW) the drive occupies in the S7-1500 process image, and the Hardware Identifier (HWID) assigned by TIA Portal to the drive's PROFINET sub-module. The Yaskawa-supplied function-block library (manual TOEPYAIPFB01) uses the HWID as the handle that tells the FB "this is the drive I am talking to." Without a unique, correct HWID on every FB instance, all four drives will either refuse to exchange data or collide on the same process image.

Prerequisites and Required Components

Component Specification
Siemens CPU S7-1512 (or any S7-1500 with PROFINET interface); firmware ≥ V2.0 recommended
TIA Portal V16 or later (V17/V18 preferred for current GA500 GSDML)
Yaskawa GA500 CIMR-GA5Cxxxxx series with PROFINET option card installed
GA500 PROFINET option SI-EN3D (dual-port) or SI-EN3 option card, mounted in CN5
GSDML file Yaskawa-supplied GSDML-Vx.x-Yaskawa-GA500-PN-xxx.xml (matches option card firmware)
Yaskawa FB Library TOEPYAIPFB01 — Yaskawa TIA Portal function-block library for GA500/GA700/GA800 drives
Drive firmware GA500 firmware ≥ V1.0 (verify against Yaskawa release notes)
Engineering tool (drive side) DriveWizard Industrial or Yaskawa Smart Logger for commissioning

Download the GSDML and TOEPYAIPFB01 library from the Yaskawa product pages, not from third-party repositories. The library is published as a TIA Portal V16+ global library and contains FBs, UDTs, and PLC data types tuned to the GA500's process data layout.

Official references:

Installing the GSDML and Yaskawa FB Library

  1. Extract the GA500 GSDML archive to a known folder on the engineering workstation.
  2. In TIA Portal, open Options > Manage general station description files (GSD).
  3. Browse to the GSDML folder and select the XML file. Confirm installation; the GA500 appears in the Hardware Catalog under PROFINET IO > Drives > Yaskawa Electric > GA500.
  4. Close and reopen TIA Portal if the new GSD does not appear in the catalog.
  5. Open Options > Global libraries > Open library and import the Yaskawa FB library archive (.zip/.al16). The library installs as a global library that can be opened from the project tree.
  6. Copy the FBs, UDTs, and PLC data types you need into your project blocks folder. Do not modify the FB interfaces; the HWID input is fixed by the library and matches what TIA Portal exposes per PROFINET sub-module.
Critical: Always use the GSDML that matches the firmware on the SI-EN3D/SI-EN3 card. Mismatched GSDML and option-card firmware will yield a PROFINET alarm and the device will fail to enter cyclic data exchange.

Hardware Configuration in TIA Portal

  1. Open the device configuration of the S7-1512 CPU and switch to the Network view.
  2. Drag four GA500 devices from the Hardware Catalog into the PROFINET subnet of the CPU.
  3. Assign each drive a unique station name and IP address on the PROFINET subnet (e.g., ga500-01/192.168.0.11, ga500-02/192.168.0.12, etc.).
  4. Assign each drive a unique PROFINET device number. TIA Portal will auto-assign if you let it; record the device numbers for the field wiring label set.
  5. Right-click each GA500 > Properties > PROFINET interface > Ethernet addresses and confirm the IP, subnet, and PROFINET device name match the values you will set on the drive side using DriveWizard.

After insertion, the four drives are visible in the network view with a PROFINET line to the CPU. The binding between PLC project and physical drive is the PROFINET device name. A drive that is online but misnamed will not enter data exchange with the S7-1500.

Telegram Selection and I/O Address Assignment

The GA500 PROFINET option card supports standard PROFIdrive telegrams. The most common selection for a four-drive system is Standard Telegram 1 (ST1) with 2 PZD words in and 2 PZD words out, which provides the minimum wordcount for speed reference and status feedback. For closed-loop vector applications with actual speed feedback via PROFIdrive, use Standard Telegram 3.

  1. Open the Device view of the first GA500 drive.
  2. In the device overview (the lower table), select the PROFINET sub-module (typically the "PZD" or slot 0 sub-module).
  3. In Properties > Module parameters > I/O addresses, confirm the input and output address ranges. TIA Portal auto-assigns PIW/PQW addresses; the range is e.g., IW 100...IW 103 (2 words) and QW 100...QW 103 (2 words) for ST1.
  4. Repeat for drives 2, 3, and 4, ensuring the auto-assigned ranges do not overlap. A typical layout for four ST1 drives:
Drive Inputs (PIW) Outputs (PQW) Length
GA500-01 100...103 100...103 2 PZD in / 2 PZD out
GA500-02 104...107 104...107 2 PZD in / 2 PZD out
GA500-03 108...111 108...111 2 PZD in / 2 PZD out
GA500-04 112...115 112...115 2 PZD in / 2 PZD out
  1. For each drive, set the Consistent over field to Entire PD if the application uses SFC14/SFC15 (DPRD/DPRD_DAT) for consistent data read/write. The Yaskawa FB library typically reads/writes via SFC14/15 internally; in that case leave the consistency at "Total length" and do not access the process image with direct I/O. Doing both will collide.

Locating the Hardware Identifier (HWID) for Each Drive

This is the step the original engineering question centers on. The HWID is what the Yaskawa FB uses internally to know which PROFINET sub-module it should read and write. Every PROFINET sub-module in TIA Portal has a unique HWID, generated at compile time.

  1. Select the first GA500 in the Device view of the project.
  2. Open Properties > General > System constants. The HWID of the PROFINET submodule appears as an entry such as HW_ID_1 with a numeric value (e.g., 268). This number is the HWID the FB needs.
  3. Alternatively, right-click the drive > Properties > PROFINET interface [X1] > Hardware identifier. The identifier is shown as a decimal integer.
  4. Record the HWID for each drive in a project table:
Drive PROFINET name IP address HWID (decimal)
GA500-01 ga500-01 192.168.0.11 e.g., 268
GA500-02 ga500-02 192.168.0.12 e.g., 269
GA500-03 ga500-03 192.168.0.13 e.g., 270
GA500-04 ga500-04 192.168.0.14 e.g., 271
Important: The HWID is not a fixed number across projects. It is assigned when the project is compiled and can change if you reorder the PROFINET topology. Always read the HWID from the compiled project and treat it as project-specific data. Do not hard-code HWIDs from another project.

Creating Drive-Specific Data Blocks

You need a data block (DB) per drive that holds the cyclic process data (control word, speed reference, status word, actual speed) and the parameter read/write structures used by the Yaskawa FBs.

  1. In the project tree, add Program blocks > Add new block > Data block. Name it e.g., DB_Drive_01.
  2. Open the DB and declare the variables that the Yaskawa FB expects. A minimal ST1 layout looks like:
DATA_BLOCK "DB_Drive_01"
{ S7_Optimized_Access := 'TRUE' ; }
VERSION : 0.1
NON_RETAIN
   STRUCT
      ControlWord       : WORD;     // PZD1 OUT -> QW100
      SpeedReference    : INT;       // PZD2 OUT -> QW102 (N2/N4 in PROFIdrive scaling)
      StatusWord        : WORD;     // PZD1 IN  <- PIW100
      ActualSpeed       : INT;       // PZD2 IN  <- PIW102
      ParameterReadReq  : BOOL;
      ParameterWriteReq : BOOL;
      ParameterNumber   : UINT;
      ParameterValue    : DWORD;
      ErrorCode         : WORD;
   END_STRUCT;
END_DATA_BLOCK
  1. Create DB_Drive_02, DB_Drive_03, DB_Drive_04 with identical structure. Using the UDT from the Yaskawa library for the drive data structure (e.g., UDT_GA500_ProcessData) and instantiating it four times is the cleaner approach.

Linking FB Instances to Drives via HWID

The Yaskawa FB exposes a HWID (or equivalent, per the TOEPYAIPFB01 naming) input parameter. That is the binding point between the FB instance and the physical drive. If four drives share a single FB type, you must instantiate it four times and supply each instance with the HWID of the corresponding drive.

  1. Open OB1 (or a dedicated cyclic OB, e.g., OB35).
  2. Insert the Yaskawa FB four times. Name the instances GA500_Ctrl_01 through GA500_Ctrl_04.
  3. Wire the inputs and outputs of each instance to the corresponding DB_Drive_xx:
// OB1 - cyclic call to Yaskawa FB for each drive
"GA500_Ctrl_01"( // Drive 1
    HWID        := 268,              // From System Constants of ga500-01
    DriveData   := "DB_Drive_01",
    Enable      := TRUE,
    Error       => "Tag_Drive01_Err",
    ErrorCode   => "Tag_Drive01_ErrCode"
);

"GA500_Ctrl_02"( // Drive 2
    HWID        := 269,              // From System Constants of ga500-02
    DriveData   := "DB_Drive_02",
    Enable      := TRUE,
    Error       => "Tag_Drive02_Err",
    ErrorCode   => "Tag_Drive02_ErrCode"
);

"GA500_Ctrl_03"( // Drive 3
    HWID        := 270,              // From System Constants of ga500-03
    DriveData   := "DB_Drive_03",
    Enable      := TRUE,
    Error       => "Tag_Drive03_Err",
    ErrorCode   => "Tag_Drive03_ErrCode"
);

"GA500_Ctrl_04"( // Drive 4
    HWID        := 271,              // From System Constants of ga500-04
    DriveData   := "DB_Drive_04",
    Enable      := TRUE,
    Error       => "Tag_Drive04_Err",
    ErrorCode   => "Tag_Drive04_ErrCode"
);
  1. Compile the project. After compilation, right-click the Blocks folder and select Download to device > Hardware and software to push the configuration to the S7-1512.
Common pitfall: Allocating the same HWID to two FB instances, or wiring the wrong HWID, will cause one drive to appear to receive another drive's commands. Always cross-check the HWID from System constants against the FB instance's HWID input and the drive's device name.

GA500 Drive-Side Parameter Configuration

For each GA500, configure the PROFINET and PROFIdrive parameters with DriveWizard Industrial or the keypad. The exact parameter set depends on the application profile (speed control vs. torque control), but a minimum working set for PROFIdrive speed control with Standard Telegram 1 is:

Parameter Value Description
b1-01 3 (PROFINET reference) Selects PROFINET as the frequency reference source
b1-02 3 (PROFINET run command) Selects PROFINET as the run command source
F6-01 1 (Decel to stop) Communication loss behavior; verify against application safety analysis
F6-02 0.5 s to 2.0 s Communication loss detection time; tune for network jitter
F6-07 0 / 1 NetRef/NetCom behavior per PROFIdrive state machine
H5-11 PROFINET IP address Set via DriveWizard; matches the value configured in TIA Portal

For the Yaskawa-specific parameter mapping (F7-xx group on the GA500), the PROFIdrive process data layout is defined in the option card's manual. Confirm against the option-card-specific release notes shipped with TOEPYAIPFB01.

Commissioning and Verification

  1. Power the S7-1512 and connect the PROFINET subnet. All four GA500 stations should appear in TIA Portal's Online > Accessible nodes with their assigned device names.
  2. In Online > Diagnostics > PROFINET diagnostics, verify that every drive is in the Cyclic data exchange state (green check). A device in "Connected, no data exchange" indicates a name/IP mismatch or a telegram length mismatch.
  3. Open the watch table for the four drive DBs. Force the ControlWord of DB_Drive_01 to 16#047E (PROFIdrive shutdown) and observe the GA500-01 entering "Ready to switch on". Step through 16#047F (Switch on) and 16#047F with bit 4 set (Enable operation) to reach "Operation enabled".
  4. Write a small speed reference (e.g., 500 = 50% of nominal) to SpeedReference and confirm ActualSpeed tracks it within the configured ramp time.
  5. Repeat for drives 2, 3, and 4 to validate the per-drive binding.
  6. Check the Yaskawa FB instance's Error output. FALSE with ErrorCode = 0 confirms a clean cyclic exchange for that drive.

Troubleshooting Matrix

Symptom Likely Cause Remediation
All four drives show "Station failure" in TIA diagnostics PROFINET device name not assigned to the drives Use Online > Accessible nodes > Assign PROFINET device name for each drive
One drive not in data exchange, others OK Wrong IP address on that drive or duplicate IP Reassign via DriveWizard; confirm subnet
FB Error = TRUE on all four drives, ErrorCode = 0x0001 GSDML/option-card firmware mismatch Update GSDML or option-card firmware; re-import device
FB Error = TRUE on a single drive, ErrorCode = 0x0004 Wrong HWID wired to that instance Re-read System Constants for the drive and correct the FB's HWID input
Drive runs but ActualSpeed always 0 even with reference set Telegram length mismatch between PLC and drive Verify both sides use ST1 (2/2 PZD); re-check slot configuration
Drive trips on "EF0" (PROFINET communication error) after enabling F6-01 set to 0 (continue running) but option card lost link Check cabling, switch port, and PROFINET device name on the drive's H5-11 / option card config
Process image shows correct values but drive does not respond Direct PIW/PQW access used AND Yaskawa FB also writes the same range Remove direct I/O access; let the FB own the address range
Compile error: "HWID not unique" Two FB instances share the same constant Re-check each FB instance; copy HWID from System Constants, not from another instance

Field-Proven Notes

  • Keep the GSDML revision and option-card firmware aligned. A common commissioning failure is using a GSDML shipped with an older option-card firmware; the device negotiates but TIA logs "Sub-module mismatch."
  • Treat HWID as project data, not constant. Do not paste an HWID from a previous project or from an example. Read it from the compiled project's System constants table each time.
  • One FB instance per drive. The Yaskawa library is designed so a single FB instance owns one drive's HWID. Reusing one instance across multiple drives will cause data collisions.
  • Avoid mixing direct PIW/PQW access with the FB. If the FB uses SFC14/SFC15 internally to read/write the process image with "Total length" consistency, no other code should touch the same PIW/PQW range directly.
  • Document the device name → IP → HWID → DB mapping in the project documentation. This is the single most time-saving table on any future drive swap.

How does the Yaskawa FB know which drive it is talking to in TIA Portal?

The Yaskawa FB (per TOEPYAIPFB01) uses a HWID input parameter that you wire to the Hardware Identifier of the drive's PROFINET sub-module. Find this value in the device's Properties > System constants or in PROFINET interface > Hardware identifier. Each of the four drives needs its own FB instance with its own unique HWID.

Can I use one DB for all four GA500 drives and reference it from one FB instance?

No. The DB structure is fine to share (use a UDT and instantiate it four times), but each drive needs its own FB instance and its own DB instance so the HWID binding is unique. Reusing one FB instance for multiple drives will cause all drives to read/write the same process data on whichever HWID is currently loaded.

Where do I find the I/O addresses assigned to each GA500?

Open the GA500 in Device view, select the PROFINET sub-module in the device overview, and look at Properties > I/O addresses. TIA Portal auto-assigns PIW/PQW ranges. For Standard Telegram 1, each drive occupies 2 input words and 2 output words (4 bytes in / 4 bytes out). Confirm the four ranges do not overlap.

What telegram should I select for a basic speed-control application on the GA500?

Standard Telegram 1 (2 PZD words in / 2 PZD out) is sufficient for the common speed reference + status feedback case. Use Standard Telegram 3 if you need actual speed feedback via the PROFIdrive NSOLL/NIST channels. The telegram selection must match on both the TIA Portal slot configuration and the drive-side option-card parameters.

Why does my drive show in TIA but not enter cyclic data exchange?

The two most common causes are (1) the PROFINET device name on the physical drive does not match the name configured in TIA Portal, fixed via Online > Assign PROFINET device name; and (2) a GSDML/option-card firmware mismatch, fixed by aligning the GSDML revision with the SI-EN3D/SI-EN3 card firmware per the Yaskawa release notes for TOEPYAIPFB01.

Back to blog