IMDHMIControls LibraryShop main store

How-to

How to control a GA500 drive over EtherCAT from Sysmac Studio

Drives and motion Published 7 min read

Short answer

No download replaces the sequence: install the Yaskawa ESI file for your GA500's EtherCAT option in Sysmac Studio, point the drive's command and reference sources at the network, map control word, status word, target and actual velocity, then advance the CiA 402 state machine 0x06, 0x07 and 0x0F before any speed command is accepted.

On this page
  1. Is there a downloadable function block for the GA500?
  2. Which ESI file matches my GA500 option card?
  3. How do I install the ESI file in Sysmac Studio?
  4. Which drive settings hand control to the network?
  5. Which words go in the PDO mapping?
  6. What sequence enables the drive before speed commands work?
  7. How do I scale the speed reference?
  8. What should the function block expose to the machine program?
  9. Questions asked

No single download will run a GA500 over EtherCAT from Sysmac Studio, and none is needed. The work is a fixed commissioning sequence: install the ESI file for the option card in the drive, point the drive's command and reference sources at the network, map four cyclic words, and advance the CiA 402 state machine — control words 0x06, 0x07 and 0x0F, confirmed by status words 0x21, 0x23 and 0x33 — before the drive acts on any speed command. Wrap that in a function block you own and it becomes reusable across every CiA 402 drive in the plant.

Is there a downloadable function block for the GA500? #

No ready-made block exists for this pairing, and the missing piece is not the block: it is the commissioning sequence — ESI file, network command source, four mapped words, and the CiA 402 handshake that any block must run before a GA500 accepts a speed command.

The drive does not run ladder; it runs a profile. A block written for another vendor's process data or another state handling leaves the drive sitting in Switch On Disabled while the link stays green, and no ramp or current-limit change fixes that, because those settings only shape a reference the drive has already accepted. Take device files, manuals and example code from the manufacturer's download pages or its distributors, and review any example block like any other borrowed application code. The decision: write the block yourself, once, against the profile — first commissioning on one drive is an afternoon, and the block then carries to the next.

Which ESI file matches my GA500 option card? #

Match the file to the card you can see: ESI_JOHB-SMP3_3_01.zip, 67 KB, for the JOHB-SMP3 multi-protocol option fitted to GA500 and GA800 drives, or ESI_SI-ES3_2_02_02.zip, 69 KB, for the SI-ES3 EtherCAT option.

Identify the installed card before downloading; the option type is marked on the card and reported by the drive's option status. The ESI is what tells the master what the slave is: its process data, its scaling, its identity. A mismatched ESI passes configuration and then maps nothing like the hardware on the cable. Yaskawa publishes both files on the ESI download pages for its drive options, and the EtherCAT Option Technical Manual, 86 pages, is the document to keep open through the rest of this sequence.

How do I install the ESI file in Sysmac Studio? #

Open the EtherCAT configuration in your project, click Extra > Install device description file (EtherCAT ESI), select ESI on the left, and point the dialog at the extracted XML — the option then appears in the slave selection list.

  1. Extract the zip and note where the XML lands.
  2. Import it through Extra > Install device description file (EtherCAT ESI), with ESI selected on the left.
  3. Add the imported option at its position in the EtherCAT chain and set its node address.
  4. Connect, go online, and compare the configured device against the detected device; resolve any identity mismatch before touching the PDOs.

This import path is the one the option manual documents, so an offline engineering station can receive the file on controlled removable media.

Which drive settings hand control to the network? #

Two settings decide it: the run-command source and the frequency-reference source must both point at the EtherCAT option — one pointed at the network while the other still points at the terminal strip is the classic half-networked machine that ignores your block.

Both live in the drive's basic parameter group, the command-source selection family; the option manual names the exact parameters and the value that selects the option card. While you are in there, set the network-loss behavior — ramp stop or coast — as a deliberate choice: ramp for fans and pumps, coast only where the load tolerates it. Then verify authority with the drive's own display: write the control word from the controller and watch the drive's source indication and the returned status word answer.

Which words go in the PDO mapping? #

Four words carry the whole cyclic interface: outbound, the control word and the target velocity; inbound, the status word and the actual velocity — four bytes each way, with the scale and sign the option's process-data table defines.

Everything else — parameter access, fault detail, drive identity — is acyclic data, so it stays out of the PDOs unless the machine needs it every scan. Map the four words to controller variables of matching size and signedness, and move each pair consistently inside one task cycle. The target and the actual value must share one scale; a display that divides one by the other at a different scale is how machines get commissioned with a speed error nobody notices.

What sequence enables the drive before speed commands work? #

Three writes, each confirmed before the next: control word 0x06 waits for status 0x21, 0x07 waits for 0x23, and 0x0F waits for 0x33 — only in Operation Enabled does the drive act on the mapped target velocity.

From power-up the drive sits in Switch On Disabled, status 0x40, and your block walks it forward:

Master writes CiA 402 transition Drive returns
0x06 Shutdown 0x21, Ready to switch on
0x07 Switch on 0x23, Switched on
0x0F Enable operation 0x33, Operation enabled
0x80 Fault reset 0x40, Switch on disabled

Decode the status on bits 0 through 6 and treat higher bits as informational. Advance on confirmed status, never on a timer; a word that does not reach the expected value inside your timeout is a fault to expose, not a step to skip. Status bit 3 is the fault flag — clear it with control bit 7, the 0x80 reset, on a rising edge, then run the sequence again from 0x06. From Operation Enabled, writing 0x07 ramps the drive down on its deceleration setting and 0x00 drops the enable and coasts it. Those are operational stops; personnel protection belongs on the drive's dedicated safe-torque-off input, never on a network command.

How do I scale the speed reference? #

Convert with the resolution in the option's process-data table and bound the result before writing it: at 0.01 Hz per count, 35.00 Hz is written as 3500 counts and a 60.00 Hz ceiling is 6000 counts, so the command passes the limit check.

Worked example, illustrative scale — read the resolution and the maximum from your own documentation before trusting the numbers:

  • Requested output: 35.00 Hz.
  • Counts: 35.00 Hz ÷ 0.01 Hz per count = 3500.
  • Limit check: 3500 ≤ 6000, where 6000 = 60.00 Hz × 100 counts per Hz.
  • Direction: reverse is −3500 in the signed word; the drive's ceiling, not the 16-bit range of −32768 to 32767, is the binding limit.

If your table shows a different resolution, only the multiplier changes: at 0.1 Hz per count, the same 35.00 Hz is 350 counts. Carry the scale as one constant in the block and clamp the converted value before it reaches the drive.

What should the function block expose to the machine program? #

Expose the decoded state, the raw status word, the actual velocity, a link-health flag and the active fault — never one merged ready bit, because machine logic must tell a disabled drive, a dead link and a tripped fault apart.

Keep the profile handling below the machine's run request: one Boolean input carries the machine's intent, the state machine and its timeouts stay private, and the outputs report what the drive actually did. Make fault reset an edge, not a held level. Package it once as a reusable VFD function block in Sysmac Studio and the handshake disappears behind a handful of pins. Because CiA 402 is a profile rather than a vendor dialect, the same core serves other brands and even other fieldbuses — it is the same state machine behind running CiA 402 CANopen drives from an S7-1500 through a gateway. The decision for the bench today: walk the sequence with writes and watches, confirm each status value, then wrap the confirmed sequence in the block — the download you were looking for is the one you write.

Questions asked

Can the same function block control other EtherCAT drives?

Yes, if you write it against CiA 402 rather than one drive's register map. The state machine, the control-word values and the status decoding are profile definitions, so the enable logic carries over unchanged. What changes per drive is the PDO layout, the velocity scaling and the parameter access path; keep those three in per-drive configuration data and the core block stays common.

How can I confirm the velocity scaling before spinning the motor?

Write a small value with the drive's frequency monitor open and the motor unloaded: 500 counts showing 5.00 Hz means 0.01 Hz per count; 50.0 Hz means 0.1 Hz per count. Fix the block's scaling constant to match, then repeat at a second value to confirm the relationship is linear.

Do the drive's acceleration and deceleration ramps still apply over EtherCAT?

Yes, they still apply. Ramps are drive-side parameters that shape the output after a reference is accepted, no matter where the reference originated. Step the target and the motor ramps; if the output snaps instead, the ramp times are set near zero, which is a drive parameter to fix, not a communications fault.

What EtherCAT task period does a VFD actually need?

One millisecond is more than a VFD needs. The handshake words are levels, not pulses, so they tolerate a slower scan: two to four milliseconds runs fans and pumps comfortably because the drive's internal ramp dominates the response. Reserve one millisecond for servos and coordinated axes, where the controller closes the loop.

Keep reading

  • How-to

    Interface an EFC5610 drive with a ctrlX CORE over EtherCAT

    The EFC5610 runs from a ctrlX CORE over EtherCAT once E8.00 = 1 and H3.40 = EC are set and the drive is rebooted, the ESI is installed, and the xFC01 device is scanned and downloaded. Command it with the Rexroth Mode decimals (128 activate, 129 run forward) and a frequency word scaled at 0.01 Hz per count, so 50.00 Hz is 5000 counts.

    Drives and motion

  • Comparison

    How a PLC controls a VFD: five interfaces compared

    A PLC controls a VFD through one of five interfaces: discrete I/O, an analog speed reference such as 0-10 V or 4-20 mA, Modbus RTU or TCP, EtherNet/IP or BACnet/IP, or PROFIBUS or DeviceNet. Discrete and analog wiring carry commands only; the network interfaces also return status and fault data. Pick by how much the PLC must know about the drive, not by brand.

    Drives and motion

  • Selection guide

    Running CiA 402 CANopen drives from an S7-1500 through a gateway

    Keep the CANopen drives for axes whose trajectory the drive itself generates — CiA 402 modes 1, 3 and 6 — with the segment's bus load held under about 40% at 250 kbit/s. Replace with PROFINET drives and Technology Objects for any gearing, camming or coordinated axis, because a conformance class B gateway gives cyclic data with no isochronous coupling and no Technology Object can close behind it. This rewinder's axes all generate their profiles drive-side, so the keep path wins.

    Drives and motion